diff --git a/.eslintrc.js b/.eslintrc.js index f1d6f30a527e..0640b9b91057 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,15 +28,10 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** - * For new files created by OpenSearch Contributers + * For new files created by OpenSearch Contributors */ -const OSD_HEADER = ` +const OSD_NEW_HEADER = ` /* * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 @@ -41,19 +39,22 @@ const OSD_HEADER = ` `; /** - * For files that modify or use code with an exsting OSS header + * For modified and modified files with external open source code */ -const OSS_HEADER = ` +const OSD_HEADER = ` /* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ `; -const OSS_MODIFIED_HEADER = ` +const OSD_BAD_HEADER = ` /* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. @@ -156,13 +157,14 @@ module.exports = { '@osd/eslint/require-license-header': [ 'error', { - licenses: [OSD_HEADER, OSS_HEADER], + licenses: [OSD_NEW_HEADER, OSD_HEADER], }, ], '@osd/eslint/disallow-license-headers': [ 'error', { licenses: [ + OSD_BAD_HEADER, SAFER_LODASH_SET_HEADER, SAFER_LODASH_SET_LODASH_HEADER, SAFER_LODASH_SET_DEFINITELYTYPED_HEADER, @@ -198,6 +200,9 @@ module.exports = { 'error', { licenses: [ + OSD_BAD_HEADER, + OSD_NEW_HEADER, + OSD_HEADER, APACHE_2_0_LICENSE_HEADER, SAFER_LODASH_SET_HEADER, SAFER_LODASH_SET_DEFINITELYTYPED_HEADER, @@ -219,11 +224,12 @@ module.exports = { 'error', { licenses: [ - OSS_HEADER, + OSD_BAD_HEADER, + OSD_NEW_HEADER, + OSD_HEADER, APACHE_2_0_LICENSE_HEADER, SAFER_LODASH_SET_LODASH_HEADER, SAFER_LODASH_SET_DEFINITELYTYPED_HEADER, - OSS_MODIFIED_HEADER, ], }, ], @@ -242,11 +248,12 @@ module.exports = { 'error', { licenses: [ - OSS_HEADER, + OSD_BAD_HEADER, + OSD_NEW_HEADER, + OSD_HEADER, APACHE_2_0_LICENSE_HEADER, SAFER_LODASH_SET_HEADER, SAFER_LODASH_SET_LODASH_HEADER, - OSS_MODIFIED_HEADER, ], }, ], diff --git a/Gruntfile.js b/Gruntfile.js index 7839aa86653b..4d1a7aee4d55 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('./src/setup_node_env'); module.exports = function (grunt) { diff --git a/bwctest.sh b/bwctest.sh index 24aae816767a..9f2934d62526 100755 --- a/bwctest.sh +++ b/bwctest.sh @@ -1,5 +1,16 @@ #!/bin/bash +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + set -e # TODO: Update to include all known BWC of data @@ -44,10 +55,10 @@ while getopts ":h:b:p:s:c:o:d:" arg; do ;; o) OPENSEARCH=$OPTARG - ;; + ;; d) DASHBOARDS=$OPTARG - ;; + ;; :) echo "-${OPTARG} requires an argument" usage @@ -74,7 +85,7 @@ if [ -z "$OPENSEARCH" ]; then # Expected to be arch.tar.gz DOTS="${DASH_ARR[4]}" IFS='.' read -ra DOTS_ARR <<< "$DOTS" - + VERSION="${DASH_ARR[2]}" PLATFORM="${DASH_ARR[3]}" ARCH="${DOTS_ARR[0]}" diff --git a/examples/bfetch_explorer/public/components/count_until/index.tsx b/examples/bfetch_explorer/public/components/count_until/index.tsx index 1565f95e9920..5458c73b64a4 100644 --- a/examples/bfetch_explorer/public/components/count_until/index.tsx +++ b/examples/bfetch_explorer/public/components/count_until/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState } from 'react'; import useMountedState from 'react-use/lib/useMountedState'; import useList from 'react-use/lib/useList'; diff --git a/examples/bfetch_explorer/public/components/double_integers/index.tsx b/examples/bfetch_explorer/public/components/double_integers/index.tsx index 5413f079950a..cdf9486fc98c 100644 --- a/examples/bfetch_explorer/public/components/double_integers/index.tsx +++ b/examples/bfetch_explorer/public/components/double_integers/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState } from 'react'; import useMountedState from 'react-use/lib/useMountedState'; import useList from 'react-use/lib/useList'; diff --git a/examples/bfetch_explorer/public/components/page/index.tsx b/examples/bfetch_explorer/public/components/page/index.tsx index 76484dfd6903..d6bb757560bb 100644 --- a/examples/bfetch_explorer/public/components/page/index.tsx +++ b/examples/bfetch_explorer/public/components/page/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { EuiPageBody, diff --git a/examples/bfetch_explorer/public/containers/app/index.tsx b/examples/bfetch_explorer/public/containers/app/index.tsx index 80d22d1dbf7f..eb5cc2fd307f 100644 --- a/examples/bfetch_explorer/public/containers/app/index.tsx +++ b/examples/bfetch_explorer/public/containers/app/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { BrowserRouter as Router, Route, Redirect, Switch } from 'react-router-dom'; import { EuiPage } from '@elastic/eui'; diff --git a/examples/bfetch_explorer/public/containers/app/pages/page_count_until/index.tsx b/examples/bfetch_explorer/public/containers/app/pages/page_count_until/index.tsx index aedc14a1a8b6..1acf07d8b350 100644 --- a/examples/bfetch_explorer/public/containers/app/pages/page_count_until/index.tsx +++ b/examples/bfetch_explorer/public/containers/app/pages/page_count_until/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { EuiPanel, EuiText } from '@elastic/eui'; import { CountUntil } from '../../../../components/count_until'; diff --git a/examples/bfetch_explorer/public/containers/app/pages/page_double_integers/index.tsx b/examples/bfetch_explorer/public/containers/app/pages/page_double_integers/index.tsx index 7a140c206a65..5c81dc54542b 100644 --- a/examples/bfetch_explorer/public/containers/app/pages/page_double_integers/index.tsx +++ b/examples/bfetch_explorer/public/containers/app/pages/page_double_integers/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { EuiPanel, EuiText } from '@elastic/eui'; import { DoubleIntegers } from '../../../../components/double_integers'; diff --git a/examples/bfetch_explorer/public/containers/app/sidebar/index.tsx b/examples/bfetch_explorer/public/containers/app/sidebar/index.tsx index 7cdc5e4374fb..881c212624c1 100644 --- a/examples/bfetch_explorer/public/containers/app/sidebar/index.tsx +++ b/examples/bfetch_explorer/public/containers/app/sidebar/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiPageSideBar, EuiSideNav } from '@elastic/eui'; import { useHistory } from 'react-router-dom'; diff --git a/examples/bfetch_explorer/public/hooks/use_deps.ts b/examples/bfetch_explorer/public/hooks/use_deps.ts index 8220f30613c5..531d6b11de8c 100644 --- a/examples/bfetch_explorer/public/hooks/use_deps.ts +++ b/examples/bfetch_explorer/public/hooks/use_deps.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useOpenSearchDashboards } from '../../../../src/plugins/opensearch_dashboards_react/public'; import { BfetchDeps } from '../mount'; diff --git a/examples/bfetch_explorer/public/index.ts b/examples/bfetch_explorer/public/index.ts index 2ad025d3306b..8783ae349eaf 100644 --- a/examples/bfetch_explorer/public/index.ts +++ b/examples/bfetch_explorer/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BfetchExplorerPlugin } from './plugin'; export const plugin = () => new BfetchExplorerPlugin(); diff --git a/examples/bfetch_explorer/public/mount.tsx b/examples/bfetch_explorer/public/mount.tsx index 273e40856889..32c50e75d93b 100644 --- a/examples/bfetch_explorer/public/mount.tsx +++ b/examples/bfetch_explorer/public/mount.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { CoreSetup, CoreStart, AppMountParameters } from 'opensearch-dashboards/public'; diff --git a/examples/bfetch_explorer/public/plugin.tsx b/examples/bfetch_explorer/public/plugin.tsx index 67bf12987ef1..140369e08da0 100644 --- a/examples/bfetch_explorer/public/plugin.tsx +++ b/examples/bfetch_explorer/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreSetup, AppNavLinkStatus } from '../../../src/core/public'; import { BfetchPublicSetup, BfetchPublicStart } from '../../../src/plugins/bfetch/public'; import { mount } from './mount'; diff --git a/examples/bfetch_explorer/public/routes.tsx b/examples/bfetch_explorer/public/routes.tsx index 0dee64fa6145..08b3c266e8e5 100644 --- a/examples/bfetch_explorer/public/routes.tsx +++ b/examples/bfetch_explorer/public/routes.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { PageDoubleIntegers } from './containers/app/pages/page_double_integers'; import { PageCountUntil } from './containers/app/pages/page_count_until'; diff --git a/examples/bfetch_explorer/server/index.ts b/examples/bfetch_explorer/server/index.ts index 2ad025d3306b..8783ae349eaf 100644 --- a/examples/bfetch_explorer/server/index.ts +++ b/examples/bfetch_explorer/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BfetchExplorerPlugin } from './plugin'; export const plugin = () => new BfetchExplorerPlugin(); diff --git a/examples/bfetch_explorer/server/plugin.ts b/examples/bfetch_explorer/server/plugin.ts index 6360a846772f..7129f3c699bd 100644 --- a/examples/bfetch_explorer/server/plugin.ts +++ b/examples/bfetch_explorer/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Subject } from 'rxjs'; import { Plugin, CoreSetup, CoreStart } from '../../../src/core/server'; import { BfetchServerSetup, BfetchServerStart } from '../../../src/plugins/bfetch/server'; diff --git a/examples/dashboard_embeddable_examples/public/app.tsx b/examples/dashboard_embeddable_examples/public/app.tsx index 8f5dda5b70a1..4cb310797508 100644 --- a/examples/dashboard_embeddable_examples/public/app.tsx +++ b/examples/dashboard_embeddable_examples/public/app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter as Router, Route, RouteComponentProps, withRouter } from 'react-router-dom'; diff --git a/examples/dashboard_embeddable_examples/public/by_value/embeddable.tsx b/examples/dashboard_embeddable_examples/public/by_value/embeddable.tsx index 691a87cd7429..d6afd2bc7cbd 100644 --- a/examples/dashboard_embeddable_examples/public/by_value/embeddable.tsx +++ b/examples/dashboard_embeddable_examples/public/by_value/embeddable.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState } from 'react'; import { ViewMode } from '../../../../src/plugins/embeddable/public'; import { DashboardContainerInput, DashboardStart } from '../../../../src/plugins/dashboard/public'; diff --git a/examples/dashboard_embeddable_examples/public/by_value/input_editor.tsx b/examples/dashboard_embeddable_examples/public/by_value/input_editor.tsx index e39921e60eeb..917e85b9c053 100644 --- a/examples/dashboard_embeddable_examples/public/by_value/input_editor.tsx +++ b/examples/dashboard_embeddable_examples/public/by_value/input_editor.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiButton } from '@elastic/eui'; import { JsonEditor } from '../../../../src/plugins/opensearch_ui_shared/public'; diff --git a/examples/dashboard_embeddable_examples/public/index.ts b/examples/dashboard_embeddable_examples/public/index.ts index b33aaccfec7a..3f8b8701d923 100644 --- a/examples/dashboard_embeddable_examples/public/index.ts +++ b/examples/dashboard_embeddable_examples/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DashboardEmbeddableExamples } from './plugin'; export const plugin = () => new DashboardEmbeddableExamples(); diff --git a/examples/dashboard_embeddable_examples/public/plugin.tsx b/examples/dashboard_embeddable_examples/public/plugin.tsx index 63ea2e1c4733..b8865b4c4550 100644 --- a/examples/dashboard_embeddable_examples/public/plugin.tsx +++ b/examples/dashboard_embeddable_examples/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AppMountParameters, AppNavLinkStatus, CoreSetup, Plugin } from '../../../src/core/public'; import { DashboardStart } from '../../../src/plugins/dashboard/public'; import { DeveloperExamplesSetup } from '../../developer_examples/public'; diff --git a/examples/developer_examples/public/app.tsx b/examples/developer_examples/public/app.tsx index c4ad7496a76e..90c28e3be8c6 100644 --- a/examples/developer_examples/public/app.tsx +++ b/examples/developer_examples/public/app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useState } from 'react'; import ReactDOM from 'react-dom'; diff --git a/examples/developer_examples/public/index.ts b/examples/developer_examples/public/index.ts index 4236058647dd..0d1339794844 100644 --- a/examples/developer_examples/public/index.ts +++ b/examples/developer_examples/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DeveloperExamplesPlugin } from './plugin'; export const plugin = () => new DeveloperExamplesPlugin(); diff --git a/examples/developer_examples/public/plugin.ts b/examples/developer_examples/public/plugin.ts index 2129d2f84a91..5251bec17efb 100644 --- a/examples/developer_examples/public/plugin.ts +++ b/examples/developer_examples/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, Plugin, diff --git a/examples/developer_examples/public/types.ts b/examples/developer_examples/public/types.ts index dedf73917fc1..08bde5786e98 100644 --- a/examples/developer_examples/public/types.ts +++ b/examples/developer_examples/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiListGroupItemProps } from '@elastic/eui'; export interface ExampleDefinition { diff --git a/examples/embeddable_examples/common/book_saved_object_attributes.ts b/examples/embeddable_examples/common/book_saved_object_attributes.ts index 5f926613b89d..8a4802096ab3 100644 --- a/examples/embeddable_examples/common/book_saved_object_attributes.ts +++ b/examples/embeddable_examples/common/book_saved_object_attributes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectAttributes } from '../../../src/core/types'; export const BOOK_SAVED_OBJECT = 'book'; diff --git a/examples/embeddable_examples/common/index.ts b/examples/embeddable_examples/common/index.ts index 7aba971b0d12..e4d280942381 100644 --- a/examples/embeddable_examples/common/index.ts +++ b/examples/embeddable_examples/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { TodoSavedObjectAttributes } from './todo_saved_object_attributes'; export { BookSavedObjectAttributes, BOOK_SAVED_OBJECT } from './book_saved_object_attributes'; diff --git a/examples/embeddable_examples/common/todo_saved_object_attributes.ts b/examples/embeddable_examples/common/todo_saved_object_attributes.ts index 78ac21df9cc9..3fc7833f50f5 100644 --- a/examples/embeddable_examples/common/todo_saved_object_attributes.ts +++ b/examples/embeddable_examples/common/todo_saved_object_attributes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectAttributes } from '../../../src/core/types'; export interface TodoSavedObjectAttributes extends SavedObjectAttributes { diff --git a/examples/embeddable_examples/public/book/add_book_to_library_action.tsx b/examples/embeddable_examples/public/book/add_book_to_library_action.tsx index 969fa38af3e2..e9bdefcfb2eb 100644 --- a/examples/embeddable_examples/public/book/add_book_to_library_action.tsx +++ b/examples/embeddable_examples/public/book/add_book_to_library_action.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { createAction, IncompatibleActionError } from '../../../../src/plugins/ui_actions/public'; import { BookEmbeddable, BOOK_EMBEDDABLE } from './book_embeddable'; diff --git a/examples/embeddable_examples/public/book/book_component.tsx b/examples/embeddable_examples/public/book/book_component.tsx index f627ff1b1f95..b10fbd0b3289 100644 --- a/examples/embeddable_examples/public/book/book_component.tsx +++ b/examples/embeddable_examples/public/book/book_component.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiFlexItem, EuiFlexGroup, EuiIcon } from '@elastic/eui'; diff --git a/examples/embeddable_examples/public/book/book_embeddable.tsx b/examples/embeddable_examples/public/book/book_embeddable.tsx index 3397da6b75c9..7f7f4441172d 100644 --- a/examples/embeddable_examples/public/book/book_embeddable.tsx +++ b/examples/embeddable_examples/public/book/book_embeddable.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import ReactDOM from 'react-dom'; import { Subscription } from 'rxjs'; diff --git a/examples/embeddable_examples/public/book/book_embeddable_factory.tsx b/examples/embeddable_examples/public/book/book_embeddable_factory.tsx index 68afb22f25ec..83af1dfff9b0 100644 --- a/examples/embeddable_examples/public/book/book_embeddable_factory.tsx +++ b/examples/embeddable_examples/public/book/book_embeddable_factory.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; import { BookSavedObjectAttributes, BOOK_SAVED_OBJECT } from '../../common'; diff --git a/examples/embeddable_examples/public/book/create_edit_book_component.tsx b/examples/embeddable_examples/public/book/create_edit_book_component.tsx index cae009d45990..ca7868c3ded7 100644 --- a/examples/embeddable_examples/public/book/create_edit_book_component.tsx +++ b/examples/embeddable_examples/public/book/create_edit_book_component.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useState } from 'react'; import { EuiModalBody, EuiCheckbox } from '@elastic/eui'; import { EuiFieldText } from '@elastic/eui'; diff --git a/examples/embeddable_examples/public/book/edit_book_action.tsx b/examples/embeddable_examples/public/book/edit_book_action.tsx index 4de270e95c82..943918017a9d 100644 --- a/examples/embeddable_examples/public/book/edit_book_action.tsx +++ b/examples/embeddable_examples/public/book/edit_book_action.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { OverlayStart } from 'opensearch-dashboards/public'; import { i18n } from '@osd/i18n'; diff --git a/examples/embeddable_examples/public/book/index.ts b/examples/embeddable_examples/public/book/index.ts index 357954d9534c..3d52ebfa1fe1 100644 --- a/examples/embeddable_examples/public/book/index.ts +++ b/examples/embeddable_examples/public/book/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './book_embeddable'; export * from './book_embeddable_factory'; diff --git a/examples/embeddable_examples/public/book/unlink_book_from_library_action.tsx b/examples/embeddable_examples/public/book/unlink_book_from_library_action.tsx index 96641ed55802..34a6ac1b1933 100644 --- a/examples/embeddable_examples/public/book/unlink_book_from_library_action.tsx +++ b/examples/embeddable_examples/public/book/unlink_book_from_library_action.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { createAction, IncompatibleActionError } from '../../../../src/plugins/ui_actions/public'; import { BookEmbeddable, BOOK_EMBEDDABLE } from './book_embeddable'; diff --git a/examples/embeddable_examples/public/create_sample_data.ts b/examples/embeddable_examples/public/create_sample_data.ts index 8ca2d9ad5555..bed16b6a73ad 100644 --- a/examples/embeddable_examples/public/create_sample_data.ts +++ b/examples/embeddable_examples/public/create_sample_data.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsClientContract } from 'opensearch-dashboards/public'; import { TodoSavedObjectAttributes, BookSavedObjectAttributes, BOOK_SAVED_OBJECT } from '../common'; diff --git a/examples/embeddable_examples/public/hello_world/hello_world_embeddable.tsx b/examples/embeddable_examples/public/hello_world/hello_world_embeddable.tsx index affe349760a2..586fb68f3d56 100644 --- a/examples/embeddable_examples/public/hello_world/hello_world_embeddable.tsx +++ b/examples/embeddable_examples/public/hello_world/hello_world_embeddable.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Embeddable, EmbeddableInput, IContainer } from '../../../../src/plugins/embeddable/public'; export const HELLO_WORLD_EMBEDDABLE = 'HELLO_WORLD_EMBEDDABLE'; diff --git a/examples/embeddable_examples/public/hello_world/hello_world_embeddable_factory.ts b/examples/embeddable_examples/public/hello_world/hello_world_embeddable_factory.ts index 6ba7fe6545e1..e612a16f63ec 100644 --- a/examples/embeddable_examples/public/hello_world/hello_world_embeddable_factory.ts +++ b/examples/embeddable_examples/public/hello_world/hello_world_embeddable_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { IContainer, diff --git a/examples/embeddable_examples/public/hello_world/index.ts b/examples/embeddable_examples/public/hello_world/index.ts index fbb17b225fb8..cc6b0901f3b2 100644 --- a/examples/embeddable_examples/public/hello_world/index.ts +++ b/examples/embeddable_examples/public/hello_world/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './hello_world_embeddable'; export * from './hello_world_embeddable_factory'; diff --git a/examples/embeddable_examples/public/index.ts b/examples/embeddable_examples/public/index.ts index b23b7c09cdd1..f43c1b3e469a 100644 --- a/examples/embeddable_examples/public/index.ts +++ b/examples/embeddable_examples/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { HELLO_WORLD_EMBEDDABLE, HelloWorldEmbeddable, diff --git a/examples/embeddable_examples/public/list_container/index.ts b/examples/embeddable_examples/public/list_container/index.ts index 5783ac8a67c4..0519fc365894 100644 --- a/examples/embeddable_examples/public/list_container/index.ts +++ b/examples/embeddable_examples/public/list_container/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ListContainer, LIST_CONTAINER } from './list_container'; export { ListContainerFactoryDefinition, ListContainerFactory } from './list_container_factory'; diff --git a/examples/embeddable_examples/public/list_container/list_container.tsx b/examples/embeddable_examples/public/list_container/list_container.tsx index 52dc20ec8d4d..04a31bb7d8d1 100644 --- a/examples/embeddable_examples/public/list_container/list_container.tsx +++ b/examples/embeddable_examples/public/list_container/list_container.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import ReactDOM from 'react-dom'; import { diff --git a/examples/embeddable_examples/public/list_container/list_container_component.tsx b/examples/embeddable_examples/public/list_container/list_container_component.tsx index 66000cff9970..951a3dc39475 100644 --- a/examples/embeddable_examples/public/list_container/list_container_component.tsx +++ b/examples/embeddable_examples/public/list_container/list_container_component.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiFlexGroup, EuiSpacer, EuiFlexItem, EuiText, EuiPanel } from '@elastic/eui'; diff --git a/examples/embeddable_examples/public/list_container/list_container_factory.ts b/examples/embeddable_examples/public/list_container/list_container_factory.ts index fe4fdd9ae9c7..dd52e190ced9 100644 --- a/examples/embeddable_examples/public/list_container/list_container_factory.ts +++ b/examples/embeddable_examples/public/list_container/list_container_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { EmbeddableFactoryDefinition, diff --git a/examples/embeddable_examples/public/multi_task_todo/index.ts b/examples/embeddable_examples/public/multi_task_todo/index.ts index e3b592487dc1..c24697dc743f 100644 --- a/examples/embeddable_examples/public/multi_task_todo/index.ts +++ b/examples/embeddable_examples/public/multi_task_todo/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './multi_task_todo_embeddable'; export * from './multi_task_todo_embeddable_factory'; diff --git a/examples/embeddable_examples/public/multi_task_todo/multi_task_todo_component.tsx b/examples/embeddable_examples/public/multi_task_todo/multi_task_todo_component.tsx index 1333f4dc96cf..dd81d612183a 100644 --- a/examples/embeddable_examples/public/multi_task_todo/multi_task_todo_component.tsx +++ b/examples/embeddable_examples/public/multi_task_todo/multi_task_todo_component.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiFlexItem, EuiFlexGroup } from '@elastic/eui'; diff --git a/examples/embeddable_examples/public/multi_task_todo/multi_task_todo_embeddable.tsx b/examples/embeddable_examples/public/multi_task_todo/multi_task_todo_embeddable.tsx index fe0ecd8d5485..9eeb7dc7ac96 100644 --- a/examples/embeddable_examples/public/multi_task_todo/multi_task_todo_embeddable.tsx +++ b/examples/embeddable_examples/public/multi_task_todo/multi_task_todo_embeddable.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import ReactDOM from 'react-dom'; import { Subscription } from 'rxjs'; diff --git a/examples/embeddable_examples/public/multi_task_todo/multi_task_todo_embeddable_factory.ts b/examples/embeddable_examples/public/multi_task_todo/multi_task_todo_embeddable_factory.ts index aa72c6146111..f082d11d92c7 100644 --- a/examples/embeddable_examples/public/multi_task_todo/multi_task_todo_embeddable_factory.ts +++ b/examples/embeddable_examples/public/multi_task_todo/multi_task_todo_embeddable_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { IContainer, diff --git a/examples/embeddable_examples/public/plugin.ts b/examples/embeddable_examples/public/plugin.ts index c30a21d4e3e4..0bba841e7a48 100644 --- a/examples/embeddable_examples/public/plugin.ts +++ b/examples/embeddable_examples/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EmbeddableSetup, EmbeddableStart, diff --git a/examples/embeddable_examples/public/searchable_list_container/index.ts b/examples/embeddable_examples/public/searchable_list_container/index.ts index 98225a0cd479..4697b44f0c9d 100644 --- a/examples/embeddable_examples/public/searchable_list_container/index.ts +++ b/examples/embeddable_examples/public/searchable_list_container/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SearchableListContainer, SEARCHABLE_LIST_CONTAINER } from './searchable_list_container'; export { SearchableListContainerFactoryDefinition, diff --git a/examples/embeddable_examples/public/searchable_list_container/searchable_list_container.tsx b/examples/embeddable_examples/public/searchable_list_container/searchable_list_container.tsx index 58f2e55a6910..d0121618424f 100644 --- a/examples/embeddable_examples/public/searchable_list_container/searchable_list_container.tsx +++ b/examples/embeddable_examples/public/searchable_list_container/searchable_list_container.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import ReactDOM from 'react-dom'; import { diff --git a/examples/embeddable_examples/public/searchable_list_container/searchable_list_container_component.tsx b/examples/embeddable_examples/public/searchable_list_container/searchable_list_container_component.tsx index 9c33d22c12d5..c24d258fd7d8 100644 --- a/examples/embeddable_examples/public/searchable_list_container/searchable_list_container_component.tsx +++ b/examples/embeddable_examples/public/searchable_list_container/searchable_list_container_component.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { Component } from 'react'; import { diff --git a/examples/embeddable_examples/public/searchable_list_container/searchable_list_container_factory.ts b/examples/embeddable_examples/public/searchable_list_container/searchable_list_container_factory.ts index 39f7f54a9c6e..fea7f3d67aff 100644 --- a/examples/embeddable_examples/public/searchable_list_container/searchable_list_container_factory.ts +++ b/examples/embeddable_examples/public/searchable_list_container/searchable_list_container_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ContainerOutput, diff --git a/examples/embeddable_examples/public/todo/index.ts b/examples/embeddable_examples/public/todo/index.ts index f0f4c951fec3..c0396ef87398 100644 --- a/examples/embeddable_examples/public/todo/index.ts +++ b/examples/embeddable_examples/public/todo/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './todo_embeddable'; export * from './todo_embeddable_factory'; diff --git a/examples/embeddable_examples/public/todo/todo_component.tsx b/examples/embeddable_examples/public/todo/todo_component.tsx index e87ca3e43abf..051f6ab3ec73 100644 --- a/examples/embeddable_examples/public/todo/todo_component.tsx +++ b/examples/embeddable_examples/public/todo/todo_component.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiFlexItem, EuiFlexGroup } from '@elastic/eui'; diff --git a/examples/embeddable_examples/public/todo/todo_embeddable.tsx b/examples/embeddable_examples/public/todo/todo_embeddable.tsx index e3ac519f05d9..03d68ae809a2 100644 --- a/examples/embeddable_examples/public/todo/todo_embeddable.tsx +++ b/examples/embeddable_examples/public/todo/todo_embeddable.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import ReactDOM from 'react-dom'; import { Subscription } from 'rxjs'; diff --git a/examples/embeddable_examples/public/todo/todo_embeddable_factory.tsx b/examples/embeddable_examples/public/todo/todo_embeddable_factory.tsx index fd6452d0549c..9de3d66c439f 100644 --- a/examples/embeddable_examples/public/todo/todo_embeddable_factory.tsx +++ b/examples/embeddable_examples/public/todo/todo_embeddable_factory.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useState } from 'react'; import { EuiModalBody } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/examples/embeddable_examples/public/todo/todo_ref_component.tsx b/examples/embeddable_examples/public/todo/todo_ref_component.tsx index 1762706df9d9..db706fbd4bdc 100644 --- a/examples/embeddable_examples/public/todo/todo_ref_component.tsx +++ b/examples/embeddable_examples/public/todo/todo_ref_component.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiFlexItem, EuiFlexGroup } from '@elastic/eui'; diff --git a/examples/embeddable_examples/public/todo/todo_ref_embeddable.tsx b/examples/embeddable_examples/public/todo/todo_ref_embeddable.tsx index 27de6bba7e54..ccf30ef8faee 100644 --- a/examples/embeddable_examples/public/todo/todo_ref_embeddable.tsx +++ b/examples/embeddable_examples/public/todo/todo_ref_embeddable.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import ReactDOM from 'react-dom'; import { Subscription } from 'rxjs'; diff --git a/examples/embeddable_examples/public/todo/todo_ref_embeddable_factory.tsx b/examples/embeddable_examples/public/todo/todo_ref_embeddable_factory.tsx index 04df22233270..d9be1ba491e9 100644 --- a/examples/embeddable_examples/public/todo/todo_ref_embeddable_factory.tsx +++ b/examples/embeddable_examples/public/todo/todo_ref_embeddable_factory.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; import { SavedObjectsClientContract } from 'opensearch-dashboards/public'; import { TodoSavedObjectAttributes } from 'examples/embeddable_examples/common'; diff --git a/examples/embeddable_examples/server/book_saved_object.ts b/examples/embeddable_examples/server/book_saved_object.ts index da6b5294d5a3..85047ab0d705 100644 --- a/examples/embeddable_examples/server/book_saved_object.ts +++ b/examples/embeddable_examples/server/book_saved_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsType } from 'opensearch-dashboards/server'; export const bookSavedObject: SavedObjectsType = { diff --git a/examples/embeddable_examples/server/index.ts b/examples/embeddable_examples/server/index.ts index 1a3aca606f2a..f0cbfbd1c580 100644 --- a/examples/embeddable_examples/server/index.ts +++ b/examples/embeddable_examples/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from 'opensearch-dashboards/server'; import { EmbeddableExamplesPlugin } from './plugin'; diff --git a/examples/embeddable_examples/server/plugin.ts b/examples/embeddable_examples/server/plugin.ts index c2a34b68070c..dffc4f8846c8 100644 --- a/examples/embeddable_examples/server/plugin.ts +++ b/examples/embeddable_examples/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreSetup, CoreStart } from 'opensearch-dashboards/server'; import { todoSavedObject } from './todo_saved_object'; import { bookSavedObject } from './book_saved_object'; diff --git a/examples/embeddable_examples/server/todo_saved_object.ts b/examples/embeddable_examples/server/todo_saved_object.ts index 5fecdf929530..d837120cedf7 100644 --- a/examples/embeddable_examples/server/todo_saved_object.ts +++ b/examples/embeddable_examples/server/todo_saved_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsType } from 'opensearch-dashboards/server'; export const todoSavedObject: SavedObjectsType = { diff --git a/examples/embeddable_explorer/public/app.tsx b/examples/embeddable_explorer/public/app.tsx index 87a14996958e..1e39459dcb93 100644 --- a/examples/embeddable_explorer/public/app.tsx +++ b/examples/embeddable_explorer/public/app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter as Router, Route, withRouter, RouteComponentProps } from 'react-router-dom'; diff --git a/examples/embeddable_explorer/public/embeddable_panel_example.tsx b/examples/embeddable_explorer/public/embeddable_panel_example.tsx index 69d60056c260..4680c4e47b6b 100644 --- a/examples/embeddable_explorer/public/embeddable_panel_example.tsx +++ b/examples/embeddable_explorer/public/embeddable_panel_example.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState, useEffect, useRef } from 'react'; import { EuiPanel, diff --git a/examples/embeddable_explorer/public/hello_world_embeddable_example.tsx b/examples/embeddable_explorer/public/hello_world_embeddable_example.tsx index 2e91fbdf9382..9a073f6d0e13 100644 --- a/examples/embeddable_explorer/public/hello_world_embeddable_example.tsx +++ b/examples/embeddable_explorer/public/hello_world_embeddable_example.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiPageBody, diff --git a/examples/embeddable_explorer/public/index.ts b/examples/embeddable_explorer/public/index.ts index fee1c3e6499f..e29aca60ebbe 100644 --- a/examples/embeddable_explorer/public/index.ts +++ b/examples/embeddable_explorer/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EmbeddableExplorerPlugin } from './plugin'; export const plugin = () => new EmbeddableExplorerPlugin(); diff --git a/examples/embeddable_explorer/public/list_container_example.tsx b/examples/embeddable_explorer/public/list_container_example.tsx index cd2eabbd68a2..0cd65ccc3b78 100644 --- a/examples/embeddable_explorer/public/list_container_example.tsx +++ b/examples/embeddable_explorer/public/list_container_example.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiPageBody, diff --git a/examples/embeddable_explorer/public/plugin.tsx b/examples/embeddable_explorer/public/plugin.tsx index 38df403c4895..18b694c8480b 100644 --- a/examples/embeddable_explorer/public/plugin.tsx +++ b/examples/embeddable_explorer/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { EmbeddableExamplesStart } from 'examples/embeddable_examples/public/plugin'; import { Plugin, CoreSetup, AppMountParameters, AppNavLinkStatus } from '../../../src/core/public'; import { UiActionsService } from '../../../src/plugins/ui_actions/public'; diff --git a/examples/embeddable_explorer/public/todo_embeddable_example.tsx b/examples/embeddable_explorer/public/todo_embeddable_example.tsx index 1fbddacbeb75..db17aa5a1a23 100644 --- a/examples/embeddable_explorer/public/todo_embeddable_example.tsx +++ b/examples/embeddable_explorer/public/todo_embeddable_example.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiButton, diff --git a/examples/routing_example/common/index.ts b/examples/routing_example/common/index.ts index d42678004209..42c8f9617d75 100644 --- a/examples/routing_example/common/index.ts +++ b/examples/routing_example/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const RANDOM_NUMBER_ROUTE_PATH = '/api/random_number'; export const RANDOM_NUMBER_BETWEEN_ROUTE_PATH = '/api/random_number_between'; diff --git a/examples/routing_example/public/app.tsx b/examples/routing_example/public/app.tsx index 2df5dd4c5950..a570e9be5445 100644 --- a/examples/routing_example/public/app.tsx +++ b/examples/routing_example/public/app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { AppMountParameters } from 'opensearch-dashboards/public'; diff --git a/examples/routing_example/public/get_message_example.tsx b/examples/routing_example/public/get_message_example.tsx index 9dd05dd33fb8..b98478310376 100644 --- a/examples/routing_example/public/get_message_example.tsx +++ b/examples/routing_example/public/get_message_example.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useCallback } from 'react'; import { useState } from 'react'; import { diff --git a/examples/routing_example/public/index.ts b/examples/routing_example/public/index.ts index 3e6f7e22bd2b..9bd609d48b40 100644 --- a/examples/routing_example/public/index.ts +++ b/examples/routing_example/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from 'opensearch-dashboards/public'; import { RoutingExamplePlugin } from './plugin'; diff --git a/examples/routing_example/public/is_error.ts b/examples/routing_example/public/is_error.ts index 77c12826e58b..acc0c5b0b599 100644 --- a/examples/routing_example/public/is_error.ts +++ b/examples/routing_example/public/is_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpFetchError } from '../../../src/core/public'; export function isError(error: T | HttpFetchError): error is HttpFetchError { diff --git a/examples/routing_example/public/plugin.tsx b/examples/routing_example/public/plugin.tsx index b5871d7df2f6..e36f5ad9bd06 100644 --- a/examples/routing_example/public/plugin.tsx +++ b/examples/routing_example/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CoreStart, Plugin, diff --git a/examples/routing_example/public/post_message_example.tsx b/examples/routing_example/public/post_message_example.tsx index a91d4010ddf2..f255b4604aff 100644 --- a/examples/routing_example/public/post_message_example.tsx +++ b/examples/routing_example/public/post_message_example.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useCallback } from 'react'; import { useState } from 'react'; import { diff --git a/examples/routing_example/public/random_number_between_example.tsx b/examples/routing_example/public/random_number_between_example.tsx index 96bc69b05bce..41b0010d0217 100644 --- a/examples/routing_example/public/random_number_between_example.tsx +++ b/examples/routing_example/public/random_number_between_example.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useCallback } from 'react'; import { useState } from 'react'; import { diff --git a/examples/routing_example/public/random_number_example.tsx b/examples/routing_example/public/random_number_example.tsx index f0ff19505b24..4d5dfd6bb1e4 100644 --- a/examples/routing_example/public/random_number_example.tsx +++ b/examples/routing_example/public/random_number_example.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useCallback } from 'react'; import { useState } from 'react'; import { EuiText, EuiButton, EuiLoadingSpinner, EuiCallOut } from '@elastic/eui'; diff --git a/examples/routing_example/public/services.ts b/examples/routing_example/public/services.ts index f326c5033487..a122463ca771 100644 --- a/examples/routing_example/public/services.ts +++ b/examples/routing_example/public/services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreStart, HttpFetchError } from 'opensearch-dashboards/public'; import { RANDOM_NUMBER_ROUTE_PATH, diff --git a/examples/routing_example/server/index.ts b/examples/routing_example/server/index.ts index 29820297d44e..16b6ad29e734 100644 --- a/examples/routing_example/server/index.ts +++ b/examples/routing_example/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from 'opensearch-dashboards/server'; import { RoutingExamplePlugin } from './plugin'; diff --git a/examples/routing_example/server/plugin.ts b/examples/routing_example/server/plugin.ts index bd74a13eca9c..9c7646acf998 100644 --- a/examples/routing_example/server/plugin.ts +++ b/examples/routing_example/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreSetup, CoreStart } from 'opensearch-dashboards/server'; import { registerRoutes } from './routes'; diff --git a/examples/routing_example/server/routes/index.ts b/examples/routing_example/server/routes/index.ts index 5fe9850be848..c82b7472d4f9 100644 --- a/examples/routing_example/server/routes/index.ts +++ b/examples/routing_example/server/routes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,8 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { registerRoutes } from './register_routes'; diff --git a/examples/routing_example/server/routes/message_routes.ts b/examples/routing_example/server/routes/message_routes.ts index 5b14283a59f5..662a26a229dc 100644 --- a/examples/routing_example/server/routes/message_routes.ts +++ b/examples/routing_example/server/routes/message_routes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { POST_MESSAGE_ROUTE_PATH, INTERNAL_GET_MESSAGE_BY_ID_ROUTE } from '../../common'; diff --git a/examples/routing_example/server/routes/random_number_between_generator.ts b/examples/routing_example/server/routes/random_number_between_generator.ts index 9ec2f6bc97a5..8ae79c7827a9 100644 --- a/examples/routing_example/server/routes/random_number_between_generator.ts +++ b/examples/routing_example/server/routes/random_number_between_generator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { RANDOM_NUMBER_BETWEEN_ROUTE_PATH } from '../../common'; diff --git a/examples/routing_example/server/routes/random_number_generator.ts b/examples/routing_example/server/routes/random_number_generator.ts index ea042ca1b9c0..0c1f9dee1039 100644 --- a/examples/routing_example/server/routes/random_number_generator.ts +++ b/examples/routing_example/server/routes/random_number_generator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { RANDOM_NUMBER_ROUTE_PATH } from '../../common'; import { IRouter } from '../../../../src/core/server'; diff --git a/examples/routing_example/server/routes/register_routes.ts b/examples/routing_example/server/routes/register_routes.ts index 16b58ac42415..db475999388b 100644 --- a/examples/routing_example/server/routes/register_routes.ts +++ b/examples/routing_example/server/routes/register_routes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IRouter } from 'opensearch-dashboards/server'; import { registerGetRandomNumberRoute } from './random_number_generator'; import { registerGetRandomNumberBetweenRoute } from './random_number_between_generator'; diff --git a/examples/search_examples/common/index.ts b/examples/search_examples/common/index.ts index 9ab3a34a7bdd..581a9d12da12 100644 --- a/examples/search_examples/common/index.ts +++ b/examples/search_examples/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IOpenSearchSearchResponse, IOpenSearchSearchRequest, diff --git a/examples/search_examples/public/application.tsx b/examples/search_examples/public/application.tsx index a60a6ae2cb63..e5cc2e81a8db 100644 --- a/examples/search_examples/public/application.tsx +++ b/examples/search_examples/public/application.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { AppMountParameters, CoreStart } from '../../../src/core/public'; diff --git a/examples/search_examples/public/components/app.tsx b/examples/search_examples/public/components/app.tsx index 837dabb5dd98..20a7c8b94bce 100644 --- a/examples/search_examples/public/components/app.tsx +++ b/examples/search_examples/public/components/app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState, useEffect } from 'react'; import { i18n } from '@osd/i18n'; import { FormattedMessage, I18nProvider } from '@osd/i18n/react'; diff --git a/examples/search_examples/public/index.ts b/examples/search_examples/public/index.ts index 92686dc67fdb..bf796c1ce4f1 100644 --- a/examples/search_examples/public/index.ts +++ b/examples/search_examples/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index.scss'; import { SearchExamplesPlugin } from './plugin'; diff --git a/examples/search_examples/public/plugin.ts b/examples/search_examples/public/plugin.ts index 664cccf2406b..a6040f5e8bb0 100644 --- a/examples/search_examples/public/plugin.ts +++ b/examples/search_examples/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AppMountParameters, CoreSetup, diff --git a/examples/search_examples/public/types.ts b/examples/search_examples/public/types.ts index 430b6c606a9c..ff9364017b4f 100644 --- a/examples/search_examples/public/types.ts +++ b/examples/search_examples/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { NavigationPublicPluginStart } from '../../../src/plugins/navigation/public'; import { DataPublicPluginStart } from '../../../src/plugins/data/public'; import { DeveloperExamplesSetup } from '../../developer_examples/public'; diff --git a/examples/search_examples/server/index.ts b/examples/search_examples/server/index.ts index 8740196a728e..26efc2d1a8b8 100644 --- a/examples/search_examples/server/index.ts +++ b/examples/search_examples/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from '../../../src/core/server'; import { SearchExamplesPlugin } from './plugin'; diff --git a/examples/search_examples/server/my_strategy.ts b/examples/search_examples/server/my_strategy.ts index fd34b8151d6f..4cd94e0045dc 100644 --- a/examples/search_examples/server/my_strategy.ts +++ b/examples/search_examples/server/my_strategy.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ISearchStrategy, PluginStart } from '../../../src/plugins/data/server'; import { IMyStrategyResponse, IMyStrategyRequest } from '../common'; diff --git a/examples/search_examples/server/plugin.ts b/examples/search_examples/server/plugin.ts index ded130c0013e..2b6f5df4878b 100644 --- a/examples/search_examples/server/plugin.ts +++ b/examples/search_examples/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, CoreSetup, diff --git a/examples/search_examples/server/routes/index.ts b/examples/search_examples/server/routes/index.ts index 5fe9850be848..c82b7472d4f9 100644 --- a/examples/search_examples/server/routes/index.ts +++ b/examples/search_examples/server/routes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,8 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { registerRoutes } from './register_routes'; diff --git a/examples/search_examples/server/routes/register_routes.ts b/examples/search_examples/server/routes/register_routes.ts index eb58e181d680..1f5c2061b525 100644 --- a/examples/search_examples/server/routes/register_routes.ts +++ b/examples/search_examples/server/routes/register_routes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IRouter } from 'opensearch-dashboards/server'; import { PluginStart as DataPluginStart } from 'src/plugins/data/server'; import { registerServerSearchRoute } from './server_search_route'; diff --git a/examples/search_examples/server/routes/server_search_route.ts b/examples/search_examples/server/routes/server_search_route.ts index c73c76b5ca60..8a6fe5bad78c 100644 --- a/examples/search_examples/server/routes/server_search_route.ts +++ b/examples/search_examples/server/routes/server_search_route.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginStart as DataPluginStart, IOpenSearchSearchRequest } from 'src/plugins/data/server'; import { schema } from '@osd/config-schema'; import { IOpenSearchSearchResponse } from 'src/plugins/data/common'; diff --git a/examples/search_examples/server/types.ts b/examples/search_examples/server/types.ts index 367ab2f358fe..8858e61493dd 100644 --- a/examples/search_examples/server/types.ts +++ b/examples/search_examples/server/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // Rename PluginStart to something better import { PluginSetup, PluginStart } from '../../../src/plugins/data/server'; diff --git a/examples/state_containers_examples/common/index.ts b/examples/state_containers_examples/common/index.ts index 7c02dbbfd0cf..f4593b0a28e9 100644 --- a/examples/state_containers_examples/common/index.ts +++ b/examples/state_containers_examples/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const PLUGIN_ID = 'stateContainersExampleWithDataServices'; export const PLUGIN_NAME = 'State containers example - with data services'; diff --git a/examples/state_containers_examples/public/index.ts b/examples/state_containers_examples/public/index.ts index 39dcb27fbd06..9a4aefae96e8 100644 --- a/examples/state_containers_examples/public/index.ts +++ b/examples/state_containers_examples/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { StateContainersExamplesPlugin } from './plugin'; export const plugin = () => new StateContainersExamplesPlugin(); diff --git a/examples/state_containers_examples/public/plugin.ts b/examples/state_containers_examples/public/plugin.ts index 078a87d574b4..6aac70e1aa9d 100644 --- a/examples/state_containers_examples/public/plugin.ts +++ b/examples/state_containers_examples/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AppMountParameters, CoreSetup, Plugin, AppNavLinkStatus } from '../../../src/core/public'; import { AppPluginDependencies } from './with_data_services/types'; import { PLUGIN_ID, PLUGIN_NAME } from '../common'; @@ -124,7 +122,7 @@ export class StateContainersExamplesPlugin implements Plugin { appId: PLUGIN_ID, title: 'Sync state from a query bar with the url', description: `Shows how to use data.syncQueryStateWitUrl in combination with state container utilities from opensearch_dashboards_utils to - show a query bar that stores state in the url and is kept in sync. + show a query bar that stores state in the url and is kept in sync. `, links: [ { diff --git a/examples/state_containers_examples/public/todo/app.tsx b/examples/state_containers_examples/public/todo/app.tsx index 65176181b454..658439cc95a7 100644 --- a/examples/state_containers_examples/public/todo/app.tsx +++ b/examples/state_containers_examples/public/todo/app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AppMountParameters } from 'opensearch-dashboards/public'; import ReactDOM from 'react-dom'; import React from 'react'; diff --git a/examples/state_containers_examples/public/todo/todo.tsx b/examples/state_containers_examples/public/todo/todo.tsx index 120331e28a26..e4acf285ac69 100644 --- a/examples/state_containers_examples/public/todo/todo.tsx +++ b/examples/state_containers_examples/public/todo/todo.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect } from 'react'; import { Link, Route, Router, Switch, useLocation } from 'react-router-dom'; import { History } from 'history'; diff --git a/examples/state_containers_examples/public/with_data_services/application.tsx b/examples/state_containers_examples/public/with_data_services/application.tsx index 02320b31f285..ff2de40968fb 100644 --- a/examples/state_containers_examples/public/with_data_services/application.tsx +++ b/examples/state_containers_examples/public/with_data_services/application.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { AppMountParameters, CoreStart } from '../../../../src/core/public'; diff --git a/examples/state_containers_examples/public/with_data_services/components/app.tsx b/examples/state_containers_examples/public/with_data_services/components/app.tsx index bacccfccfd4d..3517b1182a7e 100644 --- a/examples/state_containers_examples/public/with_data_services/components/app.tsx +++ b/examples/state_containers_examples/public/with_data_services/components/app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useRef, useState } from 'react'; import { History } from 'history'; import { FormattedMessage, I18nProvider } from '@osd/i18n/react'; diff --git a/examples/state_containers_examples/public/with_data_services/types.ts b/examples/state_containers_examples/public/with_data_services/types.ts index c8c1bcbac90e..78804b9781cb 100644 --- a/examples/state_containers_examples/public/with_data_services/types.ts +++ b/examples/state_containers_examples/public/with_data_services/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { NavigationPublicPluginStart } from '../../../../src/plugins/navigation/public'; import { DataPublicPluginStart } from '../../../../src/plugins/data/public'; diff --git a/examples/state_containers_examples/server/index.ts b/examples/state_containers_examples/server/index.ts index 04d8048e6da9..acc1a5f2123b 100644 --- a/examples/state_containers_examples/server/index.ts +++ b/examples/state_containers_examples/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from '../../../src/core/server'; import { StateDemoServerPlugin } from './plugin'; diff --git a/examples/state_containers_examples/server/plugin.ts b/examples/state_containers_examples/server/plugin.ts index 410832d4c76a..22732afe84cd 100644 --- a/examples/state_containers_examples/server/plugin.ts +++ b/examples/state_containers_examples/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, CoreSetup, diff --git a/examples/state_containers_examples/server/routes/index.ts b/examples/state_containers_examples/server/routes/index.ts index 5566f3c1585f..c0272b26ec3a 100644 --- a/examples/state_containers_examples/server/routes/index.ts +++ b/examples/state_containers_examples/server/routes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IRouter } from '../../../../src/core/server'; export function defineRoutes(router: IRouter) { diff --git a/examples/state_containers_examples/server/types.ts b/examples/state_containers_examples/server/types.ts index 7353bd9e84fd..15954fb5e705 100644 --- a/examples/state_containers_examples/server/types.ts +++ b/examples/state_containers_examples/server/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface StateDemoPluginSetup {} // eslint-disable-next-line @typescript-eslint/no-empty-interface diff --git a/examples/ui_action_examples/public/hello_world_action.tsx b/examples/ui_action_examples/public/hello_world_action.tsx index a9c59255a838..d488ec239132 100644 --- a/examples/ui_action_examples/public/hello_world_action.tsx +++ b/examples/ui_action_examples/public/hello_world_action.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiText, EuiModalBody, EuiButton } from '@elastic/eui'; import { OverlayStart } from '../../../src/core/public'; diff --git a/examples/ui_action_examples/public/hello_world_trigger.ts b/examples/ui_action_examples/public/hello_world_trigger.ts index e8e1921f8897..388e42e2f1c6 100644 --- a/examples/ui_action_examples/public/hello_world_trigger.ts +++ b/examples/ui_action_examples/public/hello_world_trigger.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Trigger } from '../../../src/plugins/ui_actions/public'; export const HELLO_WORLD_TRIGGER_ID = 'HELLO_WORLD_TRIGGER_ID'; diff --git a/examples/ui_action_examples/public/index.ts b/examples/ui_action_examples/public/index.ts index 322af24f8897..46dbf6226359 100644 --- a/examples/ui_action_examples/public/index.ts +++ b/examples/ui_action_examples/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiActionExamplesPlugin } from './plugin'; export const plugin = () => new UiActionExamplesPlugin(); diff --git a/examples/ui_action_examples/public/plugin.ts b/examples/ui_action_examples/public/plugin.ts index a4d6e464bcfc..b31f2d6621ed 100644 --- a/examples/ui_action_examples/public/plugin.ts +++ b/examples/ui_action_examples/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreSetup, CoreStart } from '../../../src/core/public'; import { UiActionsSetup, UiActionsStart } from '../../../src/plugins/ui_actions/public'; import { createHelloWorldAction, ACTION_HELLO_WORLD } from './hello_world_action'; diff --git a/examples/ui_actions_explorer/public/actions/actions.tsx b/examples/ui_actions_explorer/public/actions/actions.tsx index d64903ac4cb5..a6993c91e101 100644 --- a/examples/ui_actions_explorer/public/actions/actions.tsx +++ b/examples/ui_actions_explorer/public/actions/actions.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { OverlayStart } from 'opensearch-dashboards/public'; import { EuiFieldText, EuiModalBody, EuiButton } from '@elastic/eui'; diff --git a/examples/ui_actions_explorer/public/app.tsx b/examples/ui_actions_explorer/public/app.tsx index 88f4abbf1d52..8f5ad20cc396 100644 --- a/examples/ui_actions_explorer/public/app.tsx +++ b/examples/ui_actions_explorer/public/app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState } from 'react'; import ReactDOM from 'react-dom'; diff --git a/examples/ui_actions_explorer/public/context_menu_examples/context_menu_examples.tsx b/examples/ui_actions_explorer/public/context_menu_examples/context_menu_examples.tsx index d0e4185943e9..d38d80d0fac0 100644 --- a/examples/ui_actions_explorer/public/context_menu_examples/context_menu_examples.tsx +++ b/examples/ui_actions_explorer/public/context_menu_examples/context_menu_examples.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiCode, EuiFlexGroup, EuiFlexItem, EuiText } from '@elastic/eui'; import { PanelView } from './panel_view'; diff --git a/examples/ui_actions_explorer/public/context_menu_examples/index.tsx b/examples/ui_actions_explorer/public/context_menu_examples/index.tsx index bc551a766f4d..058598c8a2fe 100644 --- a/examples/ui_actions_explorer/public/context_menu_examples/index.tsx +++ b/examples/ui_actions_explorer/public/context_menu_examples/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './context_menu_examples'; diff --git a/examples/ui_actions_explorer/public/context_menu_examples/panel_edit.tsx b/examples/ui_actions_explorer/public/context_menu_examples/panel_edit.tsx index c64c9c41b373..d9feade962d0 100644 --- a/examples/ui_actions_explorer/public/context_menu_examples/panel_edit.tsx +++ b/examples/ui_actions_explorer/public/context_menu_examples/panel_edit.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { EuiButton, EuiContextMenu, EuiPopover } from '@elastic/eui'; import useAsync from 'react-use/lib/useAsync'; diff --git a/examples/ui_actions_explorer/public/context_menu_examples/panel_edit_with_drilldowns.tsx b/examples/ui_actions_explorer/public/context_menu_examples/panel_edit_with_drilldowns.tsx index b3d81cdff760..ef96b5f60145 100644 --- a/examples/ui_actions_explorer/public/context_menu_examples/panel_edit_with_drilldowns.tsx +++ b/examples/ui_actions_explorer/public/context_menu_examples/panel_edit_with_drilldowns.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { EuiButton, EuiContextMenu, EuiPopover } from '@elastic/eui'; import useAsync from 'react-use/lib/useAsync'; diff --git a/examples/ui_actions_explorer/public/context_menu_examples/panel_edit_with_drilldowns_and_context_actions.tsx b/examples/ui_actions_explorer/public/context_menu_examples/panel_edit_with_drilldowns_and_context_actions.tsx index 2d69a7e8bcc2..e031979cf5ab 100644 --- a/examples/ui_actions_explorer/public/context_menu_examples/panel_edit_with_drilldowns_and_context_actions.tsx +++ b/examples/ui_actions_explorer/public/context_menu_examples/panel_edit_with_drilldowns_and_context_actions.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { EuiButton, EuiContextMenu, EuiPopover } from '@elastic/eui'; import useAsync from 'react-use/lib/useAsync'; diff --git a/examples/ui_actions_explorer/public/context_menu_examples/panel_view.tsx b/examples/ui_actions_explorer/public/context_menu_examples/panel_view.tsx index 19bf6f09c4fa..c46466e6aa3e 100644 --- a/examples/ui_actions_explorer/public/context_menu_examples/panel_view.tsx +++ b/examples/ui_actions_explorer/public/context_menu_examples/panel_view.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { EuiButton, EuiContextMenu, EuiPopover } from '@elastic/eui'; import useAsync from 'react-use/lib/useAsync'; diff --git a/examples/ui_actions_explorer/public/context_menu_examples/panel_view_with_sharing.tsx b/examples/ui_actions_explorer/public/context_menu_examples/panel_view_with_sharing.tsx index 09c5544a3961..fe1f8c3dc741 100644 --- a/examples/ui_actions_explorer/public/context_menu_examples/panel_view_with_sharing.tsx +++ b/examples/ui_actions_explorer/public/context_menu_examples/panel_view_with_sharing.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { EuiButton, EuiContextMenu, EuiPopover } from '@elastic/eui'; import useAsync from 'react-use/lib/useAsync'; diff --git a/examples/ui_actions_explorer/public/context_menu_examples/panel_view_with_sharing_long.tsx b/examples/ui_actions_explorer/public/context_menu_examples/panel_view_with_sharing_long.tsx index ba1d6bbb56b6..b92f0947cdd3 100644 --- a/examples/ui_actions_explorer/public/context_menu_examples/panel_view_with_sharing_long.tsx +++ b/examples/ui_actions_explorer/public/context_menu_examples/panel_view_with_sharing_long.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { EuiButton, EuiContextMenu, EuiPopover } from '@elastic/eui'; import useAsync from 'react-use/lib/useAsync'; diff --git a/examples/ui_actions_explorer/public/context_menu_examples/util.ts b/examples/ui_actions_explorer/public/context_menu_examples/util.ts index de557626ae2d..946267a2f34f 100644 --- a/examples/ui_actions_explorer/public/context_menu_examples/util.ts +++ b/examples/ui_actions_explorer/public/context_menu_examples/util.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Action } from '../../../../src/plugins/ui_actions/public'; export const sampleAction = ( diff --git a/examples/ui_actions_explorer/public/index.ts b/examples/ui_actions_explorer/public/index.ts index 5a2ef1e4ddad..8ba4f68963e6 100644 --- a/examples/ui_actions_explorer/public/index.ts +++ b/examples/ui_actions_explorer/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiActionsExplorerPlugin } from './plugin'; export const plugin = () => new UiActionsExplorerPlugin(); diff --git a/examples/ui_actions_explorer/public/page.tsx b/examples/ui_actions_explorer/public/page.tsx index 4433fd353256..4ffb5d872fc7 100644 --- a/examples/ui_actions_explorer/public/page.tsx +++ b/examples/ui_actions_explorer/public/page.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/examples/ui_actions_explorer/public/plugin.tsx b/examples/ui_actions_explorer/public/plugin.tsx index ff79f6263d6d..a700d5130c97 100644 --- a/examples/ui_actions_explorer/public/plugin.tsx +++ b/examples/ui_actions_explorer/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiActionsStart, UiActionsSetup } from '../../../src/plugins/ui_actions/public'; import { Plugin, CoreSetup, AppMountParameters, AppNavLinkStatus } from '../../../src/core/public'; import { diff --git a/examples/ui_actions_explorer/public/trigger_context_example.tsx b/examples/ui_actions_explorer/public/trigger_context_example.tsx index 807f2f101300..5bc511720790 100644 --- a/examples/ui_actions_explorer/public/trigger_context_example.tsx +++ b/examples/ui_actions_explorer/public/trigger_context_example.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment, useMemo, useState } from 'react'; import { EuiButtonEmpty } from '@elastic/eui'; import { EuiText } from '@elastic/eui'; diff --git a/examples/url_generators_examples/public/app.tsx b/examples/url_generators_examples/public/app.tsx index ea54e62d7c14..4fa181c9eec7 100644 --- a/examples/url_generators_examples/public/app.tsx +++ b/examples/url_generators_examples/public/app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; diff --git a/examples/url_generators_examples/public/index.ts b/examples/url_generators_examples/public/index.ts index ca1c5b53e96e..af5fa593c3f9 100644 --- a/examples/url_generators_examples/public/index.ts +++ b/examples/url_generators_examples/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AccessLinksExamplesPlugin } from './plugin'; export const plugin = () => new AccessLinksExamplesPlugin(); diff --git a/examples/url_generators_examples/public/plugin.tsx b/examples/url_generators_examples/public/plugin.tsx index 754c23739841..5edc8ead71ad 100644 --- a/examples/url_generators_examples/public/plugin.tsx +++ b/examples/url_generators_examples/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SharePluginStart, SharePluginSetup } from '../../../src/plugins/share/public'; import { Plugin, CoreSetup, AppMountParameters, AppNavLinkStatus } from '../../../src/core/public'; import { diff --git a/examples/url_generators_examples/public/url_generator.ts b/examples/url_generators_examples/public/url_generator.ts index 826285de69ab..dba057eb6de4 100644 --- a/examples/url_generators_examples/public/url_generator.ts +++ b/examples/url_generators_examples/public/url_generator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import url from 'url'; import { UrlGeneratorState, UrlGeneratorsDefinition } from '../../../src/plugins/share/public'; diff --git a/examples/url_generators_explorer/public/app.tsx b/examples/url_generators_explorer/public/app.tsx index 9f81cfc14983..2dd8c4e60c15 100644 --- a/examples/url_generators_explorer/public/app.tsx +++ b/examples/url_generators_explorer/public/app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState, useEffect } from 'react'; import ReactDOM from 'react-dom'; diff --git a/examples/url_generators_explorer/public/index.ts b/examples/url_generators_explorer/public/index.ts index 7d54ed846f52..22ccbc898b53 100644 --- a/examples/url_generators_explorer/public/index.ts +++ b/examples/url_generators_explorer/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AccessLinksExplorerPlugin } from './plugin'; export const plugin = () => new AccessLinksExplorerPlugin(); diff --git a/examples/url_generators_explorer/public/page.tsx b/examples/url_generators_explorer/public/page.tsx index 4433fd353256..4ffb5d872fc7 100644 --- a/examples/url_generators_explorer/public/page.tsx +++ b/examples/url_generators_explorer/public/page.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/examples/url_generators_explorer/public/plugin.tsx b/examples/url_generators_explorer/public/plugin.tsx index f044f3cf3479..481aa72b58e2 100644 --- a/examples/url_generators_explorer/public/plugin.tsx +++ b/examples/url_generators_explorer/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SharePluginStart } from '../../../src/plugins/share/public'; import { Plugin, CoreSetup, AppMountParameters, AppNavLinkStatus } from '../../../src/core/public'; import { DeveloperExamplesSetup } from '../../developer_examples/public'; diff --git a/opensearch_dashboards.d.ts b/opensearch_dashboards.d.ts index 65771399e0c0..ab3284f2c095 100644 --- a/opensearch_dashboards.d.ts +++ b/opensearch_dashboards.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * All exports from TS source files (where the implementation is actually done in TS). */ diff --git a/packages/opensearch-datemath/__tests__/index.js b/packages/opensearch-datemath/__tests__/index.js index f178407910ee..8188a2920026 100644 --- a/packages/opensearch-datemath/__tests__/index.js +++ b/packages/opensearch-datemath/__tests__/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const dateMath = require('../index'); const moment = require('moment'); const sinon = require('sinon'); diff --git a/packages/opensearch-datemath/index.d.ts b/packages/opensearch-datemath/index.d.ts index d41036b049e9..d5a38f0176ea 100644 --- a/packages/opensearch-datemath/index.d.ts +++ b/packages/opensearch-datemath/index.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; export type Unit = 'ms' | 's' | 'm' | 'h' | 'd' | 'w' | 'M' | 'y'; diff --git a/packages/opensearch-datemath/index.js b/packages/opensearch-datemath/index.js index ee3082dd1685..4367949d7cf0 100644 --- a/packages/opensearch-datemath/index.js +++ b/packages/opensearch-datemath/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const moment = require('moment'); const unitsMap = { diff --git a/packages/opensearch-eslint-config-opensearch-dashboards/.eslintrc.js b/packages/opensearch-eslint-config-opensearch-dashboards/.eslintrc.js index f0af849dc0ea..8c42d5eca8f6 100644 --- a/packages/opensearch-eslint-config-opensearch-dashboards/.eslintrc.js +++ b/packages/opensearch-eslint-config-opensearch-dashboards/.eslintrc.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + module.exports = { extends: [ './javascript.js', diff --git a/packages/opensearch-eslint-config-opensearch-dashboards/javascript.js b/packages/opensearch-eslint-config-opensearch-dashboards/javascript.js index 9d69ed89df22..9ebee543cb04 100644 --- a/packages/opensearch-eslint-config-opensearch-dashboards/javascript.js +++ b/packages/opensearch-eslint-config-opensearch-dashboards/javascript.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const RESTRICTED_GLOBALS = require('./restricted_globals'); const RESTRICTED_MODULES = { paths: ['gulp-util'] }; diff --git a/packages/opensearch-eslint-config-opensearch-dashboards/jest.js b/packages/opensearch-eslint-config-opensearch-dashboards/jest.js index d30ae8348e03..abc88b02dd32 100644 --- a/packages/opensearch-eslint-config-opensearch-dashboards/jest.js +++ b/packages/opensearch-eslint-config-opensearch-dashboards/jest.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = { overrides: [ { diff --git a/packages/opensearch-eslint-config-opensearch-dashboards/react.js b/packages/opensearch-eslint-config-opensearch-dashboards/react.js index c1a779ccee91..f5232b149124 100644 --- a/packages/opensearch-eslint-config-opensearch-dashboards/react.js +++ b/packages/opensearch-eslint-config-opensearch-dashboards/react.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const semver = require('semver'); const PKG = require('../../package.json'); diff --git a/packages/opensearch-eslint-config-opensearch-dashboards/restricted_globals.js b/packages/opensearch-eslint-config-opensearch-dashboards/restricted_globals.js index d6aa9af694de..49577877a1d5 100644 --- a/packages/opensearch-eslint-config-opensearch-dashboards/restricted_globals.js +++ b/packages/opensearch-eslint-config-opensearch-dashboards/restricted_globals.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // copied from https://github.com/facebookincubator/create-react-app/blob/2e82ebb3371731a5c4e346f310848ddb23fd0976/packages/eslint-config-react-app/index.js#L24 module.exports = [ 'addEventListener', diff --git a/packages/opensearch-eslint-config-opensearch-dashboards/typescript.js b/packages/opensearch-eslint-config-opensearch-dashboards/typescript.js index 84e64897e225..367b5db2b5b3 100644 --- a/packages/opensearch-eslint-config-opensearch-dashboards/typescript.js +++ b/packages/opensearch-eslint-config-opensearch-dashboards/typescript.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // NOTE: This is the configuration to apply the typescript eslint parser // in order to lint typescript files with eslint. // Some IDEs could not be running eslint with the correct extensions yet diff --git a/packages/opensearch-safer-lodash-set/fp/assoc.d.ts b/packages/opensearch-safer-lodash-set/fp/assoc.d.ts index 0116831477ee..c0f596095574 100644 --- a/packages/opensearch-safer-lodash-set/fp/assoc.d.ts +++ b/packages/opensearch-safer-lodash-set/fp/assoc.d.ts @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { assoc } from './index'; export = assoc; diff --git a/packages/opensearch-safer-lodash-set/fp/assoc.js b/packages/opensearch-safer-lodash-set/fp/assoc.js index cb677aca62ca..1253d476e79b 100644 --- a/packages/opensearch-safer-lodash-set/fp/assoc.js +++ b/packages/opensearch-safer-lodash-set/fp/assoc.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = require('./set'); diff --git a/packages/opensearch-safer-lodash-set/fp/assocPath.d.ts b/packages/opensearch-safer-lodash-set/fp/assocPath.d.ts index 608956ac47e6..4f6801ea0a13 100644 --- a/packages/opensearch-safer-lodash-set/fp/assocPath.d.ts +++ b/packages/opensearch-safer-lodash-set/fp/assocPath.d.ts @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { assocPath } from './index'; export = assocPath; diff --git a/packages/opensearch-safer-lodash-set/fp/assocPath.js b/packages/opensearch-safer-lodash-set/fp/assocPath.js index cb677aca62ca..1253d476e79b 100644 --- a/packages/opensearch-safer-lodash-set/fp/assocPath.js +++ b/packages/opensearch-safer-lodash-set/fp/assocPath.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = require('./set'); diff --git a/packages/opensearch-safer-lodash-set/fp/index.d.ts b/packages/opensearch-safer-lodash-set/fp/index.d.ts index 415afd617933..d1a9635958dc 100644 --- a/packages/opensearch-safer-lodash-set/fp/index.d.ts +++ b/packages/opensearch-safer-lodash-set/fp/index.d.ts @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import lodash = require('lodash'); export = SaferLodashSet; diff --git a/packages/opensearch-safer-lodash-set/fp/index.js b/packages/opensearch-safer-lodash-set/fp/index.js index 55434697ac9c..8c30e5d68020 100644 --- a/packages/opensearch-safer-lodash-set/fp/index.js +++ b/packages/opensearch-safer-lodash-set/fp/index.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - exports.set = exports.assoc = exports.assocPath = require('./set'); exports.setWith = require('./setWith'); diff --git a/packages/opensearch-safer-lodash-set/fp/set.d.ts b/packages/opensearch-safer-lodash-set/fp/set.d.ts index de5ecdd45617..de50b5e2a70f 100644 --- a/packages/opensearch-safer-lodash-set/fp/set.d.ts +++ b/packages/opensearch-safer-lodash-set/fp/set.d.ts @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { set } from './index'; export = set; diff --git a/packages/opensearch-safer-lodash-set/fp/set.js b/packages/opensearch-safer-lodash-set/fp/set.js index 4e13b99f630b..4935d7b7401b 100644 --- a/packages/opensearch-safer-lodash-set/fp/set.js +++ b/packages/opensearch-safer-lodash-set/fp/set.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /*eslint no-var:0 */ var convert = require('lodash/fp/convert'); var func = convert('set', require('../set')); diff --git a/packages/opensearch-safer-lodash-set/fp/setWith.d.ts b/packages/opensearch-safer-lodash-set/fp/setWith.d.ts index cbc6d7572ea0..e048c64e4dd1 100644 --- a/packages/opensearch-safer-lodash-set/fp/setWith.d.ts +++ b/packages/opensearch-safer-lodash-set/fp/setWith.d.ts @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { setWith } from './index'; export = setWith; diff --git a/packages/opensearch-safer-lodash-set/fp/setWith.js b/packages/opensearch-safer-lodash-set/fp/setWith.js index 9d5a42db6fb4..264d994f615e 100644 --- a/packages/opensearch-safer-lodash-set/fp/setWith.js +++ b/packages/opensearch-safer-lodash-set/fp/setWith.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /*eslint no-var:0 */ var convert = require('lodash/fp/convert'); var func = convert('setWith', require('../setWith')); diff --git a/packages/opensearch-safer-lodash-set/index.d.ts b/packages/opensearch-safer-lodash-set/index.d.ts index bb3957be48a7..466709ecde9a 100644 --- a/packages/opensearch-safer-lodash-set/index.d.ts +++ b/packages/opensearch-safer-lodash-set/index.d.ts @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export = SaferLodashSet; export as namespace SaferLodashSet; diff --git a/packages/opensearch-safer-lodash-set/index.js b/packages/opensearch-safer-lodash-set/index.js index 70220ab666d1..1b2c649e80bf 100644 --- a/packages/opensearch-safer-lodash-set/index.js +++ b/packages/opensearch-safer-lodash-set/index.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - exports.set = require('./lodash/set'); exports.setWith = require('./lodash/setWith'); diff --git a/packages/opensearch-safer-lodash-set/lodash/_baseSet.js b/packages/opensearch-safer-lodash-set/lodash/_baseSet.js index 49fb2be8a41c..6b1d8ab17caf 100644 --- a/packages/opensearch-safer-lodash-set/lodash/_baseSet.js +++ b/packages/opensearch-safer-lodash-set/lodash/_baseSet.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable */ var assignValue = require('lodash/_assignValue'), diff --git a/packages/opensearch-safer-lodash-set/lodash/set.js b/packages/opensearch-safer-lodash-set/lodash/set.js index 639f427c72c9..7ff83f5e5b39 100644 --- a/packages/opensearch-safer-lodash-set/lodash/set.js +++ b/packages/opensearch-safer-lodash-set/lodash/set.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable */ var baseSet = require('./_baseSet'); diff --git a/packages/opensearch-safer-lodash-set/lodash/setWith.js b/packages/opensearch-safer-lodash-set/lodash/setWith.js index cfd6867f0664..362bf667bd1f 100644 --- a/packages/opensearch-safer-lodash-set/lodash/setWith.js +++ b/packages/opensearch-safer-lodash-set/lodash/setWith.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable */ var baseSet = require('./_baseSet'); diff --git a/packages/opensearch-safer-lodash-set/scripts/_get_lodash.sh b/packages/opensearch-safer-lodash-set/scripts/_get_lodash.sh index 50d3edaf3471..f3fdcf012c2d 100755 --- a/packages/opensearch-safer-lodash-set/scripts/_get_lodash.sh +++ b/packages/opensearch-safer-lodash-set/scripts/_get_lodash.sh @@ -1,5 +1,16 @@ #!/usr/bin/env bash +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + # Elasticsearch B.V licenses this file to you under the MIT License. # See `packages/elastic-safer-lodash-set/LICENSE` for more information. diff --git a/packages/opensearch-safer-lodash-set/scripts/save_state.sh b/packages/opensearch-safer-lodash-set/scripts/save_state.sh index ead99c3d1de4..df9f894722cf 100755 --- a/packages/opensearch-safer-lodash-set/scripts/save_state.sh +++ b/packages/opensearch-safer-lodash-set/scripts/save_state.sh @@ -1,5 +1,16 @@ #!/usr/bin/env bash +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + # Elasticsearch B.V licenses this file to you under the MIT License. # See `packages/elastic-safer-lodash-set/LICENSE` for more information. diff --git a/packages/opensearch-safer-lodash-set/scripts/update.sh b/packages/opensearch-safer-lodash-set/scripts/update.sh index 58fd89eb43e3..58ed52d61b61 100755 --- a/packages/opensearch-safer-lodash-set/scripts/update.sh +++ b/packages/opensearch-safer-lodash-set/scripts/update.sh @@ -1,5 +1,16 @@ #!/usr/bin/env bash +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + # Elasticsearch B.V licenses this file to you under the MIT License. # See `packages/elastic-safer-lodash-set/LICENSE` for more information. diff --git a/packages/opensearch-safer-lodash-set/set.d.ts b/packages/opensearch-safer-lodash-set/set.d.ts index de5ecdd45617..de50b5e2a70f 100644 --- a/packages/opensearch-safer-lodash-set/set.d.ts +++ b/packages/opensearch-safer-lodash-set/set.d.ts @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { set } from './index'; export = set; diff --git a/packages/opensearch-safer-lodash-set/set.js b/packages/opensearch-safer-lodash-set/set.js index 236619e7e910..995f755e1368 100644 --- a/packages/opensearch-safer-lodash-set/set.js +++ b/packages/opensearch-safer-lodash-set/set.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = require('./lodash/set'); diff --git a/packages/opensearch-safer-lodash-set/setWith.d.ts b/packages/opensearch-safer-lodash-set/setWith.d.ts index cbc6d7572ea0..e048c64e4dd1 100644 --- a/packages/opensearch-safer-lodash-set/setWith.d.ts +++ b/packages/opensearch-safer-lodash-set/setWith.d.ts @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { setWith } from './index'; export = setWith; diff --git a/packages/opensearch-safer-lodash-set/setWith.js b/packages/opensearch-safer-lodash-set/setWith.js index 361288598065..1c3160c120c8 100644 --- a/packages/opensearch-safer-lodash-set/setWith.js +++ b/packages/opensearch-safer-lodash-set/setWith.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = require('./lodash/setWith'); diff --git a/packages/opensearch-safer-lodash-set/test/fp.ts b/packages/opensearch-safer-lodash-set/test/fp.ts index 5e408fe94da7..a776effe3f13 100644 --- a/packages/opensearch-safer-lodash-set/test/fp.ts +++ b/packages/opensearch-safer-lodash-set/test/fp.ts @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expectType } from 'tsd'; import { set, setWith, assoc, assocPath } from '../fp'; diff --git a/packages/opensearch-safer-lodash-set/test/fp_assoc.ts b/packages/opensearch-safer-lodash-set/test/fp_assoc.ts index 67a483d8ec22..c044d3d71455 100644 --- a/packages/opensearch-safer-lodash-set/test/fp_assoc.ts +++ b/packages/opensearch-safer-lodash-set/test/fp_assoc.ts @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expectType } from 'tsd'; import assoc from '../fp/assoc'; diff --git a/packages/opensearch-safer-lodash-set/test/fp_assocPath.ts b/packages/opensearch-safer-lodash-set/test/fp_assocPath.ts index cfa2770b283a..c6dd92a37b94 100644 --- a/packages/opensearch-safer-lodash-set/test/fp_assocPath.ts +++ b/packages/opensearch-safer-lodash-set/test/fp_assocPath.ts @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expectType } from 'tsd'; import assocPath from '../fp/assocPath'; diff --git a/packages/opensearch-safer-lodash-set/test/fp_patch_test.js b/packages/opensearch-safer-lodash-set/test/fp_patch_test.js index 4e974cbb5479..a2581ecf59ba 100644 --- a/packages/opensearch-safer-lodash-set/test/fp_patch_test.js +++ b/packages/opensearch-safer-lodash-set/test/fp_patch_test.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const test = require('tape'); const setFunctions = [ diff --git a/packages/opensearch-safer-lodash-set/test/fp_set.ts b/packages/opensearch-safer-lodash-set/test/fp_set.ts index d55ac4f5757d..7ce4370d7a0d 100644 --- a/packages/opensearch-safer-lodash-set/test/fp_set.ts +++ b/packages/opensearch-safer-lodash-set/test/fp_set.ts @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expectType } from 'tsd'; import set from '../fp/set'; diff --git a/packages/opensearch-safer-lodash-set/test/fp_setWith.ts b/packages/opensearch-safer-lodash-set/test/fp_setWith.ts index 6ed1dfca2d58..67329e0e1a6b 100644 --- a/packages/opensearch-safer-lodash-set/test/fp_setWith.ts +++ b/packages/opensearch-safer-lodash-set/test/fp_setWith.ts @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expectType } from 'tsd'; import setWith from '../fp/setWith'; diff --git a/packages/opensearch-safer-lodash-set/test/index.ts b/packages/opensearch-safer-lodash-set/test/index.ts index 6ee159f6de76..c00ea22898cb 100644 --- a/packages/opensearch-safer-lodash-set/test/index.ts +++ b/packages/opensearch-safer-lodash-set/test/index.ts @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expectType } from 'tsd'; import { set, setWith } from '..'; diff --git a/packages/opensearch-safer-lodash-set/test/patch_test.js b/packages/opensearch-safer-lodash-set/test/patch_test.js index 26238b1eac0c..a8809ea27054 100644 --- a/packages/opensearch-safer-lodash-set/test/patch_test.js +++ b/packages/opensearch-safer-lodash-set/test/patch_test.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const test = require('tape'); const setFunctions = [ diff --git a/packages/opensearch-safer-lodash-set/test/set.ts b/packages/opensearch-safer-lodash-set/test/set.ts index cf6686b7e00e..352a21f158a3 100644 --- a/packages/opensearch-safer-lodash-set/test/set.ts +++ b/packages/opensearch-safer-lodash-set/test/set.ts @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expectType } from 'tsd'; import set from '../set'; diff --git a/packages/opensearch-safer-lodash-set/test/setWith.ts b/packages/opensearch-safer-lodash-set/test/setWith.ts index 46337aa1094d..f47f9edc2c44 100644 --- a/packages/opensearch-safer-lodash-set/test/setWith.ts +++ b/packages/opensearch-safer-lodash-set/test/setWith.ts @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expectType } from 'tsd'; import setWith from '../setWith'; diff --git a/packages/osd-ace/scripts/build.js b/packages/osd-ace/scripts/build.js index 892793bca288..d35b1384f4a0 100644 --- a/packages/osd-ace/scripts/build.js +++ b/packages/osd-ace/scripts/build.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const path = require('path'); const del = require('del'); const fs = require('fs'); diff --git a/packages/osd-ace/src/ace/modes/index.ts b/packages/osd-ace/src/ace/modes/index.ts index dd8cb8effe9b..b02666af7e11 100644 --- a/packages/osd-ace/src/ace/modes/index.ts +++ b/packages/osd-ace/src/ace/modes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { OpenSearchSqlHighlightRules, ScriptHighlightRules, diff --git a/packages/osd-ace/src/ace/modes/lexer_rules/index.ts b/packages/osd-ace/src/ace/modes/lexer_rules/index.ts index 319135da5d51..d0b0ed1f372d 100644 --- a/packages/osd-ace/src/ace/modes/lexer_rules/index.ts +++ b/packages/osd-ace/src/ace/modes/lexer_rules/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { OpenSearchSqlHighlightRules } from './opensearch_sql_highlight_rules'; export { ScriptHighlightRules } from './script_highlight_rules'; export { XJsonHighlightRules, addToRules as addXJsonToRules } from './x_json_highlight_rules'; diff --git a/packages/osd-ace/src/ace/modes/lexer_rules/opensearch_sql_highlight_rules.ts b/packages/osd-ace/src/ace/modes/lexer_rules/opensearch_sql_highlight_rules.ts index 64f288df877c..d16741745032 100644 --- a/packages/osd-ace/src/ace/modes/lexer_rules/opensearch_sql_highlight_rules.ts +++ b/packages/osd-ace/src/ace/modes/lexer_rules/opensearch_sql_highlight_rules.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import ace from 'brace'; const { TextHighlightRules } = ace.acequire('ace/mode/text_highlight_rules'); diff --git a/packages/osd-ace/src/ace/modes/lexer_rules/script_highlight_rules.ts b/packages/osd-ace/src/ace/modes/lexer_rules/script_highlight_rules.ts index bdc1c7e35154..86b78ddc76b2 100644 --- a/packages/osd-ace/src/ace/modes/lexer_rules/script_highlight_rules.ts +++ b/packages/osd-ace/src/ace/modes/lexer_rules/script_highlight_rules.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import ace from 'brace'; const oop = ace.acequire('ace/lib/oop'); const { TextHighlightRules } = ace.acequire('ace/mode/text_highlight_rules'); diff --git a/packages/osd-ace/src/ace/modes/lexer_rules/x_json_highlight_rules.ts b/packages/osd-ace/src/ace/modes/lexer_rules/x_json_highlight_rules.ts index 83a17ef3a090..b2e46be2e2b1 100644 --- a/packages/osd-ace/src/ace/modes/lexer_rules/x_json_highlight_rules.ts +++ b/packages/osd-ace/src/ace/modes/lexer_rules/x_json_highlight_rules.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { defaultsDeep } from 'lodash'; import ace from 'brace'; import 'brace/mode/json'; diff --git a/packages/osd-ace/src/ace/modes/x_json/index.ts b/packages/osd-ace/src/ace/modes/x_json/index.ts index 34b425aca627..ef5e6f585778 100644 --- a/packages/osd-ace/src/ace/modes/x_json/index.ts +++ b/packages/osd-ace/src/ace/modes/x_json/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,8 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { installXJsonMode, XJsonMode } from './x_json'; diff --git a/packages/osd-ace/src/ace/modes/x_json/worker/index.ts b/packages/osd-ace/src/ace/modes/x_json/worker/index.ts index 44a28f332b53..61efc76dcf7b 100644 --- a/packages/osd-ace/src/ace/modes/x_json/worker/index.ts +++ b/packages/osd-ace/src/ace/modes/x_json/worker/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore import src from '!!raw-loader!./x_json.ace.worker.js'; diff --git a/packages/osd-ace/src/ace/modes/x_json/worker/worker.d.ts b/packages/osd-ace/src/ace/modes/x_json/worker/worker.d.ts index 2add19f47dd3..a18f11dac2ff 100644 --- a/packages/osd-ace/src/ace/modes/x_json/worker/worker.d.ts +++ b/packages/osd-ace/src/ace/modes/x_json/worker/worker.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // Satisfy TS's requirements that the module be declared per './index.ts'. declare module '!!raw-loader!./worker.js' { const content: string; diff --git a/packages/osd-ace/src/ace/modes/x_json/worker/x_json.ace.worker.js b/packages/osd-ace/src/ace/modes/x_json/worker/x_json.ace.worker.js index f6f212d0c419..0972ad784d28 100644 --- a/packages/osd-ace/src/ace/modes/x_json/worker/x_json.ace.worker.js +++ b/packages/osd-ace/src/ace/modes/x_json/worker/x_json.ace.worker.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* @notice * * This product includes code that is based on Ace editor, which was available diff --git a/packages/osd-ace/src/ace/modes/x_json/x_json.ts b/packages/osd-ace/src/ace/modes/x_json/x_json.ts index e7dc92f9efb0..89b5f428ba66 100644 --- a/packages/osd-ace/src/ace/modes/x_json/x_json.ts +++ b/packages/osd-ace/src/ace/modes/x_json/x_json.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import ace from 'brace'; import { XJsonHighlightRules } from '../index'; import { workerModule } from './worker'; diff --git a/packages/osd-ace/src/index.ts b/packages/osd-ace/src/index.ts index 2668cccaf590..79d460a4e30a 100644 --- a/packages/osd-ace/src/index.ts +++ b/packages/osd-ace/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { OpenSearchSqlHighlightRules, ScriptHighlightRules, diff --git a/packages/osd-analytics/babel.config.js b/packages/osd-analytics/babel.config.js index 23b9e6481bab..06979152709a 100644 --- a/packages/osd-analytics/babel.config.js +++ b/packages/osd-analytics/babel.config.js @@ -1,40 +1,43 @@ -/* - * SPDX-License-Identifier: Apache-2.0 - * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. - */ - -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -// We can't use common OpenSearch Dashboards presets here because of babel versions incompatibility -module.exports = { - plugins: ['@babel/plugin-proposal-class-properties'], - env: { - web: { - presets: ['@osd/babel-preset/webpack_preset'], - }, - node: { - presets: ['@osd/babel-preset/node_preset'], - }, - }, - ignore: ['**/*.test.ts', '**/*.test.tsx'], -}; +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +// We can't use common OpenSearch Dashboards presets here because of babel versions incompatibility +module.exports = { + plugins: ['@babel/plugin-proposal-class-properties'], + env: { + web: { + presets: ['@osd/babel-preset/webpack_preset'], + }, + node: { + presets: ['@osd/babel-preset/node_preset'], + }, + }, + ignore: ['**/*.test.ts', '**/*.test.tsx'], +}; diff --git a/packages/osd-analytics/scripts/build.js b/packages/osd-analytics/scripts/build.js index b3dec763846e..e388ffaa2204 100644 --- a/packages/osd-analytics/scripts/build.js +++ b/packages/osd-analytics/scripts/build.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { resolve } = require('path'); const del = require('del'); diff --git a/packages/osd-analytics/src/index.ts b/packages/osd-analytics/src/index.ts index bdf4a2138a69..36a82bb46852 100644 --- a/packages/osd-analytics/src/index.ts +++ b/packages/osd-analytics/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ReportHTTP, Reporter, ReporterConfig } from './reporter'; export { UiStatsMetricType, METRIC_TYPE } from './metrics'; export { Report, ReportManager } from './report'; diff --git a/packages/osd-analytics/src/metrics/application_usage.ts b/packages/osd-analytics/src/metrics/application_usage.ts index 7fc339554bc9..b2d671efc8f5 100644 --- a/packages/osd-analytics/src/metrics/application_usage.ts +++ b/packages/osd-analytics/src/metrics/application_usage.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import moment, { Moment } from 'moment-timezone'; import { METRIC_TYPE } from './'; diff --git a/packages/osd-analytics/src/metrics/index.ts b/packages/osd-analytics/src/metrics/index.ts index a9c3d1c5c3f6..d305fb87f175 100644 --- a/packages/osd-analytics/src/metrics/index.ts +++ b/packages/osd-analytics/src/metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiStatsMetric } from './ui_stats'; import { UserAgentMetric } from './user_agent'; import { ApplicationUsageCurrent } from './application_usage'; diff --git a/packages/osd-analytics/src/metrics/stats.ts b/packages/osd-analytics/src/metrics/stats.ts index 443019804fb1..f017458b0784 100644 --- a/packages/osd-analytics/src/metrics/stats.ts +++ b/packages/osd-analytics/src/metrics/stats.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface Stats { min: number; max: number; diff --git a/packages/osd-analytics/src/metrics/ui_stats.ts b/packages/osd-analytics/src/metrics/ui_stats.ts index d38b0d954a5b..a4654775f396 100644 --- a/packages/osd-analytics/src/metrics/ui_stats.ts +++ b/packages/osd-analytics/src/metrics/ui_stats.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { METRIC_TYPE } from './'; export type UiStatsMetricType = METRIC_TYPE.CLICK | METRIC_TYPE.LOADED | METRIC_TYPE.COUNT; diff --git a/packages/osd-analytics/src/metrics/user_agent.ts b/packages/osd-analytics/src/metrics/user_agent.ts index 8c0d25777ea1..793d19a55e21 100644 --- a/packages/osd-analytics/src/metrics/user_agent.ts +++ b/packages/osd-analytics/src/metrics/user_agent.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { METRIC_TYPE } from './'; export interface UserAgentMetric { diff --git a/packages/osd-analytics/src/report.ts b/packages/osd-analytics/src/report.ts index 0e0b8619263d..79026ad1443c 100644 --- a/packages/osd-analytics/src/report.ts +++ b/packages/osd-analytics/src/report.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment-timezone'; import { UnreachableCaseError, wrapArray } from './util'; import { Metric, Stats, UiStatsMetricType, METRIC_TYPE } from './metrics'; diff --git a/packages/osd-analytics/src/reporter.ts b/packages/osd-analytics/src/reporter.ts index 290023ce3228..d4d7b68a25a2 100644 --- a/packages/osd-analytics/src/reporter.ts +++ b/packages/osd-analytics/src/reporter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { wrapArray } from './util'; import { Metric, createUiStatsMetric, trackUsageAgent, UiStatsMetricType } from './metrics'; diff --git a/packages/osd-analytics/src/storage.ts b/packages/osd-analytics/src/storage.ts index 681fe9b464ad..9761436688dc 100644 --- a/packages/osd-analytics/src/storage.ts +++ b/packages/osd-analytics/src/storage.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Report } from './report'; export interface Storage { diff --git a/packages/osd-analytics/src/util.ts b/packages/osd-analytics/src/util.ts index d7e2ac72cdd5..13cf0ad4ac89 100644 --- a/packages/osd-analytics/src/util.ts +++ b/packages/osd-analytics/src/util.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function wrapArray(subj: T | T[]): T[] { return Array.isArray(subj) ? subj : [subj]; } diff --git a/packages/osd-apm-config-loader/src/config.test.mocks.ts b/packages/osd-apm-config-loader/src/config.test.mocks.ts index 491db91f7fe5..9db3ffd74385 100644 --- a/packages/osd-apm-config-loader/src/config.test.mocks.ts +++ b/packages/osd-apm-config-loader/src/config.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { join } from 'path'; const childProcessModule = jest.requireActual('child_process'); const fsModule = jest.requireActual('fs'); diff --git a/packages/osd-apm-config-loader/src/config.test.ts b/packages/osd-apm-config-loader/src/config.test.ts index 2b28526e1e6e..19ca1a43d19f 100644 --- a/packages/osd-apm-config-loader/src/config.test.ts +++ b/packages/osd-apm-config-loader/src/config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { packageMock, mockedRootDir, diff --git a/packages/osd-apm-config-loader/src/config.ts b/packages/osd-apm-config-loader/src/config.ts index 619367db30b4..5750bea9aa51 100644 --- a/packages/osd-apm-config-loader/src/config.ts +++ b/packages/osd-apm-config-loader/src/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { join } from 'path'; import { merge, get } from 'lodash'; import { execSync } from 'child_process'; diff --git a/packages/osd-apm-config-loader/src/config_loader.test.mocks.ts b/packages/osd-apm-config-loader/src/config_loader.test.mocks.ts index 2006bf1bd2fa..232c9a552854 100644 --- a/packages/osd-apm-config-loader/src/config_loader.test.mocks.ts +++ b/packages/osd-apm-config-loader/src/config_loader.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const getConfigurationFilePathsMock = jest.fn(); jest.doMock('./utils/get_config_file_paths', () => ({ getConfigurationFilePaths: getConfigurationFilePathsMock, diff --git a/packages/osd-apm-config-loader/src/config_loader.test.ts b/packages/osd-apm-config-loader/src/config_loader.test.ts index 31ff7916ce3d..aee7e56caf96 100644 --- a/packages/osd-apm-config-loader/src/config_loader.test.ts +++ b/packages/osd-apm-config-loader/src/config_loader.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ApmConfigurationMock, applyConfigOverridesMock, diff --git a/packages/osd-apm-config-loader/src/config_loader.ts b/packages/osd-apm-config-loader/src/config_loader.ts index 3597e439b51d..4edab870f7e7 100644 --- a/packages/osd-apm-config-loader/src/config_loader.ts +++ b/packages/osd-apm-config-loader/src/config_loader.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getConfigurationFilePaths, getConfigFromFiles, applyConfigOverrides } from './utils'; import { ApmConfiguration } from './config'; diff --git a/packages/osd-apm-config-loader/src/index.ts b/packages/osd-apm-config-loader/src/index.ts index 1ea146c0ec89..d2888c6fb7f1 100644 --- a/packages/osd-apm-config-loader/src/index.ts +++ b/packages/osd-apm-config-loader/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { loadConfiguration } from './config_loader'; export type { ApmConfiguration } from './config'; export type { ApmAgentConfig } from './types'; diff --git a/packages/osd-apm-config-loader/src/types.ts b/packages/osd-apm-config-loader/src/types.ts index c8aca1f14a0d..4eee709f8460 100644 --- a/packages/osd-apm-config-loader/src/types.ts +++ b/packages/osd-apm-config-loader/src/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // There is an (incomplete) `AgentConfigOptions` type declared in node_modules/elastic-apm-node/index.d.ts // but it's not exported, and using ts tricks to retrieve the type via Parameters[0] // causes errors in the generated .d.ts file because of esModuleInterop and the fact that the apm module diff --git a/packages/osd-apm-config-loader/src/utils/apply_config_overrides.test.ts b/packages/osd-apm-config-loader/src/utils/apply_config_overrides.test.ts index 0faa76fff00b..e848c91e35e5 100644 --- a/packages/osd-apm-config-loader/src/utils/apply_config_overrides.test.ts +++ b/packages/osd-apm-config-loader/src/utils/apply_config_overrides.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { applyConfigOverrides } from './apply_config_overrides'; describe('applyConfigOverrides', () => { diff --git a/packages/osd-apm-config-loader/src/utils/apply_config_overrides.ts b/packages/osd-apm-config-loader/src/utils/apply_config_overrides.ts index 52d153ccf358..186c0e2270fb 100644 --- a/packages/osd-apm-config-loader/src/utils/apply_config_overrides.ts +++ b/packages/osd-apm-config-loader/src/utils/apply_config_overrides.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { set } from '@elastic/safer-lodash-set'; import { getArgValue } from './read_argv'; diff --git a/packages/osd-apm-config-loader/src/utils/ensure_deep_object.test.ts b/packages/osd-apm-config-loader/src/utils/ensure_deep_object.test.ts index 72d9598ca8e7..589d760539a1 100644 --- a/packages/osd-apm-config-loader/src/utils/ensure_deep_object.test.ts +++ b/packages/osd-apm-config-loader/src/utils/ensure_deep_object.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ensureDeepObject } from './ensure_deep_object'; test('flat object', () => { diff --git a/packages/osd-apm-config-loader/src/utils/ensure_deep_object.ts b/packages/osd-apm-config-loader/src/utils/ensure_deep_object.ts index 853d0d9e1d80..89814f9ad158 100644 --- a/packages/osd-apm-config-loader/src/utils/ensure_deep_object.ts +++ b/packages/osd-apm-config-loader/src/utils/ensure_deep_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const separator = '.'; /** diff --git a/packages/osd-apm-config-loader/src/utils/get_config_file_paths.test.ts b/packages/osd-apm-config-loader/src/utils/get_config_file_paths.test.ts index 0220135e5a90..e730a4ef9fdd 100644 --- a/packages/osd-apm-config-loader/src/utils/get_config_file_paths.test.ts +++ b/packages/osd-apm-config-loader/src/utils/get_config_file_paths.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve, join } from 'path'; import { getConfigPath } from '@osd/utils'; import { getConfigurationFilePaths } from './get_config_file_paths'; diff --git a/packages/osd-apm-config-loader/src/utils/get_config_file_paths.ts b/packages/osd-apm-config-loader/src/utils/get_config_file_paths.ts index 537dcbe9abb9..3032c9267de0 100644 --- a/packages/osd-apm-config-loader/src/utils/get_config_file_paths.ts +++ b/packages/osd-apm-config-loader/src/utils/get_config_file_paths.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; // deep import to avoid loading the whole package import { getConfigPath } from '@osd/utils/target/path'; diff --git a/packages/osd-apm-config-loader/src/utils/index.ts b/packages/osd-apm-config-loader/src/utils/index.ts index a8b72629ffee..ebd3d5401a9d 100644 --- a/packages/osd-apm-config-loader/src/utils/index.ts +++ b/packages/osd-apm-config-loader/src/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getConfigFromFiles } from './read_config'; export { getConfigurationFilePaths } from './get_config_file_paths'; export { applyConfigOverrides } from './apply_config_overrides'; diff --git a/packages/osd-apm-config-loader/src/utils/read_argv.test.ts b/packages/osd-apm-config-loader/src/utils/read_argv.test.ts index 4e1515c5b290..1a53e00e183e 100644 --- a/packages/osd-apm-config-loader/src/utils/read_argv.test.ts +++ b/packages/osd-apm-config-loader/src/utils/read_argv.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getArgValue, getArgValues } from './read_argv'; describe('getArgValues', () => { diff --git a/packages/osd-apm-config-loader/src/utils/read_argv.ts b/packages/osd-apm-config-loader/src/utils/read_argv.ts index 1c7586fa024a..32090248463b 100644 --- a/packages/osd-apm-config-loader/src/utils/read_argv.ts +++ b/packages/osd-apm-config-loader/src/utils/read_argv.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const getArgValues = (argv: string[], flag: string | string[]): string[] => { const flags = typeof flag === 'string' ? [flag] : flag; const values: string[] = []; diff --git a/packages/osd-apm-config-loader/src/utils/read_config.test.ts b/packages/osd-apm-config-loader/src/utils/read_config.test.ts index ee7487387a77..0d4ad4b36bd7 100644 --- a/packages/osd-apm-config-loader/src/utils/read_config.test.ts +++ b/packages/osd-apm-config-loader/src/utils/read_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { relative, resolve } from 'path'; import { getConfigFromFiles } from './read_config'; diff --git a/packages/osd-apm-config-loader/src/utils/read_config.ts b/packages/osd-apm-config-loader/src/utils/read_config.ts index a766779be197..806a1ad2e92a 100644 --- a/packages/osd-apm-config-loader/src/utils/read_config.ts +++ b/packages/osd-apm-config-loader/src/utils/read_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { readFileSync } from 'fs'; import { safeLoad } from 'js-yaml'; diff --git a/packages/osd-babel-preset/common_babel_parser_options.js b/packages/osd-babel-preset/common_babel_parser_options.js index 8340bd770586..edddf41c0de3 100644 --- a/packages/osd-babel-preset/common_babel_parser_options.js +++ b/packages/osd-babel-preset/common_babel_parser_options.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // The @babel/parser options documentation can be found here: // https://babeljs.io/docs/en/babel-parser#options module.exports = { diff --git a/packages/osd-babel-preset/common_preset.js b/packages/osd-babel-preset/common_preset.js index 21456393af04..3905aab66046 100644 --- a/packages/osd-babel-preset/common_preset.js +++ b/packages/osd-babel-preset/common_preset.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const plugins = [ require.resolve('babel-plugin-add-module-exports'), diff --git a/packages/osd-babel-preset/node_preset.js b/packages/osd-babel-preset/node_preset.js index dd41c7e45d4c..0acb1e146bdd 100644 --- a/packages/osd-babel-preset/node_preset.js +++ b/packages/osd-babel-preset/node_preset.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = (_, options = {}) => { return { presets: [ diff --git a/packages/osd-babel-preset/webpack_preset.js b/packages/osd-babel-preset/webpack_preset.js index e38477f8ee30..d1ee5c3cb19a 100644 --- a/packages/osd-babel-preset/webpack_preset.js +++ b/packages/osd-babel-preset/webpack_preset.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = () => { return { presets: [ diff --git a/packages/osd-config-schema/src/byte_size_value/index.test.ts b/packages/osd-config-schema/src/byte_size_value/index.test.ts index c124c9b553f4..fa7b911f8e8a 100644 --- a/packages/osd-config-schema/src/byte_size_value/index.test.ts +++ b/packages/osd-config-schema/src/byte_size_value/index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ByteSizeValue } from '.'; describe('parsing units', () => { diff --git a/packages/osd-config-schema/src/byte_size_value/index.ts b/packages/osd-config-schema/src/byte_size_value/index.ts index 5a3f44c9af33..92d3ecf16773 100644 --- a/packages/osd-config-schema/src/byte_size_value/index.ts +++ b/packages/osd-config-schema/src/byte_size_value/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export type ByteSizeValueUnit = 'b' | 'kb' | 'mb' | 'gb'; const unitMultiplier: { [unit: string]: number } = { diff --git a/packages/osd-config-schema/src/duration/index.ts b/packages/osd-config-schema/src/duration/index.ts index 34d897419c52..00c8454b03a9 100644 --- a/packages/osd-config-schema/src/duration/index.ts +++ b/packages/osd-config-schema/src/duration/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Duration, duration as momentDuration, DurationInputArg2, isDuration } from 'moment'; export { Duration, isDuration }; diff --git a/packages/osd-config-schema/src/errors/__snapshots__/schema_error.test.ts.snap b/packages/osd-config-schema/src/errors/__snapshots__/schema_error.test.ts.snap index 2ef38e1b3224..8660f5456349 100644 --- a/packages/osd-config-schema/src/errors/__snapshots__/schema_error.test.ts.snap +++ b/packages/osd-config-schema/src/errors/__snapshots__/schema_error.test.ts.snap @@ -2,6 +2,6 @@ exports[`includes stack 1`] = ` "Error: test - at Object. (packages/osd-config-schema/src/errors/schema_error.test.ts:57:11) + at Object. (packages/osd-config-schema/src/errors/schema_error.test.ts:55:11) at new Promise ()" `; diff --git a/packages/osd-config-schema/src/errors/index.ts b/packages/osd-config-schema/src/errors/index.ts index ca21f248d2dc..371e6dbe6254 100644 --- a/packages/osd-config-schema/src/errors/index.ts +++ b/packages/osd-config-schema/src/errors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SchemaError } from './schema_error'; export { SchemaTypeError } from './schema_type_error'; export { SchemaTypesError } from './schema_types_error'; diff --git a/packages/osd-config-schema/src/errors/schema_error.test.ts b/packages/osd-config-schema/src/errors/schema_error.test.ts index 21095d1e944c..c6ebd5d0dbd9 100644 --- a/packages/osd-config-schema/src/errors/schema_error.test.ts +++ b/packages/osd-config-schema/src/errors/schema_error.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { relative } from 'path'; import { SchemaError } from '.'; diff --git a/packages/osd-config-schema/src/errors/schema_error.ts b/packages/osd-config-schema/src/errors/schema_error.ts index 1a8b8cdeacfd..fd67de08af47 100644 --- a/packages/osd-config-schema/src/errors/schema_error.ts +++ b/packages/osd-config-schema/src/errors/schema_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export class SchemaError extends Error { public cause?: Error; diff --git a/packages/osd-config-schema/src/errors/schema_type_error.ts b/packages/osd-config-schema/src/errors/schema_type_error.ts index 1b83a15ca27f..a48172da8c5a 100644 --- a/packages/osd-config-schema/src/errors/schema_type_error.ts +++ b/packages/osd-config-schema/src/errors/schema_type_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SchemaError } from '.'; export class SchemaTypeError extends SchemaError { diff --git a/packages/osd-config-schema/src/errors/schema_types_error.ts b/packages/osd-config-schema/src/errors/schema_types_error.ts index 9e19b9e97c2f..7f82e350b8ea 100644 --- a/packages/osd-config-schema/src/errors/schema_types_error.ts +++ b/packages/osd-config-schema/src/errors/schema_types_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SchemaTypeError } from '.'; export class SchemaTypesError extends SchemaTypeError { diff --git a/packages/osd-config-schema/src/errors/validation_error.ts b/packages/osd-config-schema/src/errors/validation_error.ts index 3305d7f37296..8ccd42409fe3 100644 --- a/packages/osd-config-schema/src/errors/validation_error.ts +++ b/packages/osd-config-schema/src/errors/validation_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SchemaError, SchemaTypeError, SchemaTypesError } from '.'; export class ValidationError extends SchemaError { diff --git a/packages/osd-config-schema/src/index.ts b/packages/osd-config-schema/src/index.ts index 979248db8e7e..6ef1acea744e 100644 --- a/packages/osd-config-schema/src/index.ts +++ b/packages/osd-config-schema/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Duration } from 'moment'; import { Stream } from 'stream'; diff --git a/packages/osd-config-schema/src/internals/index.ts b/packages/osd-config-schema/src/internals/index.ts index 9b8cd8a948fe..ab37a785d477 100644 --- a/packages/osd-config-schema/src/internals/index.ts +++ b/packages/osd-config-schema/src/internals/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import Joi from 'joi'; import { AnySchema, diff --git a/packages/osd-config-schema/src/references/context_reference.ts b/packages/osd-config-schema/src/references/context_reference.ts index 67fe1726ca23..232042f52027 100644 --- a/packages/osd-config-schema/src/references/context_reference.ts +++ b/packages/osd-config-schema/src/references/context_reference.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Reference } from './reference'; export class ContextReference extends Reference { diff --git a/packages/osd-config-schema/src/references/index.ts b/packages/osd-config-schema/src/references/index.ts index d3f98350c315..b0a9e9395feb 100644 --- a/packages/osd-config-schema/src/references/index.ts +++ b/packages/osd-config-schema/src/references/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Reference } from './reference'; export { ContextReference } from './context_reference'; export { SiblingReference } from './sibling_reference'; diff --git a/packages/osd-config-schema/src/references/reference.test.ts b/packages/osd-config-schema/src/references/reference.test.ts index e62d318f275f..7ce5b242d4db 100644 --- a/packages/osd-config-schema/src/references/reference.test.ts +++ b/packages/osd-config-schema/src/references/reference.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Reference } from './reference'; import { schema } from '../'; diff --git a/packages/osd-config-schema/src/references/reference.ts b/packages/osd-config-schema/src/references/reference.ts index cc5b17ef8d65..d3c677cc53ad 100644 --- a/packages/osd-config-schema/src/references/reference.ts +++ b/packages/osd-config-schema/src/references/reference.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { internals, Reference as InternalReference } from '../internals'; export class Reference { diff --git a/packages/osd-config-schema/src/references/sibling_reference.ts b/packages/osd-config-schema/src/references/sibling_reference.ts index efe05f6c1678..b759cd222546 100644 --- a/packages/osd-config-schema/src/references/sibling_reference.ts +++ b/packages/osd-config-schema/src/references/sibling_reference.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Reference } from './reference'; export class SiblingReference extends Reference {} diff --git a/packages/osd-config-schema/src/typeguards/index.ts b/packages/osd-config-schema/src/typeguards/index.ts index 6028da3edff4..93c9f79b7845 100644 --- a/packages/osd-config-schema/src/typeguards/index.ts +++ b/packages/osd-config-schema/src/typeguards/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { isConfigSchema } from './is_config_schema'; diff --git a/packages/osd-config-schema/src/typeguards/is_config_schema.test.ts b/packages/osd-config-schema/src/typeguards/is_config_schema.test.ts index 3ed2d5b12e32..3233ba8bc746 100644 --- a/packages/osd-config-schema/src/typeguards/is_config_schema.test.ts +++ b/packages/osd-config-schema/src/typeguards/is_config_schema.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; import { isConfigSchema } from './is_config_schema'; diff --git a/packages/osd-config-schema/src/typeguards/is_config_schema.ts b/packages/osd-config-schema/src/typeguards/is_config_schema.ts index b72c5ce7465d..29d0cc5e42ef 100644 --- a/packages/osd-config-schema/src/typeguards/is_config_schema.ts +++ b/packages/osd-config-schema/src/typeguards/is_config_schema.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Type } from '../types'; export function isConfigSchema(obj: any): obj is Type { diff --git a/packages/osd-config-schema/src/types/any_type.test.ts b/packages/osd-config-schema/src/types/any_type.test.ts index 4499ac79cc64..cabcf060ed60 100644 --- a/packages/osd-config-schema/src/types/any_type.test.ts +++ b/packages/osd-config-schema/src/types/any_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; test('works for any value', () => { diff --git a/packages/osd-config-schema/src/types/any_type.ts b/packages/osd-config-schema/src/types/any_type.ts index f36eda6a2dd2..a819dea1fc0d 100644 --- a/packages/osd-config-schema/src/types/any_type.ts +++ b/packages/osd-config-schema/src/types/any_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import typeDetect from 'type-detect'; import { internals } from '../internals'; import { Type, TypeOptions } from './type'; diff --git a/packages/osd-config-schema/src/types/array_type.test.ts b/packages/osd-config-schema/src/types/array_type.test.ts index f7376d6cc066..b112acb73826 100644 --- a/packages/osd-config-schema/src/types/array_type.test.ts +++ b/packages/osd-config-schema/src/types/array_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; test('returns value if it matches the type', () => { diff --git a/packages/osd-config-schema/src/types/array_type.ts b/packages/osd-config-schema/src/types/array_type.ts index bc8e5f27e550..d5ced64c7593 100644 --- a/packages/osd-config-schema/src/types/array_type.ts +++ b/packages/osd-config-schema/src/types/array_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import typeDetect from 'type-detect'; import { internals } from '../internals'; import { Type, TypeOptions } from './type'; diff --git a/packages/osd-config-schema/src/types/boolean_type.test.ts b/packages/osd-config-schema/src/types/boolean_type.test.ts index cf45e424cb39..473995ffcc23 100644 --- a/packages/osd-config-schema/src/types/boolean_type.test.ts +++ b/packages/osd-config-schema/src/types/boolean_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; test('returns value by default', () => { diff --git a/packages/osd-config-schema/src/types/boolean_type.ts b/packages/osd-config-schema/src/types/boolean_type.ts index 4280e7fa809d..455d0717771b 100644 --- a/packages/osd-config-schema/src/types/boolean_type.ts +++ b/packages/osd-config-schema/src/types/boolean_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import typeDetect from 'type-detect'; import { internals } from '../internals'; import { Type, TypeOptions } from './type'; diff --git a/packages/osd-config-schema/src/types/buffer_type.test.ts b/packages/osd-config-schema/src/types/buffer_type.test.ts index ad5914129e43..d75e45445932 100644 --- a/packages/osd-config-schema/src/types/buffer_type.test.ts +++ b/packages/osd-config-schema/src/types/buffer_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; test('returns value by default', () => { diff --git a/packages/osd-config-schema/src/types/buffer_type.ts b/packages/osd-config-schema/src/types/buffer_type.ts index e9bfed081eeb..dc6efccbd32f 100644 --- a/packages/osd-config-schema/src/types/buffer_type.ts +++ b/packages/osd-config-schema/src/types/buffer_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import typeDetect from 'type-detect'; import { internals } from '../internals'; import { Type, TypeOptions } from './type'; diff --git a/packages/osd-config-schema/src/types/byte_size_type.test.ts b/packages/osd-config-schema/src/types/byte_size_type.test.ts index 1e3198509a0a..6316f44343cd 100644 --- a/packages/osd-config-schema/src/types/byte_size_type.test.ts +++ b/packages/osd-config-schema/src/types/byte_size_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; import { ByteSizeValue } from '../byte_size_value'; diff --git a/packages/osd-config-schema/src/types/byte_size_type.ts b/packages/osd-config-schema/src/types/byte_size_type.ts index 4d5b2d5fa662..35d5e592f739 100644 --- a/packages/osd-config-schema/src/types/byte_size_type.ts +++ b/packages/osd-config-schema/src/types/byte_size_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import typeDetect from 'type-detect'; import { ByteSizeValue, ensureByteSizeValue } from '../byte_size_value'; import { SchemaTypeError } from '../errors'; diff --git a/packages/osd-config-schema/src/types/conditional_type.test.ts b/packages/osd-config-schema/src/types/conditional_type.test.ts index 14811f3aa1dd..aa4cfe4a0110 100644 --- a/packages/osd-config-schema/src/types/conditional_type.test.ts +++ b/packages/osd-config-schema/src/types/conditional_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; test('required by default', () => { diff --git a/packages/osd-config-schema/src/types/conditional_type.ts b/packages/osd-config-schema/src/types/conditional_type.ts index 255e2a9f676b..8be8c4aaa688 100644 --- a/packages/osd-config-schema/src/types/conditional_type.ts +++ b/packages/osd-config-schema/src/types/conditional_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import typeDetect from 'type-detect'; import { internals } from '../internals'; import { Reference } from '../references'; diff --git a/packages/osd-config-schema/src/types/duration_type.test.ts b/packages/osd-config-schema/src/types/duration_type.test.ts index 72271fde5b8d..1f2a001d3de3 100644 --- a/packages/osd-config-schema/src/types/duration_type.test.ts +++ b/packages/osd-config-schema/src/types/duration_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { duration as momentDuration } from 'moment'; import { schema } from '..'; diff --git a/packages/osd-config-schema/src/types/duration_type.ts b/packages/osd-config-schema/src/types/duration_type.ts index a57105f7eb9b..52f36e7a63a3 100644 --- a/packages/osd-config-schema/src/types/duration_type.ts +++ b/packages/osd-config-schema/src/types/duration_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import typeDetect from 'type-detect'; import { Duration, ensureDuration } from '../duration'; import { SchemaTypeError } from '../errors'; diff --git a/packages/osd-config-schema/src/types/index.ts b/packages/osd-config-schema/src/types/index.ts index 34eec1b7fd80..99098a4aa8ac 100644 --- a/packages/osd-config-schema/src/types/index.ts +++ b/packages/osd-config-schema/src/types/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Type, TypeOptions } from './type'; export { AnyType } from './any_type'; export { ArrayOptions, ArrayType } from './array_type'; diff --git a/packages/osd-config-schema/src/types/ip_type.test.ts b/packages/osd-config-schema/src/types/ip_type.test.ts index c2a0cdff0173..6052001500ba 100644 --- a/packages/osd-config-schema/src/types/ip_type.test.ts +++ b/packages/osd-config-schema/src/types/ip_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; const { ip } = schema; diff --git a/packages/osd-config-schema/src/types/ip_type.ts b/packages/osd-config-schema/src/types/ip_type.ts index 702fb4492d7a..331986f7788e 100644 --- a/packages/osd-config-schema/src/types/ip_type.ts +++ b/packages/osd-config-schema/src/types/ip_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import typeDetect from 'type-detect'; import { internals } from '../internals'; import { Type, TypeOptions } from './type'; diff --git a/packages/osd-config-schema/src/types/literal_type.test.ts b/packages/osd-config-schema/src/types/literal_type.test.ts index e03566be874a..fc81d7df23c1 100644 --- a/packages/osd-config-schema/src/types/literal_type.test.ts +++ b/packages/osd-config-schema/src/types/literal_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; const { literal } = schema; diff --git a/packages/osd-config-schema/src/types/literal_type.ts b/packages/osd-config-schema/src/types/literal_type.ts index 1d4d4e2dba3b..42678ad67ce7 100644 --- a/packages/osd-config-schema/src/types/literal_type.ts +++ b/packages/osd-config-schema/src/types/literal_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { internals } from '../internals'; import { Type } from './type'; diff --git a/packages/osd-config-schema/src/types/map_of_type.test.ts b/packages/osd-config-schema/src/types/map_of_type.test.ts index 3c4779c695bd..220c407d2513 100644 --- a/packages/osd-config-schema/src/types/map_of_type.test.ts +++ b/packages/osd-config-schema/src/types/map_of_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; test('handles object as input', () => { diff --git a/packages/osd-config-schema/src/types/map_type.ts b/packages/osd-config-schema/src/types/map_type.ts index 6e8bf3f2f95a..330534c82771 100644 --- a/packages/osd-config-schema/src/types/map_type.ts +++ b/packages/osd-config-schema/src/types/map_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import typeDetect from 'type-detect'; import { SchemaTypeError, SchemaTypesError } from '../errors'; import { internals } from '../internals'; diff --git a/packages/osd-config-schema/src/types/maybe_type.test.ts b/packages/osd-config-schema/src/types/maybe_type.test.ts index d902977c83b1..12803f63261e 100644 --- a/packages/osd-config-schema/src/types/maybe_type.test.ts +++ b/packages/osd-config-schema/src/types/maybe_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; test('returns value if specified', () => { diff --git a/packages/osd-config-schema/src/types/maybe_type.ts b/packages/osd-config-schema/src/types/maybe_type.ts index 9907b777e13a..d14c921a3703 100644 --- a/packages/osd-config-schema/src/types/maybe_type.ts +++ b/packages/osd-config-schema/src/types/maybe_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Type } from './type'; export class MaybeType extends Type { diff --git a/packages/osd-config-schema/src/types/never_type.test.ts b/packages/osd-config-schema/src/types/never_type.test.ts index 5968118ba686..8f14ef92cb23 100644 --- a/packages/osd-config-schema/src/types/never_type.test.ts +++ b/packages/osd-config-schema/src/types/never_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; test('throws on any value set', () => { diff --git a/packages/osd-config-schema/src/types/never_type.ts b/packages/osd-config-schema/src/types/never_type.ts index 5d713e0f3bed..d6175bd10f17 100644 --- a/packages/osd-config-schema/src/types/never_type.ts +++ b/packages/osd-config-schema/src/types/never_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { internals } from '../internals'; import { Type } from './type'; diff --git a/packages/osd-config-schema/src/types/nullable_type.test.ts b/packages/osd-config-schema/src/types/nullable_type.test.ts index 064a23f0a5f5..59b449aa87d8 100644 --- a/packages/osd-config-schema/src/types/nullable_type.test.ts +++ b/packages/osd-config-schema/src/types/nullable_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; test('returns string value when passed string', () => { diff --git a/packages/osd-config-schema/src/types/number_type.test.ts b/packages/osd-config-schema/src/types/number_type.test.ts index 2c6938510f0d..cceb42a88992 100644 --- a/packages/osd-config-schema/src/types/number_type.test.ts +++ b/packages/osd-config-schema/src/types/number_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; test('returns value by default', () => { diff --git a/packages/osd-config-schema/src/types/number_type.ts b/packages/osd-config-schema/src/types/number_type.ts index e19795889a29..df0984fc613b 100644 --- a/packages/osd-config-schema/src/types/number_type.ts +++ b/packages/osd-config-schema/src/types/number_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import typeDetect from 'type-detect'; import { internals } from '../internals'; import { Type, TypeOptions } from './type'; diff --git a/packages/osd-config-schema/src/types/object_type.test.ts b/packages/osd-config-schema/src/types/object_type.test.ts index da91b3ff3337..218774570eea 100644 --- a/packages/osd-config-schema/src/types/object_type.test.ts +++ b/packages/osd-config-schema/src/types/object_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expectType } from 'tsd'; import { schema } from '..'; import { TypeOf } from './object_type'; diff --git a/packages/osd-config-schema/src/types/object_type.ts b/packages/osd-config-schema/src/types/object_type.ts index e544b4a8b6d6..72d2ac0e6407 100644 --- a/packages/osd-config-schema/src/types/object_type.ts +++ b/packages/osd-config-schema/src/types/object_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import typeDetect from 'type-detect'; import { AnySchema, internals } from '../internals'; import { Type, TypeOptions } from './type'; diff --git a/packages/osd-config-schema/src/types/one_of_type.test.ts b/packages/osd-config-schema/src/types/one_of_type.test.ts index f933654d6703..8fa945091aa2 100644 --- a/packages/osd-config-schema/src/types/one_of_type.test.ts +++ b/packages/osd-config-schema/src/types/one_of_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; test('handles string', () => { diff --git a/packages/osd-config-schema/src/types/record_of_type.test.ts b/packages/osd-config-schema/src/types/record_of_type.test.ts index 79b0e8106fdc..6e5496b3e4b8 100644 --- a/packages/osd-config-schema/src/types/record_of_type.test.ts +++ b/packages/osd-config-schema/src/types/record_of_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; test('handles object as input', () => { diff --git a/packages/osd-config-schema/src/types/record_type.ts b/packages/osd-config-schema/src/types/record_type.ts index 1a15065f1cdb..59542eac1678 100644 --- a/packages/osd-config-schema/src/types/record_type.ts +++ b/packages/osd-config-schema/src/types/record_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import typeDetect from 'type-detect'; import { SchemaTypeError, SchemaTypesError } from '../errors'; import { internals } from '../internals'; diff --git a/packages/osd-config-schema/src/types/stream_type.test.ts b/packages/osd-config-schema/src/types/stream_type.test.ts index 3081e3fcfb8c..8eb833068690 100644 --- a/packages/osd-config-schema/src/types/stream_type.test.ts +++ b/packages/osd-config-schema/src/types/stream_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; import { Stream, Readable, Writable, PassThrough } from 'stream'; diff --git a/packages/osd-config-schema/src/types/stream_type.ts b/packages/osd-config-schema/src/types/stream_type.ts index 5d8a896a5297..d532d2b99380 100644 --- a/packages/osd-config-schema/src/types/stream_type.ts +++ b/packages/osd-config-schema/src/types/stream_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import typeDetect from 'type-detect'; import { Stream } from 'stream'; import { internals } from '../internals'; diff --git a/packages/osd-config-schema/src/types/string_type.test.ts b/packages/osd-config-schema/src/types/string_type.test.ts index 78dc18102c99..b0784c3f4de1 100644 --- a/packages/osd-config-schema/src/types/string_type.test.ts +++ b/packages/osd-config-schema/src/types/string_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; test('returns value is string and defined', () => { diff --git a/packages/osd-config-schema/src/types/string_type.ts b/packages/osd-config-schema/src/types/string_type.ts index d865e21a20cf..1160fdfec1a1 100644 --- a/packages/osd-config-schema/src/types/string_type.ts +++ b/packages/osd-config-schema/src/types/string_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import typeDetect from 'type-detect'; import { internals } from '../internals'; import { Type, TypeOptions } from './type'; diff --git a/packages/osd-config-schema/src/types/type.ts b/packages/osd-config-schema/src/types/type.ts index c50ffe3718cb..2a346184196d 100644 --- a/packages/osd-config-schema/src/types/type.ts +++ b/packages/osd-config-schema/src/types/type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SchemaTypeError, ValidationError } from '../errors'; import { AnySchema, internals, ValidationErrorItem } from '../internals'; import { Reference } from '../references'; diff --git a/packages/osd-config-schema/src/types/union_type.ts b/packages/osd-config-schema/src/types/union_type.ts index 4c462779846f..669ffcc79cf3 100644 --- a/packages/osd-config-schema/src/types/union_type.ts +++ b/packages/osd-config-schema/src/types/union_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import typeDetect from 'type-detect'; import { SchemaTypeError, SchemaTypesError } from '../errors'; import { internals } from '../internals'; diff --git a/packages/osd-config-schema/src/types/uri_type.test.ts b/packages/osd-config-schema/src/types/uri_type.test.ts index b16755cfa9f1..92386d95de9d 100644 --- a/packages/osd-config-schema/src/types/uri_type.test.ts +++ b/packages/osd-config-schema/src/types/uri_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '..'; test('is required by default', () => { diff --git a/packages/osd-config-schema/src/types/uri_type.ts b/packages/osd-config-schema/src/types/uri_type.ts index 0129fbb5624e..b8086f006060 100644 --- a/packages/osd-config-schema/src/types/uri_type.ts +++ b/packages/osd-config-schema/src/types/uri_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import typeDetect from 'type-detect'; import { internals } from '../internals'; import { Type, TypeOptions } from './type'; diff --git a/packages/osd-config-schema/types/joi.d.ts b/packages/osd-config-schema/types/joi.d.ts index 620b2f625803..fc14db27a7ab 100644 --- a/packages/osd-config-schema/types/joi.d.ts +++ b/packages/osd-config-schema/types/joi.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import * as Joi from 'joi'; import { ByteSizeValue } from '../src/byte_size_value'; diff --git a/packages/osd-config/src/__mocks__/env.ts b/packages/osd-config/src/__mocks__/env.ts index f173c4979c1d..e74fdbe0792e 100644 --- a/packages/osd-config/src/__mocks__/env.ts +++ b/packages/osd-config/src/__mocks__/env.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // Test helpers to simplify mocking environment options. import { EnvOptions } from '../env'; diff --git a/packages/osd-config/src/apply_argv.test.ts b/packages/osd-config/src/apply_argv.test.ts index 8489248fff7e..0bb7ee40e32c 100644 --- a/packages/osd-config/src/apply_argv.test.ts +++ b/packages/osd-config/src/apply_argv.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Config, ObjectToConfigAdapter } from '.'; /** diff --git a/packages/osd-config/src/config.mock.ts b/packages/osd-config/src/config.mock.ts index e33124810d07..7de6ce458c9f 100644 --- a/packages/osd-config/src/config.mock.ts +++ b/packages/osd-config/src/config.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Config } from './config'; type ConfigMock = jest.Mocked; diff --git a/packages/osd-config/src/config.test.ts b/packages/osd-config/src/config.test.ts index e15e472f31f3..8c8f22f9ed4e 100644 --- a/packages/osd-config/src/config.test.ts +++ b/packages/osd-config/src/config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { hasConfigPathIntersection } from './config'; describe('hasConfigPathIntersection()', () => { diff --git a/packages/osd-config/src/config.ts b/packages/osd-config/src/config.ts index 7bb185cf403d..a0a801bf9f35 100644 --- a/packages/osd-config/src/config.ts +++ b/packages/osd-config/src/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** @public */ export type ConfigPath = string | string[]; diff --git a/packages/osd-config/src/config_service.mock.ts b/packages/osd-config/src/config_service.mock.ts index 8b49d4492d39..b14420915bd0 100644 --- a/packages/osd-config/src/config_service.mock.ts +++ b/packages/osd-config/src/config_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { ObjectToConfigAdapter } from './object_to_config_adapter'; diff --git a/packages/osd-config/src/config_service.test.mocks.ts b/packages/osd-config/src/config_service.test.mocks.ts index 9f638d1a24bd..96d3591ef90b 100644 --- a/packages/osd-config/src/config_service.test.mocks.ts +++ b/packages/osd-config/src/config_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const mockPackage = new Proxy({ raw: {} as any }, { get: (obj, prop) => obj.raw[prop] }); jest.mock('../../../package.json', () => mockPackage); diff --git a/packages/osd-config/src/config_service.test.ts b/packages/osd-config/src/config_service.test.ts index 2cb0379110d2..364e73f3ee01 100644 --- a/packages/osd-config/src/config_service.test.ts +++ b/packages/osd-config/src/config_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject, Observable } from 'rxjs'; import { first, take } from 'rxjs/operators'; diff --git a/packages/osd-config/src/config_service.ts b/packages/osd-config/src/config_service.ts index f4866ad94280..1c5561a07663 100644 --- a/packages/osd-config/src/config_service.ts +++ b/packages/osd-config/src/config_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import type { PublicMethodsOf } from '@osd/utility-types'; import { Type } from '@osd/config-schema'; import { isEqual } from 'lodash'; diff --git a/packages/osd-config/src/deprecation/apply_deprecations.test.ts b/packages/osd-config/src/deprecation/apply_deprecations.test.ts index 48a5c40ffb10..628c3c8ed236 100644 --- a/packages/osd-config/src/deprecation/apply_deprecations.test.ts +++ b/packages/osd-config/src/deprecation/apply_deprecations.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { applyDeprecations } from './apply_deprecations'; import { ConfigDeprecation, ConfigDeprecationWithContext } from './types'; import { configDeprecationFactory as deprecations } from './deprecation_factory'; diff --git a/packages/osd-config/src/deprecation/apply_deprecations.ts b/packages/osd-config/src/deprecation/apply_deprecations.ts index 2e624f966c50..eccb08fd30a4 100644 --- a/packages/osd-config/src/deprecation/apply_deprecations.ts +++ b/packages/osd-config/src/deprecation/apply_deprecations.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeep } from 'lodash'; import { ConfigDeprecationWithContext, ConfigDeprecationLogger } from './types'; diff --git a/packages/osd-config/src/deprecation/deprecation_factory.test.ts b/packages/osd-config/src/deprecation/deprecation_factory.test.ts index 30ae9b6cf6ea..05d09d16ccd1 100644 --- a/packages/osd-config/src/deprecation/deprecation_factory.test.ts +++ b/packages/osd-config/src/deprecation/deprecation_factory.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ConfigDeprecationLogger } from './types'; import { configDeprecationFactory } from './deprecation_factory'; diff --git a/packages/osd-config/src/deprecation/deprecation_factory.ts b/packages/osd-config/src/deprecation/deprecation_factory.ts index 4c9c95045899..e544c83682ac 100644 --- a/packages/osd-config/src/deprecation/deprecation_factory.ts +++ b/packages/osd-config/src/deprecation/deprecation_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { set } from '@elastic/safer-lodash-set'; import { unset } from '@osd/std'; diff --git a/packages/osd-config/src/deprecation/index.ts b/packages/osd-config/src/deprecation/index.ts index 980ef9c1f6e5..a83dff29170b 100644 --- a/packages/osd-config/src/deprecation/index.ts +++ b/packages/osd-config/src/deprecation/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ConfigDeprecation, ConfigDeprecationWithContext, diff --git a/packages/osd-config/src/deprecation/types.ts b/packages/osd-config/src/deprecation/types.ts index 04f3649e81c5..496062a09574 100644 --- a/packages/osd-config/src/deprecation/types.ts +++ b/packages/osd-config/src/deprecation/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Logger interface used when invoking a {@link ConfigDeprecation} * diff --git a/packages/osd-config/src/env.test.mocks.ts b/packages/osd-config/src/env.test.mocks.ts index f1b50f18eeb8..62ad59a444cd 100644 --- a/packages/osd-config/src/env.test.mocks.ts +++ b/packages/osd-config/src/env.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const realPath = jest.requireActual('path'); jest.doMock('path', () => ({ diff --git a/packages/osd-config/src/env.test.ts b/packages/osd-config/src/env.test.ts index 25c97c5a59ec..65f44fef1feb 100644 --- a/packages/osd-config/src/env.test.ts +++ b/packages/osd-config/src/env.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockPackage } from './env.test.mocks'; import { Env, RawPackageInfo } from './env'; diff --git a/packages/osd-config/src/env.ts b/packages/osd-config/src/env.ts index cef361b55cea..913abe3b3c96 100644 --- a/packages/osd-config/src/env.ts +++ b/packages/osd-config/src/env.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve, join } from 'path'; import loadJsonFile from 'load-json-file'; import { PackageInfo, EnvironmentMode } from './types'; diff --git a/packages/osd-config/src/index.ts b/packages/osd-config/src/index.ts index ef857e14b4e1..b83efe0de22f 100644 --- a/packages/osd-config/src/index.ts +++ b/packages/osd-config/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { applyDeprecations, ConfigDeprecation, diff --git a/packages/osd-config/src/legacy/index.ts b/packages/osd-config/src/legacy/index.ts index d8bfe359f885..615b943ee357 100644 --- a/packages/osd-config/src/legacy/index.ts +++ b/packages/osd-config/src/legacy/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { LegacyObjectToConfigAdapter, LegacyLoggingConfig, diff --git a/packages/osd-config/src/legacy/legacy_object_to_config_adapter.test.ts b/packages/osd-config/src/legacy/legacy_object_to_config_adapter.test.ts index 95ba9b4576a2..0d6aa2dcd6cd 100644 --- a/packages/osd-config/src/legacy/legacy_object_to_config_adapter.test.ts +++ b/packages/osd-config/src/legacy/legacy_object_to_config_adapter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LegacyObjectToConfigAdapter } from './legacy_object_to_config_adapter'; describe('#get', () => { diff --git a/packages/osd-config/src/legacy/legacy_object_to_config_adapter.ts b/packages/osd-config/src/legacy/legacy_object_to_config_adapter.ts index 3c92bd0173b7..63e9283da810 100644 --- a/packages/osd-config/src/legacy/legacy_object_to_config_adapter.ts +++ b/packages/osd-config/src/legacy/legacy_object_to_config_adapter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ConfigPath } from '../config'; import { ObjectToConfigAdapter } from '../object_to_config_adapter'; diff --git a/packages/osd-config/src/mocks.ts b/packages/osd-config/src/mocks.ts index 0f3acde0c9a5..444a58d22dd4 100644 --- a/packages/osd-config/src/mocks.ts +++ b/packages/osd-config/src/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // these CANT be exported by the main entrypoint, as it cause ts check failures // in `src/test` and `src/xpack/test` projects due to definition conflicts between // mocha and jest declaring the same globals such as `it` or `beforeAll`, as the test diff --git a/packages/osd-config/src/object_to_config_adapter.test.ts b/packages/osd-config/src/object_to_config_adapter.test.ts index 1e46df4e4c94..bdc44d040341 100644 --- a/packages/osd-config/src/object_to_config_adapter.test.ts +++ b/packages/osd-config/src/object_to_config_adapter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ObjectToConfigAdapter } from './object_to_config_adapter'; describe('ObjectToConfigAdapter', () => { diff --git a/packages/osd-config/src/object_to_config_adapter.ts b/packages/osd-config/src/object_to_config_adapter.ts index 92674b93b6fe..b2bbf95ca1b6 100644 --- a/packages/osd-config/src/object_to_config_adapter.ts +++ b/packages/osd-config/src/object_to_config_adapter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeep, get, has } from 'lodash'; import { set } from '@elastic/safer-lodash-set'; import { getFlattenedObject } from '@osd/std'; diff --git a/packages/osd-config/src/raw/ensure_deep_object.test.ts b/packages/osd-config/src/raw/ensure_deep_object.test.ts index 72d9598ca8e7..589d760539a1 100644 --- a/packages/osd-config/src/raw/ensure_deep_object.test.ts +++ b/packages/osd-config/src/raw/ensure_deep_object.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ensureDeepObject } from './ensure_deep_object'; test('flat object', () => { diff --git a/packages/osd-config/src/raw/ensure_deep_object.ts b/packages/osd-config/src/raw/ensure_deep_object.ts index 853d0d9e1d80..89814f9ad158 100644 --- a/packages/osd-config/src/raw/ensure_deep_object.ts +++ b/packages/osd-config/src/raw/ensure_deep_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const separator = '.'; /** diff --git a/packages/osd-config/src/raw/index.ts b/packages/osd-config/src/raw/index.ts index d2208702f946..e1fe6dbee568 100644 --- a/packages/osd-config/src/raw/index.ts +++ b/packages/osd-config/src/raw/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { RawConfigService, RawConfigurationProvider } from './raw_config_service'; export { getConfigFromFiles } from './read_config'; diff --git a/packages/osd-config/src/raw/raw_config_service.mock.ts b/packages/osd-config/src/raw/raw_config_service.mock.ts index 0c329b3a2ae4..f604865691a8 100644 --- a/packages/osd-config/src/raw/raw_config_service.mock.ts +++ b/packages/osd-config/src/raw/raw_config_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import type { PublicMethodsOf } from '@osd/utility-types'; import { RawConfigService } from './raw_config_service'; import { Observable, of } from 'rxjs'; diff --git a/packages/osd-config/src/raw/raw_config_service.test.mocks.ts b/packages/osd-config/src/raw/raw_config_service.test.mocks.ts index 26fba459f9c2..3384cf018c12 100644 --- a/packages/osd-config/src/raw/raw_config_service.test.mocks.ts +++ b/packages/osd-config/src/raw/raw_config_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const mockGetConfigFromFiles = jest.fn(); jest.mock('./read_config', () => ({ diff --git a/packages/osd-config/src/raw/raw_config_service.test.ts b/packages/osd-config/src/raw/raw_config_service.test.ts index 04606957ab21..ad738d63ffc5 100644 --- a/packages/osd-config/src/raw/raw_config_service.test.ts +++ b/packages/osd-config/src/raw/raw_config_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockGetConfigFromFiles } from './raw_config_service.test.mocks'; import { first } from 'rxjs/operators'; diff --git a/packages/osd-config/src/raw/raw_config_service.ts b/packages/osd-config/src/raw/raw_config_service.ts index 40cbd8aac0b9..0f303bca7118 100644 --- a/packages/osd-config/src/raw/raw_config_service.ts +++ b/packages/osd-config/src/raw/raw_config_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeep, isPlainObject } from 'lodash'; import { Observable, ReplaySubject } from 'rxjs'; import { map } from 'rxjs/operators'; diff --git a/packages/osd-config/src/raw/read_config.test.ts b/packages/osd-config/src/raw/read_config.test.ts index 35eaf8bf1cf1..68cf03664974 100644 --- a/packages/osd-config/src/raw/read_config.test.ts +++ b/packages/osd-config/src/raw/read_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { relative, resolve } from 'path'; import { getConfigFromFiles } from './read_config'; diff --git a/packages/osd-config/src/raw/read_config.ts b/packages/osd-config/src/raw/read_config.ts index 21c50782c867..0c4a7c2330de 100644 --- a/packages/osd-config/src/raw/read_config.ts +++ b/packages/osd-config/src/raw/read_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { readFileSync } from 'fs'; import { safeLoad } from 'js-yaml'; diff --git a/packages/osd-config/src/types.ts b/packages/osd-config/src/types.ts index a119f154a296..c4a82f68502b 100644 --- a/packages/osd-config/src/types.ts +++ b/packages/osd-config/src/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * @public */ diff --git a/packages/osd-dev-utils/src/axios/errors.ts b/packages/osd-dev-utils/src/axios/errors.ts index ce5c5b4bae45..a1da5041baa6 100644 --- a/packages/osd-dev-utils/src/axios/errors.ts +++ b/packages/osd-dev-utils/src/axios/errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AxiosError, AxiosResponse } from 'axios'; export interface AxiosRequestError extends AxiosError { diff --git a/packages/osd-dev-utils/src/axios/index.ts b/packages/osd-dev-utils/src/axios/index.ts index cf6eaff12817..899b68a10fdd 100644 --- a/packages/osd-dev-utils/src/axios/index.ts +++ b/packages/osd-dev-utils/src/axios/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './errors'; diff --git a/packages/osd-dev-utils/src/babel.ts b/packages/osd-dev-utils/src/babel.ts index 9fc3bb81b510..212c238efdf6 100644 --- a/packages/osd-dev-utils/src/babel.ts +++ b/packages/osd-dev-utils/src/babel.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import File from 'vinyl'; import * as Babel from '@babel/core'; diff --git a/packages/osd-dev-utils/src/certs.ts b/packages/osd-dev-utils/src/certs.ts index 8e1f021c723a..4539fdca43e9 100644 --- a/packages/osd-dev-utils/src/certs.ts +++ b/packages/osd-dev-utils/src/certs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; export const CA_CERT_PATH = resolve(__dirname, '../certs/ca.crt'); diff --git a/packages/osd-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts b/packages/osd-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts index 991e0dc2ae25..d7a82b7c8024 100644 --- a/packages/osd-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts +++ b/packages/osd-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { inspect } from 'util'; import Axios from 'axios'; diff --git a/packages/osd-dev-utils/src/ci_stats_reporter/index.ts b/packages/osd-dev-utils/src/ci_stats_reporter/index.ts index 5465b4883d34..1d14ab6fe15b 100644 --- a/packages/osd-dev-utils/src/ci_stats_reporter/index.ts +++ b/packages/osd-dev-utils/src/ci_stats_reporter/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './ci_stats_reporter'; diff --git a/packages/osd-dev-utils/src/index.ts b/packages/osd-dev-utils/src/index.ts index 522eecf0a4ca..f1ae27d26a60 100644 --- a/packages/osd-dev-utils/src/index.ts +++ b/packages/osd-dev-utils/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from '@osd/utils'; export { withProcRunner, ProcRunner } from './proc_runner'; export * from './tooling_log'; diff --git a/packages/osd-dev-utils/src/osd_client/index.ts b/packages/osd-dev-utils/src/osd_client/index.ts index 4150c5e237b1..3ed7df59070b 100644 --- a/packages/osd-dev-utils/src/osd_client/index.ts +++ b/packages/osd-dev-utils/src/osd_client/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './osd_client'; export { uriencode } from './osd_client_requester'; diff --git a/packages/osd-dev-utils/src/osd_client/osd_client.ts b/packages/osd-dev-utils/src/osd_client/osd_client.ts index 50268ec650c0..af5aa22422de 100644 --- a/packages/osd-dev-utils/src/osd_client/osd_client.ts +++ b/packages/osd-dev-utils/src/osd_client/osd_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '../tooling_log'; import { OsdClientRequester, ReqOptions } from './osd_client_requester'; import { OsdClientStatus } from './osd_client_status'; diff --git a/packages/osd-dev-utils/src/osd_client/osd_client_plugins.ts b/packages/osd-dev-utils/src/osd_client/osd_client_plugins.ts index 20501068d7b3..6ae429d42e6b 100644 --- a/packages/osd-dev-utils/src/osd_client/osd_client_plugins.ts +++ b/packages/osd-dev-utils/src/osd_client/osd_client_plugins.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OsdClientStatus } from './osd_client_status'; const PLUGIN_STATUS_ID = /^plugin:(.+?)@/; diff --git a/packages/osd-dev-utils/src/osd_client/osd_client_requester.ts b/packages/osd-dev-utils/src/osd_client/osd_client_requester.ts index b1471677b732..effa5da6dd7e 100644 --- a/packages/osd-dev-utils/src/osd_client/osd_client_requester.ts +++ b/packages/osd-dev-utils/src/osd_client/osd_client_requester.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import Url from 'url'; import Https from 'https'; import Axios, { AxiosResponse } from 'axios'; diff --git a/packages/osd-dev-utils/src/osd_client/osd_client_saved_objects.ts b/packages/osd-dev-utils/src/osd_client/osd_client_saved_objects.ts index f1bf2e5c5b90..153bbd100a04 100644 --- a/packages/osd-dev-utils/src/osd_client/osd_client_saved_objects.ts +++ b/packages/osd-dev-utils/src/osd_client/osd_client_saved_objects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '../tooling_log'; import { OsdClientRequester, uriencode } from './osd_client_requester'; diff --git a/packages/osd-dev-utils/src/osd_client/osd_client_status.ts b/packages/osd-dev-utils/src/osd_client/osd_client_status.ts index c5d85ebbdf3c..5c926ab1c5a9 100644 --- a/packages/osd-dev-utils/src/osd_client/osd_client_status.ts +++ b/packages/osd-dev-utils/src/osd_client/osd_client_status.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OsdClientRequester } from './osd_client_requester'; interface Status { diff --git a/packages/osd-dev-utils/src/osd_client/osd_client_ui_settings.ts b/packages/osd-dev-utils/src/osd_client/osd_client_ui_settings.ts index d9de990f8da7..0786f65b2114 100644 --- a/packages/osd-dev-utils/src/osd_client/osd_client_ui_settings.ts +++ b/packages/osd-dev-utils/src/osd_client/osd_client_ui_settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '../tooling_log'; import { OsdClientRequester, uriencode } from './osd_client_requester'; diff --git a/packages/osd-dev-utils/src/osd_client/osd_client_version.ts b/packages/osd-dev-utils/src/osd_client/osd_client_version.ts index d996c82228dc..a635b720b42f 100644 --- a/packages/osd-dev-utils/src/osd_client/osd_client_version.ts +++ b/packages/osd-dev-utils/src/osd_client/osd_client_version.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OsdClientStatus } from './osd_client_status'; export class OsdClientVersion { diff --git a/packages/osd-dev-utils/src/parse_opensearch_dashboards_platform_plugin.ts b/packages/osd-dev-utils/src/parse_opensearch_dashboards_platform_plugin.ts index 38ed4cddc327..4885bbef3ead 100644 --- a/packages/osd-dev-utils/src/parse_opensearch_dashboards_platform_plugin.ts +++ b/packages/osd-dev-utils/src/parse_opensearch_dashboards_platform_plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import loadJsonFile from 'load-json-file'; diff --git a/packages/osd-dev-utils/src/plugin_list/discover_plugins.ts b/packages/osd-dev-utils/src/plugin_list/discover_plugins.ts index a7c1efcc6e3a..0075d1aa1728 100644 --- a/packages/osd-dev-utils/src/plugin_list/discover_plugins.ts +++ b/packages/osd-dev-utils/src/plugin_list/discover_plugins.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import Fs from 'fs'; diff --git a/packages/osd-dev-utils/src/plugin_list/extract_asciidoc_info.test.ts b/packages/osd-dev-utils/src/plugin_list/extract_asciidoc_info.test.ts index fe696bc6ab81..387712782862 100644 --- a/packages/osd-dev-utils/src/plugin_list/extract_asciidoc_info.test.ts +++ b/packages/osd-dev-utils/src/plugin_list/extract_asciidoc_info.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { extractAsciidocInfo } from './extract_asciidoc_info'; it('Returns the info and anchor when there is only one paragraph', () => { diff --git a/packages/osd-dev-utils/src/plugin_list/extract_asciidoc_info.ts b/packages/osd-dev-utils/src/plugin_list/extract_asciidoc_info.ts index c535d4d94c4e..5af76238bf19 100644 --- a/packages/osd-dev-utils/src/plugin_list/extract_asciidoc_info.ts +++ b/packages/osd-dev-utils/src/plugin_list/extract_asciidoc_info.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function extractAsciidocInfo(text: string): { firstParagraph?: string; anchor?: string } { // First group is to grab the anchor - \[\[(.*)\]\] // Tecond group, (== ), removes the equals from the header diff --git a/packages/osd-dev-utils/src/plugin_list/generate_plugin_list.ts b/packages/osd-dev-utils/src/plugin_list/generate_plugin_list.ts index cc56fbf01964..295371060e95 100644 --- a/packages/osd-dev-utils/src/plugin_list/generate_plugin_list.ts +++ b/packages/osd-dev-utils/src/plugin_list/generate_plugin_list.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import normalizePath from 'normalize-path'; diff --git a/packages/osd-dev-utils/src/plugin_list/index.ts b/packages/osd-dev-utils/src/plugin_list/index.ts index 5bf89b9de647..b81d3b5ed0f1 100644 --- a/packages/osd-dev-utils/src/plugin_list/index.ts +++ b/packages/osd-dev-utils/src/plugin_list/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './run_plugin_list_cli'; diff --git a/packages/osd-dev-utils/src/plugin_list/run_plugin_list_cli.ts b/packages/osd-dev-utils/src/plugin_list/run_plugin_list_cli.ts index c3c77121cb12..2bf2e1a0ce8c 100644 --- a/packages/osd-dev-utils/src/plugin_list/run_plugin_list_cli.ts +++ b/packages/osd-dev-utils/src/plugin_list/run_plugin_list_cli.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import Fs from 'fs'; import { REPO_ROOT } from '@osd/utils'; diff --git a/packages/osd-dev-utils/src/precommit_hook/cli.ts b/packages/osd-dev-utils/src/precommit_hook/cli.ts index ea4e33d51b2d..3da4231bafa1 100644 --- a/packages/osd-dev-utils/src/precommit_hook/cli.ts +++ b/packages/osd-dev-utils/src/precommit_hook/cli.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { chmod, writeFile } from 'fs'; import { promisify } from 'util'; diff --git a/packages/osd-dev-utils/src/precommit_hook/get_git_dir.ts b/packages/osd-dev-utils/src/precommit_hook/get_git_dir.ts index 3456b80c07be..8dc2d5f1c8af 100644 --- a/packages/osd-dev-utils/src/precommit_hook/get_git_dir.ts +++ b/packages/osd-dev-utils/src/precommit_hook/get_git_dir.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import execa from 'execa'; import { REPO_ROOT } from '@osd/utils'; diff --git a/packages/osd-dev-utils/src/precommit_hook/script_source.ts b/packages/osd-dev-utils/src/precommit_hook/script_source.ts index f07b2b327f96..64915df17d9f 100644 --- a/packages/osd-dev-utils/src/precommit_hook/script_source.ts +++ b/packages/osd-dev-utils/src/precommit_hook/script_source.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import os from 'os'; import normalizePath from 'normalize-path'; diff --git a/packages/osd-dev-utils/src/proc_runner/errors.ts b/packages/osd-dev-utils/src/proc_runner/errors.ts index ceb2943647ec..bb23e52e11b1 100644 --- a/packages/osd-dev-utils/src/proc_runner/errors.ts +++ b/packages/osd-dev-utils/src/proc_runner/errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const $isCliError = Symbol('isCliError'); interface CliError extends Error { diff --git a/packages/osd-dev-utils/src/proc_runner/index.ts b/packages/osd-dev-utils/src/proc_runner/index.ts index 9c47ca8fe473..9ce9479dae87 100644 --- a/packages/osd-dev-utils/src/proc_runner/index.ts +++ b/packages/osd-dev-utils/src/proc_runner/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { withProcRunner } from './with_proc_runner'; export { ProcRunner } from './proc_runner'; diff --git a/packages/osd-dev-utils/src/proc_runner/proc.ts b/packages/osd-dev-utils/src/proc_runner/proc.ts index f563818b9d98..1de472df40b2 100644 --- a/packages/osd-dev-utils/src/proc_runner/proc.ts +++ b/packages/osd-dev-utils/src/proc_runner/proc.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import execa from 'execa'; import { statSync } from 'fs'; diff --git a/packages/osd-dev-utils/src/proc_runner/proc_runner.ts b/packages/osd-dev-utils/src/proc_runner/proc_runner.ts index f830bfa42829..b75a9797ae80 100644 --- a/packages/osd-dev-utils/src/proc_runner/proc_runner.ts +++ b/packages/osd-dev-utils/src/proc_runner/proc_runner.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import * as Rx from 'rxjs'; import { filter, first, catchError, map } from 'rxjs/operators'; diff --git a/packages/osd-dev-utils/src/proc_runner/with_proc_runner.test.ts b/packages/osd-dev-utils/src/proc_runner/with_proc_runner.test.ts index 9eadf12ba296..00b1009033e6 100644 --- a/packages/osd-dev-utils/src/proc_runner/with_proc_runner.test.ts +++ b/packages/osd-dev-utils/src/proc_runner/with_proc_runner.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '../tooling_log'; import { withProcRunner } from './with_proc_runner'; import { ProcRunner } from './proc_runner'; diff --git a/packages/osd-dev-utils/src/proc_runner/with_proc_runner.ts b/packages/osd-dev-utils/src/proc_runner/with_proc_runner.ts index 7f62f4398348..b69c7bf1162d 100644 --- a/packages/osd-dev-utils/src/proc_runner/with_proc_runner.ts +++ b/packages/osd-dev-utils/src/proc_runner/with_proc_runner.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ProcRunner } from './proc_runner'; import { ToolingLog } from '../tooling_log'; diff --git a/packages/osd-dev-utils/src/run/cleanup.ts b/packages/osd-dev-utils/src/run/cleanup.ts index 82b10e0a207d..17e546d7a2bb 100644 --- a/packages/osd-dev-utils/src/run/cleanup.ts +++ b/packages/osd-dev-utils/src/run/cleanup.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { inspect } from 'util'; import exitHook from 'exit-hook'; diff --git a/packages/osd-dev-utils/src/run/fail.ts b/packages/osd-dev-utils/src/run/fail.ts index a4c8a75a500e..48320b421f5d 100644 --- a/packages/osd-dev-utils/src/run/fail.ts +++ b/packages/osd-dev-utils/src/run/fail.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { inspect } from 'util'; const FAIL_TAG = Symbol('fail error'); diff --git a/packages/osd-dev-utils/src/run/flags.test.ts b/packages/osd-dev-utils/src/run/flags.test.ts index dfa7aa373e82..4478cc7a3fe2 100644 --- a/packages/osd-dev-utils/src/run/flags.test.ts +++ b/packages/osd-dev-utils/src/run/flags.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getFlags } from './flags'; it('gets flags correctly', () => { diff --git a/packages/osd-dev-utils/src/run/flags.ts b/packages/osd-dev-utils/src/run/flags.ts index 4d4cbe6bf5dc..fc45f2faefc9 100644 --- a/packages/osd-dev-utils/src/run/flags.ts +++ b/packages/osd-dev-utils/src/run/flags.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import getopts from 'getopts'; import { RunOptions } from './run'; diff --git a/packages/osd-dev-utils/src/run/help.test.ts b/packages/osd-dev-utils/src/run/help.test.ts index 95d2ddc2ff91..a89f859666d5 100644 --- a/packages/osd-dev-utils/src/run/help.test.ts +++ b/packages/osd-dev-utils/src/run/help.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getCommandLevelHelp, getHelp, getHelpForAllCommands } from './help'; import { Command } from './run_with_commands'; diff --git a/packages/osd-dev-utils/src/run/help.ts b/packages/osd-dev-utils/src/run/help.ts index 19823def3b06..dfab3bd353e3 100644 --- a/packages/osd-dev-utils/src/run/help.ts +++ b/packages/osd-dev-utils/src/run/help.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import 'core-js/features/string/repeat'; diff --git a/packages/osd-dev-utils/src/run/index.ts b/packages/osd-dev-utils/src/run/index.ts index 0310302471a9..ad30070fec85 100644 --- a/packages/osd-dev-utils/src/run/index.ts +++ b/packages/osd-dev-utils/src/run/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './run'; export * from './run_with_commands'; export * from './flags'; diff --git a/packages/osd-dev-utils/src/run/run.ts b/packages/osd-dev-utils/src/run/run.ts index 30030e75aaea..8fcf8e7ef83f 100644 --- a/packages/osd-dev-utils/src/run/run.ts +++ b/packages/osd-dev-utils/src/run/run.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { pickLevelFromFlags, ToolingLog, LogLevel } from '../tooling_log'; import { createFlagError } from './fail'; import { Flags, getFlags, FlagOptions } from './flags'; diff --git a/packages/osd-dev-utils/src/run/run_with_commands.test.ts b/packages/osd-dev-utils/src/run/run_with_commands.test.ts index a4e6cc4bcac0..21857716c06a 100644 --- a/packages/osd-dev-utils/src/run/run_with_commands.test.ts +++ b/packages/osd-dev-utils/src/run/run_with_commands.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { RunWithCommands } from './run_with_commands'; import { ToolingLog, ToolingLogCollectingWriter } from '../tooling_log'; import { ProcRunner } from '../proc_runner'; diff --git a/packages/osd-dev-utils/src/run/run_with_commands.ts b/packages/osd-dev-utils/src/run/run_with_commands.ts index 5b2e159bef06..9f85ed4b7fc9 100644 --- a/packages/osd-dev-utils/src/run/run_with_commands.ts +++ b/packages/osd-dev-utils/src/run/run_with_commands.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog, pickLevelFromFlags } from '../tooling_log'; import { RunContext, RunOptions } from './run'; import { getFlags, FlagOptions, mergeFlagOptions } from './flags'; diff --git a/packages/osd-dev-utils/src/serializers/absolute_path_serializer.ts b/packages/osd-dev-utils/src/serializers/absolute_path_serializer.ts index 05172f5ac330..dd7757c594da 100644 --- a/packages/osd-dev-utils/src/serializers/absolute_path_serializer.ts +++ b/packages/osd-dev-utils/src/serializers/absolute_path_serializer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { REPO_ROOT } from '@osd/utils'; export function createAbsolutePathSerializer( diff --git a/packages/osd-dev-utils/src/serializers/any_instance_serizlizer.ts b/packages/osd-dev-utils/src/serializers/any_instance_serizlizer.ts index 508c81ac498a..32b57abdbf7e 100644 --- a/packages/osd-dev-utils/src/serializers/any_instance_serizlizer.ts +++ b/packages/osd-dev-utils/src/serializers/any_instance_serizlizer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function createAnyInstanceSerializer(Class: Function, name?: string) { return { test: (v: any) => v instanceof Class, diff --git a/packages/osd-dev-utils/src/serializers/index.ts b/packages/osd-dev-utils/src/serializers/index.ts index 2f8fd1cc8b9e..4ea72efe3f53 100644 --- a/packages/osd-dev-utils/src/serializers/index.ts +++ b/packages/osd-dev-utils/src/serializers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './absolute_path_serializer'; export * from './strip_ansi_serializer'; export * from './recursive_serializer'; diff --git a/packages/osd-dev-utils/src/serializers/recursive_serializer.ts b/packages/osd-dev-utils/src/serializers/recursive_serializer.ts index 1360576db956..461d366bebca 100644 --- a/packages/osd-dev-utils/src/serializers/recursive_serializer.ts +++ b/packages/osd-dev-utils/src/serializers/recursive_serializer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function createRecursiveSerializer(test: (v: any) => boolean, print: (v: any) => string) { return { test: (v: any) => test(v), diff --git a/packages/osd-dev-utils/src/serializers/replace_serializer.ts b/packages/osd-dev-utils/src/serializers/replace_serializer.ts index 688c039d493c..343b45ffd2ac 100644 --- a/packages/osd-dev-utils/src/serializers/replace_serializer.ts +++ b/packages/osd-dev-utils/src/serializers/replace_serializer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createRecursiveSerializer } from './recursive_serializer'; type Replacer = (substring: string, ...args: any[]) => string; diff --git a/packages/osd-dev-utils/src/serializers/strip_ansi_serializer.ts b/packages/osd-dev-utils/src/serializers/strip_ansi_serializer.ts index 631977cb9110..eaa7b3db2491 100644 --- a/packages/osd-dev-utils/src/serializers/strip_ansi_serializer.ts +++ b/packages/osd-dev-utils/src/serializers/strip_ansi_serializer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import stripAnsi from 'strip-ansi'; import { createRecursiveSerializer } from './recursive_serializer'; diff --git a/packages/osd-dev-utils/src/simple_opensearch_dashboards_platform_plugin_discovery.ts b/packages/osd-dev-utils/src/simple_opensearch_dashboards_platform_plugin_discovery.ts index 56d8d42cc3cd..ef6c5913d9b4 100644 --- a/packages/osd-dev-utils/src/simple_opensearch_dashboards_platform_plugin_discovery.ts +++ b/packages/osd-dev-utils/src/simple_opensearch_dashboards_platform_plugin_discovery.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import globby from 'globby'; diff --git a/packages/osd-dev-utils/src/stdio/index.ts b/packages/osd-dev-utils/src/stdio/index.ts index f05906531bff..aa3076a5e1d9 100644 --- a/packages/osd-dev-utils/src/stdio/index.ts +++ b/packages/osd-dev-utils/src/stdio/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './observe_lines'; export * from './observe_readable'; diff --git a/packages/osd-dev-utils/src/stdio/observe_lines.ts b/packages/osd-dev-utils/src/stdio/observe_lines.ts index dc504692ffe8..3c7983d60411 100644 --- a/packages/osd-dev-utils/src/stdio/observe_lines.ts +++ b/packages/osd-dev-utils/src/stdio/observe_lines.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Readable } from 'stream'; import * as Rx from 'rxjs'; diff --git a/packages/osd-dev-utils/src/stdio/observe_readable.ts b/packages/osd-dev-utils/src/stdio/observe_readable.ts index b9797adcad83..ac5aed3cd898 100644 --- a/packages/osd-dev-utils/src/stdio/observe_readable.ts +++ b/packages/osd-dev-utils/src/stdio/observe_readable.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Readable } from 'stream'; import * as Rx from 'rxjs'; diff --git a/packages/osd-dev-utils/src/streams.ts b/packages/osd-dev-utils/src/streams.ts index c69a86275734..1e198354bfcb 100644 --- a/packages/osd-dev-utils/src/streams.ts +++ b/packages/osd-dev-utils/src/streams.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; import File from 'vinyl'; diff --git a/packages/osd-dev-utils/src/tooling_log/index.ts b/packages/osd-dev-utils/src/tooling_log/index.ts index b07bae9b550a..4e5f6247d380 100644 --- a/packages/osd-dev-utils/src/tooling_log/index.ts +++ b/packages/osd-dev-utils/src/tooling_log/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ToolingLog } from './tooling_log'; export { ToolingLogTextWriter, ToolingLogTextWriterConfig } from './tooling_log_text_writer'; export { pickLevelFromFlags, parseLogLevel, LogLevel, ParsedLogLevel } from './log_levels'; diff --git a/packages/osd-dev-utils/src/tooling_log/log_levels.test.ts b/packages/osd-dev-utils/src/tooling_log/log_levels.test.ts index 39a9824955eb..25b167e2d86f 100644 --- a/packages/osd-dev-utils/src/tooling_log/log_levels.test.ts +++ b/packages/osd-dev-utils/src/tooling_log/log_levels.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parseLogLevel } from './log_levels'; it('parses valid log levels correctly', () => { diff --git a/packages/osd-dev-utils/src/tooling_log/log_levels.ts b/packages/osd-dev-utils/src/tooling_log/log_levels.ts index f9fed426bbcd..c23c66bc43dc 100644 --- a/packages/osd-dev-utils/src/tooling_log/log_levels.ts +++ b/packages/osd-dev-utils/src/tooling_log/log_levels.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export type LogLevel = 'silent' | 'error' | 'warning' | 'info' | 'debug' | 'verbose'; const LEVELS: LogLevel[] = ['silent', 'error', 'warning', 'info', 'debug', 'verbose']; diff --git a/packages/osd-dev-utils/src/tooling_log/message.ts b/packages/osd-dev-utils/src/tooling_log/message.ts index 946d3b1220e5..12a442b53e9a 100644 --- a/packages/osd-dev-utils/src/tooling_log/message.ts +++ b/packages/osd-dev-utils/src/tooling_log/message.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export type MessageTypes = 'verbose' | 'debug' | 'info' | 'success' | 'warning' | 'error' | 'write'; export interface Message { diff --git a/packages/osd-dev-utils/src/tooling_log/tooling_log.test.ts b/packages/osd-dev-utils/src/tooling_log/tooling_log.test.ts index a536260b78f6..32c854d77674 100644 --- a/packages/osd-dev-utils/src/tooling_log/tooling_log.test.ts +++ b/packages/osd-dev-utils/src/tooling_log/tooling_log.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { toArray, takeUntil } from 'rxjs/operators'; diff --git a/packages/osd-dev-utils/src/tooling_log/tooling_log.ts b/packages/osd-dev-utils/src/tooling_log/tooling_log.ts index 67e262d12767..8b174ec42c92 100644 --- a/packages/osd-dev-utils/src/tooling_log/tooling_log.ts +++ b/packages/osd-dev-utils/src/tooling_log/tooling_log.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { ToolingLogTextWriter, ToolingLogTextWriterConfig } from './tooling_log_text_writer'; diff --git a/packages/osd-dev-utils/src/tooling_log/tooling_log_collecting_writer.ts b/packages/osd-dev-utils/src/tooling_log/tooling_log_collecting_writer.ts index 1b05dbc17761..fdcdc2ae05f7 100644 --- a/packages/osd-dev-utils/src/tooling_log/tooling_log_collecting_writer.ts +++ b/packages/osd-dev-utils/src/tooling_log/tooling_log_collecting_writer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLogTextWriter } from './tooling_log_text_writer'; import { LogLevel } from './log_levels'; diff --git a/packages/osd-dev-utils/src/tooling_log/tooling_log_text_writer.test.ts b/packages/osd-dev-utils/src/tooling_log/tooling_log_text_writer.test.ts index e9b3b487a149..7c489f451c91 100644 --- a/packages/osd-dev-utils/src/tooling_log/tooling_log_text_writer.test.ts +++ b/packages/osd-dev-utils/src/tooling_log/tooling_log_text_writer.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLogTextWriter } from './tooling_log_text_writer'; it('throws error if created with invalid level', () => { diff --git a/packages/osd-dev-utils/src/tooling_log/tooling_log_text_writer.ts b/packages/osd-dev-utils/src/tooling_log/tooling_log_text_writer.ts index cf6894da28ef..209b3f495554 100644 --- a/packages/osd-dev-utils/src/tooling_log/tooling_log_text_writer.ts +++ b/packages/osd-dev-utils/src/tooling_log/tooling_log_text_writer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { format } from 'util'; import chalk from 'chalk'; diff --git a/packages/osd-dev-utils/src/tooling_log/writer.ts b/packages/osd-dev-utils/src/tooling_log/writer.ts index 8bccb20ec806..ba207ff630d4 100644 --- a/packages/osd-dev-utils/src/tooling_log/writer.ts +++ b/packages/osd-dev-utils/src/tooling_log/writer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Message } from './message'; export interface Writer { diff --git a/packages/osd-eslint-import-resolver-opensearch-dashboards/import_resolver_opensearch_dashboards.js b/packages/osd-eslint-import-resolver-opensearch-dashboards/import_resolver_opensearch_dashboards.js index 85a80e22b54d..530410bdc9aa 100755 --- a/packages/osd-eslint-import-resolver-opensearch-dashboards/import_resolver_opensearch_dashboards.js +++ b/packages/osd-eslint-import-resolver-opensearch-dashboards/import_resolver_opensearch_dashboards.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { join, dirname, extname } = require('path'); const webpackResolver = require('eslint-import-resolver-webpack'); diff --git a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/debug.js b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/debug.js index 6a1d826dd850..2d4144276c27 100755 --- a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/debug.js +++ b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/debug.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - exports.debug = require('debug')('eslint-plugin-import:resolver:opensearchDashboards'); diff --git a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_is_path_request.js b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_is_path_request.js index c90a72a16e72..5d8fc33b14ca 100644 --- a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_is_path_request.js +++ b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_is_path_request.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // "path" imports point to a specific location and don't require // module directory resolution. This RegExp should capture import // statements that: diff --git a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_opensearch_dashboards_path.js b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_opensearch_dashboards_path.js index e6425947a8c1..52aa6673731f 100755 --- a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_opensearch_dashboards_path.js +++ b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_opensearch_dashboards_path.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { resolve } = require('path'); const { debug } = require('./debug'); diff --git a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_path_type.js b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_path_type.js index 9315ddcdadc3..a6227c6e7b7a 100644 --- a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_path_type.js +++ b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_path_type.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { statSync } = require('fs'); const LRU = require('lru-cache'); diff --git a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_project_root.js b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_project_root.js index fbad3109ffb6..d2523267bd1c 100755 --- a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_project_root.js +++ b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_project_root.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { dirname, resolve, parse } = require('path'); const { accessSync, readFileSync } = require('fs'); diff --git a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_webpack_config.js b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_webpack_config.js index 2d92e434f6f1..aad40da879a2 100755 --- a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_webpack_config.js +++ b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_webpack_config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { resolve } = require('path'); exports.getWebpackConfig = function (opensearchDashboardsPath) { diff --git a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/index.js b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/index.js index 11c028033324..015441e81e35 100644 --- a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/index.js +++ b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = Object.assign( {}, require('./get_opensearch_dashboards_path'), diff --git a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/resolve_webpack_alias.js b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/resolve_webpack_alias.js index 3911aaa8460f..d43bd4d9009d 100644 --- a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/resolve_webpack_alias.js +++ b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/resolve_webpack_alias.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Attempt to apply basic webpack alias transformations so we can * avoid triggering the webpack resolver for many imports diff --git a/packages/osd-eslint-plugin-eslint/index.js b/packages/osd-eslint-plugin-eslint/index.js index 70f8516d85e7..3c3c47780c2f 100644 --- a/packages/osd-eslint-plugin-eslint/index.js +++ b/packages/osd-eslint-plugin-eslint/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = { rules: { 'require-license-header': require('./rules/require_license_header'), diff --git a/packages/osd-eslint-plugin-eslint/lib.js b/packages/osd-eslint-plugin-eslint/lib.js index 5bbe206656c1..42e8f56aab9f 100644 --- a/packages/osd-eslint-plugin-eslint/lib.js +++ b/packages/osd-eslint-plugin-eslint/lib.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - exports.assert = function assert(truth, message) { if (truth) { return; diff --git a/packages/osd-eslint-plugin-eslint/rules/__tests__/disallow_license_headers.js b/packages/osd-eslint-plugin-eslint/rules/__tests__/disallow_license_headers.js index 9b3d4d3ac1df..1afb406ea493 100644 --- a/packages/osd-eslint-plugin-eslint/rules/__tests__/disallow_license_headers.js +++ b/packages/osd-eslint-plugin-eslint/rules/__tests__/disallow_license_headers.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { RuleTester } = require('eslint'); const rule = require('../disallow_license_headers'); const dedent = require('dedent'); diff --git a/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/client/a.js b/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/client/a.js index d15de7d98a9e..788022c68256 100644 --- a/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/client/a.js +++ b/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/client/a.js @@ -1 +1,12 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ diff --git a/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/server/b.js b/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/server/b.js index d15de7d98a9e..788022c68256 100644 --- a/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/server/b.js +++ b/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/server/b.js @@ -1 +1,12 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ diff --git a/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/server/c.js b/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/server/c.js index d15de7d98a9e..788022c68256 100644 --- a/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/server/c.js +++ b/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/server/c.js @@ -1 +1,12 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ diff --git a/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/server/deep/d.js b/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/server/deep/d.js index d15de7d98a9e..788022c68256 100644 --- a/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/server/deep/d.js +++ b/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/server/deep/d.js @@ -1 +1,12 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ diff --git a/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/server/index_patterns/index.js b/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/server/index_patterns/index.js index d15de7d98a9e..788022c68256 100644 --- a/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/server/index_patterns/index.js +++ b/packages/osd-eslint-plugin-eslint/rules/__tests__/files/no_restricted_paths/server/index_patterns/index.js @@ -1 +1,12 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ diff --git a/packages/osd-eslint-plugin-eslint/rules/__tests__/no_restricted_paths.js b/packages/osd-eslint-plugin-eslint/rules/__tests__/no_restricted_paths.js index bd5f719e06c1..29788eb5456b 100644 --- a/packages/osd-eslint-plugin-eslint/rules/__tests__/no_restricted_paths.js +++ b/packages/osd-eslint-plugin-eslint/rules/__tests__/no_restricted_paths.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable-line @osd/eslint/require-license-header */ /* * This product uses import/no-restricted-paths which is available under a diff --git a/packages/osd-eslint-plugin-eslint/rules/__tests__/require_license_header.js b/packages/osd-eslint-plugin-eslint/rules/__tests__/require_license_header.js index 9df30dd71d96..7de94356b860 100644 --- a/packages/osd-eslint-plugin-eslint/rules/__tests__/require_license_header.js +++ b/packages/osd-eslint-plugin-eslint/rules/__tests__/require_license_header.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { RuleTester } = require('eslint'); const rule = require('../require_license_header'); const dedent = require('dedent'); diff --git a/packages/osd-eslint-plugin-eslint/rules/disallow_license_headers.js b/packages/osd-eslint-plugin-eslint/rules/disallow_license_headers.js index 390d05f11326..fb234cbb012d 100644 --- a/packages/osd-eslint-plugin-eslint/rules/disallow_license_headers.js +++ b/packages/osd-eslint-plugin-eslint/rules/disallow_license_headers.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const babelEslint = require('babel-eslint'); const { assert, normalizeWhitespace, init } = require('../lib'); diff --git a/packages/osd-eslint-plugin-eslint/rules/module_migration.js b/packages/osd-eslint-plugin-eslint/rules/module_migration.js index e0b48f0e5807..5d783b9799cf 100644 --- a/packages/osd-eslint-plugin-eslint/rules/module_migration.js +++ b/packages/osd-eslint-plugin-eslint/rules/module_migration.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const path = require('path'); const OPENSEARCH_DASHBOARDS_ROOT = path.resolve(__dirname, '../../..'); diff --git a/packages/osd-eslint-plugin-eslint/rules/no_restricted_paths.js b/packages/osd-eslint-plugin-eslint/rules/no_restricted_paths.js index d3ac19fa6d19..6343af30028e 100644 --- a/packages/osd-eslint-plugin-eslint/rules/no_restricted_paths.js +++ b/packages/osd-eslint-plugin-eslint/rules/no_restricted_paths.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable-line @osd/eslint/require-license-header */ /* * This product uses import/no-restricted-paths which is available under a diff --git a/packages/osd-eslint-plugin-eslint/rules/require_license_header.js b/packages/osd-eslint-plugin-eslint/rules/require_license_header.js index ee8e56d5d606..f713eb8b6ea8 100644 --- a/packages/osd-eslint-plugin-eslint/rules/require_license_header.js +++ b/packages/osd-eslint-plugin-eslint/rules/require_license_header.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const babelEslint = require('babel-eslint'); const { assert, normalizeWhitespace, init } = require('../lib'); diff --git a/packages/osd-expect/expect.js b/packages/osd-expect/expect.js index bc75d19d2ab1..5ee26b03c91b 100644 --- a/packages/osd-expect/expect.js +++ b/packages/osd-expect/expect.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ var exports = module.exports; diff --git a/packages/osd-expect/expect.js.d.ts b/packages/osd-expect/expect.js.d.ts index b957a1f9ab10..03eddb9168d7 100644 --- a/packages/osd-expect/expect.js.d.ts +++ b/packages/osd-expect/expect.js.d.ts @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ // Type definitions for expect.js 0.3.1 diff --git a/packages/osd-i18n/babel.config.js b/packages/osd-i18n/babel.config.js index a63d8cbfb834..790b6ce30295 100644 --- a/packages/osd-i18n/babel.config.js +++ b/packages/osd-i18n/babel.config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = { env: { web: { diff --git a/packages/osd-i18n/scripts/build.js b/packages/osd-i18n/scripts/build.js index b2e13a9d773c..db300f72dda4 100644 --- a/packages/osd-i18n/scripts/build.js +++ b/packages/osd-i18n/scripts/build.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { resolve } = require('path'); const del = require('del'); diff --git a/packages/osd-i18n/src/angular/directive.test.ts b/packages/osd-i18n/src/angular/directive.test.ts index 39a1832c7980..35dd43001335 100644 --- a/packages/osd-i18n/src/angular/directive.test.ts +++ b/packages/osd-i18n/src/angular/directive.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import angular from 'angular'; import 'angular-mocks'; import 'angular-sanitize'; diff --git a/packages/osd-i18n/src/angular/directive.ts b/packages/osd-i18n/src/angular/directive.ts index 446d66e6617b..790357da7d46 100644 --- a/packages/osd-i18n/src/angular/directive.ts +++ b/packages/osd-i18n/src/angular/directive.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IDirective, IRootElementService, IScope } from 'angular'; import { I18nServiceType } from './provider'; diff --git a/packages/osd-i18n/src/angular/filter.test.ts b/packages/osd-i18n/src/angular/filter.test.ts index 0cd4cb86ea55..bc236e711d4c 100644 --- a/packages/osd-i18n/src/angular/filter.test.ts +++ b/packages/osd-i18n/src/angular/filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('../core/i18n', () => ({ translate: jest.fn().mockImplementation(() => 'translation'), })); diff --git a/packages/osd-i18n/src/angular/filter.ts b/packages/osd-i18n/src/angular/filter.ts index 4b3b1435be2f..4ffa5dd3ef4e 100644 --- a/packages/osd-i18n/src/angular/filter.ts +++ b/packages/osd-i18n/src/angular/filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { I18nServiceType } from './provider'; export const i18nFilter: [string, typeof i18nFilterFn] = ['i18n', i18nFilterFn]; diff --git a/packages/osd-i18n/src/angular/index.ts b/packages/osd-i18n/src/angular/index.ts index 2f89feb41ab8..04f7d66eb12a 100644 --- a/packages/osd-i18n/src/angular/index.ts +++ b/packages/osd-i18n/src/angular/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { I18nProvider } from './provider'; export { i18nFilter } from './filter'; diff --git a/packages/osd-i18n/src/angular/provider.test.ts b/packages/osd-i18n/src/angular/provider.test.ts index b81ba7e82afd..e612e0bef3d8 100644 --- a/packages/osd-i18n/src/angular/provider.test.ts +++ b/packages/osd-i18n/src/angular/provider.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import angular from 'angular'; import 'angular-mocks'; diff --git a/packages/osd-i18n/src/angular/provider.ts b/packages/osd-i18n/src/angular/provider.ts index 3a631d08ee2a..bd02a30cef45 100644 --- a/packages/osd-i18n/src/angular/provider.ts +++ b/packages/osd-i18n/src/angular/provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as i18n from '../core'; export type I18nServiceType = ReturnType; diff --git a/packages/osd-i18n/src/browser.ts b/packages/osd-i18n/src/browser.ts index fe233cdf5e4e..020956c4529b 100644 --- a/packages/osd-i18n/src/browser.ts +++ b/packages/osd-i18n/src/browser.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as i18nCore from './core'; export const i18n = i18nCore; diff --git a/packages/osd-i18n/src/core/formats.ts b/packages/osd-i18n/src/core/formats.ts index c044f312e4f6..f87fd57e6c43 100644 --- a/packages/osd-i18n/src/core/formats.ts +++ b/packages/osd-i18n/src/core/formats.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Default format options used for "en" locale. * These are used when constructing the internal Intl.NumberFormat diff --git a/packages/osd-i18n/src/core/helper.test.ts b/packages/osd-i18n/src/core/helper.test.ts index 0cedcd1ce911..de03d1792354 100644 --- a/packages/osd-i18n/src/core/helper.test.ts +++ b/packages/osd-i18n/src/core/helper.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { hasValues, isObject, isString, mergeAll, unique } from './helper'; describe('I18n helper', () => { diff --git a/packages/osd-i18n/src/core/helper.ts b/packages/osd-i18n/src/core/helper.ts index fdabe5b607d1..528465e5397f 100644 --- a/packages/osd-i18n/src/core/helper.ts +++ b/packages/osd-i18n/src/core/helper.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const isString = (value: any): value is string => typeof value === 'string'; export const isObject = (value: any): value is object => diff --git a/packages/osd-i18n/src/core/i18n.test.ts b/packages/osd-i18n/src/core/i18n.test.ts index 83a6896cb7cc..0ee114c78c95 100644 --- a/packages/osd-i18n/src/core/i18n.test.ts +++ b/packages/osd-i18n/src/core/i18n.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable @typescript-eslint/no-var-requires */ import * as i18nModule from './i18n'; diff --git a/packages/osd-i18n/src/core/i18n.ts b/packages/osd-i18n/src/core/i18n.ts index 31d06038b3fc..3268fae5079f 100644 --- a/packages/osd-i18n/src/core/i18n.ts +++ b/packages/osd-i18n/src/core/i18n.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import memoizeIntlConstructor from 'intl-format-cache'; import IntlMessageFormat from 'intl-messageformat'; import IntlRelativeFormat from 'intl-relativeformat'; diff --git a/packages/osd-i18n/src/core/index.ts b/packages/osd-i18n/src/core/index.ts index 3eb1f750a7fc..fe0619fa1e9f 100644 --- a/packages/osd-i18n/src/core/index.ts +++ b/packages/osd-i18n/src/core/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { formats } from './formats'; export * from './i18n'; diff --git a/packages/osd-i18n/src/core/locales.js b/packages/osd-i18n/src/core/locales.js index 1af06b2f9eea..f4ae7aa734a1 100644 --- a/packages/osd-i18n/src/core/locales.js +++ b/packages/osd-i18n/src/core/locales.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ // Copied from https://github.com/yahoo/intl-relativeformat/tree/master/dist/locale-data diff --git a/packages/osd-i18n/src/core/pseudo_locale.test.ts b/packages/osd-i18n/src/core/pseudo_locale.test.ts index c3c8bc0ae1d6..9825a7990261 100644 --- a/packages/osd-i18n/src/core/pseudo_locale.test.ts +++ b/packages/osd-i18n/src/core/pseudo_locale.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { translateUsingPseudoLocale } from './pseudo_locale'; describe('translateUsingPseudoLocale()', () => { diff --git a/packages/osd-i18n/src/core/pseudo_locale.ts b/packages/osd-i18n/src/core/pseudo_locale.ts index ca688eb78a85..02affa92c447 100644 --- a/packages/osd-i18n/src/core/pseudo_locale.ts +++ b/packages/osd-i18n/src/core/pseudo_locale.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Matches every single [A-Za-z] character, ``, `](markdown-link-address)` and `@I18N@valid_variable_name@I18N@` */ diff --git a/packages/osd-i18n/src/index.ts b/packages/osd-i18n/src/index.ts index 92efcfefaa7e..5cae4b6a3230 100644 --- a/packages/osd-i18n/src/index.ts +++ b/packages/osd-i18n/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as i18nCore from './core'; import * as loader from './loader'; diff --git a/packages/osd-i18n/src/loader.test.ts b/packages/osd-i18n/src/loader.test.ts index 2a7f1bc426af..afb93a690fa5 100644 --- a/packages/osd-i18n/src/loader.test.ts +++ b/packages/osd-i18n/src/loader.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { join } from 'path'; describe('I18n loader', () => { diff --git a/packages/osd-i18n/src/loader.ts b/packages/osd-i18n/src/loader.ts index bfa89b271d48..c5fec0168e9f 100644 --- a/packages/osd-i18n/src/loader.ts +++ b/packages/osd-i18n/src/loader.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as fs from 'fs'; import * as path from 'path'; import { promisify } from 'util'; diff --git a/packages/osd-i18n/src/react/index.tsx b/packages/osd-i18n/src/react/index.tsx index e40208519637..ca6a93f0cd25 100644 --- a/packages/osd-i18n/src/react/index.tsx +++ b/packages/osd-i18n/src/react/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { InjectedIntl as _InjectedIntl, InjectedIntlProps as _InjectedIntlProps } from 'react-intl'; export type InjectedIntl = _InjectedIntl; diff --git a/packages/osd-i18n/src/react/inject.tsx b/packages/osd-i18n/src/react/inject.tsx index 31550b63a5bc..b3bccd7f8e80 100644 --- a/packages/osd-i18n/src/react/inject.tsx +++ b/packages/osd-i18n/src/react/inject.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Higher-Order Component is used for injecting intl prop into wrapped * component and encapsulate direct work with React context. diff --git a/packages/osd-i18n/src/react/provider.test.tsx b/packages/osd-i18n/src/react/provider.test.tsx index e051a73ad89f..7319841c7f9d 100644 --- a/packages/osd-i18n/src/react/provider.test.tsx +++ b/packages/osd-i18n/src/react/provider.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mount, shallow } from 'enzyme'; import * as React from 'react'; import { injectI18n } from './inject'; diff --git a/packages/osd-i18n/src/react/provider.tsx b/packages/osd-i18n/src/react/provider.tsx index 9aa806ecba1c..a50bdbfe5406 100644 --- a/packages/osd-i18n/src/react/provider.tsx +++ b/packages/osd-i18n/src/react/provider.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as PropTypes from 'prop-types'; import * as React from 'react'; import { IntlProvider } from 'react-intl'; diff --git a/packages/osd-i18n/src/react/pseudo_locale_wrapper.tsx b/packages/osd-i18n/src/react/pseudo_locale_wrapper.tsx index 7ffaffa14f12..42e4e3beada1 100644 --- a/packages/osd-i18n/src/react/pseudo_locale_wrapper.tsx +++ b/packages/osd-i18n/src/react/pseudo_locale_wrapper.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as PropTypes from 'prop-types'; import * as React from 'react'; import * as i18n from '../core'; diff --git a/packages/osd-i18n/src/translation.ts b/packages/osd-i18n/src/translation.ts index 360da1bc5b2d..bb1fe4016bf1 100644 --- a/packages/osd-i18n/src/translation.ts +++ b/packages/osd-i18n/src/translation.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Formats } from './core/formats'; export interface Translation { diff --git a/packages/osd-i18n/types/intl_format_cache.d.ts b/packages/osd-i18n/types/intl_format_cache.d.ts index 8148f2ec5843..ddc17c79ec83 100644 --- a/packages/osd-i18n/types/intl_format_cache.d.ts +++ b/packages/osd-i18n/types/intl_format_cache.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - declare module 'intl-format-cache' { import IntlMessageFormat from 'intl-messageformat'; diff --git a/packages/osd-i18n/types/intl_relativeformat.d.ts b/packages/osd-i18n/types/intl_relativeformat.d.ts index 887dc926b98f..065a63dbf3c4 100644 --- a/packages/osd-i18n/types/intl_relativeformat.d.ts +++ b/packages/osd-i18n/types/intl_relativeformat.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - declare module 'intl-relativeformat' { export let defaultLocale: string; } diff --git a/packages/osd-interpreter/scripts/build.js b/packages/osd-interpreter/scripts/build.js index 28689ee50c20..80de0f704f1e 100644 --- a/packages/osd-interpreter/scripts/build.js +++ b/packages/osd-interpreter/scripts/build.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../tasks/build/cli'); diff --git a/packages/osd-interpreter/src/common/index.d.ts b/packages/osd-interpreter/src/common/index.d.ts index 99c891ada62f..3f690f849c2b 100644 --- a/packages/osd-interpreter/src/common/index.d.ts +++ b/packages/osd-interpreter/src/common/index.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Registry } from './lib/registry'; export { fromExpression, toExpression, Ast, ExpressionFunctionAST } from './lib/ast'; diff --git a/packages/osd-interpreter/src/common/index.js b/packages/osd-interpreter/src/common/index.js index 58df45647eca..de4cc88e196c 100644 --- a/packages/osd-interpreter/src/common/index.js +++ b/packages/osd-interpreter/src/common/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { fromExpression, toExpression, safeElementFromExpression } from './lib/ast'; export { Fn } from './lib/fn'; export { getType } from './lib/get_type'; diff --git a/packages/osd-interpreter/src/common/lib/arg.js b/packages/osd-interpreter/src/common/lib/arg.js index ff3969ae1bd1..35ef1dbd06a2 100644 --- a/packages/osd-interpreter/src/common/lib/arg.js +++ b/packages/osd-interpreter/src/common/lib/arg.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { includes } from 'lodash'; export function Arg(config) { diff --git a/packages/osd-interpreter/src/common/lib/arg.test.js b/packages/osd-interpreter/src/common/lib/arg.test.js index d00d560a69cc..468899f75c33 100644 --- a/packages/osd-interpreter/src/common/lib/arg.test.js +++ b/packages/osd-interpreter/src/common/lib/arg.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Arg } from './arg'; describe('Arg', () => { diff --git a/packages/osd-interpreter/src/common/lib/ast.d.ts b/packages/osd-interpreter/src/common/lib/ast.d.ts index cf840ebe2938..272cfae98ecc 100644 --- a/packages/osd-interpreter/src/common/lib/ast.d.ts +++ b/packages/osd-interpreter/src/common/lib/ast.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export type ExpressionArgAST = string | boolean | number | Ast; export interface ExpressionFunctionAST { diff --git a/packages/osd-interpreter/src/common/lib/ast.from_expression.test.js b/packages/osd-interpreter/src/common/lib/ast.from_expression.test.js index 5e14b8310239..e0bb3242d233 100644 --- a/packages/osd-interpreter/src/common/lib/ast.from_expression.test.js +++ b/packages/osd-interpreter/src/common/lib/ast.from_expression.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fromExpression } from './ast'; import { getType } from './get_type'; diff --git a/packages/osd-interpreter/src/common/lib/ast.js b/packages/osd-interpreter/src/common/lib/ast.js index 5022f3cfd536..43f35bbfd163 100644 --- a/packages/osd-interpreter/src/common/lib/ast.js +++ b/packages/osd-interpreter/src/common/lib/ast.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getType } from './get_type'; import { parse } from './grammar'; diff --git a/packages/osd-interpreter/src/common/lib/ast.to_expression.test.js b/packages/osd-interpreter/src/common/lib/ast.to_expression.test.js index 98534cb80e00..04c80df979e1 100644 --- a/packages/osd-interpreter/src/common/lib/ast.to_expression.test.js +++ b/packages/osd-interpreter/src/common/lib/ast.to_expression.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { toExpression } from './ast'; describe('ast toExpression', () => { diff --git a/packages/osd-interpreter/src/common/lib/cast.js b/packages/osd-interpreter/src/common/lib/cast.js index 9f236f572c9d..b4acdceaceaa 100644 --- a/packages/osd-interpreter/src/common/lib/cast.js +++ b/packages/osd-interpreter/src/common/lib/cast.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getType } from '../lib/get_type'; export function castProvider(types) { diff --git a/packages/osd-interpreter/src/common/lib/fn.js b/packages/osd-interpreter/src/common/lib/fn.js index 161a2f1ba6ac..377b4612b81f 100644 --- a/packages/osd-interpreter/src/common/lib/fn.js +++ b/packages/osd-interpreter/src/common/lib/fn.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapValues, includes } from 'lodash'; import { Arg } from './arg'; diff --git a/packages/osd-interpreter/src/common/lib/get_by_alias.js b/packages/osd-interpreter/src/common/lib/get_by_alias.js index e84f6d641a79..63c44228e44d 100644 --- a/packages/osd-interpreter/src/common/lib/get_by_alias.js +++ b/packages/osd-interpreter/src/common/lib/get_by_alias.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * This is used for looking up function/argument definitions. It looks through * the given object/array for a case-insensitive match, which could be either the diff --git a/packages/osd-interpreter/src/common/lib/get_by_alias.test.js b/packages/osd-interpreter/src/common/lib/get_by_alias.test.js index 47b6e2791b3a..1aa07ebcc7b0 100644 --- a/packages/osd-interpreter/src/common/lib/get_by_alias.test.js +++ b/packages/osd-interpreter/src/common/lib/get_by_alias.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getByAlias } from './get_by_alias'; describe('getByAlias', () => { diff --git a/packages/osd-interpreter/src/common/lib/get_type.d.ts b/packages/osd-interpreter/src/common/lib/get_type.d.ts index cf137ce11ae0..17e199c3e790 100644 --- a/packages/osd-interpreter/src/common/lib/get_type.d.ts +++ b/packages/osd-interpreter/src/common/lib/get_type.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export declare function getType(node: any): string; diff --git a/packages/osd-interpreter/src/common/lib/get_type.js b/packages/osd-interpreter/src/common/lib/get_type.js index 46083c89895b..34e65fe1747a 100644 --- a/packages/osd-interpreter/src/common/lib/get_type.js +++ b/packages/osd-interpreter/src/common/lib/get_type.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function getType(node) { if (node == null) return 'null'; if (typeof node === 'object') { diff --git a/packages/osd-interpreter/src/common/lib/grammar.js b/packages/osd-interpreter/src/common/lib/grammar.js index cc3caa4b3bbc..bf4a7e34cca6 100644 --- a/packages/osd-interpreter/src/common/lib/grammar.js +++ b/packages/osd-interpreter/src/common/lib/grammar.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* * Generated by PEG.js 0.10.0. * diff --git a/packages/osd-interpreter/src/common/lib/registry.d.ts b/packages/osd-interpreter/src/common/lib/registry.d.ts index 23bf0428f12d..d3bd0080d05b 100644 --- a/packages/osd-interpreter/src/common/lib/registry.d.ts +++ b/packages/osd-interpreter/src/common/lib/registry.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export class Registry { constructor(prop?: string); diff --git a/packages/osd-interpreter/src/common/lib/registry.js b/packages/osd-interpreter/src/common/lib/registry.js index fc26d446903f..1e7cd59e3918 100644 --- a/packages/osd-interpreter/src/common/lib/registry.js +++ b/packages/osd-interpreter/src/common/lib/registry.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { clone } from 'lodash'; export class Registry { diff --git a/packages/osd-interpreter/src/common/lib/registry.test.js b/packages/osd-interpreter/src/common/lib/registry.test.js index bae58db8e04b..3b9a91d16a50 100644 --- a/packages/osd-interpreter/src/common/lib/registry.test.js +++ b/packages/osd-interpreter/src/common/lib/registry.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Registry } from './registry'; function validateRegistry(registry, elements) { diff --git a/packages/osd-interpreter/src/common/registries.js b/packages/osd-interpreter/src/common/registries.js index 9620b2f28e96..1266b3fd66fe 100644 --- a/packages/osd-interpreter/src/common/registries.js +++ b/packages/osd-interpreter/src/common/registries.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Add a new set of registries to an existing set of registries. * diff --git a/packages/osd-interpreter/tasks/build/__fixtures__/sample.js b/packages/osd-interpreter/tasks/build/__fixtures__/sample.js index f831545743f1..793dda65fad4 100644 --- a/packages/osd-interpreter/tasks/build/__fixtures__/sample.js +++ b/packages/osd-interpreter/tasks/build/__fixtures__/sample.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ import util from 'util'; console.log(util.format('hello world')); diff --git a/packages/osd-interpreter/tasks/build/cli.js b/packages/osd-interpreter/tasks/build/cli.js index 96af224d8b93..b6fb9c238021 100644 --- a/packages/osd-interpreter/tasks/build/cli.js +++ b/packages/osd-interpreter/tasks/build/cli.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { relative } = require('path'); const getopts = require('getopts'); diff --git a/packages/osd-interpreter/tasks/build/paths.js b/packages/osd-interpreter/tasks/build/paths.js index e9d191d21146..90e8577ebfe3 100644 --- a/packages/osd-interpreter/tasks/build/paths.js +++ b/packages/osd-interpreter/tasks/build/paths.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { resolve } = require('path'); exports.ROOT_DIR = resolve(__dirname, '../../'); diff --git a/packages/osd-logging/src/appenders.ts b/packages/osd-logging/src/appenders.ts index dca0316a8e72..c1b297c1c4fc 100644 --- a/packages/osd-logging/src/appenders.ts +++ b/packages/osd-logging/src/appenders.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LogRecord } from './log_record'; /** diff --git a/packages/osd-logging/src/index.ts b/packages/osd-logging/src/index.ts index 9376f79cc105..7b5b7ae6dc11 100644 --- a/packages/osd-logging/src/index.ts +++ b/packages/osd-logging/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { LogLevel, LogLevelId } from './log_level'; export { LogRecord } from './log_record'; export { Logger, LogMeta } from './logger'; diff --git a/packages/osd-logging/src/layout.ts b/packages/osd-logging/src/layout.ts index bf4b7b61abae..c9e708ac7496 100644 --- a/packages/osd-logging/src/layout.ts +++ b/packages/osd-logging/src/layout.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LogRecord } from './log_record'; /** diff --git a/packages/osd-logging/src/log_level.test.ts b/packages/osd-logging/src/log_level.test.ts index 318c91dbca14..e3838560e444 100644 --- a/packages/osd-logging/src/log_level.test.ts +++ b/packages/osd-logging/src/log_level.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LogLevel } from './log_level'; const allLogLevels = [ diff --git a/packages/osd-logging/src/log_level.ts b/packages/osd-logging/src/log_level.ts index caec708b519d..25cf7976663b 100644 --- a/packages/osd-logging/src/log_level.ts +++ b/packages/osd-logging/src/log_level.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { assertNever } from '@osd/std'; /** diff --git a/packages/osd-logging/src/log_record.ts b/packages/osd-logging/src/log_record.ts index 3980ce337ced..f35a5ec93f8d 100644 --- a/packages/osd-logging/src/log_record.ts +++ b/packages/osd-logging/src/log_record.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LogLevel } from './log_level'; /** diff --git a/packages/osd-logging/src/logger.ts b/packages/osd-logging/src/logger.ts index 00a9846f00b0..f845def3aea0 100644 --- a/packages/osd-logging/src/logger.ts +++ b/packages/osd-logging/src/logger.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LogRecord } from './log_record'; /** diff --git a/packages/osd-logging/src/logger_factory.ts b/packages/osd-logging/src/logger_factory.ts index 0322e2c537aa..aae3dedd26ab 100644 --- a/packages/osd-logging/src/logger_factory.ts +++ b/packages/osd-logging/src/logger_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Logger } from './logger'; /** diff --git a/packages/osd-logging/src/mocks/index.ts b/packages/osd-logging/src/mocks/index.ts index 68ea179fe4c0..5160ccc511dc 100644 --- a/packages/osd-logging/src/mocks/index.ts +++ b/packages/osd-logging/src/mocks/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { MockedLogger, loggerMock } from './logger.mock'; diff --git a/packages/osd-logging/src/mocks/logger.mock.ts b/packages/osd-logging/src/mocks/logger.mock.ts index 7c648ed069b1..cef370ab483e 100644 --- a/packages/osd-logging/src/mocks/logger.mock.ts +++ b/packages/osd-logging/src/mocks/logger.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Logger } from '../logger'; export type MockedLogger = jest.Mocked & { context: string[] }; diff --git a/packages/osd-monaco/scripts/build.js b/packages/osd-monaco/scripts/build.js index a4044f0c4295..a245952cea88 100644 --- a/packages/osd-monaco/scripts/build.js +++ b/packages/osd-monaco/scripts/build.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const path = require('path'); const del = require('del'); const supportsColor = require('supports-color'); diff --git a/packages/osd-monaco/src/index.ts b/packages/osd-monaco/src/index.ts index f00f920be17c..440d62de0f1a 100644 --- a/packages/osd-monaco/src/index.ts +++ b/packages/osd-monaco/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { monaco } from './monaco'; export { XJsonLang } from './xjson'; diff --git a/packages/osd-monaco/src/monaco.ts b/packages/osd-monaco/src/monaco.ts index 9b9a15a3332f..fcb4e972e908 100644 --- a/packages/osd-monaco/src/monaco.ts +++ b/packages/osd-monaco/src/monaco.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable @osd/eslint/module_migration */ import * as monaco from 'monaco-editor/esm/vs/editor/editor.api'; diff --git a/packages/osd-monaco/src/xjson/constants.ts b/packages/osd-monaco/src/xjson/constants.ts index b0bb0d54d272..06a6e22c3ccb 100644 --- a/packages/osd-monaco/src/xjson/constants.ts +++ b/packages/osd-monaco/src/xjson/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const ID = 'xjson'; diff --git a/packages/osd-monaco/src/xjson/grammar.ts b/packages/osd-monaco/src/xjson/grammar.ts index 481351e2f0d0..dba2367acd7a 100644 --- a/packages/osd-monaco/src/xjson/grammar.ts +++ b/packages/osd-monaco/src/xjson/grammar.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export enum AnnoTypes { error = 'error', warning = 'warning', diff --git a/packages/osd-monaco/src/xjson/index.ts b/packages/osd-monaco/src/xjson/index.ts index f0d90a6749d3..20d699282d34 100644 --- a/packages/osd-monaco/src/xjson/index.ts +++ b/packages/osd-monaco/src/xjson/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * This import registers the XJSON monaco language contribution */ diff --git a/packages/osd-monaco/src/xjson/language.ts b/packages/osd-monaco/src/xjson/language.ts index a1e6c9c3b161..084ecb84283d 100644 --- a/packages/osd-monaco/src/xjson/language.ts +++ b/packages/osd-monaco/src/xjson/language.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // This file contains a lot of single setup logic for registering a language globally import { monaco } from '../monaco'; diff --git a/packages/osd-monaco/src/xjson/lexer_rules/index.ts b/packages/osd-monaco/src/xjson/lexer_rules/index.ts index 11e48942b199..b0ed41a63801 100644 --- a/packages/osd-monaco/src/xjson/lexer_rules/index.ts +++ b/packages/osd-monaco/src/xjson/lexer_rules/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable-next-line @osd/eslint/module_migration */ import * as monaco from 'monaco-editor/esm/vs/editor/editor.api'; import * as xJson from './xjson'; diff --git a/packages/osd-monaco/src/xjson/lexer_rules/opensearchql.ts b/packages/osd-monaco/src/xjson/lexer_rules/opensearchql.ts index 77be2e5a1449..97aef3703c25 100644 --- a/packages/osd-monaco/src/xjson/lexer_rules/opensearchql.ts +++ b/packages/osd-monaco/src/xjson/lexer_rules/opensearchql.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { monaco } from '../../monaco'; export const ID = 'opensearchql'; diff --git a/packages/osd-monaco/src/xjson/lexer_rules/painless.ts b/packages/osd-monaco/src/xjson/lexer_rules/painless.ts index be3be1eef045..61b13b171f35 100644 --- a/packages/osd-monaco/src/xjson/lexer_rules/painless.ts +++ b/packages/osd-monaco/src/xjson/lexer_rules/painless.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { monaco } from '../../monaco'; export const ID = 'painless'; diff --git a/packages/osd-monaco/src/xjson/lexer_rules/shared.ts b/packages/osd-monaco/src/xjson/lexer_rules/shared.ts index 41bdcfe05a3c..05b192cb1321 100644 --- a/packages/osd-monaco/src/xjson/lexer_rules/shared.ts +++ b/packages/osd-monaco/src/xjson/lexer_rules/shared.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const globals = { escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/, }; diff --git a/packages/osd-monaco/src/xjson/lexer_rules/xjson.ts b/packages/osd-monaco/src/xjson/lexer_rules/xjson.ts index d737c4e6b5d2..c3cbf79cf0f6 100644 --- a/packages/osd-monaco/src/xjson/lexer_rules/xjson.ts +++ b/packages/osd-monaco/src/xjson/lexer_rules/xjson.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { monaco } from '../../monaco'; import { ID } from '../constants'; import './painless'; diff --git a/packages/osd-monaco/src/xjson/worker/index.ts b/packages/osd-monaco/src/xjson/worker/index.ts index 08da52be2b78..8ee066a8fa88 100644 --- a/packages/osd-monaco/src/xjson/worker/index.ts +++ b/packages/osd-monaco/src/xjson/worker/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { XJsonWorker } from './xjson_worker'; diff --git a/packages/osd-monaco/src/xjson/worker/xjson.worker.ts b/packages/osd-monaco/src/xjson/worker/xjson.worker.ts index d4782f20daa7..d4f2c64a9efb 100644 --- a/packages/osd-monaco/src/xjson/worker/xjson.worker.ts +++ b/packages/osd-monaco/src/xjson/worker/xjson.worker.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // Please note: this module is intended to be run inside of a webworker. /* eslint-disable @osd/eslint/module_migration */ diff --git a/packages/osd-monaco/src/xjson/worker/xjson_worker.ts b/packages/osd-monaco/src/xjson/worker/xjson_worker.ts index 858b36a1210c..27d296b4fd1c 100644 --- a/packages/osd-monaco/src/xjson/worker/xjson_worker.ts +++ b/packages/osd-monaco/src/xjson/worker/xjson_worker.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable-next-line @osd/eslint/module_migration */ import * as monaco from 'monaco-editor/esm/vs/editor/editor.api'; import { createParser, Parser, ParseResult } from '../grammar'; diff --git a/packages/osd-monaco/src/xjson/worker_proxy_service.ts b/packages/osd-monaco/src/xjson/worker_proxy_service.ts index 7fa99be2cc65..c3733aa9d20d 100644 --- a/packages/osd-monaco/src/xjson/worker_proxy_service.ts +++ b/packages/osd-monaco/src/xjson/worker_proxy_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ParseResult } from './grammar'; import { monaco } from '../monaco'; import { XJsonWorker } from './worker'; diff --git a/packages/osd-monaco/webpack.config.js b/packages/osd-monaco/webpack.config.js index 166466c9c33a..696837d9a6f0 100644 --- a/packages/osd-monaco/webpack.config.js +++ b/packages/osd-monaco/webpack.config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const path = require('path'); const createLangWorkerConfig = (lang) => ({ diff --git a/packages/osd-opensearch-archiver/src/actions/edit.ts b/packages/osd-opensearch-archiver/src/actions/edit.ts index 4dcf75e499b7..befa6e37d194 100644 --- a/packages/osd-opensearch-archiver/src/actions/edit.ts +++ b/packages/osd-opensearch-archiver/src/actions/edit.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve, relative } from 'path'; import Fs from 'fs'; import { createGunzip, createGzip, Z_BEST_COMPRESSION } from 'zlib'; diff --git a/packages/osd-opensearch-archiver/src/actions/empty_opensearch_dashboards_index.ts b/packages/osd-opensearch-archiver/src/actions/empty_opensearch_dashboards_index.ts index 4d596f33d26f..e0b23ac8088f 100644 --- a/packages/osd-opensearch-archiver/src/actions/empty_opensearch_dashboards_index.ts +++ b/packages/osd-opensearch-archiver/src/actions/empty_opensearch_dashboards_index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Client } from 'elasticsearch'; import { ToolingLog, OsdClient } from '@osd/dev-utils'; diff --git a/packages/osd-opensearch-archiver/src/actions/index.ts b/packages/osd-opensearch-archiver/src/actions/index.ts index 84b698f9f670..9ceca166ecdc 100644 --- a/packages/osd-opensearch-archiver/src/actions/index.ts +++ b/packages/osd-opensearch-archiver/src/actions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { saveAction } from './save'; export { loadAction } from './load'; export { unloadAction } from './unload'; diff --git a/packages/osd-opensearch-archiver/src/actions/load.ts b/packages/osd-opensearch-archiver/src/actions/load.ts index 613b1fb6236b..f513d049dbd1 100644 --- a/packages/osd-opensearch-archiver/src/actions/load.ts +++ b/packages/osd-opensearch-archiver/src/actions/load.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { createReadStream } from 'fs'; import { Readable } from 'stream'; diff --git a/packages/osd-opensearch-archiver/src/actions/rebuild_all.ts b/packages/osd-opensearch-archiver/src/actions/rebuild_all.ts index 528fd6049e04..9b9cb6c9e7a5 100644 --- a/packages/osd-opensearch-archiver/src/actions/rebuild_all.ts +++ b/packages/osd-opensearch-archiver/src/actions/rebuild_all.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve, dirname, relative } from 'path'; import { stat, Stats, rename, createReadStream, createWriteStream } from 'fs'; import { Readable, Writable } from 'stream'; diff --git a/packages/osd-opensearch-archiver/src/actions/save.ts b/packages/osd-opensearch-archiver/src/actions/save.ts index e1b2853e56bb..46f2103f8f51 100644 --- a/packages/osd-opensearch-archiver/src/actions/save.ts +++ b/packages/osd-opensearch-archiver/src/actions/save.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { createWriteStream, mkdirSync } from 'fs'; import { Readable, Writable } from 'stream'; diff --git a/packages/osd-opensearch-archiver/src/actions/unload.ts b/packages/osd-opensearch-archiver/src/actions/unload.ts index 46c7a4e25f97..3e2bb4c8535d 100644 --- a/packages/osd-opensearch-archiver/src/actions/unload.ts +++ b/packages/osd-opensearch-archiver/src/actions/unload.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { createReadStream } from 'fs'; import { Readable, Writable } from 'stream'; diff --git a/packages/osd-opensearch-archiver/src/cli.ts b/packages/osd-opensearch-archiver/src/cli.ts index a1cdcb92f6dd..39dbbb264cd7 100644 --- a/packages/osd-opensearch-archiver/src/cli.ts +++ b/packages/osd-opensearch-archiver/src/cli.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** *********************************************************** * * Run `node scripts/opensearch_archiver --help` for usage information diff --git a/packages/osd-opensearch-archiver/src/index.ts b/packages/osd-opensearch-archiver/src/index.ts index 6aaf601c82d2..23ba58ff8283 100644 --- a/packages/osd-opensearch-archiver/src/index.ts +++ b/packages/osd-opensearch-archiver/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { OpenSearchArchiver } from './opensearch_archiver'; export * from './cli'; diff --git a/packages/osd-opensearch-archiver/src/lib/__tests__/stats.ts b/packages/osd-opensearch-archiver/src/lib/__tests__/stats.ts index eed163eb5a72..a622599b205c 100644 --- a/packages/osd-opensearch-archiver/src/lib/__tests__/stats.ts +++ b/packages/osd-opensearch-archiver/src/lib/__tests__/stats.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { uniq } from 'lodash'; import sinon from 'sinon'; import expect from '@osd/expect'; diff --git a/packages/osd-opensearch-archiver/src/lib/archives/__tests__/format.ts b/packages/osd-opensearch-archiver/src/lib/archives/__tests__/format.ts index 34bec689b166..3c9f62b10e59 100644 --- a/packages/osd-opensearch-archiver/src/lib/archives/__tests__/format.ts +++ b/packages/osd-opensearch-archiver/src/lib/archives/__tests__/format.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Stream, { Readable, Writable } from 'stream'; import { createGunzip } from 'zlib'; diff --git a/packages/osd-opensearch-archiver/src/lib/archives/__tests__/parse.ts b/packages/osd-opensearch-archiver/src/lib/archives/__tests__/parse.ts index 58abb84ec13c..bdcd9d0cd908 100644 --- a/packages/osd-opensearch-archiver/src/lib/archives/__tests__/parse.ts +++ b/packages/osd-opensearch-archiver/src/lib/archives/__tests__/parse.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Stream, { PassThrough, Readable, Writable, Transform } from 'stream'; import { createGzip } from 'zlib'; diff --git a/packages/osd-opensearch-archiver/src/lib/archives/constants.ts b/packages/osd-opensearch-archiver/src/lib/archives/constants.ts index 1aa1c1369826..9c789299f578 100644 --- a/packages/osd-opensearch-archiver/src/lib/archives/constants.ts +++ b/packages/osd-opensearch-archiver/src/lib/archives/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const RECORD_SEPARATOR = '\n\n'; diff --git a/packages/osd-opensearch-archiver/src/lib/archives/filenames.ts b/packages/osd-opensearch-archiver/src/lib/archives/filenames.ts index 122621df11b1..32a5693ec126 100644 --- a/packages/osd-opensearch-archiver/src/lib/archives/filenames.ts +++ b/packages/osd-opensearch-archiver/src/lib/archives/filenames.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { basename, extname } from 'path'; export function isGzip(path: string) { diff --git a/packages/osd-opensearch-archiver/src/lib/archives/format.ts b/packages/osd-opensearch-archiver/src/lib/archives/format.ts index ac9dc620f703..922371392254 100644 --- a/packages/osd-opensearch-archiver/src/lib/archives/format.ts +++ b/packages/osd-opensearch-archiver/src/lib/archives/format.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createGzip, Z_BEST_COMPRESSION } from 'zlib'; import { PassThrough } from 'stream'; import stringify from 'json-stable-stringify'; diff --git a/packages/osd-opensearch-archiver/src/lib/archives/index.ts b/packages/osd-opensearch-archiver/src/lib/archives/index.ts index 696542b0aaa4..3df602b1930a 100644 --- a/packages/osd-opensearch-archiver/src/lib/archives/index.ts +++ b/packages/osd-opensearch-archiver/src/lib/archives/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { isGzip, prioritizeMappings } from './filenames'; export { createParseArchiveStreams } from './parse'; export { createFormatArchiveStreams } from './format'; diff --git a/packages/osd-opensearch-archiver/src/lib/archives/parse.ts b/packages/osd-opensearch-archiver/src/lib/archives/parse.ts index 95d5662719df..54b5ea732f23 100644 --- a/packages/osd-opensearch-archiver/src/lib/archives/parse.ts +++ b/packages/osd-opensearch-archiver/src/lib/archives/parse.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createGunzip } from 'zlib'; import { PassThrough } from 'stream'; import { diff --git a/packages/osd-opensearch-archiver/src/lib/directory.ts b/packages/osd-opensearch-archiver/src/lib/directory.ts index dfd584384780..e4880b538e77 100644 --- a/packages/osd-opensearch-archiver/src/lib/directory.ts +++ b/packages/osd-opensearch-archiver/src/lib/directory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { readdir } from 'fs'; import { fromNode } from 'bluebird'; diff --git a/packages/osd-opensearch-archiver/src/lib/docs/__tests__/generate_doc_records_stream.ts b/packages/osd-opensearch-archiver/src/lib/docs/__tests__/generate_doc_records_stream.ts index 23e9856e828c..49e8a7cbeea2 100644 --- a/packages/osd-opensearch-archiver/src/lib/docs/__tests__/generate_doc_records_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/docs/__tests__/generate_doc_records_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon from 'sinon'; import expect from '@osd/expect'; import { delay } from 'bluebird'; diff --git a/packages/osd-opensearch-archiver/src/lib/docs/__tests__/index_doc_records_stream.ts b/packages/osd-opensearch-archiver/src/lib/docs/__tests__/index_doc_records_stream.ts index 4003c19cd214..481a7ef02614 100644 --- a/packages/osd-opensearch-archiver/src/lib/docs/__tests__/index_doc_records_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/docs/__tests__/index_doc_records_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { delay } from 'bluebird'; diff --git a/packages/osd-opensearch-archiver/src/lib/docs/__tests__/stubs.ts b/packages/osd-opensearch-archiver/src/lib/docs/__tests__/stubs.ts index 61e036dfd844..c5a64a8bd28d 100644 --- a/packages/osd-opensearch-archiver/src/lib/docs/__tests__/stubs.ts +++ b/packages/osd-opensearch-archiver/src/lib/docs/__tests__/stubs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Client } from 'elasticsearch'; import sinon from 'sinon'; import Chance from 'chance'; diff --git a/packages/osd-opensearch-archiver/src/lib/docs/generate_doc_records_stream.ts b/packages/osd-opensearch-archiver/src/lib/docs/generate_doc_records_stream.ts index 47c8fb32f99a..6949e2b4d4ff 100644 --- a/packages/osd-opensearch-archiver/src/lib/docs/generate_doc_records_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/docs/generate_doc_records_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; import { Client, SearchParams, SearchResponse } from 'elasticsearch'; import { Stats } from '../stats'; diff --git a/packages/osd-opensearch-archiver/src/lib/docs/index.ts b/packages/osd-opensearch-archiver/src/lib/docs/index.ts index 8a3f0ebe6bd1..d634f197296a 100644 --- a/packages/osd-opensearch-archiver/src/lib/docs/index.ts +++ b/packages/osd-opensearch-archiver/src/lib/docs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createIndexDocRecordsStream } from './index_doc_records_stream'; export { createGenerateDocRecordsStream } from './generate_doc_records_stream'; diff --git a/packages/osd-opensearch-archiver/src/lib/docs/index_doc_records_stream.ts b/packages/osd-opensearch-archiver/src/lib/docs/index_doc_records_stream.ts index 5ad7c21c6cfd..d1ba68f7bf05 100644 --- a/packages/osd-opensearch-archiver/src/lib/docs/index_doc_records_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/docs/index_doc_records_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Client } from 'elasticsearch'; import { Writable } from 'stream'; import { Stats } from '../stats'; diff --git a/packages/osd-opensearch-archiver/src/lib/index.ts b/packages/osd-opensearch-archiver/src/lib/index.ts index 2ddc0a6588d1..02f95b72d120 100644 --- a/packages/osd-opensearch-archiver/src/lib/index.ts +++ b/packages/osd-opensearch-archiver/src/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createIndexDocRecordsStream, createGenerateDocRecordsStream } from './docs'; export { diff --git a/packages/osd-opensearch-archiver/src/lib/indices/__tests__/create_index_stream.ts b/packages/osd-opensearch-archiver/src/lib/indices/__tests__/create_index_stream.ts index c8df769f5200..af6000860295 100644 --- a/packages/osd-opensearch-archiver/src/lib/indices/__tests__/create_index_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/indices/__tests__/create_index_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import sinon from 'sinon'; import Chance from 'chance'; diff --git a/packages/osd-opensearch-archiver/src/lib/indices/__tests__/delete_index_stream.ts b/packages/osd-opensearch-archiver/src/lib/indices/__tests__/delete_index_stream.ts index 11ef7630c1e6..a4148e8ed9bf 100644 --- a/packages/osd-opensearch-archiver/src/lib/indices/__tests__/delete_index_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/indices/__tests__/delete_index_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon from 'sinon'; import { createListStream, createPromiseFromStreams } from '../../streams'; diff --git a/packages/osd-opensearch-archiver/src/lib/indices/__tests__/generate_index_records_stream.ts b/packages/osd-opensearch-archiver/src/lib/indices/__tests__/generate_index_records_stream.ts index 3b06649a5225..360061fd1aa1 100644 --- a/packages/osd-opensearch-archiver/src/lib/indices/__tests__/generate_index_records_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/indices/__tests__/generate_index_records_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon from 'sinon'; import expect from '@osd/expect'; diff --git a/packages/osd-opensearch-archiver/src/lib/indices/__tests__/stubs.ts b/packages/osd-opensearch-archiver/src/lib/indices/__tests__/stubs.ts index 2d5613578151..10160ebc11f1 100644 --- a/packages/osd-opensearch-archiver/src/lib/indices/__tests__/stubs.ts +++ b/packages/osd-opensearch-archiver/src/lib/indices/__tests__/stubs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Client } from 'elasticsearch'; import sinon from 'sinon'; import { ToolingLog } from '@osd/dev-utils'; diff --git a/packages/osd-opensearch-archiver/src/lib/indices/create_index_stream.ts b/packages/osd-opensearch-archiver/src/lib/indices/create_index_stream.ts index a521fed1d935..6154f0382a96 100644 --- a/packages/osd-opensearch-archiver/src/lib/indices/create_index_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/indices/create_index_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform, Readable } from 'stream'; import { inspect } from 'util'; diff --git a/packages/osd-opensearch-archiver/src/lib/indices/delete_index.ts b/packages/osd-opensearch-archiver/src/lib/indices/delete_index.ts index f42beba2472d..ee8fe10d8d0b 100644 --- a/packages/osd-opensearch-archiver/src/lib/indices/delete_index.ts +++ b/packages/osd-opensearch-archiver/src/lib/indices/delete_index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { Client } from 'elasticsearch'; import { ToolingLog } from '@osd/dev-utils'; diff --git a/packages/osd-opensearch-archiver/src/lib/indices/delete_index_stream.ts b/packages/osd-opensearch-archiver/src/lib/indices/delete_index_stream.ts index c2a23a2cad38..b728aa35757b 100644 --- a/packages/osd-opensearch-archiver/src/lib/indices/delete_index_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/indices/delete_index_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; import { Client } from 'elasticsearch'; import { ToolingLog } from '@osd/dev-utils'; diff --git a/packages/osd-opensearch-archiver/src/lib/indices/generate_index_records_stream.ts b/packages/osd-opensearch-archiver/src/lib/indices/generate_index_records_stream.ts index 04eb2861cf0c..f682af3d8598 100644 --- a/packages/osd-opensearch-archiver/src/lib/indices/generate_index_records_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/indices/generate_index_records_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; import { Client } from 'elasticsearch'; import { Stats } from '../stats'; diff --git a/packages/osd-opensearch-archiver/src/lib/indices/index.ts b/packages/osd-opensearch-archiver/src/lib/indices/index.ts index 1af6443a1ae1..ca3c7e3374ae 100644 --- a/packages/osd-opensearch-archiver/src/lib/indices/index.ts +++ b/packages/osd-opensearch-archiver/src/lib/indices/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createCreateIndexStream } from './create_index_stream'; export { createDeleteIndexStream } from './delete_index_stream'; export { createGenerateIndexRecordsStream } from './generate_index_records_stream'; diff --git a/packages/osd-opensearch-archiver/src/lib/indices/opensearch_dashboards_index.ts b/packages/osd-opensearch-archiver/src/lib/indices/opensearch_dashboards_index.ts index 3b3cec96bc3d..aff69cd2682c 100644 --- a/packages/osd-opensearch-archiver/src/lib/indices/opensearch_dashboards_index.ts +++ b/packages/osd-opensearch-archiver/src/lib/indices/opensearch_dashboards_index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Client, CreateDocumentParams } from 'elasticsearch'; import { ToolingLog, OsdClient } from '@osd/dev-utils'; import { Stats } from '../stats'; diff --git a/packages/osd-opensearch-archiver/src/lib/progress.ts b/packages/osd-opensearch-archiver/src/lib/progress.ts index d965a03df66c..640d1913cf0d 100644 --- a/packages/osd-opensearch-archiver/src/lib/progress.ts +++ b/packages/osd-opensearch-archiver/src/lib/progress.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '@osd/dev-utils'; const SECOND = 1000; diff --git a/packages/osd-opensearch-archiver/src/lib/records/__tests__/filter_records_stream.ts b/packages/osd-opensearch-archiver/src/lib/records/__tests__/filter_records_stream.ts index 640d849b2898..f670cf466475 100644 --- a/packages/osd-opensearch-archiver/src/lib/records/__tests__/filter_records_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/records/__tests__/filter_records_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Chance from 'chance'; import expect from '@osd/expect'; diff --git a/packages/osd-opensearch-archiver/src/lib/records/filter_records_stream.ts b/packages/osd-opensearch-archiver/src/lib/records/filter_records_stream.ts index f4b177cdbd69..fe1dcba5b452 100644 --- a/packages/osd-opensearch-archiver/src/lib/records/filter_records_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/records/filter_records_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; export function createFilterRecordsStream(type: string) { diff --git a/packages/osd-opensearch-archiver/src/lib/records/index.ts b/packages/osd-opensearch-archiver/src/lib/records/index.ts index ccf78901bf38..066a6240e770 100644 --- a/packages/osd-opensearch-archiver/src/lib/records/index.ts +++ b/packages/osd-opensearch-archiver/src/lib/records/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createFilterRecordsStream } from './filter_records_stream'; diff --git a/packages/osd-opensearch-archiver/src/lib/stats.ts b/packages/osd-opensearch-archiver/src/lib/stats.ts index 982eac5dd01c..0c10d86a1568 100644 --- a/packages/osd-opensearch-archiver/src/lib/stats.ts +++ b/packages/osd-opensearch-archiver/src/lib/stats.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '@osd/dev-utils'; import { cloneDeep } from 'lodash'; diff --git a/packages/osd-opensearch-archiver/src/lib/streams/concat_stream.test.js b/packages/osd-opensearch-archiver/src/lib/streams/concat_stream.test.js index 958484777632..87610e312986 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/concat_stream.test.js +++ b/packages/osd-opensearch-archiver/src/lib/streams/concat_stream.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createListStream, createPromiseFromStreams, createConcatStream } from './'; describe('concatStream', () => { diff --git a/packages/osd-opensearch-archiver/src/lib/streams/concat_stream.ts b/packages/osd-opensearch-archiver/src/lib/streams/concat_stream.ts index 79dcf6afaba5..ffa229404e6c 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/concat_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/streams/concat_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createReduceStream } from './reduce_stream'; /** diff --git a/packages/osd-opensearch-archiver/src/lib/streams/concat_stream_providers.test.js b/packages/osd-opensearch-archiver/src/lib/streams/concat_stream_providers.test.js index 7350fc6752ab..168061f28c50 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/concat_stream_providers.test.js +++ b/packages/osd-opensearch-archiver/src/lib/streams/concat_stream_providers.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Readable } from 'stream'; import { concatStreamProviders } from './concat_stream_providers'; diff --git a/packages/osd-opensearch-archiver/src/lib/streams/concat_stream_providers.ts b/packages/osd-opensearch-archiver/src/lib/streams/concat_stream_providers.ts index 6cd8ed56a0bb..51db80d2bdd3 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/concat_stream_providers.ts +++ b/packages/osd-opensearch-archiver/src/lib/streams/concat_stream_providers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PassThrough, TransformOptions } from 'stream'; /** diff --git a/packages/osd-opensearch-archiver/src/lib/streams/filter_stream.test.ts b/packages/osd-opensearch-archiver/src/lib/streams/filter_stream.test.ts index 3f72a52e9fab..5a12b3512b7b 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/filter_stream.test.ts +++ b/packages/osd-opensearch-archiver/src/lib/streams/filter_stream.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createConcatStream, createFilterStream, diff --git a/packages/osd-opensearch-archiver/src/lib/streams/filter_stream.ts b/packages/osd-opensearch-archiver/src/lib/streams/filter_stream.ts index 5ad6c2591b06..4874de63dfe1 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/filter_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/streams/filter_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; export function createFilterStream(fn: (obj: T) => boolean) { diff --git a/packages/osd-opensearch-archiver/src/lib/streams/index.ts b/packages/osd-opensearch-archiver/src/lib/streams/index.ts index f8dfb135db23..513a141dad5d 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/index.ts +++ b/packages/osd-opensearch-archiver/src/lib/streams/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { concatStreamProviders } from './concat_stream_providers'; export { createIntersperseStream } from './intersperse_stream'; export { createSplitStream } from './split_stream'; diff --git a/packages/osd-opensearch-archiver/src/lib/streams/intersperse_stream.test.js b/packages/osd-opensearch-archiver/src/lib/streams/intersperse_stream.test.js index c83574a3559e..49bbf9093a76 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/intersperse_stream.test.js +++ b/packages/osd-opensearch-archiver/src/lib/streams/intersperse_stream.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createPromiseFromStreams, createListStream, diff --git a/packages/osd-opensearch-archiver/src/lib/streams/intersperse_stream.ts b/packages/osd-opensearch-archiver/src/lib/streams/intersperse_stream.ts index 3e04f23d7e89..50d86097fa72 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/intersperse_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/streams/intersperse_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; /** diff --git a/packages/osd-opensearch-archiver/src/lib/streams/list_stream.test.js b/packages/osd-opensearch-archiver/src/lib/streams/list_stream.test.js index e10a57c6947c..33beec0542a2 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/list_stream.test.js +++ b/packages/osd-opensearch-archiver/src/lib/streams/list_stream.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createListStream } from './'; describe('listStream', () => { diff --git a/packages/osd-opensearch-archiver/src/lib/streams/list_stream.ts b/packages/osd-opensearch-archiver/src/lib/streams/list_stream.ts index dffca35672ef..3614316ec39e 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/list_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/streams/list_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Readable } from 'stream'; /** diff --git a/packages/osd-opensearch-archiver/src/lib/streams/map_stream.test.js b/packages/osd-opensearch-archiver/src/lib/streams/map_stream.test.js index d96fd2050cd1..74df57872c56 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/map_stream.test.js +++ b/packages/osd-opensearch-archiver/src/lib/streams/map_stream.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { delay } from 'bluebird'; import { createPromiseFromStreams } from './promise_from_streams'; diff --git a/packages/osd-opensearch-archiver/src/lib/streams/map_stream.ts b/packages/osd-opensearch-archiver/src/lib/streams/map_stream.ts index 679e53af7b52..cbe0fbbe8bf8 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/map_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/streams/map_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; export function createMapStream(fn: (chunk: any, i: number) => T | Promise) { diff --git a/packages/osd-opensearch-archiver/src/lib/streams/promise_from_streams.test.js b/packages/osd-opensearch-archiver/src/lib/streams/promise_from_streams.test.js index cd0730c7be4a..a4dd583a2244 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/promise_from_streams.test.js +++ b/packages/osd-opensearch-archiver/src/lib/streams/promise_from_streams.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Readable, Writable, Duplex, Transform } from 'stream'; import { createListStream, createPromiseFromStreams, createReduceStream } from './'; diff --git a/packages/osd-opensearch-archiver/src/lib/streams/promise_from_streams.ts b/packages/osd-opensearch-archiver/src/lib/streams/promise_from_streams.ts index 3709da6c8fd0..8c2de0c4114e 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/promise_from_streams.ts +++ b/packages/osd-opensearch-archiver/src/lib/streams/promise_from_streams.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Take an array of streams, pipe the output * from each one into the next, listening for diff --git a/packages/osd-opensearch-archiver/src/lib/streams/reduce_stream.test.js b/packages/osd-opensearch-archiver/src/lib/streams/reduce_stream.test.js index cca405df85e1..1539b9e035bb 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/reduce_stream.test.js +++ b/packages/osd-opensearch-archiver/src/lib/streams/reduce_stream.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createReduceStream, createPromiseFromStreams, createListStream } from './'; const promiseFromEvent = (name, emitter) => diff --git a/packages/osd-opensearch-archiver/src/lib/streams/reduce_stream.ts b/packages/osd-opensearch-archiver/src/lib/streams/reduce_stream.ts index 4ff5b2bedfd4..486018ee024d 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/reduce_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/streams/reduce_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; /** diff --git a/packages/osd-opensearch-archiver/src/lib/streams/replace_stream.test.js b/packages/osd-opensearch-archiver/src/lib/streams/replace_stream.test.js index 52eb4cb3e578..a1fa4e0e9af1 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/replace_stream.test.js +++ b/packages/osd-opensearch-archiver/src/lib/streams/replace_stream.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createReplaceStream, createConcatStream, diff --git a/packages/osd-opensearch-archiver/src/lib/streams/replace_stream.ts b/packages/osd-opensearch-archiver/src/lib/streams/replace_stream.ts index 8caf39933bc0..ab3f0c87adb6 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/replace_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/streams/replace_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; export function createReplaceStream(toReplace: string, replacement: string) { diff --git a/packages/osd-opensearch-archiver/src/lib/streams/split_stream.test.js b/packages/osd-opensearch-archiver/src/lib/streams/split_stream.test.js index 9d7bcea86ea0..63aedd861637 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/split_stream.test.js +++ b/packages/osd-opensearch-archiver/src/lib/streams/split_stream.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createSplitStream, createConcatStream, createPromiseFromStreams } from './'; async function split(stream, input) { diff --git a/packages/osd-opensearch-archiver/src/lib/streams/split_stream.ts b/packages/osd-opensearch-archiver/src/lib/streams/split_stream.ts index 235397c7d793..91af2f6e0526 100644 --- a/packages/osd-opensearch-archiver/src/lib/streams/split_stream.ts +++ b/packages/osd-opensearch-archiver/src/lib/streams/split_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; /** diff --git a/packages/osd-opensearch-archiver/src/opensearch_archiver.ts b/packages/osd-opensearch-archiver/src/opensearch_archiver.ts index f2c54df58e14..9e6a1246b184 100644 --- a/packages/osd-opensearch-archiver/src/opensearch_archiver.ts +++ b/packages/osd-opensearch-archiver/src/opensearch_archiver.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Client } from 'elasticsearch'; import { ToolingLog, OsdClient } from '@osd/dev-utils'; diff --git a/packages/osd-opensearch/scripts/build.js b/packages/osd-opensearch/scripts/build.js index 63487b174740..284dfdb1123b 100644 --- a/packages/osd-opensearch/scripts/build.js +++ b/packages/osd-opensearch/scripts/build.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { resolve } = require('path'); const del = require('del'); diff --git a/packages/osd-opensearch/src/artifact.js b/packages/osd-opensearch/src/artifact.js index e57987f2af1c..69f443245d4d 100644 --- a/packages/osd-opensearch/src/artifact.js +++ b/packages/osd-opensearch/src/artifact.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ const fetch = require('node-fetch'); const AbortController = require('abort-controller'); const fs = require('fs'); diff --git a/packages/osd-opensearch/src/artifact.test.js b/packages/osd-opensearch/src/artifact.test.js index adba8e71d369..b9c331517c74 100644 --- a/packages/osd-opensearch/src/artifact.test.js +++ b/packages/osd-opensearch/src/artifact.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '@osd/dev-utils'; jest.mock('node-fetch'); import fetch from 'node-fetch'; diff --git a/packages/osd-opensearch/src/cli.js b/packages/osd-opensearch/src/cli.js index 75baf19c7dd8..49f73f500a1d 100644 --- a/packages/osd-opensearch/src/cli.js +++ b/packages/osd-opensearch/src/cli.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const chalk = require('chalk'); const getopts = require('getopts'); const dedent = require('dedent'); diff --git a/packages/osd-opensearch/src/cli_commands/archive.js b/packages/osd-opensearch/src/cli_commands/archive.js index b9970cbaece9..4ecfa047a3b9 100644 --- a/packages/osd-opensearch/src/cli_commands/archive.js +++ b/packages/osd-opensearch/src/cli_commands/archive.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const dedent = require('dedent'); const getopts = require('getopts'); const { Cluster } = require('../cluster'); diff --git a/packages/osd-opensearch/src/cli_commands/build_snapshots.js b/packages/osd-opensearch/src/cli_commands/build_snapshots.js index 21826f57b57d..e093631ffe2a 100644 --- a/packages/osd-opensearch/src/cli_commands/build_snapshots.js +++ b/packages/osd-opensearch/src/cli_commands/build_snapshots.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { resolve, basename } = require('path'); const { createHash } = require('crypto'); const { promisify } = require('util'); diff --git a/packages/osd-opensearch/src/cli_commands/index.js b/packages/osd-opensearch/src/cli_commands/index.js index 6450e5725856..1f804c0ba08f 100644 --- a/packages/osd-opensearch/src/cli_commands/index.js +++ b/packages/osd-opensearch/src/cli_commands/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - exports.snapshot = require('./snapshot'); exports.source = require('./source'); exports.archive = require('./archive'); diff --git a/packages/osd-opensearch/src/cli_commands/snapshot.js b/packages/osd-opensearch/src/cli_commands/snapshot.js index 73ca17736322..99b85b7439a9 100644 --- a/packages/osd-opensearch/src/cli_commands/snapshot.js +++ b/packages/osd-opensearch/src/cli_commands/snapshot.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const dedent = require('dedent'); const getopts = require('getopts'); const { Cluster } = require('../cluster'); diff --git a/packages/osd-opensearch/src/cli_commands/source.js b/packages/osd-opensearch/src/cli_commands/source.js index 727179d7e056..18c3b04ce8d9 100644 --- a/packages/osd-opensearch/src/cli_commands/source.js +++ b/packages/osd-opensearch/src/cli_commands/source.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const dedent = require('dedent'); const getopts = require('getopts'); const { Cluster } = require('../cluster'); diff --git a/packages/osd-opensearch/src/cluster.js b/packages/osd-opensearch/src/cluster.js index e678526737df..7b11b4edbbc5 100644 --- a/packages/osd-opensearch/src/cluster.js +++ b/packages/osd-opensearch/src/cluster.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const fs = require('fs'); const util = require('util'); const execa = require('execa'); diff --git a/packages/osd-opensearch/src/custom_snapshots.js b/packages/osd-opensearch/src/custom_snapshots.js index bb4c7a8b587b..24cb50fb4f4d 100644 --- a/packages/osd-opensearch/src/custom_snapshots.js +++ b/packages/osd-opensearch/src/custom_snapshots.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { basename } = require('path'); function isVersionFlag(a) { diff --git a/packages/osd-opensearch/src/errors.js b/packages/osd-opensearch/src/errors.js index 489e8ac6ddea..e389d1ef14c7 100644 --- a/packages/osd-opensearch/src/errors.js +++ b/packages/osd-opensearch/src/errors.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - exports.createCliError = function (message) { const error = new Error(message); error.isCliError = true; diff --git a/packages/osd-opensearch/src/index.js b/packages/osd-opensearch/src/index.js index 16983a4a44e8..4cc8ca45cc5e 100644 --- a/packages/osd-opensearch/src/index.js +++ b/packages/osd-opensearch/src/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - exports.run = require('./cli').run; exports.Cluster = require('./cluster').Cluster; diff --git a/packages/osd-opensearch/src/install/archive.js b/packages/osd-opensearch/src/install/archive.js index 576be393c1db..7a903dd15a3e 100644 --- a/packages/osd-opensearch/src/install/archive.js +++ b/packages/osd-opensearch/src/install/archive.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const fs = require('fs'); const path = require('path'); const chalk = require('chalk'); diff --git a/packages/osd-opensearch/src/install/index.js b/packages/osd-opensearch/src/install/index.js index 36ea55b27d39..752443deb25c 100644 --- a/packages/osd-opensearch/src/install/index.js +++ b/packages/osd-opensearch/src/install/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - exports.installArchive = require('./archive').installArchive; exports.installSnapshot = require('./snapshot').installSnapshot; exports.downloadSnapshot = require('./snapshot').downloadSnapshot; diff --git a/packages/osd-opensearch/src/install/snapshot.js b/packages/osd-opensearch/src/install/snapshot.js index a1f1437b77a7..0591a3d9ea81 100644 --- a/packages/osd-opensearch/src/install/snapshot.js +++ b/packages/osd-opensearch/src/install/snapshot.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const chalk = require('chalk'); const path = require('path'); const { BASE_PATH } = require('../paths'); diff --git a/packages/osd-opensearch/src/install/source.js b/packages/osd-opensearch/src/install/source.js index 46634e9892ca..00e93b0e5bd0 100644 --- a/packages/osd-opensearch/src/install/source.js +++ b/packages/osd-opensearch/src/install/source.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const path = require('path'); const fs = require('fs'); const os = require('os'); diff --git a/packages/osd-opensearch/src/integration_tests/__fixtures__/opensearch_bin.js b/packages/osd-opensearch/src/integration_tests/__fixtures__/opensearch_bin.js index 31449308d2e5..e6a94df76f76 100644 --- a/packages/osd-opensearch/src/integration_tests/__fixtures__/opensearch_bin.js +++ b/packages/osd-opensearch/src/integration_tests/__fixtures__/opensearch_bin.js @@ -6,6 +6,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -27,11 +30,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const fs = require('fs'); const { format: formatUrl } = require('url'); const { exitCode, start, ssl } = JSON.parse(process.argv[2]); diff --git a/packages/osd-opensearch/src/integration_tests/cluster.test.js b/packages/osd-opensearch/src/integration_tests/cluster.test.js index 9bbcd0b27704..43a8f0f63c7b 100644 --- a/packages/osd-opensearch/src/integration_tests/cluster.test.js +++ b/packages/osd-opensearch/src/integration_tests/cluster.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { ToolingLog, OPENSEARCH_P12_PATH, OPENSEARCH_P12_PASSWORD } = require('@osd/dev-utils'); const execa = require('execa'); const { Cluster } = require('../cluster'); diff --git a/packages/osd-opensearch/src/paths.js b/packages/osd-opensearch/src/paths.js index 23153206483b..e278f20fc5ab 100644 --- a/packages/osd-opensearch/src/paths.js +++ b/packages/osd-opensearch/src/paths.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const os = require('os'); const path = require('path'); diff --git a/packages/osd-opensearch/src/settings.test.ts b/packages/osd-opensearch/src/settings.test.ts index 72f079583894..aba48ea1e963 100644 --- a/packages/osd-opensearch/src/settings.test.ts +++ b/packages/osd-opensearch/src/settings.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parseSettings, SettingsFilter } from './settings'; const mockSettings = [ diff --git a/packages/osd-opensearch/src/settings.ts b/packages/osd-opensearch/src/settings.ts index 8b69eeaae2e5..d7de64a8d82b 100644 --- a/packages/osd-opensearch/src/settings.ts +++ b/packages/osd-opensearch/src/settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * List of the patterns for the settings names that are supposed to be secure and stored in the keystore. */ diff --git a/packages/osd-opensearch/src/utils/build_snapshot.js b/packages/osd-opensearch/src/utils/build_snapshot.js index a3059a9716bb..b30bee54c2c8 100644 --- a/packages/osd-opensearch/src/utils/build_snapshot.js +++ b/packages/osd-opensearch/src/utils/build_snapshot.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const execa = require('execa'); const path = require('path'); const os = require('os'); diff --git a/packages/osd-opensearch/src/utils/cache.js b/packages/osd-opensearch/src/utils/cache.js index f10af6cfdd60..9ad70184dc6d 100644 --- a/packages/osd-opensearch/src/utils/cache.js +++ b/packages/osd-opensearch/src/utils/cache.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const fs = require('fs'); const path = require('path'); diff --git a/packages/osd-opensearch/src/utils/decompress.js b/packages/osd-opensearch/src/utils/decompress.js index eb6b62c66979..88b3753d8e42 100644 --- a/packages/osd-opensearch/src/utils/decompress.js +++ b/packages/osd-opensearch/src/utils/decompress.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const fs = require('fs'); const path = require('path'); diff --git a/packages/osd-opensearch/src/utils/decompress.test.js b/packages/osd-opensearch/src/utils/decompress.test.js index 1d6528d20435..e9e163c3ebc2 100644 --- a/packages/osd-opensearch/src/utils/decompress.test.js +++ b/packages/osd-opensearch/src/utils/decompress.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { decompress } = require('./decompress'); const fs = require('fs'); const path = require('path'); diff --git a/packages/osd-opensearch/src/utils/extract_config_files.js b/packages/osd-opensearch/src/utils/extract_config_files.js index 68196212c5df..ff7f833c3378 100644 --- a/packages/osd-opensearch/src/utils/extract_config_files.js +++ b/packages/osd-opensearch/src/utils/extract_config_files.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const path = require('path'); const fs = require('fs'); diff --git a/packages/osd-opensearch/src/utils/extract_config_files.test.js b/packages/osd-opensearch/src/utils/extract_config_files.test.js index 97c56a12c18f..3d73d821dbc5 100644 --- a/packages/osd-opensearch/src/utils/extract_config_files.test.js +++ b/packages/osd-opensearch/src/utils/extract_config_files.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('fs', () => ({ readFileSync: jest.fn(), existsSync: jest.fn().mockImplementation(() => true), diff --git a/packages/osd-opensearch/src/utils/find_most_recently_changed.js b/packages/osd-opensearch/src/utils/find_most_recently_changed.js index 3037e1e74982..112e2de2669b 100644 --- a/packages/osd-opensearch/src/utils/find_most_recently_changed.js +++ b/packages/osd-opensearch/src/utils/find_most_recently_changed.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const path = require('path'); const fs = require('fs'); const glob = require('glob'); diff --git a/packages/osd-opensearch/src/utils/find_most_recently_changed.test.js b/packages/osd-opensearch/src/utils/find_most_recently_changed.test.js index 6733e7436569..235ce9fd6690 100644 --- a/packages/osd-opensearch/src/utils/find_most_recently_changed.test.js +++ b/packages/osd-opensearch/src/utils/find_most_recently_changed.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('fs', () => ({ statSync: jest.fn().mockImplementation((path) => { if (path.includes('oldest')) { diff --git a/packages/osd-opensearch/src/utils/index.js b/packages/osd-opensearch/src/utils/index.js index 846e6115f122..a31e4b73fee7 100644 --- a/packages/osd-opensearch/src/utils/index.js +++ b/packages/osd-opensearch/src/utils/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - exports.cache = require('./cache'); exports.log = require('./log').log; exports.parseOpenSearchLog = require('./parse_opensearch_log').parseOpenSearchLog; diff --git a/packages/osd-opensearch/src/utils/log.js b/packages/osd-opensearch/src/utils/log.js index e5b696f8577d..22c48b35a0dd 100644 --- a/packages/osd-opensearch/src/utils/log.js +++ b/packages/osd-opensearch/src/utils/log.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { ToolingLog } = require('@osd/dev-utils'); const log = new ToolingLog({ diff --git a/packages/osd-opensearch/src/utils/parse_opensearch_log.js b/packages/osd-opensearch/src/utils/parse_opensearch_log.js index a4fb61ab5d3e..21bfac08881d 100644 --- a/packages/osd-opensearch/src/utils/parse_opensearch_log.js +++ b/packages/osd-opensearch/src/utils/parse_opensearch_log.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const chalk = require('chalk'); /** diff --git a/packages/osd-opensearch/src/utils/parse_opensearch_log.test.js b/packages/osd-opensearch/src/utils/parse_opensearch_log.test.js index 588bd6e9a544..8238d0fb0e1c 100644 --- a/packages/osd-opensearch/src/utils/parse_opensearch_log.test.js +++ b/packages/osd-opensearch/src/utils/parse_opensearch_log.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const dedent = require('dedent'); const { parseOpenSearchLog } = require('./parse_opensearch_log'); diff --git a/packages/osd-optimizer/babel.config.js b/packages/osd-optimizer/babel.config.js index fa4e4756952b..3b30d40dee6c 100644 --- a/packages/osd-optimizer/babel.config.js +++ b/packages/osd-optimizer/babel.config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = { presets: ['@osd/babel-preset/node_preset'], ignore: ['**/*.test.js'], diff --git a/packages/osd-optimizer/index.d.ts b/packages/osd-optimizer/index.d.ts index f6da529b9811..6e1c740ed849 100644 --- a/packages/osd-optimizer/index.d.ts +++ b/packages/osd-optimizer/index.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './src/index'; diff --git a/packages/osd-optimizer/postcss.config.js b/packages/osd-optimizer/postcss.config.js index c4f0b6885346..5b8b2e731989 100644 --- a/packages/osd-optimizer/postcss.config.js +++ b/packages/osd-optimizer/postcss.config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = { plugins: [require('autoprefixer')()], }; diff --git a/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/bar/public/index.ts b/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/bar/public/index.ts index 35251a6a6eb0..3e660e339b1a 100644 --- a/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/bar/public/index.ts +++ b/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/bar/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './legacy/styles.scss'; import './index.scss'; import { fooLibFn } from '../../foo/public'; diff --git a/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/bar/public/lib.ts b/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/bar/public/lib.ts index b7b77da39d8f..337d6d031a09 100644 --- a/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/bar/public/lib.ts +++ b/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/bar/public/lib.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function barLibFn() { return 'bar'; } diff --git a/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/foo/public/async_import.ts b/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/foo/public/async_import.ts index 46b1cfc4a44f..9469b9a46980 100644 --- a/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/foo/public/async_import.ts +++ b/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/foo/public/async_import.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function foo() {} diff --git a/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/foo/public/ext.ts b/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/foo/public/ext.ts index 8073d65c41de..78140638fdb6 100644 --- a/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/foo/public/ext.ts +++ b/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/foo/public/ext.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const ext = 'TRUE'; diff --git a/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/foo/public/index.ts b/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/foo/public/index.ts index 4638822f15c0..2a2e69d541c5 100644 --- a/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/foo/public/index.ts +++ b/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/foo/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './lib'; export * from './ext'; diff --git a/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/foo/public/lib.ts b/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/foo/public/lib.ts index 6bb1b73ae736..620b2efc3df1 100644 --- a/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/foo/public/lib.ts +++ b/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/foo/public/lib.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function fooLibFn() { return 'foo'; } diff --git a/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/nested/baz/server/index.ts b/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/nested/baz/server/index.ts index 1ab86d9f5674..724a236b912a 100644 --- a/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/nested/baz/server/index.ts +++ b/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/nested/baz/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './lib'; diff --git a/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/nested/baz/server/lib.ts b/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/nested/baz/server/lib.ts index 96c1543d964b..243b71f9cbcb 100644 --- a/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/nested/baz/server/lib.ts +++ b/packages/osd-optimizer/src/__fixtures__/mock_repo/plugins/nested/baz/server/lib.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function bazLibFn() { return 'baz'; } diff --git a/packages/osd-optimizer/src/__fixtures__/mock_repo/test_plugins/test_baz/server/index.ts b/packages/osd-optimizer/src/__fixtures__/mock_repo/test_plugins/test_baz/server/index.ts index 1ab86d9f5674..724a236b912a 100644 --- a/packages/osd-optimizer/src/__fixtures__/mock_repo/test_plugins/test_baz/server/index.ts +++ b/packages/osd-optimizer/src/__fixtures__/mock_repo/test_plugins/test_baz/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './lib'; diff --git a/packages/osd-optimizer/src/__fixtures__/mock_repo/test_plugins/test_baz/server/lib.ts b/packages/osd-optimizer/src/__fixtures__/mock_repo/test_plugins/test_baz/server/lib.ts index 96c1543d964b..243b71f9cbcb 100644 --- a/packages/osd-optimizer/src/__fixtures__/mock_repo/test_plugins/test_baz/server/lib.ts +++ b/packages/osd-optimizer/src/__fixtures__/mock_repo/test_plugins/test_baz/server/lib.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function bazLibFn() { return 'baz'; } diff --git a/packages/osd-optimizer/src/cli.ts b/packages/osd-optimizer/src/cli.ts index 7bc0486dca80..04a91d2d9d50 100644 --- a/packages/osd-optimizer/src/cli.ts +++ b/packages/osd-optimizer/src/cli.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import 'source-map-support/register'; import Path from 'path'; diff --git a/packages/osd-optimizer/src/common/array_helpers.test.ts b/packages/osd-optimizer/src/common/array_helpers.test.ts index be852913eaa3..a73260478fb3 100644 --- a/packages/osd-optimizer/src/common/array_helpers.test.ts +++ b/packages/osd-optimizer/src/common/array_helpers.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ascending, descending } from './array_helpers'; describe('ascending/descending', () => { diff --git a/packages/osd-optimizer/src/common/array_helpers.ts b/packages/osd-optimizer/src/common/array_helpers.ts index d7d6e5267aa4..ce23f96eb0ae 100644 --- a/packages/osd-optimizer/src/common/array_helpers.ts +++ b/packages/osd-optimizer/src/common/array_helpers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - type SortPropGetter = (x: T) => number | string | undefined; type Comparator = (a: T, b: T) => number; diff --git a/packages/osd-optimizer/src/common/bundle.test.ts b/packages/osd-optimizer/src/common/bundle.test.ts index 461ab7023376..16aa012cf91d 100644 --- a/packages/osd-optimizer/src/common/bundle.test.ts +++ b/packages/osd-optimizer/src/common/bundle.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Bundle, BundleSpec, parseBundles } from './bundle'; jest.mock('fs'); diff --git a/packages/osd-optimizer/src/common/bundle.ts b/packages/osd-optimizer/src/common/bundle.ts index 0a8941f706be..fbc03c55b03a 100644 --- a/packages/osd-optimizer/src/common/bundle.ts +++ b/packages/osd-optimizer/src/common/bundle.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import Fs from 'fs'; diff --git a/packages/osd-optimizer/src/common/bundle_cache.test.ts b/packages/osd-optimizer/src/common/bundle_cache.test.ts index c71390b6b24e..14f4096c9cae 100644 --- a/packages/osd-optimizer/src/common/bundle_cache.test.ts +++ b/packages/osd-optimizer/src/common/bundle_cache.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BundleCache, State } from './bundle_cache'; jest.mock('fs'); diff --git a/packages/osd-optimizer/src/common/bundle_cache.ts b/packages/osd-optimizer/src/common/bundle_cache.ts index f7f826e1ec19..43f55f91b98c 100644 --- a/packages/osd-optimizer/src/common/bundle_cache.ts +++ b/packages/osd-optimizer/src/common/bundle_cache.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import Path from 'path'; diff --git a/packages/osd-optimizer/src/common/bundle_refs.ts b/packages/osd-optimizer/src/common/bundle_refs.ts index 2b537aae8c00..32630473826f 100644 --- a/packages/osd-optimizer/src/common/bundle_refs.ts +++ b/packages/osd-optimizer/src/common/bundle_refs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { Bundle } from './bundle'; diff --git a/packages/osd-optimizer/src/common/compiler_messages.ts b/packages/osd-optimizer/src/common/compiler_messages.ts index b4f6f86d7e3f..58392e506a9e 100644 --- a/packages/osd-optimizer/src/common/compiler_messages.ts +++ b/packages/osd-optimizer/src/common/compiler_messages.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Message sent when a compiler encouters an unresolvable error. * The worker will be shut down following this message. diff --git a/packages/osd-optimizer/src/common/event_stream_helpers.test.ts b/packages/osd-optimizer/src/common/event_stream_helpers.test.ts index 3f6e1b42423d..7fc757e4363f 100644 --- a/packages/osd-optimizer/src/common/event_stream_helpers.test.ts +++ b/packages/osd-optimizer/src/common/event_stream_helpers.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { take } from 'rxjs/operators'; import { allValuesFrom } from './rxjs_helpers'; diff --git a/packages/osd-optimizer/src/common/event_stream_helpers.ts b/packages/osd-optimizer/src/common/event_stream_helpers.ts index 97feefddfd8e..6b089294e478 100644 --- a/packages/osd-optimizer/src/common/event_stream_helpers.ts +++ b/packages/osd-optimizer/src/common/event_stream_helpers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; export interface Update { diff --git a/packages/osd-optimizer/src/common/index.ts b/packages/osd-optimizer/src/common/index.ts index ae98014bcd49..a0de7ed717d2 100644 --- a/packages/osd-optimizer/src/common/index.ts +++ b/packages/osd-optimizer/src/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './bundle'; export * from './bundle_cache'; export * from './bundle_refs'; diff --git a/packages/osd-optimizer/src/common/parse_path.test.ts b/packages/osd-optimizer/src/common/parse_path.test.ts index c17395fa10f7..492bcb0bcf56 100644 --- a/packages/osd-optimizer/src/common/parse_path.test.ts +++ b/packages/osd-optimizer/src/common/parse_path.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parseFilePath, parseDirPath } from './parse_path'; const DIRS = ['/', '/foo/bar/baz/', 'c:\\', 'c:\\foo\\bar\\baz\\']; diff --git a/packages/osd-optimizer/src/common/parse_path.ts b/packages/osd-optimizer/src/common/parse_path.ts index dbfce7cc2ee9..134d021472b7 100644 --- a/packages/osd-optimizer/src/common/parse_path.ts +++ b/packages/osd-optimizer/src/common/parse_path.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import normalizePath from 'normalize-path'; import Qs from 'querystring'; diff --git a/packages/osd-optimizer/src/common/rxjs_helpers.test.ts b/packages/osd-optimizer/src/common/rxjs_helpers.test.ts index 203267e5f82d..8eec38c87e8e 100644 --- a/packages/osd-optimizer/src/common/rxjs_helpers.test.ts +++ b/packages/osd-optimizer/src/common/rxjs_helpers.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { toArray, map } from 'rxjs/operators'; import { lastValueFrom } from '@osd/std'; diff --git a/packages/osd-optimizer/src/common/rxjs_helpers.ts b/packages/osd-optimizer/src/common/rxjs_helpers.ts index 9a2f06ef8db1..11cd03764ef9 100644 --- a/packages/osd-optimizer/src/common/rxjs_helpers.ts +++ b/packages/osd-optimizer/src/common/rxjs_helpers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { mergeMap, tap, debounceTime, map, toArray } from 'rxjs/operators'; import { firstValueFrom } from '@osd/std'; diff --git a/packages/osd-optimizer/src/common/theme_tags.test.ts b/packages/osd-optimizer/src/common/theme_tags.test.ts index 98ea80d95d64..2b34dee08628 100644 --- a/packages/osd-optimizer/src/common/theme_tags.test.ts +++ b/packages/osd-optimizer/src/common/theme_tags.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parseThemeTags } from './theme_tags'; it('returns default tags when passed undefined', () => { diff --git a/packages/osd-optimizer/src/common/theme_tags.ts b/packages/osd-optimizer/src/common/theme_tags.ts index 66d9ea1dbbad..3e62228ddaf9 100644 --- a/packages/osd-optimizer/src/common/theme_tags.ts +++ b/packages/osd-optimizer/src/common/theme_tags.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ascending } from './array_helpers'; const tags = (...themeTags: string[]) => diff --git a/packages/osd-optimizer/src/common/ts_helpers.ts b/packages/osd-optimizer/src/common/ts_helpers.ts index f77c29a11a8e..6dcb4625c0d6 100644 --- a/packages/osd-optimizer/src/common/ts_helpers.ts +++ b/packages/osd-optimizer/src/common/ts_helpers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Convert an object type into an object with the same keys * but with each value type replaced with `unknown` diff --git a/packages/osd-optimizer/src/common/worker_config.ts b/packages/osd-optimizer/src/common/worker_config.ts index 9b6dcf39fe61..fe50b51b0e0b 100644 --- a/packages/osd-optimizer/src/common/worker_config.ts +++ b/packages/osd-optimizer/src/common/worker_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { UnknownVals } from './ts_helpers'; diff --git a/packages/osd-optimizer/src/common/worker_messages.ts b/packages/osd-optimizer/src/common/worker_messages.ts index 5bbf6936fff1..ea9dc1f3f287 100644 --- a/packages/osd-optimizer/src/common/worker_messages.ts +++ b/packages/osd-optimizer/src/common/worker_messages.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CompilerRunningMsg, CompilerIssueMsg, diff --git a/packages/osd-optimizer/src/index.ts b/packages/osd-optimizer/src/index.ts index 8b77a96a744d..28552a08b25e 100644 --- a/packages/osd-optimizer/src/index.ts +++ b/packages/osd-optimizer/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { OptimizerConfig } from './optimizer'; export * from './run_optimizer'; export * from './log_optimizer_state'; diff --git a/packages/osd-optimizer/src/integration_tests/basic_optimization.test.ts b/packages/osd-optimizer/src/integration_tests/basic_optimization.test.ts index f318a36a71a6..1cdfe1f3a041 100644 --- a/packages/osd-optimizer/src/integration_tests/basic_optimization.test.ts +++ b/packages/osd-optimizer/src/integration_tests/basic_optimization.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import Fs from 'fs'; import Zlib from 'zlib'; diff --git a/packages/osd-optimizer/src/integration_tests/bundle_cache.test.ts b/packages/osd-optimizer/src/integration_tests/bundle_cache.test.ts index 5fd053f295a7..24ddfd14a832 100644 --- a/packages/osd-optimizer/src/integration_tests/bundle_cache.test.ts +++ b/packages/osd-optimizer/src/integration_tests/bundle_cache.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import cpy from 'cpy'; diff --git a/packages/osd-optimizer/src/integration_tests/watch_bundles_for_changes.test.ts b/packages/osd-optimizer/src/integration_tests/watch_bundles_for_changes.test.ts index 8872db4af8ff..95098ace4553 100644 --- a/packages/osd-optimizer/src/integration_tests/watch_bundles_for_changes.test.ts +++ b/packages/osd-optimizer/src/integration_tests/watch_bundles_for_changes.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { map } from 'rxjs/operators'; import ActualWatchpack from 'watchpack'; diff --git a/packages/osd-optimizer/src/limits.ts b/packages/osd-optimizer/src/limits.ts index 55028e0e2f51..0e0f40af679f 100644 --- a/packages/osd-optimizer/src/limits.ts +++ b/packages/osd-optimizer/src/limits.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import dedent from 'dedent'; diff --git a/packages/osd-optimizer/src/log_optimizer_state.ts b/packages/osd-optimizer/src/log_optimizer_state.ts index d5263e2a81c9..5fab00511453 100644 --- a/packages/osd-optimizer/src/log_optimizer_state.ts +++ b/packages/osd-optimizer/src/log_optimizer_state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { inspect } from 'util'; import { ToolingLog } from '@osd/dev-utils'; diff --git a/packages/osd-optimizer/src/node/cache.ts b/packages/osd-optimizer/src/node/cache.ts index 23f87ea4344d..225a0de79ee9 100644 --- a/packages/osd-optimizer/src/node/cache.ts +++ b/packages/osd-optimizer/src/node/cache.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { Writable } from 'stream'; diff --git a/packages/osd-optimizer/src/node/index.ts b/packages/osd-optimizer/src/node/index.ts index c7f1d671e3b4..a393552775a8 100644 --- a/packages/osd-optimizer/src/node/index.ts +++ b/packages/osd-optimizer/src/node/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './node_auto_tranpilation'; diff --git a/packages/osd-optimizer/src/node/node_auto_tranpilation.ts b/packages/osd-optimizer/src/node/node_auto_tranpilation.ts index 4b06878f58c1..123f5afb3e77 100644 --- a/packages/osd-optimizer/src/node/node_auto_tranpilation.ts +++ b/packages/osd-optimizer/src/node/node_auto_tranpilation.ts @@ -1,5 +1,16 @@ /* eslint-disable @osd/eslint/require-license-header */ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /** * This module is based on @babel/register @ 9808d25, modified to use * a more efficient caching implementation which writes to disk as diff --git a/packages/osd-optimizer/src/node/polyfill.ts b/packages/osd-optimizer/src/node/polyfill.ts index 63eae3d93f74..58da68dc122b 100644 --- a/packages/osd-optimizer/src/node/polyfill.ts +++ b/packages/osd-optimizer/src/node/polyfill.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import 'core-js/stable'; diff --git a/packages/osd-optimizer/src/optimizer/assign_bundles_to_workers.test.ts b/packages/osd-optimizer/src/optimizer/assign_bundles_to_workers.test.ts index d16d1ea4bfb1..94064942f3b8 100644 --- a/packages/osd-optimizer/src/optimizer/assign_bundles_to_workers.test.ts +++ b/packages/osd-optimizer/src/optimizer/assign_bundles_to_workers.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('fs'); import { Bundle } from '../common'; diff --git a/packages/osd-optimizer/src/optimizer/assign_bundles_to_workers.ts b/packages/osd-optimizer/src/optimizer/assign_bundles_to_workers.ts index c9559e659358..5541788a0414 100644 --- a/packages/osd-optimizer/src/optimizer/assign_bundles_to_workers.ts +++ b/packages/osd-optimizer/src/optimizer/assign_bundles_to_workers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Bundle, descending, ascending } from '../common'; // helper types used inside getWorkerConfigs so we don't have diff --git a/packages/osd-optimizer/src/optimizer/bundle_cache.ts b/packages/osd-optimizer/src/optimizer/bundle_cache.ts index 72879ac0ea4c..4545eb8072c0 100644 --- a/packages/osd-optimizer/src/optimizer/bundle_cache.ts +++ b/packages/osd-optimizer/src/optimizer/bundle_cache.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { mergeAll } from 'rxjs/operators'; diff --git a/packages/osd-optimizer/src/optimizer/cache_keys.test.ts b/packages/osd-optimizer/src/optimizer/cache_keys.test.ts index 7f5edae2127f..c97452132550 100644 --- a/packages/osd-optimizer/src/optimizer/cache_keys.test.ts +++ b/packages/osd-optimizer/src/optimizer/cache_keys.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { diff } from 'jest-diff'; diff --git a/packages/osd-optimizer/src/optimizer/cache_keys.ts b/packages/osd-optimizer/src/optimizer/cache_keys.ts index 2b7474754883..e31009f872c5 100644 --- a/packages/osd-optimizer/src/optimizer/cache_keys.ts +++ b/packages/osd-optimizer/src/optimizer/cache_keys.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import Fs from 'fs'; import { promisify } from 'util'; diff --git a/packages/osd-optimizer/src/optimizer/filter_by_id.test.ts b/packages/osd-optimizer/src/optimizer/filter_by_id.test.ts index 0a2c1d9f8e03..9821ff8dd6e2 100644 --- a/packages/osd-optimizer/src/optimizer/filter_by_id.test.ts +++ b/packages/osd-optimizer/src/optimizer/filter_by_id.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { filterById, HasId } from './filter_by_id'; const bundles: HasId[] = [ diff --git a/packages/osd-optimizer/src/optimizer/filter_by_id.ts b/packages/osd-optimizer/src/optimizer/filter_by_id.ts index 1c567abe7850..e84dca0a5fa9 100644 --- a/packages/osd-optimizer/src/optimizer/filter_by_id.ts +++ b/packages/osd-optimizer/src/optimizer/filter_by_id.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface HasId { id: string; } diff --git a/packages/osd-optimizer/src/optimizer/get_changes.test.ts b/packages/osd-optimizer/src/optimizer/get_changes.test.ts index a7af13283ccc..071bb8e1a260 100644 --- a/packages/osd-optimizer/src/optimizer/get_changes.test.ts +++ b/packages/osd-optimizer/src/optimizer/get_changes.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('execa'); import { getChanges } from './get_changes'; diff --git a/packages/osd-optimizer/src/optimizer/get_changes.ts b/packages/osd-optimizer/src/optimizer/get_changes.ts index 198a01947a31..3d0352c30f72 100644 --- a/packages/osd-optimizer/src/optimizer/get_changes.ts +++ b/packages/osd-optimizer/src/optimizer/get_changes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import execa from 'execa'; diff --git a/packages/osd-optimizer/src/optimizer/get_mtimes.test.ts b/packages/osd-optimizer/src/optimizer/get_mtimes.test.ts index cdfd91365d07..d305ca59a1a0 100644 --- a/packages/osd-optimizer/src/optimizer/get_mtimes.test.ts +++ b/packages/osd-optimizer/src/optimizer/get_mtimes.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('fs'); import { getMtimes } from './get_mtimes'; diff --git a/packages/osd-optimizer/src/optimizer/get_mtimes.ts b/packages/osd-optimizer/src/optimizer/get_mtimes.ts index f29bf71e69a0..fdb9d58c9d8d 100644 --- a/packages/osd-optimizer/src/optimizer/get_mtimes.ts +++ b/packages/osd-optimizer/src/optimizer/get_mtimes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import * as Rx from 'rxjs'; diff --git a/packages/osd-optimizer/src/optimizer/get_output_stats.ts b/packages/osd-optimizer/src/optimizer/get_output_stats.ts index ab34f3c5ce0d..ab80193954be 100644 --- a/packages/osd-optimizer/src/optimizer/get_output_stats.ts +++ b/packages/osd-optimizer/src/optimizer/get_output_stats.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import Path from 'path'; diff --git a/packages/osd-optimizer/src/optimizer/get_plugin_bundles.test.ts b/packages/osd-optimizer/src/optimizer/get_plugin_bundles.test.ts index 70dc33569e0b..608b16a3661d 100644 --- a/packages/osd-optimizer/src/optimizer/get_plugin_bundles.test.ts +++ b/packages/osd-optimizer/src/optimizer/get_plugin_bundles.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createAbsolutePathSerializer } from '@osd/dev-utils'; import { getPluginBundles } from './get_plugin_bundles'; diff --git a/packages/osd-optimizer/src/optimizer/get_plugin_bundles.ts b/packages/osd-optimizer/src/optimizer/get_plugin_bundles.ts index 2775c6c87bef..632139745cb4 100644 --- a/packages/osd-optimizer/src/optimizer/get_plugin_bundles.ts +++ b/packages/osd-optimizer/src/optimizer/get_plugin_bundles.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { Bundle } from '../common'; diff --git a/packages/osd-optimizer/src/optimizer/handle_optimizer_completion.test.ts b/packages/osd-optimizer/src/optimizer/handle_optimizer_completion.test.ts index 8c33458d6871..612f1abff49c 100644 --- a/packages/osd-optimizer/src/optimizer/handle_optimizer_completion.test.ts +++ b/packages/osd-optimizer/src/optimizer/handle_optimizer_completion.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { REPO_ROOT } from '@osd/utils'; diff --git a/packages/osd-optimizer/src/optimizer/handle_optimizer_completion.ts b/packages/osd-optimizer/src/optimizer/handle_optimizer_completion.ts index 90b0af5310d0..1cc9afadfd26 100644 --- a/packages/osd-optimizer/src/optimizer/handle_optimizer_completion.ts +++ b/packages/osd-optimizer/src/optimizer/handle_optimizer_completion.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { tap } from 'rxjs/operators'; import { createFailError } from '@osd/dev-utils'; diff --git a/packages/osd-optimizer/src/optimizer/index.ts b/packages/osd-optimizer/src/optimizer/index.ts index 544a02feaad8..9d06bc1e2e49 100644 --- a/packages/osd-optimizer/src/optimizer/index.ts +++ b/packages/osd-optimizer/src/optimizer/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './optimizer_config'; export { WorkerStdio } from './observe_worker'; export * from './optimizer_state'; diff --git a/packages/osd-optimizer/src/optimizer/observe_stdio.test.ts b/packages/osd-optimizer/src/optimizer/observe_stdio.test.ts index 3976d1cf9bfd..c83a90864de9 100644 --- a/packages/osd-optimizer/src/optimizer/observe_stdio.test.ts +++ b/packages/osd-optimizer/src/optimizer/observe_stdio.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Readable } from 'stream'; import { allValuesFrom } from '../common'; diff --git a/packages/osd-optimizer/src/optimizer/observe_stdio.ts b/packages/osd-optimizer/src/optimizer/observe_stdio.ts index 970f50b30bec..54fbf2d6c72d 100644 --- a/packages/osd-optimizer/src/optimizer/observe_stdio.ts +++ b/packages/osd-optimizer/src/optimizer/observe_stdio.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Readable } from 'stream'; import * as Rx from 'rxjs'; diff --git a/packages/osd-optimizer/src/optimizer/observe_worker.ts b/packages/osd-optimizer/src/optimizer/observe_worker.ts index 828d5111fc66..a47d0dcaa78c 100644 --- a/packages/osd-optimizer/src/optimizer/observe_worker.ts +++ b/packages/osd-optimizer/src/optimizer/observe_worker.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { inspect } from 'util'; import execa from 'execa'; diff --git a/packages/osd-optimizer/src/optimizer/opensearch_dashboards_platform_plugins.test.ts b/packages/osd-optimizer/src/optimizer/opensearch_dashboards_platform_plugins.test.ts index 3d4209a1de78..19600898a557 100644 --- a/packages/osd-optimizer/src/optimizer/opensearch_dashboards_platform_plugins.test.ts +++ b/packages/osd-optimizer/src/optimizer/opensearch_dashboards_platform_plugins.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { createAbsolutePathSerializer } from '@osd/dev-utils'; diff --git a/packages/osd-optimizer/src/optimizer/opensearch_dashboards_platform_plugins.ts b/packages/osd-optimizer/src/optimizer/opensearch_dashboards_platform_plugins.ts index 639cc7783b5d..2129d74884b1 100644 --- a/packages/osd-optimizer/src/optimizer/opensearch_dashboards_platform_plugins.ts +++ b/packages/osd-optimizer/src/optimizer/opensearch_dashboards_platform_plugins.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { simpleOpenSearchDashboardsPlatformPluginDiscovery } from '@osd/dev-utils'; export interface OpenSearchDashboardsPlatformPlugin { diff --git a/packages/osd-optimizer/src/optimizer/optimizer_config.test.ts b/packages/osd-optimizer/src/optimizer/optimizer_config.test.ts index 71d36bdf0f1c..a8a950726592 100644 --- a/packages/osd-optimizer/src/optimizer/optimizer_config.test.ts +++ b/packages/osd-optimizer/src/optimizer/optimizer_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('./assign_bundles_to_workers.ts'); jest.mock('./opensearch_dashboards_platform_plugins.ts'); jest.mock('./get_plugin_bundles.ts'); diff --git a/packages/osd-optimizer/src/optimizer/optimizer_config.ts b/packages/osd-optimizer/src/optimizer/optimizer_config.ts index f10b1287b7e4..c9a760dc2bfa 100644 --- a/packages/osd-optimizer/src/optimizer/optimizer_config.ts +++ b/packages/osd-optimizer/src/optimizer/optimizer_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import Os from 'os'; diff --git a/packages/osd-optimizer/src/optimizer/optimizer_state.ts b/packages/osd-optimizer/src/optimizer/optimizer_state.ts index b873e35b8cbe..77dc1d7b0263 100644 --- a/packages/osd-optimizer/src/optimizer/optimizer_state.ts +++ b/packages/osd-optimizer/src/optimizer/optimizer_state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { inspect } from 'util'; import { WorkerMsg, CompilerMsg, Bundle, Summarizer } from '../common'; diff --git a/packages/osd-optimizer/src/optimizer/run_workers.ts b/packages/osd-optimizer/src/optimizer/run_workers.ts index 73d1713d121a..0f66bd4db043 100644 --- a/packages/osd-optimizer/src/optimizer/run_workers.ts +++ b/packages/osd-optimizer/src/optimizer/run_workers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { mergeMap, toArray } from 'rxjs/operators'; diff --git a/packages/osd-optimizer/src/optimizer/watch_bundles_for_changes.ts b/packages/osd-optimizer/src/optimizer/watch_bundles_for_changes.ts index ba304c6df5df..230cb8b17495 100644 --- a/packages/osd-optimizer/src/optimizer/watch_bundles_for_changes.ts +++ b/packages/osd-optimizer/src/optimizer/watch_bundles_for_changes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { mergeMap, toArray } from 'rxjs/operators'; diff --git a/packages/osd-optimizer/src/optimizer/watcher.ts b/packages/osd-optimizer/src/optimizer/watcher.ts index d52305264fd7..cf5faadb33d8 100644 --- a/packages/osd-optimizer/src/optimizer/watcher.ts +++ b/packages/osd-optimizer/src/optimizer/watcher.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { take, map, share } from 'rxjs/operators'; import Watchpack from 'watchpack'; diff --git a/packages/osd-optimizer/src/report_optimizer_stats.ts b/packages/osd-optimizer/src/report_optimizer_stats.ts index 992cddd1e397..3ccb27667358 100644 --- a/packages/osd-optimizer/src/report_optimizer_stats.ts +++ b/packages/osd-optimizer/src/report_optimizer_stats.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { materialize, mergeMap, dematerialize } from 'rxjs/operators'; import { CiStatsReporter, ToolingLog } from '@osd/dev-utils'; diff --git a/packages/osd-optimizer/src/run_optimizer.ts b/packages/osd-optimizer/src/run_optimizer.ts index 28cf2c6d7d61..a91ff5042318 100644 --- a/packages/osd-optimizer/src/run_optimizer.ts +++ b/packages/osd-optimizer/src/run_optimizer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { mergeMap, share, observeOn } from 'rxjs/operators'; diff --git a/packages/osd-optimizer/src/worker/bundle_ref_module.ts b/packages/osd-optimizer/src/worker/bundle_ref_module.ts index 012f45bcb811..a29bd57422bf 100644 --- a/packages/osd-optimizer/src/worker/bundle_ref_module.ts +++ b/packages/osd-optimizer/src/worker/bundle_ref_module.ts @@ -1,5 +1,16 @@ /* eslint-disable @osd/eslint/require-license-header */ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /** * @notice * diff --git a/packages/osd-optimizer/src/worker/bundle_refs_plugin.ts b/packages/osd-optimizer/src/worker/bundle_refs_plugin.ts index 86d434f26a47..1eb2cd55eeb5 100644 --- a/packages/osd-optimizer/src/worker/bundle_refs_plugin.ts +++ b/packages/osd-optimizer/src/worker/bundle_refs_plugin.ts @@ -1,5 +1,16 @@ /* eslint-disable @osd/eslint/require-license-header */ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /** * @notice * diff --git a/packages/osd-optimizer/src/worker/entry_point_creator.ts b/packages/osd-optimizer/src/worker/entry_point_creator.ts index 0bf1a623db57..6a4eec4044f8 100644 --- a/packages/osd-optimizer/src/worker/entry_point_creator.ts +++ b/packages/osd-optimizer/src/worker/entry_point_creator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = function ({ entries, }: { diff --git a/packages/osd-optimizer/src/worker/run_compilers.ts b/packages/osd-optimizer/src/worker/run_compilers.ts index c213b049b3b1..4cd55b5ad07c 100644 --- a/packages/osd-optimizer/src/worker/run_compilers.ts +++ b/packages/osd-optimizer/src/worker/run_compilers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import 'source-map-support/register'; import Fs from 'fs'; diff --git a/packages/osd-optimizer/src/worker/run_worker.ts b/packages/osd-optimizer/src/worker/run_worker.ts index ac5b940a78ae..e41c917a883a 100644 --- a/packages/osd-optimizer/src/worker/run_worker.ts +++ b/packages/osd-optimizer/src/worker/run_worker.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { inspect } from 'util'; import * as Rx from 'rxjs'; diff --git a/packages/osd-optimizer/src/worker/theme_loader.ts b/packages/osd-optimizer/src/worker/theme_loader.ts index 0379b03899db..691915b7a571 100644 --- a/packages/osd-optimizer/src/worker/theme_loader.ts +++ b/packages/osd-optimizer/src/worker/theme_loader.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { stringifyRequest, getOptions } from 'loader-utils'; import webpack from 'webpack'; import { parseThemeTags, ALL_THEMES, ThemeTag } from '../common'; diff --git a/packages/osd-optimizer/src/worker/webpack.config.ts b/packages/osd-optimizer/src/worker/webpack.config.ts index bb9c3f3c3a4a..5f1c2c9e1781 100644 --- a/packages/osd-optimizer/src/worker/webpack.config.ts +++ b/packages/osd-optimizer/src/worker/webpack.config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { stringifyRequest } from 'loader-utils'; diff --git a/packages/osd-optimizer/src/worker/webpack_helpers.ts b/packages/osd-optimizer/src/worker/webpack_helpers.ts index 9bf9c117008b..7071141e4a1f 100644 --- a/packages/osd-optimizer/src/worker/webpack_helpers.ts +++ b/packages/osd-optimizer/src/worker/webpack_helpers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import webpack from 'webpack'; // @ts-ignore import Stats from 'webpack/lib/Stats'; diff --git a/packages/osd-plugin-generator/scripts/build.js b/packages/osd-plugin-generator/scripts/build.js index 1e179e940e57..ad12b399a743 100644 --- a/packages/osd-plugin-generator/scripts/build.js +++ b/packages/osd-plugin-generator/scripts/build.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const Path = require('path'); const { run } = require('@osd/dev-utils'); diff --git a/packages/osd-plugin-generator/src/ask_questions.ts b/packages/osd-plugin-generator/src/ask_questions.ts index 15942b2182cb..785d95ca4903 100644 --- a/packages/osd-plugin-generator/src/ask_questions.ts +++ b/packages/osd-plugin-generator/src/ask_questions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { REPO_ROOT } from '@osd/utils'; diff --git a/packages/osd-plugin-generator/src/casing.test.ts b/packages/osd-plugin-generator/src/casing.test.ts index 64dbc50fea3e..5ffe19402655 100644 --- a/packages/osd-plugin-generator/src/casing.test.ts +++ b/packages/osd-plugin-generator/src/casing.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { camelCase, snakeCase, upperCamelCase } from './casing'; describe('camelCase', () => { diff --git a/packages/osd-plugin-generator/src/casing.ts b/packages/osd-plugin-generator/src/casing.ts index 5871b7d2ec96..264bd828e1ce 100644 --- a/packages/osd-plugin-generator/src/casing.ts +++ b/packages/osd-plugin-generator/src/casing.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const words = (input: string) => input .replace(/([a-z0-9])([A-Z])/g, '$1 $2') diff --git a/packages/osd-plugin-generator/src/cli.ts b/packages/osd-plugin-generator/src/cli.ts index 51b6ddc7ca20..596f55159ed0 100644 --- a/packages/osd-plugin-generator/src/cli.ts +++ b/packages/osd-plugin-generator/src/cli.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import Fs from 'fs'; diff --git a/packages/osd-plugin-generator/src/index.ts b/packages/osd-plugin-generator/src/index.ts index ce3c7367b22d..f50702a0daf7 100644 --- a/packages/osd-plugin-generator/src/index.ts +++ b/packages/osd-plugin-generator/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './cli'; diff --git a/packages/osd-plugin-generator/src/integration_tests/generate_plugin.test.ts b/packages/osd-plugin-generator/src/integration_tests/generate_plugin.test.ts index b6ee3577bab3..51378b14470d 100644 --- a/packages/osd-plugin-generator/src/integration_tests/generate_plugin.test.ts +++ b/packages/osd-plugin-generator/src/integration_tests/generate_plugin.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import del from 'del'; diff --git a/packages/osd-plugin-generator/src/plugin_types.ts b/packages/osd-plugin-generator/src/plugin_types.ts index 2f454aed9a00..c2059fb70988 100644 --- a/packages/osd-plugin-generator/src/plugin_types.ts +++ b/packages/osd-plugin-generator/src/plugin_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { REPO_ROOT } from '@osd/utils'; diff --git a/packages/osd-plugin-generator/src/render_template.ts b/packages/osd-plugin-generator/src/render_template.ts index 1f1699cd2427..0472fd66eaf0 100644 --- a/packages/osd-plugin-generator/src/render_template.ts +++ b/packages/osd-plugin-generator/src/render_template.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { pipeline } from 'stream'; import { promisify } from 'util'; diff --git a/packages/osd-plugin-helpers/src/build_context.ts b/packages/osd-plugin-helpers/src/build_context.ts index 000a25f0d283..dd5a837ca5ca 100644 --- a/packages/osd-plugin-helpers/src/build_context.ts +++ b/packages/osd-plugin-helpers/src/build_context.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '@osd/dev-utils'; import { Plugin } from './load_opensearch_dashboards_platform_plugin'; diff --git a/packages/osd-plugin-helpers/src/cli.ts b/packages/osd-plugin-helpers/src/cli.ts index 158e2578bde9..4c0af8cf725a 100644 --- a/packages/osd-plugin-helpers/src/cli.ts +++ b/packages/osd-plugin-helpers/src/cli.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { RunWithCommands, createFlagError, createFailError } from '@osd/dev-utils'; diff --git a/packages/osd-plugin-helpers/src/config.ts b/packages/osd-plugin-helpers/src/config.ts index 3054f175c680..22fc08e4f41a 100644 --- a/packages/osd-plugin-helpers/src/config.ts +++ b/packages/osd-plugin-helpers/src/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import loadJsonFile from 'load-json-file'; diff --git a/packages/osd-plugin-helpers/src/find_opensearch_dashboards_json.ts b/packages/osd-plugin-helpers/src/find_opensearch_dashboards_json.ts index 32116941d45d..dbf63ee8783f 100644 --- a/packages/osd-plugin-helpers/src/find_opensearch_dashboards_json.ts +++ b/packages/osd-plugin-helpers/src/find_opensearch_dashboards_json.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import Fs from 'fs'; import { promisify } from 'util'; diff --git a/packages/osd-plugin-helpers/src/index.ts b/packages/osd-plugin-helpers/src/index.ts index ce3c7367b22d..f50702a0daf7 100644 --- a/packages/osd-plugin-helpers/src/index.ts +++ b/packages/osd-plugin-helpers/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './cli'; diff --git a/packages/osd-plugin-helpers/src/integration_tests/build.test.ts b/packages/osd-plugin-helpers/src/integration_tests/build.test.ts index e2ac764ef33d..4dc550e5004e 100644 --- a/packages/osd-plugin-helpers/src/integration_tests/build.test.ts +++ b/packages/osd-plugin-helpers/src/integration_tests/build.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import Fs from 'fs'; diff --git a/packages/osd-plugin-helpers/src/load_opensearch_dashboards_platform_plugin.ts b/packages/osd-plugin-helpers/src/load_opensearch_dashboards_platform_plugin.ts index 8c88503a4d83..3079b57fc975 100644 --- a/packages/osd-plugin-helpers/src/load_opensearch_dashboards_platform_plugin.ts +++ b/packages/osd-plugin-helpers/src/load_opensearch_dashboards_platform_plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { REPO_ROOT } from '@osd/utils'; diff --git a/packages/osd-plugin-helpers/src/resolve_opensearch_dashboards_version.ts b/packages/osd-plugin-helpers/src/resolve_opensearch_dashboards_version.ts index ccd2ba917d05..8274f7d180d7 100644 --- a/packages/osd-plugin-helpers/src/resolve_opensearch_dashboards_version.ts +++ b/packages/osd-plugin-helpers/src/resolve_opensearch_dashboards_version.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import inquirer from 'inquirer'; import { Plugin } from './load_opensearch_dashboards_platform_plugin'; diff --git a/packages/osd-plugin-helpers/src/tasks/clean.ts b/packages/osd-plugin-helpers/src/tasks/clean.ts index ce25af8ed9fd..b8b3e4d0de42 100644 --- a/packages/osd-plugin-helpers/src/tasks/clean.ts +++ b/packages/osd-plugin-helpers/src/tasks/clean.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import { promisify } from 'util'; diff --git a/packages/osd-plugin-helpers/src/tasks/create_archive.ts b/packages/osd-plugin-helpers/src/tasks/create_archive.ts index ecf4379cbabf..7b0e7cb61687 100644 --- a/packages/osd-plugin-helpers/src/tasks/create_archive.ts +++ b/packages/osd-plugin-helpers/src/tasks/create_archive.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { pipeline } from 'stream'; import { promisify } from 'util'; diff --git a/packages/osd-plugin-helpers/src/tasks/index.ts b/packages/osd-plugin-helpers/src/tasks/index.ts index 42bbef17970f..3a9e6a5c4725 100644 --- a/packages/osd-plugin-helpers/src/tasks/index.ts +++ b/packages/osd-plugin-helpers/src/tasks/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './clean'; export * from './create_archive'; export * from './optimize'; diff --git a/packages/osd-plugin-helpers/src/tasks/optimize.ts b/packages/osd-plugin-helpers/src/tasks/optimize.ts index d8e43483691b..b66fc79ad4b1 100644 --- a/packages/osd-plugin-helpers/src/tasks/optimize.ts +++ b/packages/osd-plugin-helpers/src/tasks/optimize.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import Path from 'path'; import { promisify } from 'util'; diff --git a/packages/osd-plugin-helpers/src/tasks/write_public_assets.ts b/packages/osd-plugin-helpers/src/tasks/write_public_assets.ts index 6dce2452f42f..6bddce7e4748 100644 --- a/packages/osd-plugin-helpers/src/tasks/write_public_assets.ts +++ b/packages/osd-plugin-helpers/src/tasks/write_public_assets.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { pipeline } from 'stream'; import { promisify } from 'util'; diff --git a/packages/osd-plugin-helpers/src/tasks/write_server_files.ts b/packages/osd-plugin-helpers/src/tasks/write_server_files.ts index 56b0001fe96b..693bd0148c52 100644 --- a/packages/osd-plugin-helpers/src/tasks/write_server_files.ts +++ b/packages/osd-plugin-helpers/src/tasks/write_server_files.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { pipeline } from 'stream'; import { promisify } from 'util'; diff --git a/packages/osd-plugin-helpers/src/tasks/yarn_install.ts b/packages/osd-plugin-helpers/src/tasks/yarn_install.ts index f3ec5cee801f..d8f595a96a85 100644 --- a/packages/osd-plugin-helpers/src/tasks/yarn_install.ts +++ b/packages/osd-plugin-helpers/src/tasks/yarn_install.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import Path from 'path'; diff --git a/packages/osd-pm/cli.js b/packages/osd-pm/cli.js index 905d4d31e413..11adbce12ef5 100644 --- a/packages/osd-pm/cli.js +++ b/packages/osd-pm/cli.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('./dist').run(process.argv.slice(2)); diff --git a/packages/osd-pm/dist/index.js b/packages/osd-pm/dist/index.js index 95ebc0bbbd6b..0cefa9767f41 100644 --- a/packages/osd-pm/dist/index.js +++ b/packages/osd-pm/dist/index.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache @@ -10406,18 +10417,18 @@ function mkdirP (p, opts, f, made) { else if (!opts || typeof opts !== 'object') { opts = { mode: opts }; } - + var mode = opts.mode; var xfs = opts.fs || fs; - + if (mode === undefined) { mode = _0777 & (~process.umask()); } if (!made) made = null; - + var cb = f || function () {}; p = path.resolve(p); - + xfs.mkdir(p, mode, function (er) { if (!er) { made = made || p; @@ -10451,10 +10462,10 @@ mkdirP.sync = function sync (p, opts, made) { if (!opts || typeof opts !== 'object') { opts = { mode: opts }; } - + var mode = opts.mode; var xfs = opts.fs || fs; - + if (mode === undefined) { mode = _0777 & (~process.umask()); } @@ -10587,7 +10598,7 @@ function ncp (source, dest, options, callback) { limit = (limit < 1) ? 1 : (limit > 512) ? 512 : limit; startCopy(currentPath); - + function startCopy(source) { started++; if (filter) { @@ -10670,10 +10681,10 @@ function ncp (source, dest, options, callback) { function copyFile(file, target) { var readStream = fs.createReadStream(file.name), writeStream = fs.createWriteStream(target, { mode: file.mode }); - + readStream.on('error', onError); writeStream.on('error', onError); - + if(transform) { transform(readStream, writeStream, file); } else { @@ -10798,7 +10809,7 @@ function ncp (source, dest, options, callback) { if (typeof errs.write === 'undefined') { errs.push(err); } - else { + else { errs.write(err.stack + '\n\n'); } return cb(); @@ -22998,7 +23009,7 @@ function writeFileSync (filename, data, options) { // @return {number} The 32-bit hash MurmurHash3.prototype.result = function() { var k1, h1; - + k1 = this.k1; h1 = this.h1; @@ -26871,7 +26882,7 @@ function usage($0, p) { module.exports = function (args, opts) { if (!opts) opts = {}; - + var flags = { bools : {}, strings : {}, unknownFn: null }; if (typeof opts['unknown'] === 'function') { @@ -26885,7 +26896,7 @@ module.exports = function (args, opts) { flags.bools[key] = true; }); } - + var aliases = {}; Object.keys(opts.alias || {}).forEach(function (key) { aliases[key] = [].concat(opts.alias[key]); @@ -26904,12 +26915,12 @@ module.exports = function (args, opts) { }); var defaults = opts['default'] || {}; - + var argv = { _ : [] }; Object.keys(flags.bools).forEach(function (key) { setArg(key, defaults[key] === undefined ? false : defaults[key]); }); - + var notFlags = []; if (args.indexOf('--') !== -1) { @@ -26931,7 +26942,7 @@ module.exports = function (args, opts) { ? Number(val) : val ; setKey(argv, key.split('.'), value); - + (aliases[key] || []).forEach(function (x) { setKey(argv, x.split('.'), value); }); @@ -26964,7 +26975,7 @@ module.exports = function (args, opts) { o[key] = [ o[key], value ]; } } - + function aliasIsBoolean(key) { return aliases[key].some(function (x) { return flags.bools[x]; @@ -26973,7 +26984,7 @@ module.exports = function (args, opts) { for (var i = 0; i < args.length; i++) { var arg = args[i]; - + if (/^--.+=/.test(arg)) { // Using [\s\S] instead of . because js doesn't support the // 'dotall' regex modifier. See: @@ -27010,29 +27021,29 @@ module.exports = function (args, opts) { } else if (/^-[^-]+/.test(arg)) { var letters = arg.slice(1,-1).split(''); - + var broken = false; for (var j = 0; j < letters.length; j++) { var next = arg.slice(j+2); - + if (next === '-') { setArg(letters[j], next, arg) continue; } - + if (/[A-Za-z]/.test(letters[j]) && /=/.test(next)) { setArg(letters[j], next.split('=')[1], arg); broken = true; break; } - + if (/[A-Za-z]/.test(letters[j]) && /-?\d+(\.\d*)?(e-?\d+)?$/.test(next)) { setArg(letters[j], next, arg); broken = true; break; } - + if (letters[j+1] && letters[j+1].match(/\W/)) { setArg(letters[j], arg.slice(j+2), arg); broken = true; @@ -27042,7 +27053,7 @@ module.exports = function (args, opts) { setArg(letters[j], flags.strings[letters[j]] ? '' : true, arg); } } - + var key = arg.slice(-1)[0]; if (!broken && key !== '-') { if (args[i+1] && !/^(-|--)[^-]/.test(args[i+1]) @@ -27072,17 +27083,17 @@ module.exports = function (args, opts) { } } } - + Object.keys(defaults).forEach(function (key) { if (!hasKey(argv, key.split('.'))) { setKey(argv, key.split('.'), defaults[key]); - + (aliases[key] || []).forEach(function (x) { setKey(argv, x.split('.'), defaults[key]); }); } }); - + if (opts['--']) { argv['--'] = new Array(); notFlags.forEach(function(key) { @@ -33972,18 +33983,18 @@ function mkdirP (p, opts, f, made) { else if (!opts || typeof opts !== 'object') { opts = { mode: opts }; } - + var mode = opts.mode; var xfs = opts.fs || fs; - + if (mode === undefined) { mode = _0777 & (~process.umask()); } if (!made) made = null; - + var cb = f || function () {}; p = path.resolve(p); - + xfs.mkdir(p, mode, function (er) { if (!er) { made = made || p; @@ -34016,10 +34027,10 @@ mkdirP.sync = function sync (p, opts, made) { if (!opts || typeof opts !== 'object') { opts = { mode: opts }; } - + var mode = opts.mode; var xfs = opts.fs || fs; - + if (mode === undefined) { mode = _0777 & (~process.umask()); } @@ -60781,13 +60792,13 @@ var types = parse.types; module.exports = function (re, opts) { if (!opts) opts = {}; var replimit = opts.limit === undefined ? 25 : opts.limit; - + if (isRegExp(re)) re = re.source; else if (typeof re !== 'string') re = String(re); - + try { re = parse(re) } catch (err) { return false } - + var reps = 0; return (function walk (node, starHeight) { if (node.type === types.REPETITION) { @@ -60796,7 +60807,7 @@ module.exports = function (re, opts) { if (starHeight > 1) return false; if (reps > replimit) return false; } - + if (node.options) { for (var i = 0, len = node.options.length; i < len; i++) { var ok = walk({ stack: node.options[i] }, starHeight); @@ -60805,12 +60816,12 @@ module.exports = function (re, opts) { } var stack = node.stack || (node.value && node.value.stack); if (!stack) return true; - + for (var i = 0; i < stack.length; i++) { var ok = walk(stack[i], starHeight); if (!ok) return false; } - + return true; })(re, 0); }; @@ -68811,7 +68822,7 @@ module.exports = function kindOf(val) { if (type === '[object Symbol]') { return 'symbol'; } - + if (type === '[object Map Iterator]') { return 'mapiterator'; } @@ -68824,7 +68835,7 @@ module.exports = function kindOf(val) { if (type === '[object Array Iterator]') { return 'arrayiterator'; } - + // typed arrays if (type === '[object Int8Array]') { return 'int8array'; @@ -86273,4 +86284,4 @@ module.exports = CpyError; /***/ }) -/******/ ]); \ No newline at end of file +/******/ ]); diff --git a/packages/osd-pm/index.d.ts b/packages/osd-pm/index.d.ts index f6da529b9811..6e1c740ed849 100644 --- a/packages/osd-pm/index.d.ts +++ b/packages/osd-pm/index.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './src/index'; diff --git a/packages/osd-pm/src/cli.ts b/packages/osd-pm/src/cli.ts index e7a0dfaf52b9..420298aefb0d 100644 --- a/packages/osd-pm/src/cli.ts +++ b/packages/osd-pm/src/cli.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import dedent from 'dedent'; import getopts from 'getopts'; import { resolve } from 'path'; diff --git a/packages/osd-pm/src/commands/bootstrap.ts b/packages/osd-pm/src/commands/bootstrap.ts index 66b64371fa83..98b33613e159 100644 --- a/packages/osd-pm/src/commands/bootstrap.ts +++ b/packages/osd-pm/src/commands/bootstrap.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { linkProjectExecutables } from '../utils/link_project_executables'; import { log } from '../utils/log'; import { parallelizeBatches } from '../utils/parallelize'; diff --git a/packages/osd-pm/src/commands/clean.ts b/packages/osd-pm/src/commands/clean.ts index fbe9fcf8374d..c8c2a9a68d6e 100644 --- a/packages/osd-pm/src/commands/clean.ts +++ b/packages/osd-pm/src/commands/clean.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import del from 'del'; import ora from 'ora'; import { join, relative } from 'path'; diff --git a/packages/osd-pm/src/commands/index.ts b/packages/osd-pm/src/commands/index.ts index d01a48183ac8..17f1bc5d1703 100644 --- a/packages/osd-pm/src/commands/index.ts +++ b/packages/osd-pm/src/commands/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ProjectGraph, ProjectMap } from '../utils/projects'; export interface ICommandConfig { diff --git a/packages/osd-pm/src/commands/run.ts b/packages/osd-pm/src/commands/run.ts index 3c7c8a5ca57b..d04cd94eaa3a 100644 --- a/packages/osd-pm/src/commands/run.ts +++ b/packages/osd-pm/src/commands/run.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CliError } from '../utils/errors'; import { log } from '../utils/log'; import { parallelizeBatches } from '../utils/parallelize'; diff --git a/packages/osd-pm/src/commands/watch.ts b/packages/osd-pm/src/commands/watch.ts index 0e2b1882f0c4..e48d8de64ee0 100644 --- a/packages/osd-pm/src/commands/watch.ts +++ b/packages/osd-pm/src/commands/watch.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CliError } from '../utils/errors'; import { log } from '../utils/log'; import { parallelizeBatches } from '../utils/parallelize'; diff --git a/packages/osd-pm/src/config.ts b/packages/osd-pm/src/config.ts index 80d7fd721140..09645c6e851d 100644 --- a/packages/osd-pm/src/config.ts +++ b/packages/osd-pm/src/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; interface Options { diff --git a/packages/osd-pm/src/index.ts b/packages/osd-pm/src/index.ts index dfda94b4e16b..4530407443a0 100644 --- a/packages/osd-pm/src/index.ts +++ b/packages/osd-pm/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { run } from './cli'; export { buildProductionProjects } from './production'; export { getProjects } from './utils/projects'; diff --git a/packages/osd-pm/src/production/build_production_projects.ts b/packages/osd-pm/src/production/build_production_projects.ts index 0328f3590dcc..9ffb039d16af 100644 --- a/packages/osd-pm/src/production/build_production_projects.ts +++ b/packages/osd-pm/src/production/build_production_projects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import copy from 'cpy'; import del from 'del'; import { join, relative, resolve } from 'path'; diff --git a/packages/osd-pm/src/production/index.ts b/packages/osd-pm/src/production/index.ts index 3c3ea64c9127..c4f6da22e803 100644 --- a/packages/osd-pm/src/production/index.ts +++ b/packages/osd-pm/src/production/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { buildProductionProjects } from './build_production_projects'; diff --git a/packages/osd-pm/src/run.test.ts b/packages/osd-pm/src/run.test.ts index 6fc316971677..963a87b0ef1b 100644 --- a/packages/osd-pm/src/run.test.ts +++ b/packages/osd-pm/src/run.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { ICommand, ICommandConfig } from './commands'; diff --git a/packages/osd-pm/src/run.ts b/packages/osd-pm/src/run.ts index 444d2f13449c..8601b7d08dd7 100644 --- a/packages/osd-pm/src/run.ts +++ b/packages/osd-pm/src/run.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ICommand, ICommandConfig } from './commands'; import { CliError } from './utils/errors'; import { log } from './utils/log'; diff --git a/packages/osd-pm/src/test_helpers/absolute_path_snapshot_serializer.ts b/packages/osd-pm/src/test_helpers/absolute_path_snapshot_serializer.ts index 5b755f264cb3..3eed7dfbcc4e 100644 --- a/packages/osd-pm/src/test_helpers/absolute_path_snapshot_serializer.ts +++ b/packages/osd-pm/src/test_helpers/absolute_path_snapshot_serializer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeepWith } from 'lodash'; import { resolve, sep as pathSep } from 'path'; diff --git a/packages/osd-pm/src/test_helpers/index.ts b/packages/osd-pm/src/test_helpers/index.ts index fe0794f10fa5..e432686f468a 100644 --- a/packages/osd-pm/src/test_helpers/index.ts +++ b/packages/osd-pm/src/test_helpers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { absolutePathSnapshotSerializer } from './absolute_path_snapshot_serializer'; export { stripAnsiSnapshotSerializer } from './strip_ansi_snapshot_serializer'; diff --git a/packages/osd-pm/src/test_helpers/strip_ansi_snapshot_serializer.ts b/packages/osd-pm/src/test_helpers/strip_ansi_snapshot_serializer.ts index 228f1442fcca..b97b5bd0cc65 100644 --- a/packages/osd-pm/src/test_helpers/strip_ansi_snapshot_serializer.ts +++ b/packages/osd-pm/src/test_helpers/strip_ansi_snapshot_serializer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import hasAnsi from 'has-ansi'; import stripAnsi from 'strip-ansi'; diff --git a/packages/osd-pm/src/utils/bootstrap_cache_file.ts b/packages/osd-pm/src/utils/bootstrap_cache_file.ts index f6a4e08fd685..953956b904a7 100644 --- a/packages/osd-pm/src/utils/bootstrap_cache_file.ts +++ b/packages/osd-pm/src/utils/bootstrap_cache_file.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import Path from 'path'; diff --git a/packages/osd-pm/src/utils/child_process.ts b/packages/osd-pm/src/utils/child_process.ts index 934f74979453..c7d35aa3e5dc 100644 --- a/packages/osd-pm/src/utils/child_process.ts +++ b/packages/osd-pm/src/utils/child_process.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Writable } from 'stream'; import chalk from 'chalk'; diff --git a/packages/osd-pm/src/utils/errors.ts b/packages/osd-pm/src/utils/errors.ts index 3c224e969711..a0adbb415aea 100644 --- a/packages/osd-pm/src/utils/errors.ts +++ b/packages/osd-pm/src/utils/errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export class CliError extends Error { constructor(message: string, public readonly meta = {}) { super(message); diff --git a/packages/osd-pm/src/utils/fs.ts b/packages/osd-pm/src/utils/fs.ts index 971f1bb26e0f..c29aacb2a901 100644 --- a/packages/osd-pm/src/utils/fs.ts +++ b/packages/osd-pm/src/utils/fs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import cmdShimCb from 'cmd-shim'; import fs from 'fs'; import { ncp } from 'ncp'; diff --git a/packages/osd-pm/src/utils/link_project_executables.test.ts b/packages/osd-pm/src/utils/link_project_executables.test.ts index 82b482d6b4c3..811c71027956 100644 --- a/packages/osd-pm/src/utils/link_project_executables.test.ts +++ b/packages/osd-pm/src/utils/link_project_executables.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable @typescript-eslint/no-var-requires */ jest.mock('./fs'); diff --git a/packages/osd-pm/src/utils/link_project_executables.ts b/packages/osd-pm/src/utils/link_project_executables.ts index 231c6029a669..dab0364f284d 100644 --- a/packages/osd-pm/src/utils/link_project_executables.ts +++ b/packages/osd-pm/src/utils/link_project_executables.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { dirname, relative, resolve, sep } from 'path'; import { chmod, createSymlink, isFile, mkdirp } from './fs'; diff --git a/packages/osd-pm/src/utils/log.ts b/packages/osd-pm/src/utils/log.ts index 81ff3c3a6042..a719650b1d5f 100644 --- a/packages/osd-pm/src/utils/log.ts +++ b/packages/osd-pm/src/utils/log.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog, ToolingLogTextWriter, diff --git a/packages/osd-pm/src/utils/opensearch_dashboards.ts b/packages/osd-pm/src/utils/opensearch_dashboards.ts index fe12ebc13c33..6e6278afde4e 100644 --- a/packages/osd-pm/src/utils/opensearch_dashboards.ts +++ b/packages/osd-pm/src/utils/opensearch_dashboards.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import multimatch from 'multimatch'; diff --git a/packages/osd-pm/src/utils/package_json.ts b/packages/osd-pm/src/utils/package_json.ts index e727cd5c401e..34e3db863a35 100644 --- a/packages/osd-pm/src/utils/package_json.ts +++ b/packages/osd-pm/src/utils/package_json.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import readPkg from 'read-pkg'; import writePkg from 'write-pkg'; diff --git a/packages/osd-pm/src/utils/parallelize.test.ts b/packages/osd-pm/src/utils/parallelize.test.ts index edc1336eda11..b194ca2d6e4a 100644 --- a/packages/osd-pm/src/utils/parallelize.test.ts +++ b/packages/osd-pm/src/utils/parallelize.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parallelizeBatches } from './parallelize'; // As promises resolve async, we use this helper to wait for all promises that diff --git a/packages/osd-pm/src/utils/parallelize.ts b/packages/osd-pm/src/utils/parallelize.ts index 9950381e57bd..6853b936e7cb 100644 --- a/packages/osd-pm/src/utils/parallelize.ts +++ b/packages/osd-pm/src/utils/parallelize.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export async function parallelizeBatches(batches: T[][], fn: (item: T) => Promise) { for (const batch of batches) { // We need to make sure the entire batch has completed before we can move on diff --git a/packages/osd-pm/src/utils/project.test.ts b/packages/osd-pm/src/utils/project.test.ts index b8804f98e2c3..5e7c5459924b 100644 --- a/packages/osd-pm/src/utils/project.test.ts +++ b/packages/osd-pm/src/utils/project.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { join, resolve } from 'path'; import { IPackageJson } from './package_json'; diff --git a/packages/osd-pm/src/utils/project.ts b/packages/osd-pm/src/utils/project.ts index ffde6f81cb54..7ecbf2d507f8 100644 --- a/packages/osd-pm/src/utils/project.ts +++ b/packages/osd-pm/src/utils/project.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fs from 'fs'; import Path from 'path'; import { inspect } from 'util'; diff --git a/packages/osd-pm/src/utils/project_checksums.ts b/packages/osd-pm/src/utils/project_checksums.ts index a05fa54d495d..e7d928ce3f73 100644 --- a/packages/osd-pm/src/utils/project_checksums.ts +++ b/packages/osd-pm/src/utils/project_checksums.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import Crypto from 'crypto'; diff --git a/packages/osd-pm/src/utils/projects.test.ts b/packages/osd-pm/src/utils/projects.test.ts index f679facd3006..57935452feb9 100644 --- a/packages/osd-pm/src/utils/projects.test.ts +++ b/packages/osd-pm/src/utils/projects.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mkdir, symlink } from 'fs'; import { join, resolve } from 'path'; import del from 'del'; diff --git a/packages/osd-pm/src/utils/projects.ts b/packages/osd-pm/src/utils/projects.ts index 32e0f06a67dc..e1626db0d856 100644 --- a/packages/osd-pm/src/utils/projects.ts +++ b/packages/osd-pm/src/utils/projects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import globSync from 'glob'; import path from 'path'; import { promisify } from 'util'; diff --git a/packages/osd-pm/src/utils/projects_tree.test.ts b/packages/osd-pm/src/utils/projects_tree.test.ts index 37fe500316c9..78ad3b46ebaf 100644 --- a/packages/osd-pm/src/utils/projects_tree.test.ts +++ b/packages/osd-pm/src/utils/projects_tree.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { getProjectPaths } from '../config'; diff --git a/packages/osd-pm/src/utils/projects_tree.ts b/packages/osd-pm/src/utils/projects_tree.ts index f8d8f20d6671..5a455f35ea63 100644 --- a/packages/osd-pm/src/utils/projects_tree.ts +++ b/packages/osd-pm/src/utils/projects_tree.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import chalk from 'chalk'; import path from 'path'; diff --git a/packages/osd-pm/src/utils/scripts.ts b/packages/osd-pm/src/utils/scripts.ts index a48f55564cf0..cbb49875c021 100644 --- a/packages/osd-pm/src/utils/scripts.ts +++ b/packages/osd-pm/src/utils/scripts.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { spawn, spawnStreaming } from './child_process'; import { Project } from './project'; diff --git a/packages/osd-pm/src/utils/validate_dependencies.ts b/packages/osd-pm/src/utils/validate_dependencies.ts index 7e90006a6d63..51a1c0eada0b 100644 --- a/packages/osd-pm/src/utils/validate_dependencies.ts +++ b/packages/osd-pm/src/utils/validate_dependencies.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-expect-error published types are useless import { stringify as stringifyLockfile } from '@yarnpkg/lockfile'; import dedent from 'dedent'; diff --git a/packages/osd-pm/src/utils/watch.test.ts b/packages/osd-pm/src/utils/watch.test.ts index 47ed61442398..80d313e72733 100644 --- a/packages/osd-pm/src/utils/watch.test.ts +++ b/packages/osd-pm/src/utils/watch.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EventEmitter } from 'events'; import { waitUntilWatchIsReady } from './watch'; diff --git a/packages/osd-pm/src/utils/watch.ts b/packages/osd-pm/src/utils/watch.ts index 0b110f50caea..1a8f69f29fd0 100644 --- a/packages/osd-pm/src/utils/watch.ts +++ b/packages/osd-pm/src/utils/watch.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { catchError, delay, finalize, first, map, mapTo, mergeMap, timeout } from 'rxjs/operators'; diff --git a/packages/osd-pm/src/utils/workspaces.ts b/packages/osd-pm/src/utils/workspaces.ts index 43d0bfaeab2e..649ec4161a7e 100644 --- a/packages/osd-pm/src/utils/workspaces.ts +++ b/packages/osd-pm/src/utils/workspaces.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import globSync from 'glob'; import path from 'path'; import { promisify } from 'util'; diff --git a/packages/osd-pm/src/utils/yarn_lock.ts b/packages/osd-pm/src/utils/yarn_lock.ts index 69490ac5e392..cdd3639626d0 100644 --- a/packages/osd-pm/src/utils/yarn_lock.ts +++ b/packages/osd-pm/src/utils/yarn_lock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-expect-error published types are worthless import { parse as parseLockfile } from '@yarnpkg/lockfile'; diff --git a/packages/osd-pm/webpack.config.js b/packages/osd-pm/webpack.config.js index a23638daea7f..0883da2c4446 100644 --- a/packages/osd-pm/webpack.config.js +++ b/packages/osd-pm/webpack.config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const path = require('path'); module.exports = { diff --git a/packages/osd-spec-to-console/bin/spec_to_console.js b/packages/osd-spec-to-console/bin/spec_to_console.js index 85d65bdbac8f..7c26af1134cf 100644 --- a/packages/osd-spec-to-console/bin/spec_to_console.js +++ b/packages/osd-spec-to-console/bin/spec_to_console.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const fs = require('fs'); const path = require('path'); const program = require('commander'); diff --git a/packages/osd-spec-to-console/index.js b/packages/osd-spec-to-console/index.js index dbbabbe2249b..6779b57a81b4 100644 --- a/packages/osd-spec-to-console/index.js +++ b/packages/osd-spec-to-console/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const convert = require('./lib/convert'); module.exports = convert; diff --git a/packages/osd-spec-to-console/lib/convert.js b/packages/osd-spec-to-console/lib/convert.js index 0968b77baa20..2020942e296c 100644 --- a/packages/osd-spec-to-console/lib/convert.js +++ b/packages/osd-spec-to-console/lib/convert.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const convertParams = require('./convert/params'); const convertMethods = require('./convert/methods'); const convertPaths = require('./convert/paths'); diff --git a/packages/osd-spec-to-console/lib/convert.test.js b/packages/osd-spec-to-console/lib/convert.test.js index 04fab99f7507..cba29d89ac32 100644 --- a/packages/osd-spec-to-console/lib/convert.test.js +++ b/packages/osd-spec-to-console/lib/convert.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const convert = require('./convert'); const clusterHealthSpec = require('../test/fixtures/cluster_health_spec'); diff --git a/packages/osd-spec-to-console/lib/convert/methods.js b/packages/osd-spec-to-console/lib/convert/methods.js index 3a47ebe8de52..12b621ae3385 100644 --- a/packages/osd-spec-to-console/lib/convert/methods.js +++ b/packages/osd-spec-to-console/lib/convert/methods.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = (methods) => { return methods; }; diff --git a/packages/osd-spec-to-console/lib/convert/params.js b/packages/osd-spec-to-console/lib/convert/params.js index d11bc6884de5..aacafbf8b277 100644 --- a/packages/osd-spec-to-console/lib/convert/params.js +++ b/packages/osd-spec-to-console/lib/convert/params.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = (params) => { const result = {}; Object.keys(params).forEach((param) => { diff --git a/packages/osd-spec-to-console/lib/convert/parts.js b/packages/osd-spec-to-console/lib/convert/parts.js index 0e4359d5c354..fa3dc2f619ea 100644 --- a/packages/osd-spec-to-console/lib/convert/parts.js +++ b/packages/osd-spec-to-console/lib/convert/parts.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const replacePattern = require('../replace_pattern'); module.exports = (parts) => { diff --git a/packages/osd-spec-to-console/lib/convert/paths.js b/packages/osd-spec-to-console/lib/convert/paths.js index 8a64a2f6bd5b..32e2281b5b82 100644 --- a/packages/osd-spec-to-console/lib/convert/paths.js +++ b/packages/osd-spec-to-console/lib/convert/paths.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const replacePattern = require('../replace_pattern'); module.exports = (patterns) => { diff --git a/packages/osd-spec-to-console/lib/replace_pattern.js b/packages/osd-spec-to-console/lib/replace_pattern.js index 449a5bb9676d..52424a7070fe 100644 --- a/packages/osd-spec-to-console/lib/replace_pattern.js +++ b/packages/osd-spec-to-console/lib/replace_pattern.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const map = require('./static/map_interpolation'); module.exports = (pattern, { brackets, exact } = {}) => { diff --git a/packages/osd-std/src/assert_never.ts b/packages/osd-std/src/assert_never.ts index bd3bcd5d130a..c2ee298e5edb 100644 --- a/packages/osd-std/src/assert_never.ts +++ b/packages/osd-std/src/assert_never.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Can be used in switch statements to ensure we perform exhaustive checks, see * https://www.typescriptlang.org/docs/handbook/advanced-types.html#exhaustiveness-checking diff --git a/packages/osd-std/src/deep_freeze.test.ts b/packages/osd-std/src/deep_freeze.test.ts index 373f33a67a5b..d4774d1f3b34 100644 --- a/packages/osd-std/src/deep_freeze.test.ts +++ b/packages/osd-std/src/deep_freeze.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { deepFreeze } from './deep_freeze'; it('returns the first argument with all original references', () => { diff --git a/packages/osd-std/src/deep_freeze.ts b/packages/osd-std/src/deep_freeze.ts index 24373afb8e3d..fc4b71f79dec 100644 --- a/packages/osd-std/src/deep_freeze.ts +++ b/packages/osd-std/src/deep_freeze.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { RecursiveReadonly } from '@osd/utility-types'; /** @public */ diff --git a/packages/osd-std/src/get.test.ts b/packages/osd-std/src/get.test.ts index f22242d33ca3..63f39a81ef88 100644 --- a/packages/osd-std/src/get.test.ts +++ b/packages/osd-std/src/get.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from './get'; const obj = { diff --git a/packages/osd-std/src/get.ts b/packages/osd-std/src/get.ts index 31b30a60c213..c7081634219e 100644 --- a/packages/osd-std/src/get.ts +++ b/packages/osd-std/src/get.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Retrieve the value for the specified path * diff --git a/packages/osd-std/src/get_flattened_object.test.ts b/packages/osd-std/src/get_flattened_object.test.ts index 04ebf96140f9..5ec600c94d47 100644 --- a/packages/osd-std/src/get_flattened_object.test.ts +++ b/packages/osd-std/src/get_flattened_object.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getFlattenedObject } from './get_flattened_object'; describe('getFlattenedObject()', () => { diff --git a/packages/osd-std/src/get_flattened_object.ts b/packages/osd-std/src/get_flattened_object.ts index 9fe8af5a15ff..72c44c66b450 100644 --- a/packages/osd-std/src/get_flattened_object.ts +++ b/packages/osd-std/src/get_flattened_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - function shouldReadKeys(value: unknown): value is Record { return typeof value === 'object' && value !== null && !Array.isArray(value); } diff --git a/packages/osd-std/src/index.ts b/packages/osd-std/src/index.ts index 956763d61b71..3f2db99efd5d 100644 --- a/packages/osd-std/src/index.ts +++ b/packages/osd-std/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { assertNever } from './assert_never'; export { deepFreeze, Freezable } from './deep_freeze'; export { get } from './get'; diff --git a/packages/osd-std/src/map_to_object.ts b/packages/osd-std/src/map_to_object.ts index 309db6160559..009c1452b590 100644 --- a/packages/osd-std/src/map_to_object.ts +++ b/packages/osd-std/src/map_to_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function mapToObject(map: ReadonlyMap) { const result: Record = Object.create(null); for (const [key, value] of map) { diff --git a/packages/osd-std/src/map_utils.test.ts b/packages/osd-std/src/map_utils.test.ts index 7ceaca7eb088..48ab61354e27 100644 --- a/packages/osd-std/src/map_utils.test.ts +++ b/packages/osd-std/src/map_utils.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapValuesOfMap, groupIntoMap } from './map_utils'; describe('groupIntoMap', () => { diff --git a/packages/osd-std/src/map_utils.ts b/packages/osd-std/src/map_utils.ts index d33b80719d17..660dae2a0b37 100644 --- a/packages/osd-std/src/map_utils.ts +++ b/packages/osd-std/src/map_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function mapValuesOfMap(map: Map, mapper: (item: G) => H): Map { const result = new Map(); for (const [key, value] of map.entries()) { diff --git a/packages/osd-std/src/merge.test.ts b/packages/osd-std/src/merge.test.ts index 939dae837b17..14d42e622977 100644 --- a/packages/osd-std/src/merge.test.ts +++ b/packages/osd-std/src/merge.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // eslint-disable-next-line max-classes-per-file import { merge } from './merge'; diff --git a/packages/osd-std/src/merge.ts b/packages/osd-std/src/merge.ts index aadc872c6a5e..8125bd79f745 100644 --- a/packages/osd-std/src/merge.ts +++ b/packages/osd-std/src/merge.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { isPlainObject } from 'lodash'; /** * Deeply merges two objects, omitting undefined values, and not deeply merging Arrays. diff --git a/packages/osd-std/src/pick.ts b/packages/osd-std/src/pick.ts index 97caadbbd48e..1abfd10aeaf4 100644 --- a/packages/osd-std/src/pick.ts +++ b/packages/osd-std/src/pick.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function pick(obj: T, keys: readonly K[]): Pick { return keys.reduce((acc, key) => { if (obj.hasOwnProperty(key)) { diff --git a/packages/osd-std/src/promise.test.ts b/packages/osd-std/src/promise.test.ts index 23b0ca49d795..e4c65c17e456 100644 --- a/packages/osd-std/src/promise.test.ts +++ b/packages/osd-std/src/promise.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { withTimeout } from './promise'; const delay = (ms: number, resolveValue?: any) => diff --git a/packages/osd-std/src/promise.ts b/packages/osd-std/src/promise.ts index 5febb25a9b46..e36cb9f93d59 100644 --- a/packages/osd-std/src/promise.ts +++ b/packages/osd-std/src/promise.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function withTimeout({ promise, timeout, diff --git a/packages/osd-std/src/rxjs_7.test.ts b/packages/osd-std/src/rxjs_7.test.ts index 604ecf0b0a58..fb7759d74af9 100644 --- a/packages/osd-std/src/rxjs_7.test.ts +++ b/packages/osd-std/src/rxjs_7.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { firstValueFrom, lastValueFrom } from './rxjs_7'; diff --git a/packages/osd-std/src/rxjs_7.ts b/packages/osd-std/src/rxjs_7.ts index 79904fd11f93..350d2b9e636c 100644 --- a/packages/osd-std/src/rxjs_7.ts +++ b/packages/osd-std/src/rxjs_7.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { first, last } from 'rxjs/operators'; diff --git a/packages/osd-std/src/unset.test.ts b/packages/osd-std/src/unset.test.ts index 2728c0bbe011..fb4cc91ac039 100644 --- a/packages/osd-std/src/unset.test.ts +++ b/packages/osd-std/src/unset.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { unset } from './unset'; describe('unset', () => { diff --git a/packages/osd-std/src/unset.ts b/packages/osd-std/src/unset.ts index 28908bc58ba5..50f89711cff1 100644 --- a/packages/osd-std/src/unset.ts +++ b/packages/osd-std/src/unset.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from './get'; /** diff --git a/packages/osd-std/src/url.test.ts b/packages/osd-std/src/url.test.ts index 0ba3ab0b67cb..56dbde02ae1d 100644 --- a/packages/osd-std/src/url.test.ts +++ b/packages/osd-std/src/url.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { modifyUrl, isRelativeUrl, getUrlOrigin } from './url'; describe('modifyUrl()', () => { diff --git a/packages/osd-std/src/url.ts b/packages/osd-std/src/url.ts index cdb95ef22acb..6a0f9cdb0052 100644 --- a/packages/osd-std/src/url.ts +++ b/packages/osd-std/src/url.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { format as formatUrl, parse as parseUrl, UrlObject } from 'url'; import type { ParsedQuery } from 'query-string'; diff --git a/packages/osd-telemetry-tools/babel.config.js b/packages/osd-telemetry-tools/babel.config.js index 085ee2885738..b286069c599c 100644 --- a/packages/osd-telemetry-tools/babel.config.js +++ b/packages/osd-telemetry-tools/babel.config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = { presets: ['@osd/babel-preset/node_preset'], ignore: ['**/*.test.ts', '**/__fixture__/**'], diff --git a/packages/osd-telemetry-tools/src/cli/run_telemetry_check.ts b/packages/osd-telemetry-tools/src/cli/run_telemetry_check.ts index b21382788274..172278261e00 100644 --- a/packages/osd-telemetry-tools/src/cli/run_telemetry_check.ts +++ b/packages/osd-telemetry-tools/src/cli/run_telemetry_check.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Listr from 'listr'; import chalk from 'chalk'; import { createFailError, run } from '@osd/dev-utils'; diff --git a/packages/osd-telemetry-tools/src/cli/run_telemetry_extract.ts b/packages/osd-telemetry-tools/src/cli/run_telemetry_extract.ts index 015b3f1a57fb..fe74ffd4b838 100644 --- a/packages/osd-telemetry-tools/src/cli/run_telemetry_extract.ts +++ b/packages/osd-telemetry-tools/src/cli/run_telemetry_extract.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Listr from 'listr'; import { run } from '@osd/dev-utils'; diff --git a/packages/osd-telemetry-tools/src/index.ts b/packages/osd-telemetry-tools/src/index.ts index 0ab77c8c65cf..36a69018e767 100644 --- a/packages/osd-telemetry-tools/src/index.ts +++ b/packages/osd-telemetry-tools/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { runTelemetryCheck } from './cli/run_telemetry_check'; export { runTelemetryExtract } from './cli/run_telemetry_extract'; diff --git a/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_externally_defined_collector.ts b/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_externally_defined_collector.ts index ed8c8d3f48ed..58a0d21f116d 100644 --- a/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_externally_defined_collector.ts +++ b/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_externally_defined_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SyntaxKind } from 'typescript'; import { ParsedUsageCollection } from '../ts_parser'; diff --git a/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_imported_schema.ts b/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_imported_schema.ts index 6cc21a28a82b..0293be0fd674 100644 --- a/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_imported_schema.ts +++ b/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_imported_schema.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SyntaxKind } from 'typescript'; import { ParsedUsageCollection } from '../ts_parser'; diff --git a/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_imported_usage_interface.ts b/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_imported_usage_interface.ts index 8ea3b09cdc06..fbc483ccbb13 100644 --- a/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_imported_usage_interface.ts +++ b/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_imported_usage_interface.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SyntaxKind } from 'typescript'; import { ParsedUsageCollection } from '../ts_parser'; diff --git a/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_indexed_interface_with_not_matching_schema.ts b/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_indexed_interface_with_not_matching_schema.ts index 200e4e67c92e..7bb0afb05bc5 100644 --- a/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_indexed_interface_with_not_matching_schema.ts +++ b/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_indexed_interface_with_not_matching_schema.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SyntaxKind } from 'typescript'; import { ParsedUsageCollection } from '../ts_parser'; diff --git a/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_nested_collector.ts b/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_nested_collector.ts index bea70eafc60d..908fa604c784 100644 --- a/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_nested_collector.ts +++ b/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_nested_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SyntaxKind } from 'typescript'; import { ParsedUsageCollection } from '../ts_parser'; diff --git a/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_schema_defined_with_spreads_collector.ts b/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_schema_defined_with_spreads_collector.ts index a7f9ef6b31ff..df71b7a48a32 100644 --- a/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_schema_defined_with_spreads_collector.ts +++ b/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_schema_defined_with_spreads_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SyntaxKind } from 'typescript'; import { ParsedUsageCollection } from '../ts_parser'; diff --git a/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_working_collector.ts b/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_working_collector.ts index f9bc82322068..057e2492bbb0 100644 --- a/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_working_collector.ts +++ b/packages/osd-telemetry-tools/src/tools/__fixture__/parsed_working_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SyntaxKind } from 'typescript'; import { ParsedUsageCollection } from '../ts_parser'; diff --git a/packages/osd-telemetry-tools/src/tools/check_collector__integrity.test.ts b/packages/osd-telemetry-tools/src/tools/check_collector__integrity.test.ts index 424cd2d3ed91..67bd6167ba66 100644 --- a/packages/osd-telemetry-tools/src/tools/check_collector__integrity.test.ts +++ b/packages/osd-telemetry-tools/src/tools/check_collector__integrity.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeep } from 'lodash'; import * as ts from 'typescript'; import { parsedWorkingCollector } from './__fixture__/parsed_working_collector'; diff --git a/packages/osd-telemetry-tools/src/tools/check_collector_integrity.ts b/packages/osd-telemetry-tools/src/tools/check_collector_integrity.ts index 27614ebdf3fe..a6741c20d8e4 100644 --- a/packages/osd-telemetry-tools/src/tools/check_collector_integrity.ts +++ b/packages/osd-telemetry-tools/src/tools/check_collector_integrity.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { reduce } from 'lodash'; import { difference, flattenKeys, pickDeep } from './utils'; import { ParsedUsageCollection } from './ts_parser'; diff --git a/packages/osd-telemetry-tools/src/tools/config.test.ts b/packages/osd-telemetry-tools/src/tools/config.test.ts index 65e5d4d73601..577f9bfeab02 100644 --- a/packages/osd-telemetry-tools/src/tools/config.test.ts +++ b/packages/osd-telemetry-tools/src/tools/config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as path from 'path'; import { parseTelemetryRC } from './config'; diff --git a/packages/osd-telemetry-tools/src/tools/config.ts b/packages/osd-telemetry-tools/src/tools/config.ts index 230f3be80b27..54b38fa37090 100644 --- a/packages/osd-telemetry-tools/src/tools/config.ts +++ b/packages/osd-telemetry-tools/src/tools/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as path from 'path'; import { readFileAsync } from './utils'; import { TELEMETRY_RC } from './constants'; diff --git a/packages/osd-telemetry-tools/src/tools/constants.ts b/packages/osd-telemetry-tools/src/tools/constants.ts index 3e1b86ffa731..074e76118a57 100644 --- a/packages/osd-telemetry-tools/src/tools/constants.ts +++ b/packages/osd-telemetry-tools/src/tools/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const TELEMETRY_RC = '.telemetryrc.json'; diff --git a/packages/osd-telemetry-tools/src/tools/extract_collectors.test.ts b/packages/osd-telemetry-tools/src/tools/extract_collectors.test.ts index 330bba134552..73012abcebc8 100644 --- a/packages/osd-telemetry-tools/src/tools/extract_collectors.test.ts +++ b/packages/osd-telemetry-tools/src/tools/extract_collectors.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as ts from 'typescript'; import * as path from 'path'; import { extractCollectors, getProgramPaths } from './extract_collectors'; diff --git a/packages/osd-telemetry-tools/src/tools/extract_collectors.ts b/packages/osd-telemetry-tools/src/tools/extract_collectors.ts index e6c4034d8c5c..a3fcf9d3d508 100644 --- a/packages/osd-telemetry-tools/src/tools/extract_collectors.ts +++ b/packages/osd-telemetry-tools/src/tools/extract_collectors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as ts from 'typescript'; import * as path from 'path'; import { parseUsageCollection } from './ts_parser'; diff --git a/packages/osd-telemetry-tools/src/tools/manage_schema.test.ts b/packages/osd-telemetry-tools/src/tools/manage_schema.test.ts index 716108f88004..db02b9beeffd 100644 --- a/packages/osd-telemetry-tools/src/tools/manage_schema.test.ts +++ b/packages/osd-telemetry-tools/src/tools/manage_schema.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { generateMapping } from './manage_schema'; import { parsedWorkingCollector } from './__fixture__/parsed_working_collector'; import * as path from 'path'; diff --git a/packages/osd-telemetry-tools/src/tools/manage_schema.ts b/packages/osd-telemetry-tools/src/tools/manage_schema.ts index e1dab8284674..54652536b051 100644 --- a/packages/osd-telemetry-tools/src/tools/manage_schema.ts +++ b/packages/osd-telemetry-tools/src/tools/manage_schema.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ParsedUsageCollection } from './ts_parser'; export type AllowedSchemaTypes = diff --git a/packages/osd-telemetry-tools/src/tools/serializer.test.ts b/packages/osd-telemetry-tools/src/tools/serializer.test.ts index 4b09221c09cc..515d4e0c501e 100644 --- a/packages/osd-telemetry-tools/src/tools/serializer.test.ts +++ b/packages/osd-telemetry-tools/src/tools/serializer.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as ts from 'typescript'; import * as path from 'path'; import { getDescriptor, TelemetryKinds } from './serializer'; diff --git a/packages/osd-telemetry-tools/src/tools/serializer.ts b/packages/osd-telemetry-tools/src/tools/serializer.ts index 1e528f423ecc..628e27cb4ea5 100644 --- a/packages/osd-telemetry-tools/src/tools/serializer.ts +++ b/packages/osd-telemetry-tools/src/tools/serializer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as ts from 'typescript'; import { uniqBy, pick } from 'lodash'; import { diff --git a/packages/osd-telemetry-tools/src/tools/tasks/check_compatible_types_task.ts b/packages/osd-telemetry-tools/src/tools/tasks/check_compatible_types_task.ts index 39b6811a6446..d0734ee0704d 100644 --- a/packages/osd-telemetry-tools/src/tools/tasks/check_compatible_types_task.ts +++ b/packages/osd-telemetry-tools/src/tools/tasks/check_compatible_types_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TaskContext } from './task_context'; import { checkCompatibleTypeDescriptor } from '../check_collector_integrity'; diff --git a/packages/osd-telemetry-tools/src/tools/tasks/check_matching_schemas_task.ts b/packages/osd-telemetry-tools/src/tools/tasks/check_matching_schemas_task.ts index 84f0b098b83a..1bf42118e054 100644 --- a/packages/osd-telemetry-tools/src/tools/tasks/check_matching_schemas_task.ts +++ b/packages/osd-telemetry-tools/src/tools/tasks/check_matching_schemas_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as path from 'path'; import { TaskContext } from './task_context'; import { checkMatchingMapping } from '../check_collector_integrity'; diff --git a/packages/osd-telemetry-tools/src/tools/tasks/error_reporter.ts b/packages/osd-telemetry-tools/src/tools/tasks/error_reporter.ts index c0a09106e2c3..bfbbda8d3e64 100644 --- a/packages/osd-telemetry-tools/src/tools/tasks/error_reporter.ts +++ b/packages/osd-telemetry-tools/src/tools/tasks/error_reporter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import chalk from 'chalk'; import { normalizePath } from '../utils'; diff --git a/packages/osd-telemetry-tools/src/tools/tasks/extract_collectors_task.ts b/packages/osd-telemetry-tools/src/tools/tasks/extract_collectors_task.ts index 1b9bccf4f3d1..6ca6bb7232c1 100644 --- a/packages/osd-telemetry-tools/src/tools/tasks/extract_collectors_task.ts +++ b/packages/osd-telemetry-tools/src/tools/tasks/extract_collectors_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as ts from 'typescript'; import * as path from 'path'; import { TaskContext } from './task_context'; diff --git a/packages/osd-telemetry-tools/src/tools/tasks/generate_schemas_task.ts b/packages/osd-telemetry-tools/src/tools/tasks/generate_schemas_task.ts index aeaeb13133c4..ca5b97a7cc33 100644 --- a/packages/osd-telemetry-tools/src/tools/tasks/generate_schemas_task.ts +++ b/packages/osd-telemetry-tools/src/tools/tasks/generate_schemas_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TaskContext } from './task_context'; import { generateMapping } from '../manage_schema'; diff --git a/packages/osd-telemetry-tools/src/tools/tasks/index.ts b/packages/osd-telemetry-tools/src/tools/tasks/index.ts index c4e2db1e47d9..7987a7ab1168 100644 --- a/packages/osd-telemetry-tools/src/tools/tasks/index.ts +++ b/packages/osd-telemetry-tools/src/tools/tasks/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ErrorReporter } from './error_reporter'; export { TaskContext, createTaskContext } from './task_context'; diff --git a/packages/osd-telemetry-tools/src/tools/tasks/parse_configs_task.ts b/packages/osd-telemetry-tools/src/tools/tasks/parse_configs_task.ts index 14a5e7b9db05..2ea8046f83cb 100644 --- a/packages/osd-telemetry-tools/src/tools/tasks/parse_configs_task.ts +++ b/packages/osd-telemetry-tools/src/tools/tasks/parse_configs_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as path from 'path'; import { parseTelemetryRC } from '../config'; import { TaskContext } from './task_context'; diff --git a/packages/osd-telemetry-tools/src/tools/tasks/task_context.ts b/packages/osd-telemetry-tools/src/tools/tasks/task_context.ts index 817a3d7f938a..3671c418ce8e 100644 --- a/packages/osd-telemetry-tools/src/tools/tasks/task_context.ts +++ b/packages/osd-telemetry-tools/src/tools/tasks/task_context.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TelemetryRC } from '../config'; import { ErrorReporter } from './error_reporter'; import { ParsedUsageCollection } from '../ts_parser'; diff --git a/packages/osd-telemetry-tools/src/tools/tasks/write_to_file_task.ts b/packages/osd-telemetry-tools/src/tools/tasks/write_to_file_task.ts index 05c5c67d53d5..d09ed0527a82 100644 --- a/packages/osd-telemetry-tools/src/tools/tasks/write_to_file_task.ts +++ b/packages/osd-telemetry-tools/src/tools/tasks/write_to_file_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as path from 'path'; import { writeFileAsync } from '../utils'; import { TaskContext } from './task_context'; diff --git a/packages/osd-telemetry-tools/src/tools/ts_parser.test.ts b/packages/osd-telemetry-tools/src/tools/ts_parser.test.ts index 1fa18057c30d..57bb318f0449 100644 --- a/packages/osd-telemetry-tools/src/tools/ts_parser.test.ts +++ b/packages/osd-telemetry-tools/src/tools/ts_parser.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parseUsageCollection } from './ts_parser'; import * as ts from 'typescript'; import * as path from 'path'; diff --git a/packages/osd-telemetry-tools/src/tools/ts_parser.ts b/packages/osd-telemetry-tools/src/tools/ts_parser.ts index 1a902d0a5113..2932bd76d470 100644 --- a/packages/osd-telemetry-tools/src/tools/ts_parser.ts +++ b/packages/osd-telemetry-tools/src/tools/ts_parser.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as ts from 'typescript'; import { createFailError } from '@osd/dev-utils'; import * as path from 'path'; diff --git a/packages/osd-telemetry-tools/src/tools/utils.ts b/packages/osd-telemetry-tools/src/tools/utils.ts index d65e3431d1a6..3df213f82784 100644 --- a/packages/osd-telemetry-tools/src/tools/utils.ts +++ b/packages/osd-telemetry-tools/src/tools/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as ts from 'typescript'; import { pick, diff --git a/packages/osd-test-subj-selector/__tests__/index.js b/packages/osd-test-subj-selector/__tests__/index.js index d28c20e40642..8b87ab8f6cd1 100755 --- a/packages/osd-test-subj-selector/__tests__/index.js +++ b/packages/osd-test-subj-selector/__tests__/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const testSubjSelector = require('../'); const expect = require('@osd/expect'); diff --git a/packages/osd-test-subj-selector/index.d.ts b/packages/osd-test-subj-selector/index.d.ts index 12541b4c1b14..3ac568b2efd8 100644 --- a/packages/osd-test-subj-selector/index.d.ts +++ b/packages/osd-test-subj-selector/index.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // eslint-disable-next-line import/no-default-export export default function osdTestSubjSelector(selector: string): string; diff --git a/packages/osd-test-subj-selector/index.js b/packages/osd-test-subj-selector/index.js index 91a40c51172a..c61360ed9f91 100755 --- a/packages/osd-test-subj-selector/index.js +++ b/packages/osd-test-subj-selector/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - function selectorToTerms(selector) { return selector .replace(/\s*~\s*/g, '~') // css locator with '~' operator cannot contain spaces diff --git a/packages/osd-test/babel.config.js b/packages/osd-test/babel.config.js index fa4e4756952b..3b30d40dee6c 100644 --- a/packages/osd-test/babel.config.js +++ b/packages/osd-test/babel.config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = { presets: ['@osd/babel-preset/node_preset'], ignore: ['**/*.test.js'], diff --git a/packages/osd-test/index.d.ts b/packages/osd-test/index.d.ts index f6da529b9811..6e1c740ed849 100644 --- a/packages/osd-test/index.d.ts +++ b/packages/osd-test/index.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './src/index'; diff --git a/packages/osd-test/src/ci_parallel_process_prefix.ts b/packages/osd-test/src/ci_parallel_process_prefix.ts index 2b7d36c8ffab..61596cffa55f 100644 --- a/packages/osd-test/src/ci_parallel_process_prefix.ts +++ b/packages/osd-test/src/ci_parallel_process_prefix.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const job = process.env.JOB ? `job-${process.env.JOB}-` : ''; const num = process.env.CI_PARALLEL_PROCESS_NUMBER ? `worker-${process.env.CI_PARALLEL_PROCESS_NUMBER}-` diff --git a/packages/osd-test/src/failed_tests_reporter/__fixtures__/index.ts b/packages/osd-test/src/failed_tests_reporter/__fixtures__/index.ts index e1490c9b6b0d..43c1704954b8 100644 --- a/packages/osd-test/src/failed_tests_reporter/__fixtures__/index.ts +++ b/packages/osd-test/src/failed_tests_reporter/__fixtures__/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const Fs = jest.requireActual('fs'); export const FTR_REPORT = Fs.readFileSync(require.resolve('./ftr_report.xml'), 'utf8'); diff --git a/packages/osd-test/src/failed_tests_reporter/add_messages_to_report.test.ts b/packages/osd-test/src/failed_tests_reporter/add_messages_to_report.test.ts index bbaacc74f24a..f5ba44e7834b 100644 --- a/packages/osd-test/src/failed_tests_reporter/add_messages_to_report.test.ts +++ b/packages/osd-test/src/failed_tests_reporter/add_messages_to_report.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { ToolingLog } from '@osd/dev-utils'; diff --git a/packages/osd-test/src/failed_tests_reporter/add_messages_to_report.ts b/packages/osd-test/src/failed_tests_reporter/add_messages_to_report.ts index 987ef7c49fd6..9bd128550f31 100644 --- a/packages/osd-test/src/failed_tests_reporter/add_messages_to_report.ts +++ b/packages/osd-test/src/failed_tests_reporter/add_messages_to_report.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import { promisify } from 'util'; diff --git a/packages/osd-test/src/failed_tests_reporter/get_failures.test.ts b/packages/osd-test/src/failed_tests_reporter/get_failures.test.ts index 0bce7373d01f..87408d255eca 100644 --- a/packages/osd-test/src/failed_tests_reporter/get_failures.test.ts +++ b/packages/osd-test/src/failed_tests_reporter/get_failures.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getFailures } from './get_failures'; import { parseTestReport } from './test_report'; import { FTR_REPORT, JEST_REPORT, MOCHA_REPORT } from './__fixtures__'; diff --git a/packages/osd-test/src/failed_tests_reporter/get_failures.ts b/packages/osd-test/src/failed_tests_reporter/get_failures.ts index 3a626431e5dc..658c00001118 100644 --- a/packages/osd-test/src/failed_tests_reporter/get_failures.ts +++ b/packages/osd-test/src/failed_tests_reporter/get_failures.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import stripAnsi from 'strip-ansi'; import { FailedTestCase, TestReport, makeFailedTestCaseIter } from './test_report'; diff --git a/packages/osd-test/src/failed_tests_reporter/github_api.ts b/packages/osd-test/src/failed_tests_reporter/github_api.ts index 8613656ba2ba..c384d56eb104 100644 --- a/packages/osd-test/src/failed_tests_reporter/github_api.ts +++ b/packages/osd-test/src/failed_tests_reporter/github_api.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Url from 'url'; import Axios, { AxiosRequestConfig, AxiosInstance } from 'axios'; diff --git a/packages/osd-test/src/failed_tests_reporter/index.ts b/packages/osd-test/src/failed_tests_reporter/index.ts index a3ecaf4a36d3..2151dbe2444b 100644 --- a/packages/osd-test/src/failed_tests_reporter/index.ts +++ b/packages/osd-test/src/failed_tests_reporter/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { runFailedTestsReporterCli } from './run_failed_tests_reporter_cli'; diff --git a/packages/osd-test/src/failed_tests_reporter/issue_metadata.test.ts b/packages/osd-test/src/failed_tests_reporter/issue_metadata.test.ts index fd82f62b82ac..f5ccd9ef9421 100644 --- a/packages/osd-test/src/failed_tests_reporter/issue_metadata.test.ts +++ b/packages/osd-test/src/failed_tests_reporter/issue_metadata.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import dedent from 'dedent'; import { getIssueMetadata, updateIssueMetadata } from './issue_metadata'; diff --git a/packages/osd-test/src/failed_tests_reporter/issue_metadata.ts b/packages/osd-test/src/failed_tests_reporter/issue_metadata.ts index 7fb8148a5b2a..28bf19769860 100644 --- a/packages/osd-test/src/failed_tests_reporter/issue_metadata.ts +++ b/packages/osd-test/src/failed_tests_reporter/issue_metadata.ts @@ -1,5 +1,16 @@ /* eslint-disable @osd/eslint/require-license-header */ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* @notice * This product bundles code based on probot-metadata@1.0.0 which is * available under a "MIT" license. diff --git a/packages/osd-test/src/failed_tests_reporter/report_failure.test.ts b/packages/osd-test/src/failed_tests_reporter/report_failure.test.ts index a5398570d648..e1428b016de5 100644 --- a/packages/osd-test/src/failed_tests_reporter/report_failure.test.ts +++ b/packages/osd-test/src/failed_tests_reporter/report_failure.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import dedent from 'dedent'; import { createFailureIssue, updateFailureIssue } from './report_failure'; diff --git a/packages/osd-test/src/failed_tests_reporter/report_failure.ts b/packages/osd-test/src/failed_tests_reporter/report_failure.ts index 0d18a90a4b13..f80f10b9819a 100644 --- a/packages/osd-test/src/failed_tests_reporter/report_failure.ts +++ b/packages/osd-test/src/failed_tests_reporter/report_failure.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TestFailure } from './get_failures'; import { GithubIssueMini, GithubApi } from './github_api'; import { getIssueMetadata, updateIssueMetadata } from './issue_metadata'; diff --git a/packages/osd-test/src/failed_tests_reporter/report_metadata.test.ts b/packages/osd-test/src/failed_tests_reporter/report_metadata.test.ts index 8c652f4197ff..bdf32fa2fd52 100644 --- a/packages/osd-test/src/failed_tests_reporter/report_metadata.test.ts +++ b/packages/osd-test/src/failed_tests_reporter/report_metadata.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getReportMessageIter } from './report_metadata'; import { parseTestReport } from './test_report'; import { FTR_REPORT, JEST_REPORT, MOCHA_REPORT } from './__fixtures__'; diff --git a/packages/osd-test/src/failed_tests_reporter/report_metadata.ts b/packages/osd-test/src/failed_tests_reporter/report_metadata.ts index 925a635bb7ab..ddfdbf46689f 100644 --- a/packages/osd-test/src/failed_tests_reporter/report_metadata.ts +++ b/packages/osd-test/src/failed_tests_reporter/report_metadata.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TestReport, makeTestCaseIter } from './test_report'; export function* getReportMessageIter(report: TestReport) { diff --git a/packages/osd-test/src/failed_tests_reporter/run_failed_tests_reporter_cli.ts b/packages/osd-test/src/failed_tests_reporter/run_failed_tests_reporter_cli.ts index 156a19047e3b..86fff0dec924 100644 --- a/packages/osd-test/src/failed_tests_reporter/run_failed_tests_reporter_cli.ts +++ b/packages/osd-test/src/failed_tests_reporter/run_failed_tests_reporter_cli.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { REPO_ROOT } from '@osd/utils'; diff --git a/packages/osd-test/src/failed_tests_reporter/test_report.ts b/packages/osd-test/src/failed_tests_reporter/test_report.ts index 1569b0bfc751..ec35cf4799c4 100644 --- a/packages/osd-test/src/failed_tests_reporter/test_report.ts +++ b/packages/osd-test/src/failed_tests_reporter/test_report.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import { promisify } from 'util'; diff --git a/packages/osd-test/src/functional_test_runner/__tests__/fixtures/failure_hooks/config.js b/packages/osd-test/src/functional_test_runner/__tests__/fixtures/failure_hooks/config.js index 59c01c21f3d1..11d5731c3fff 100644 --- a/packages/osd-test/src/functional_test_runner/__tests__/fixtures/failure_hooks/config.js +++ b/packages/osd-test/src/functional_test_runner/__tests__/fixtures/failure_hooks/config.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { delay } from 'bluebird'; export default function () { diff --git a/packages/osd-test/src/functional_test_runner/__tests__/fixtures/failure_hooks/tests/after_hook.js b/packages/osd-test/src/functional_test_runner/__tests__/fixtures/failure_hooks/tests/after_hook.js index e01d5ef98144..57bc33ef8848 100644 --- a/packages/osd-test/src/functional_test_runner/__tests__/fixtures/failure_hooks/tests/after_hook.js +++ b/packages/osd-test/src/functional_test_runner/__tests__/fixtures/failure_hooks/tests/after_hook.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function () { describe('failing after hook', () => { it('stub test', () => {}); diff --git a/packages/osd-test/src/functional_test_runner/__tests__/fixtures/failure_hooks/tests/before_hook.js b/packages/osd-test/src/functional_test_runner/__tests__/fixtures/failure_hooks/tests/before_hook.js index e4872947bded..392f600ffd1c 100644 --- a/packages/osd-test/src/functional_test_runner/__tests__/fixtures/failure_hooks/tests/before_hook.js +++ b/packages/osd-test/src/functional_test_runner/__tests__/fixtures/failure_hooks/tests/before_hook.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function () { describe('failing before hook', () => { before('$FAILING_BEFORE_HOOK$', () => { diff --git a/packages/osd-test/src/functional_test_runner/__tests__/fixtures/failure_hooks/tests/it.js b/packages/osd-test/src/functional_test_runner/__tests__/fixtures/failure_hooks/tests/it.js index 8872717a4b75..2f8c411c7072 100644 --- a/packages/osd-test/src/functional_test_runner/__tests__/fixtures/failure_hooks/tests/it.js +++ b/packages/osd-test/src/functional_test_runner/__tests__/fixtures/failure_hooks/tests/it.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function () { describe('failing test', () => { it('$FAILING_TEST$', () => { diff --git a/packages/osd-test/src/functional_test_runner/__tests__/fixtures/simple_project/config.js b/packages/osd-test/src/functional_test_runner/__tests__/fixtures/simple_project/config.js index 8d71895bb4c7..6eb3f860a6a1 100644 --- a/packages/osd-test/src/functional_test_runner/__tests__/fixtures/simple_project/config.js +++ b/packages/osd-test/src/functional_test_runner/__tests__/fixtures/simple_project/config.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; export default () => ({ diff --git a/packages/osd-test/src/functional_test_runner/__tests__/fixtures/simple_project/tests.js b/packages/osd-test/src/functional_test_runner/__tests__/fixtures/simple_project/tests.js index 5fa53b660579..633fc93ab457 100644 --- a/packages/osd-test/src/functional_test_runner/__tests__/fixtures/simple_project/tests.js +++ b/packages/osd-test/src/functional_test_runner/__tests__/fixtures/simple_project/tests.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default () => { diff --git a/packages/osd-test/src/functional_test_runner/__tests__/integration/basic.js b/packages/osd-test/src/functional_test_runner/__tests__/integration/basic.js index d87548d48fd6..7f484bfb62a5 100644 --- a/packages/osd-test/src/functional_test_runner/__tests__/integration/basic.js +++ b/packages/osd-test/src/functional_test_runner/__tests__/integration/basic.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { spawnSync } from 'child_process'; import { resolve } from 'path'; diff --git a/packages/osd-test/src/functional_test_runner/__tests__/integration/failure_hooks.js b/packages/osd-test/src/functional_test_runner/__tests__/integration/failure_hooks.js index 695e5dc9a164..d23685a6423d 100644 --- a/packages/osd-test/src/functional_test_runner/__tests__/integration/failure_hooks.js +++ b/packages/osd-test/src/functional_test_runner/__tests__/integration/failure_hooks.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { spawnSync } from 'child_process'; import { resolve } from 'path'; diff --git a/packages/osd-test/src/functional_test_runner/cli.ts b/packages/osd-test/src/functional_test_runner/cli.ts index 742af2c825ea..382962744355 100644 --- a/packages/osd-test/src/functional_test_runner/cli.ts +++ b/packages/osd-test/src/functional_test_runner/cli.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { inspect } from 'util'; diff --git a/packages/osd-test/src/functional_test_runner/fake_mocha_types.d.ts b/packages/osd-test/src/functional_test_runner/fake_mocha_types.d.ts index 959178cf9d6a..d5f30505ad74 100644 --- a/packages/osd-test/src/functional_test_runner/fake_mocha_types.d.ts +++ b/packages/osd-test/src/functional_test_runner/fake_mocha_types.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * The real mocha types conflict with the global jest types, because * globals are terrible. So instead of using any for everything this diff --git a/packages/osd-test/src/functional_test_runner/functional_test_runner.ts b/packages/osd-test/src/functional_test_runner/functional_test_runner.ts index 96c5ad13b3a8..9c274ca9ba2a 100644 --- a/packages/osd-test/src/functional_test_runner/functional_test_runner.ts +++ b/packages/osd-test/src/functional_test_runner/functional_test_runner.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '@osd/dev-utils'; import { Suite, Test } from './fake_mocha_types'; diff --git a/packages/osd-test/src/functional_test_runner/index.ts b/packages/osd-test/src/functional_test_runner/index.ts index 51419e1854d5..30e20e5d6f04 100644 --- a/packages/osd-test/src/functional_test_runner/index.ts +++ b/packages/osd-test/src/functional_test_runner/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { FunctionalTestRunner } from './functional_test_runner'; export { readConfigFile, Config } from './lib'; export { runFtrCli } from './cli'; diff --git a/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.1.js b/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.1.js index 31cc2a4554e0..78add463947d 100644 --- a/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.1.js +++ b/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.1.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function () { return { testFiles: [ diff --git a/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.2.js b/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.2.js index 823d1ffe24d3..b4ba66968687 100644 --- a/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.2.js +++ b/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.2.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default async function ({ readConfigFile }) { const config1 = await readConfigFile(require.resolve('./config.1.js')); diff --git a/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.3.js b/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.3.js index 9434e8afb9d4..5d13d1c11ab0 100644 --- a/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.3.js +++ b/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.3.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default async function ({ readConfigFile }) { const config4 = await readConfigFile(require.resolve('./config.4')); return { diff --git a/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.4.js b/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.4.js index c54b8a626cab..ae9d5dc0194a 100644 --- a/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.4.js +++ b/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.4.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function () { return { screenshots: { diff --git a/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.invalid.js b/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.invalid.js index 7fac698ed64e..621312c7c716 100644 --- a/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.invalid.js +++ b/packages/osd-test/src/functional_test_runner/lib/config/__tests__/fixtures/config.invalid.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default async function () { return { foo: 'bar' diff --git a/packages/osd-test/src/functional_test_runner/lib/config/__tests__/read_config_file.js b/packages/osd-test/src/functional_test_runner/lib/config/__tests__/read_config_file.js index 61bcde48078f..ff5980ffcb3d 100644 --- a/packages/osd-test/src/functional_test_runner/lib/config/__tests__/read_config_file.js +++ b/packages/osd-test/src/functional_test_runner/lib/config/__tests__/read_config_file.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { ToolingLog } from '@osd/dev-utils'; diff --git a/packages/osd-test/src/functional_test_runner/lib/config/config.ts b/packages/osd-test/src/functional_test_runner/lib/config/config.ts index 1c9f81cda2d9..3fd162bef29b 100644 --- a/packages/osd-test/src/functional_test_runner/lib/config/config.ts +++ b/packages/osd-test/src/functional_test_runner/lib/config/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Schema } from 'joi'; import { cloneDeepWith, get, has, toPath } from 'lodash'; diff --git a/packages/osd-test/src/functional_test_runner/lib/config/index.ts b/packages/osd-test/src/functional_test_runner/lib/config/index.ts index 0730fded6b03..4b390eeb8c68 100644 --- a/packages/osd-test/src/functional_test_runner/lib/config/index.ts +++ b/packages/osd-test/src/functional_test_runner/lib/config/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Config } from './config'; export { readConfigFile } from './read_config_file'; diff --git a/packages/osd-test/src/functional_test_runner/lib/config/read_config_file.ts b/packages/osd-test/src/functional_test_runner/lib/config/read_config_file.ts index cae20f86d050..d872eba2fef2 100644 --- a/packages/osd-test/src/functional_test_runner/lib/config/read_config_file.ts +++ b/packages/osd-test/src/functional_test_runner/lib/config/read_config_file.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '@osd/dev-utils'; import { defaultsDeep } from 'lodash'; diff --git a/packages/osd-test/src/functional_test_runner/lib/config/schema.ts b/packages/osd-test/src/functional_test_runner/lib/config/schema.ts index 494048269bd8..447db1e97874 100644 --- a/packages/osd-test/src/functional_test_runner/lib/config/schema.ts +++ b/packages/osd-test/src/functional_test_runner/lib/config/schema.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { dirname, resolve } from 'path'; import Joi from 'joi'; diff --git a/packages/osd-test/src/functional_test_runner/lib/docker_servers/container_logs.ts b/packages/osd-test/src/functional_test_runner/lib/docker_servers/container_logs.ts index 90e6ba3a8bb0..784d2c59dbc8 100644 --- a/packages/osd-test/src/functional_test_runner/lib/docker_servers/container_logs.ts +++ b/packages/osd-test/src/functional_test_runner/lib/docker_servers/container_logs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import execa from 'execa'; import * as Rx from 'rxjs'; import { tap } from 'rxjs/operators'; diff --git a/packages/osd-test/src/functional_test_runner/lib/docker_servers/container_running.ts b/packages/osd-test/src/functional_test_runner/lib/docker_servers/container_running.ts index 4522991f5bfb..7afb6b35e2b0 100644 --- a/packages/osd-test/src/functional_test_runner/lib/docker_servers/container_running.ts +++ b/packages/osd-test/src/functional_test_runner/lib/docker_servers/container_running.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import execa from 'execa'; import * as Rx from 'rxjs'; import { ToolingLog } from '@osd/dev-utils'; diff --git a/packages/osd-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts b/packages/osd-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts index 15a1c5a6b6b4..13bf83aaf7ce 100644 --- a/packages/osd-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts +++ b/packages/osd-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; export interface DockerServerSpec { diff --git a/packages/osd-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts b/packages/osd-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts index a285d5007b25..954740ca24ff 100644 --- a/packages/osd-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts +++ b/packages/osd-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Url from 'url'; import execa from 'execa'; import * as Rx from 'rxjs'; diff --git a/packages/osd-test/src/functional_test_runner/lib/docker_servers/index.ts b/packages/osd-test/src/functional_test_runner/lib/docker_servers/index.ts index 0c20e2779af6..db5fd1c802eb 100644 --- a/packages/osd-test/src/functional_test_runner/lib/docker_servers/index.ts +++ b/packages/osd-test/src/functional_test_runner/lib/docker_servers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './docker_servers_service'; export * from './define_docker_servers_config'; diff --git a/packages/osd-test/src/functional_test_runner/lib/failure_metadata.test.ts b/packages/osd-test/src/functional_test_runner/lib/failure_metadata.test.ts index 8ef5c5a1dc7d..38cf12e947fb 100644 --- a/packages/osd-test/src/functional_test_runner/lib/failure_metadata.test.ts +++ b/packages/osd-test/src/functional_test_runner/lib/failure_metadata.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Lifecycle } from './lifecycle'; import { FailureMetadata } from './failure_metadata'; diff --git a/packages/osd-test/src/functional_test_runner/lib/failure_metadata.ts b/packages/osd-test/src/functional_test_runner/lib/failure_metadata.ts index 294ee00baaf7..c8953f30d114 100644 --- a/packages/osd-test/src/functional_test_runner/lib/failure_metadata.ts +++ b/packages/osd-test/src/functional_test_runner/lib/failure_metadata.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { REPO_ROOT } from '@osd/utils'; diff --git a/packages/osd-test/src/functional_test_runner/lib/index.ts b/packages/osd-test/src/functional_test_runner/lib/index.ts index a0c66abbe5d0..9ab270927f9e 100644 --- a/packages/osd-test/src/functional_test_runner/lib/index.ts +++ b/packages/osd-test/src/functional_test_runner/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Lifecycle } from './lifecycle'; export { LifecyclePhase } from './lifecycle_phase'; export { readConfigFile, Config } from './config'; diff --git a/packages/osd-test/src/functional_test_runner/lib/lifecycle.ts b/packages/osd-test/src/functional_test_runner/lib/lifecycle.ts index b0c4de1d9f58..d084e00a7f5d 100644 --- a/packages/osd-test/src/functional_test_runner/lib/lifecycle.ts +++ b/packages/osd-test/src/functional_test_runner/lib/lifecycle.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LifecyclePhase } from './lifecycle_phase'; // mocha's global types mean we can't import Mocha or it will override the global jest types.............. diff --git a/packages/osd-test/src/functional_test_runner/lib/lifecycle_event.ts b/packages/osd-test/src/functional_test_runner/lib/lifecycle_event.ts index 58a1151ecb61..020e85d93a5b 100644 --- a/packages/osd-test/src/functional_test_runner/lib/lifecycle_event.ts +++ b/packages/osd-test/src/functional_test_runner/lib/lifecycle_event.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; export type GetArgsType> = T extends LifecycleEvent diff --git a/packages/osd-test/src/functional_test_runner/lib/lifecycle_phase.test.ts b/packages/osd-test/src/functional_test_runner/lib/lifecycle_phase.test.ts index a4f28889dfda..e7b0d9eefb25 100644 --- a/packages/osd-test/src/functional_test_runner/lib/lifecycle_phase.test.ts +++ b/packages/osd-test/src/functional_test_runner/lib/lifecycle_phase.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { materialize, toArray } from 'rxjs/operators'; diff --git a/packages/osd-test/src/functional_test_runner/lib/lifecycle_phase.ts b/packages/osd-test/src/functional_test_runner/lib/lifecycle_phase.ts index 5dd7fb1ddd41..02106a4b1dd1 100644 --- a/packages/osd-test/src/functional_test_runner/lib/lifecycle_phase.ts +++ b/packages/osd-test/src/functional_test_runner/lib/lifecycle_phase.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; const shuffle = (arr: T[]) => arr.slice().sort(() => (Math.random() > 0.5 ? 1 : -1)); diff --git a/packages/osd-test/src/functional_test_runner/lib/load_tracer.ts b/packages/osd-test/src/functional_test_runner/lib/load_tracer.ts index 7d232340dbfa..a3d2d523210e 100644 --- a/packages/osd-test/src/functional_test_runner/lib/load_tracer.ts +++ b/packages/osd-test/src/functional_test_runner/lib/load_tracer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const globalLoadPath: Array<{ ident: string; description: string }> = []; function getPath(startAt = 0) { diff --git a/packages/osd-test/src/functional_test_runner/lib/mocha/assignment_proxy.js b/packages/osd-test/src/functional_test_runner/lib/mocha/assignment_proxy.js index 1d20aad35891..10ea1e239e92 100644 --- a/packages/osd-test/src/functional_test_runner/lib/mocha/assignment_proxy.js +++ b/packages/osd-test/src/functional_test_runner/lib/mocha/assignment_proxy.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function createAssignmentProxy(object, interceptor) { const originalValues = new Map(); diff --git a/packages/osd-test/src/functional_test_runner/lib/mocha/decorate_mocha_ui.js b/packages/osd-test/src/functional_test_runner/lib/mocha/decorate_mocha_ui.js index 2edc94be3c4a..6319c94d1050 100644 --- a/packages/osd-test/src/functional_test_runner/lib/mocha/decorate_mocha_ui.js +++ b/packages/osd-test/src/functional_test_runner/lib/mocha/decorate_mocha_ui.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { relative } from 'path'; import { REPO_ROOT } from '@osd/utils'; import { createAssignmentProxy } from './assignment_proxy'; diff --git a/packages/osd-test/src/functional_test_runner/lib/mocha/filter_suites_by_tags.js b/packages/osd-test/src/functional_test_runner/lib/mocha/filter_suites_by_tags.js index 850b6c974d9b..908ccf8d63d6 100644 --- a/packages/osd-test/src/functional_test_runner/lib/mocha/filter_suites_by_tags.js +++ b/packages/osd-test/src/functional_test_runner/lib/mocha/filter_suites_by_tags.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Given a mocha instance that has already loaded all of its suites, filter out * the suites based on the include/exclude tags. If there are include tags then diff --git a/packages/osd-test/src/functional_test_runner/lib/mocha/filter_suites_by_tags.test.js b/packages/osd-test/src/functional_test_runner/lib/mocha/filter_suites_by_tags.test.js index f82576be702f..5781a6fd785f 100644 --- a/packages/osd-test/src/functional_test_runner/lib/mocha/filter_suites_by_tags.test.js +++ b/packages/osd-test/src/functional_test_runner/lib/mocha/filter_suites_by_tags.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { format } from 'util'; import Mocha from 'mocha'; diff --git a/packages/osd-test/src/functional_test_runner/lib/mocha/index.ts b/packages/osd-test/src/functional_test_runner/lib/mocha/index.ts index e7d00f9f0d81..e60752f4b679 100644 --- a/packages/osd-test/src/functional_test_runner/lib/mocha/index.ts +++ b/packages/osd-test/src/functional_test_runner/lib/mocha/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore will be replaced shortly export { setupMocha } from './setup_mocha'; export { runTests } from './run_tests'; diff --git a/packages/osd-test/src/functional_test_runner/lib/mocha/load_test_files.js b/packages/osd-test/src/functional_test_runner/lib/mocha/load_test_files.js index f1aa648f3a09..562d83ea6f4f 100644 --- a/packages/osd-test/src/functional_test_runner/lib/mocha/load_test_files.js +++ b/packages/osd-test/src/functional_test_runner/lib/mocha/load_test_files.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isAbsolute } from 'path'; import { loadTracer } from '../load_tracer'; diff --git a/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/colors.js b/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/colors.js index 955eb3e288db..bacf28d228d6 100644 --- a/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/colors.js +++ b/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/colors.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { bold, dim, green, yellow, red, cyan } from 'chalk'; export const suite = bold; diff --git a/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/index.js b/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/index.js index 3391b1918d42..a63ef50da9b9 100644 --- a/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/index.js +++ b/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { MochaReporterProvider } from './reporter'; diff --git a/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/ms.js b/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/ms.js index c35b03595e02..a0b60bcc4d83 100644 --- a/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/ms.js +++ b/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/ms.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; /** diff --git a/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/reporter.js b/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/reporter.js index d46a73ec1435..7e99bf2c6ad3 100644 --- a/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/reporter.js +++ b/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/reporter.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { format } from 'util'; import Mocha from 'mocha'; diff --git a/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/symbols.js b/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/symbols.js index 47cef2346104..ac74e5f17aa7 100644 --- a/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/symbols.js +++ b/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/symbols.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // originally extracted from mocha https://git.io/v1PGh export const ok = process.platform === 'win32' ? '\u221A' : '✓'; diff --git a/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/write_epilogue.js b/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/write_epilogue.js index c283f4b3e233..293d001bf32a 100644 --- a/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/write_epilogue.js +++ b/packages/osd-test/src/functional_test_runner/lib/mocha/reporter/write_epilogue.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as colors from './colors'; import { ms } from './ms'; diff --git a/packages/osd-test/src/functional_test_runner/lib/mocha/run_tests.ts b/packages/osd-test/src/functional_test_runner/lib/mocha/run_tests.ts index 2da42c81bc85..71ae48585d44 100644 --- a/packages/osd-test/src/functional_test_runner/lib/mocha/run_tests.ts +++ b/packages/osd-test/src/functional_test_runner/lib/mocha/run_tests.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Lifecycle } from '../lifecycle'; import { Mocha } from '../../fake_mocha_types'; diff --git a/packages/osd-test/src/functional_test_runner/lib/mocha/setup_mocha.js b/packages/osd-test/src/functional_test_runner/lib/mocha/setup_mocha.js index a0f4558f9489..d0cbe9adea99 100644 --- a/packages/osd-test/src/functional_test_runner/lib/mocha/setup_mocha.js +++ b/packages/osd-test/src/functional_test_runner/lib/mocha/setup_mocha.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Mocha from 'mocha'; import { relative } from 'path'; import { REPO_ROOT } from '@osd/utils'; diff --git a/packages/osd-test/src/functional_test_runner/lib/mocha/wrap_function.js b/packages/osd-test/src/functional_test_runner/lib/mocha/wrap_function.js index 4b30a87f1a19..c3a4d6632a9d 100644 --- a/packages/osd-test/src/functional_test_runner/lib/mocha/wrap_function.js +++ b/packages/osd-test/src/functional_test_runner/lib/mocha/wrap_function.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Get handler that will intercept calls to `toString` * on the function, since Function.prototype.toString() diff --git a/packages/osd-test/src/functional_test_runner/lib/mocha/wrap_runnable_args.js b/packages/osd-test/src/functional_test_runner/lib/mocha/wrap_runnable_args.js index d27742bbad3c..0a1240f48de0 100644 --- a/packages/osd-test/src/functional_test_runner/lib/mocha/wrap_runnable_args.js +++ b/packages/osd-test/src/functional_test_runner/lib/mocha/wrap_runnable_args.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { wrapFunction, wrapAsyncFunction } from './wrap_function'; /** diff --git a/packages/osd-test/src/functional_test_runner/lib/providers/async_instance.ts b/packages/osd-test/src/functional_test_runner/lib/providers/async_instance.ts index b419707dfbbf..e294fa288de0 100644 --- a/packages/osd-test/src/functional_test_runner/lib/providers/async_instance.ts +++ b/packages/osd-test/src/functional_test_runner/lib/providers/async_instance.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const INITIALIZING = Symbol('async instance initializing'); const asyncInitFns = new WeakSet(); diff --git a/packages/osd-test/src/functional_test_runner/lib/providers/index.ts b/packages/osd-test/src/functional_test_runner/lib/providers/index.ts index 7680d8b00380..455597674350 100644 --- a/packages/osd-test/src/functional_test_runner/lib/providers/index.ts +++ b/packages/osd-test/src/functional_test_runner/lib/providers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ProviderCollection } from './provider_collection'; export { Provider, readProviderSpec } from './read_provider_spec'; diff --git a/packages/osd-test/src/functional_test_runner/lib/providers/provider_collection.ts b/packages/osd-test/src/functional_test_runner/lib/providers/provider_collection.ts index e62b64ce5161..aa38548c4ffc 100644 --- a/packages/osd-test/src/functional_test_runner/lib/providers/provider_collection.ts +++ b/packages/osd-test/src/functional_test_runner/lib/providers/provider_collection.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '@osd/dev-utils'; import { loadTracer } from '../load_tracer'; diff --git a/packages/osd-test/src/functional_test_runner/lib/providers/read_provider_spec.ts b/packages/osd-test/src/functional_test_runner/lib/providers/read_provider_spec.ts index 2190caba2454..c442adeabd19 100644 --- a/packages/osd-test/src/functional_test_runner/lib/providers/read_provider_spec.ts +++ b/packages/osd-test/src/functional_test_runner/lib/providers/read_provider_spec.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export type Providers = ReturnType; export type Provider = Providers extends Array ? X : unknown; diff --git a/packages/osd-test/src/functional_test_runner/lib/providers/verbose_instance.ts b/packages/osd-test/src/functional_test_runner/lib/providers/verbose_instance.ts index 2f7e63030c43..efadee5e5b10 100644 --- a/packages/osd-test/src/functional_test_runner/lib/providers/verbose_instance.ts +++ b/packages/osd-test/src/functional_test_runner/lib/providers/verbose_instance.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { inspect } from 'util'; import { ToolingLog } from '@osd/dev-utils'; diff --git a/packages/osd-test/src/functional_test_runner/lib/suite_tracker.test.ts b/packages/osd-test/src/functional_test_runner/lib/suite_tracker.test.ts index 497ccd04c63c..f7c45727734c 100644 --- a/packages/osd-test/src/functional_test_runner/lib/suite_tracker.test.ts +++ b/packages/osd-test/src/functional_test_runner/lib/suite_tracker.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fs from 'fs'; import { join, resolve } from 'path'; diff --git a/packages/osd-test/src/functional_test_runner/lib/suite_tracker.ts b/packages/osd-test/src/functional_test_runner/lib/suite_tracker.ts index 2b0d1fa8ab98..742cd4e98677 100644 --- a/packages/osd-test/src/functional_test_runner/lib/suite_tracker.ts +++ b/packages/osd-test/src/functional_test_runner/lib/suite_tracker.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import fs from 'fs'; import { dirname, relative, resolve } from 'path'; diff --git a/packages/osd-test/src/functional_tests/cli/index.js b/packages/osd-test/src/functional_tests/cli/index.js index 436c5563ae23..ce74d5cb58e1 100644 --- a/packages/osd-test/src/functional_tests/cli/index.js +++ b/packages/osd-test/src/functional_tests/cli/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { runTestsCli } from './run_tests/cli'; export { processOptions as processRunTestsCliOptions } from './run_tests/args'; export { startServersCli } from './start_servers/cli'; diff --git a/packages/osd-test/src/functional_tests/cli/run_tests/args.js b/packages/osd-test/src/functional_tests/cli/run_tests/args.js index 9b07ba4f41df..ca73844a9889 100644 --- a/packages/osd-test/src/functional_tests/cli/run_tests/args.js +++ b/packages/osd-test/src/functional_tests/cli/run_tests/args.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import dedent from 'dedent'; diff --git a/packages/osd-test/src/functional_tests/cli/run_tests/args.test.js b/packages/osd-test/src/functional_tests/cli/run_tests/args.test.js index 5f95f41517bc..93cd532f2927 100644 --- a/packages/osd-test/src/functional_tests/cli/run_tests/args.test.js +++ b/packages/osd-test/src/functional_tests/cli/run_tests/args.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { displayHelp, processOptions } from './args'; import { createAbsolutePathSerializer } from '@osd/dev-utils'; diff --git a/packages/osd-test/src/functional_tests/cli/run_tests/cli.js b/packages/osd-test/src/functional_tests/cli/run_tests/cli.js index f6d3b0d4b34d..01331b2eea4c 100644 --- a/packages/osd-test/src/functional_tests/cli/run_tests/cli.js +++ b/packages/osd-test/src/functional_tests/cli/run_tests/cli.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { runTests } from '../../tasks'; import { runCli } from '../../lib'; import { processOptions, displayHelp } from './args'; diff --git a/packages/osd-test/src/functional_tests/cli/run_tests/cli.test.js b/packages/osd-test/src/functional_tests/cli/run_tests/cli.test.js index 0420da14cb10..bebeae985d58 100644 --- a/packages/osd-test/src/functional_tests/cli/run_tests/cli.test.js +++ b/packages/osd-test/src/functional_tests/cli/run_tests/cli.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Writable } from 'stream'; import { runTestsCli } from './cli'; diff --git a/packages/osd-test/src/functional_tests/cli/start_servers/args.js b/packages/osd-test/src/functional_tests/cli/start_servers/args.js index e6df8909453d..ae2fd8fa6d0d 100644 --- a/packages/osd-test/src/functional_tests/cli/start_servers/args.js +++ b/packages/osd-test/src/functional_tests/cli/start_servers/args.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import dedent from 'dedent'; diff --git a/packages/osd-test/src/functional_tests/cli/start_servers/args.test.js b/packages/osd-test/src/functional_tests/cli/start_servers/args.test.js index da20db32a6e1..e8ee6eff2c5c 100644 --- a/packages/osd-test/src/functional_tests/cli/start_servers/args.test.js +++ b/packages/osd-test/src/functional_tests/cli/start_servers/args.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { displayHelp, processOptions } from './args'; import { createAbsolutePathSerializer } from '@osd/dev-utils'; diff --git a/packages/osd-test/src/functional_tests/cli/start_servers/cli.js b/packages/osd-test/src/functional_tests/cli/start_servers/cli.js index 70fc16639c1d..cb2813cc52fc 100644 --- a/packages/osd-test/src/functional_tests/cli/start_servers/cli.js +++ b/packages/osd-test/src/functional_tests/cli/start_servers/cli.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { startServers } from '../../tasks'; import { runCli } from '../../lib'; import { processOptions, displayHelp } from './args'; diff --git a/packages/osd-test/src/functional_tests/cli/start_servers/cli.test.js b/packages/osd-test/src/functional_tests/cli/start_servers/cli.test.js index 426b300b8dc1..c07a55718816 100644 --- a/packages/osd-test/src/functional_tests/cli/start_servers/cli.test.js +++ b/packages/osd-test/src/functional_tests/cli/start_servers/cli.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Writable } from 'stream'; import { startServersCli } from './cli'; diff --git a/packages/osd-test/src/functional_tests/lib/babel_register_for_test_plugins.js b/packages/osd-test/src/functional_tests/lib/babel_register_for_test_plugins.js index 5a5f5189a066..5a4f73f9f398 100644 --- a/packages/osd-test/src/functional_tests/lib/babel_register_for_test_plugins.js +++ b/packages/osd-test/src/functional_tests/lib/babel_register_for_test_plugins.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const Path = require('path'); const { REPO_ROOT } = require('@osd/dev-utils'); diff --git a/packages/osd-test/src/functional_tests/lib/index.js b/packages/osd-test/src/functional_tests/lib/index.js index 492e01d2d12e..a6722c6f6a2a 100644 --- a/packages/osd-test/src/functional_tests/lib/index.js +++ b/packages/osd-test/src/functional_tests/lib/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { runOpenSearchDashboardsServer } from './run_opensearch_dashboards_server'; export { runOpenSearch } from './run_opensearch'; export { runFtr, hasTests, assertNoneExcluded } from './run_ftr'; diff --git a/packages/osd-test/src/functional_tests/lib/paths.js b/packages/osd-test/src/functional_tests/lib/paths.js index c6d54e83d9ab..f3872a6eea67 100644 --- a/packages/osd-test/src/functional_tests/lib/paths.js +++ b/packages/osd-test/src/functional_tests/lib/paths.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve, relative } from 'path'; // resolve() treats relative paths as relative to process.cwd(), diff --git a/packages/osd-test/src/functional_tests/lib/run_cli.js b/packages/osd-test/src/functional_tests/lib/run_cli.js index 7a8a4e511ef1..ff5c417dc0fb 100644 --- a/packages/osd-test/src/functional_tests/lib/run_cli.js +++ b/packages/osd-test/src/functional_tests/lib/run_cli.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { inspect } from 'util'; import chalk from 'chalk'; diff --git a/packages/osd-test/src/functional_tests/lib/run_cli.test.js b/packages/osd-test/src/functional_tests/lib/run_cli.test.js index 72c5a87b8d1b..6b15045a8761 100644 --- a/packages/osd-test/src/functional_tests/lib/run_cli.test.js +++ b/packages/osd-test/src/functional_tests/lib/run_cli.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { runCli } from './run_cli'; import { checkMockConsoleLogSnapshot } from '../test_helpers'; diff --git a/packages/osd-test/src/functional_tests/lib/run_ftr.js b/packages/osd-test/src/functional_tests/lib/run_ftr.js index 6c26f0a6c594..8e3c56b4aed1 100644 --- a/packages/osd-test/src/functional_tests/lib/run_ftr.js +++ b/packages/osd-test/src/functional_tests/lib/run_ftr.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FunctionalTestRunner, readConfigFile } from '../../functional_test_runner'; import { CliError } from './run_cli'; diff --git a/packages/osd-test/src/functional_tests/lib/run_opensearch.js b/packages/osd-test/src/functional_tests/lib/run_opensearch.js index 52dc9e5da139..925cebcf55bf 100644 --- a/packages/osd-test/src/functional_tests/lib/run_opensearch.js +++ b/packages/osd-test/src/functional_tests/lib/run_opensearch.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,16 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { OPENSEARCH_DASHBOARDS_ROOT } from './paths'; import { createLegacyOpenSearchTestCluster } from '../../legacy_opensearch'; diff --git a/packages/osd-test/src/functional_tests/lib/run_opensearch_dashboards_server.js b/packages/osd-test/src/functional_tests/lib/run_opensearch_dashboards_server.js index e7d3ae0033d1..65e600126910 100644 --- a/packages/osd-test/src/functional_tests/lib/run_opensearch_dashboards_server.js +++ b/packages/osd-test/src/functional_tests/lib/run_opensearch_dashboards_server.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve, relative } from 'path'; import { OPENSEARCH_DASHBOARDS_ROOT, diff --git a/packages/osd-test/src/functional_tests/tasks.js b/packages/osd-test/src/functional_tests/tasks.js index ba030883e732..76c3d8e30378 100644 --- a/packages/osd-test/src/functional_tests/tasks.js +++ b/packages/osd-test/src/functional_tests/tasks.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { relative } from 'path'; import * as Rx from 'rxjs'; import { startWith, switchMap, take } from 'rxjs/operators'; diff --git a/packages/osd-test/src/functional_tests/test_helpers.js b/packages/osd-test/src/functional_tests/test_helpers.js index 02a2303ed2c6..272bd279fde5 100644 --- a/packages/osd-test/src/functional_tests/test_helpers.js +++ b/packages/osd-test/src/functional_tests/test_helpers.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-env jest */ import { format } from 'util'; diff --git a/packages/osd-test/src/index.ts b/packages/osd-test/src/index.ts index b50c3b9f6f27..2827b74f9563 100644 --- a/packages/osd-test/src/index.ts +++ b/packages/osd-test/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { runTestsCli, processRunTestsCliOptions, diff --git a/packages/osd-test/src/junit_report_path.ts b/packages/osd-test/src/junit_report_path.ts index 819688c9b002..33c54c62f7ee 100644 --- a/packages/osd-test/src/junit_report_path.ts +++ b/packages/osd-test/src/junit_report_path.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import Path from 'path'; diff --git a/packages/osd-test/src/legacy_opensearch/index.js b/packages/osd-test/src/legacy_opensearch/index.js index 9af79902cf70..51617c778c5d 100644 --- a/packages/osd-test/src/legacy_opensearch/index.js +++ b/packages/osd-test/src/legacy_opensearch/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createLegacyOpenSearchTestCluster } from './legacy_opensearch_test_cluster.js'; export { opensearchTestConfig } from './opensearch_test_config'; diff --git a/packages/osd-test/src/legacy_opensearch/legacy_opensearch_test_cluster.js b/packages/osd-test/src/legacy_opensearch/legacy_opensearch_test_cluster.js index 72ba271e8ae7..72506099dfe4 100644 --- a/packages/osd-test/src/legacy_opensearch/legacy_opensearch_test_cluster.js +++ b/packages/osd-test/src/legacy_opensearch/legacy_opensearch_test_cluster.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { format } from 'url'; import { get, toPath } from 'lodash'; diff --git a/packages/osd-test/src/legacy_opensearch/opensearch_test_config.js b/packages/osd-test/src/legacy_opensearch/opensearch_test_config.js index 2bf32cfbc461..7befa4226afd 100644 --- a/packages/osd-test/src/legacy_opensearch/opensearch_test_config.js +++ b/packages/osd-test/src/legacy_opensearch/opensearch_test_config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import url, { format as formatUrl } from 'url'; import pkg from '../../../../package.json'; import { adminTestUser } from '../osd'; diff --git a/packages/osd-test/src/osd/index.ts b/packages/osd-test/src/osd/index.ts index cee2628a896f..3082ef5d6570 100644 --- a/packages/osd-test/src/osd/index.ts +++ b/packages/osd-test/src/osd/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { osdTestConfig } from './osd_test_config'; export { opensearchDashboardsTestUser, diff --git a/packages/osd-test/src/osd/osd_test_config.ts b/packages/osd-test/src/osd/osd_test_config.ts index e5489c856f2d..6c3ef573511b 100644 --- a/packages/osd-test/src/osd/osd_test_config.ts +++ b/packages/osd-test/src/osd/osd_test_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import url from 'url'; import { opensearchDashboardsTestUser } from './users'; diff --git a/packages/osd-test/src/osd/users.ts b/packages/osd-test/src/osd/users.ts index 5ea32f151f03..08bf76a3f41c 100644 --- a/packages/osd-test/src/osd/users.ts +++ b/packages/osd-test/src/osd/users.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const env = process.env; export const opensearchDashboardsTestUser = { diff --git a/packages/osd-test/types/ftr.d.ts b/packages/osd-test/types/ftr.d.ts index 2d0900b1eb59..e3f429eea590 100644 --- a/packages/osd-test/types/ftr.d.ts +++ b/packages/osd-test/types/ftr.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '@osd/dev-utils'; import { Config, diff --git a/packages/osd-ui-framework/Gruntfile.js b/packages/osd-ui-framework/Gruntfile.js index bf94c32727b9..1325d68dce52 100644 --- a/packages/osd-ui-framework/Gruntfile.js +++ b/packages/osd-ui-framework/Gruntfile.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const sass = require('node-sass'); const postcss = require('postcss'); const postcssConfig = require('@osd/optimizer/postcss.config.js'); diff --git a/packages/osd-ui-framework/components/index.js b/packages/osd-ui-framework/components/index.js index c4c5117d15b6..3ba318d59a51 100644 --- a/packages/osd-ui-framework/components/index.js +++ b/packages/osd-ui-framework/components/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from '../src/components'; diff --git a/packages/osd-ui-framework/doc_site/src/actions/action_types.js b/packages/osd-ui-framework/doc_site/src/actions/action_types.js index e134c123c47d..1cb07ff486ff 100644 --- a/packages/osd-ui-framework/doc_site/src/actions/action_types.js +++ b/packages/osd-ui-framework/doc_site/src/actions/action_types.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import keyMirror from 'keymirror'; export default keyMirror({ diff --git a/packages/osd-ui-framework/doc_site/src/actions/code_viewer_actions.js b/packages/osd-ui-framework/doc_site/src/actions/code_viewer_actions.js index 825389441718..1a6ae84bdab8 100644 --- a/packages/osd-ui-framework/doc_site/src/actions/code_viewer_actions.js +++ b/packages/osd-ui-framework/doc_site/src/actions/code_viewer_actions.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import ActionTypes from './action_types'; export const openCodeViewer = (source, title) => ({ diff --git a/packages/osd-ui-framework/doc_site/src/actions/example_nav_actions.js b/packages/osd-ui-framework/doc_site/src/actions/example_nav_actions.js index f5245f81f6e9..40bb6269240e 100644 --- a/packages/osd-ui-framework/doc_site/src/actions/example_nav_actions.js +++ b/packages/osd-ui-framework/doc_site/src/actions/example_nav_actions.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import ActionTypes from './action_types'; export const registerSection = (id, name) => ({ diff --git a/packages/osd-ui-framework/doc_site/src/actions/index.js b/packages/osd-ui-framework/doc_site/src/actions/index.js index fc10a9e4c0f8..010511a4c350 100644 --- a/packages/osd-ui-framework/doc_site/src/actions/index.js +++ b/packages/osd-ui-framework/doc_site/src/actions/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { openCodeViewer, closeCodeViewer } from './code_viewer_actions'; export { openSandbox, closeSandbox } from './sandbox_actions'; diff --git a/packages/osd-ui-framework/doc_site/src/actions/sandbox_actions.js b/packages/osd-ui-framework/doc_site/src/actions/sandbox_actions.js index 5c250982b173..bb05bb7bbeef 100644 --- a/packages/osd-ui-framework/doc_site/src/actions/sandbox_actions.js +++ b/packages/osd-ui-framework/doc_site/src/actions/sandbox_actions.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import ActionTypes from './action_types'; export const openSandbox = () => ({ diff --git a/packages/osd-ui-framework/doc_site/src/components/guide_code/guide_code.js b/packages/osd-ui-framework/doc_site/src/components/guide_code/guide_code.js index 3d570d514585..cc2ab60cf2b7 100644 --- a/packages/osd-ui-framework/doc_site/src/components/guide_code/guide_code.js +++ b/packages/osd-ui-framework/doc_site/src/components/guide_code/guide_code.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; export const GuideCode = (props) => {props.children}; diff --git a/packages/osd-ui-framework/doc_site/src/components/guide_code_viewer/guide_code_viewer.js b/packages/osd-ui-framework/doc_site/src/components/guide_code_viewer/guide_code_viewer.js index 4438ef98c769..5d32b41f52ee 100644 --- a/packages/osd-ui-framework/doc_site/src/components/guide_code_viewer/guide_code_viewer.js +++ b/packages/osd-ui-framework/doc_site/src/components/guide_code_viewer/guide_code_viewer.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/components/guide_demo/guide_demo.js b/packages/osd-ui-framework/doc_site/src/components/guide_demo/guide_demo.js index bb106b48b163..729b1f7a88e5 100644 --- a/packages/osd-ui-framework/doc_site/src/components/guide_demo/guide_demo.js +++ b/packages/osd-ui-framework/doc_site/src/components/guide_demo/guide_demo.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/components/guide_link/guide_link.js b/packages/osd-ui-framework/doc_site/src/components/guide_link/guide_link.js index 48509d5cc3d4..e69f718037f0 100644 --- a/packages/osd-ui-framework/doc_site/src/components/guide_link/guide_link.js +++ b/packages/osd-ui-framework/doc_site/src/components/guide_link/guide_link.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; export const GuideLink = (props) => ( diff --git a/packages/osd-ui-framework/doc_site/src/components/guide_nav/guide_nav.js b/packages/osd-ui-framework/doc_site/src/components/guide_nav/guide_nav.js index d97bbb75a811..5605d979fd9f 100644 --- a/packages/osd-ui-framework/doc_site/src/components/guide_nav/guide_nav.js +++ b/packages/osd-ui-framework/doc_site/src/components/guide_nav/guide_nav.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/components/guide_page/guide_page.js b/packages/osd-ui-framework/doc_site/src/components/guide_page/guide_page.js index 07441e4620b2..e832ed1bb56c 100644 --- a/packages/osd-ui-framework/doc_site/src/components/guide_page/guide_page.js +++ b/packages/osd-ui-framework/doc_site/src/components/guide_page/guide_page.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/components/guide_page/guide_page_container.js b/packages/osd-ui-framework/doc_site/src/components/guide_page/guide_page_container.js index 613418b263dc..99a7f47e6995 100644 --- a/packages/osd-ui-framework/doc_site/src/components/guide_page/guide_page_container.js +++ b/packages/osd-ui-framework/doc_site/src/components/guide_page/guide_page_container.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { connect } from 'react-redux'; import { getSections } from '../../store'; import { GuidePage } from './guide_page'; diff --git a/packages/osd-ui-framework/doc_site/src/components/guide_page_side_nav/guide_page_side_nav.js b/packages/osd-ui-framework/doc_site/src/components/guide_page_side_nav/guide_page_side_nav.js index 37cb9acc2871..d7d00347b95b 100644 --- a/packages/osd-ui-framework/doc_site/src/components/guide_page_side_nav/guide_page_side_nav.js +++ b/packages/osd-ui-framework/doc_site/src/components/guide_page_side_nav/guide_page_side_nav.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/components/guide_page_side_nav/guide_page_side_nav_item.js b/packages/osd-ui-framework/doc_site/src/components/guide_page_side_nav/guide_page_side_nav_item.js index e776cc272357..2ce874096cb8 100644 --- a/packages/osd-ui-framework/doc_site/src/components/guide_page_side_nav/guide_page_side_nav_item.js +++ b/packages/osd-ui-framework/doc_site/src/components/guide_page_side_nav/guide_page_side_nav_item.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/components/guide_sandbox/guide_sandbox.js b/packages/osd-ui-framework/doc_site/src/components/guide_sandbox/guide_sandbox.js index ab0272fc9366..a11b5ddf866b 100644 --- a/packages/osd-ui-framework/doc_site/src/components/guide_sandbox/guide_sandbox.js +++ b/packages/osd-ui-framework/doc_site/src/components/guide_sandbox/guide_sandbox.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { bindActionCreators } from 'redux'; diff --git a/packages/osd-ui-framework/doc_site/src/components/guide_sandbox/guide_sandbox_code_toggle.js b/packages/osd-ui-framework/doc_site/src/components/guide_sandbox/guide_sandbox_code_toggle.js index aa52b5c1361a..fea5722ae067 100644 --- a/packages/osd-ui-framework/doc_site/src/components/guide_sandbox/guide_sandbox_code_toggle.js +++ b/packages/osd-ui-framework/doc_site/src/components/guide_sandbox/guide_sandbox_code_toggle.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/components/guide_sandbox/guide_sandbox_code_toggle_container.js b/packages/osd-ui-framework/doc_site/src/components/guide_sandbox/guide_sandbox_code_toggle_container.js index 44e13c57c261..13a90031c0cd 100644 --- a/packages/osd-ui-framework/doc_site/src/components/guide_sandbox/guide_sandbox_code_toggle_container.js +++ b/packages/osd-ui-framework/doc_site/src/components/guide_sandbox/guide_sandbox_code_toggle_container.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { connect } from 'react-redux'; import { GuideSandboxCodeToggle } from './guide_sandbox_code_toggle'; diff --git a/packages/osd-ui-framework/doc_site/src/components/guide_section/guide_section.js b/packages/osd-ui-framework/doc_site/src/components/guide_section/guide_section.js index 53e6eaab723e..cc12bbfbea83 100644 --- a/packages/osd-ui-framework/doc_site/src/components/guide_section/guide_section.js +++ b/packages/osd-ui-framework/doc_site/src/components/guide_section/guide_section.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/components/guide_section/guide_section_container.js b/packages/osd-ui-framework/doc_site/src/components/guide_section/guide_section_container.js index eebd39c0e205..13f7e077f070 100644 --- a/packages/osd-ui-framework/doc_site/src/components/guide_section/guide_section_container.js +++ b/packages/osd-ui-framework/doc_site/src/components/guide_section/guide_section_container.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { connect } from 'react-redux'; import { GuideSection } from './guide_section'; diff --git a/packages/osd-ui-framework/doc_site/src/components/guide_section/guide_section_types.js b/packages/osd-ui-framework/doc_site/src/components/guide_section/guide_section_types.js index fa8c6273e528..b958daef3d8d 100644 --- a/packages/osd-ui-framework/doc_site/src/components/guide_section/guide_section_types.js +++ b/packages/osd-ui-framework/doc_site/src/components/guide_section/guide_section_types.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const GuideSectionTypes = { JS: 'JavaScript', HTML: 'HTML', diff --git a/packages/osd-ui-framework/doc_site/src/components/guide_text/guide_text.js b/packages/osd-ui-framework/doc_site/src/components/guide_text/guide_text.js index f1ba5260efc8..bb7f05fff02d 100644 --- a/packages/osd-ui-framework/doc_site/src/components/guide_text/guide_text.js +++ b/packages/osd-ui-framework/doc_site/src/components/guide_text/guide_text.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; export const GuideText = (props) =>
{props.children}
; diff --git a/packages/osd-ui-framework/doc_site/src/components/index.js b/packages/osd-ui-framework/doc_site/src/components/index.js index cff4ae154c61..678507fb4cda 100644 --- a/packages/osd-ui-framework/doc_site/src/components/index.js +++ b/packages/osd-ui-framework/doc_site/src/components/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { GuideCode } from './guide_code/guide_code'; export { GuideCodeViewer } from './guide_code_viewer/guide_code_viewer'; export { GuideDemo } from './guide_demo/guide_demo'; diff --git a/packages/osd-ui-framework/doc_site/src/index.js b/packages/osd-ui-framework/doc_site/src/index.js index 90605addb4ed..401c60a8dc55 100644 --- a/packages/osd-ui-framework/doc_site/src/index.js +++ b/packages/osd-ui-framework/doc_site/src/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('./main.scss'); import 'core-js/stable'; diff --git a/packages/osd-ui-framework/doc_site/src/services/example/create_example.js b/packages/osd-ui-framework/doc_site/src/services/example/create_example.js index ad4ad40c40a2..d9387cc7f94e 100644 --- a/packages/osd-ui-framework/doc_site/src/services/example/create_example.js +++ b/packages/osd-ui-framework/doc_site/src/services/example/create_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint import/named: 0 */ import { GuideExample } from '../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/services/index.js b/packages/osd-ui-framework/doc_site/src/services/index.js index 6b33d028f250..91123c856b3b 100644 --- a/packages/osd-ui-framework/doc_site/src/services/index.js +++ b/packages/osd-ui-framework/doc_site/src/services/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { renderToHtml } from './string/render_to_html'; export { default as createExample } from './example/create_example'; diff --git a/packages/osd-ui-framework/doc_site/src/services/js_injector/js_injector.js b/packages/osd-ui-framework/doc_site/src/services/js_injector/js_injector.js index 9d3bd62ff992..5cccfac934ca 100644 --- a/packages/osd-ui-framework/doc_site/src/services/js_injector/js_injector.js +++ b/packages/osd-ui-framework/doc_site/src/services/js_injector/js_injector.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; const ID_ATTRIBUTE = 'injected-js-tag-id'; diff --git a/packages/osd-ui-framework/doc_site/src/services/routes/routes.js b/packages/osd-ui-framework/doc_site/src/services/routes/routes.js index e5c36f62d090..299e3126b595 100644 --- a/packages/osd-ui-framework/doc_site/src/services/routes/routes.js +++ b/packages/osd-ui-framework/doc_site/src/services/routes/routes.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Slugify from '../string/slugify'; import BarExample from '../../views/bar/bar_example'; diff --git a/packages/osd-ui-framework/doc_site/src/services/string/render_to_html.js b/packages/osd-ui-framework/doc_site/src/services/string/render_to_html.js index 747e411c20c9..052d2f3ec073 100644 --- a/packages/osd-ui-framework/doc_site/src/services/string/render_to_html.js +++ b/packages/osd-ui-framework/doc_site/src/services/string/render_to_html.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, configure } from 'enzyme'; diff --git a/packages/osd-ui-framework/doc_site/src/services/string/slugify.js b/packages/osd-ui-framework/doc_site/src/services/string/slugify.js index 3a61143710e0..cf23d8360f60 100644 --- a/packages/osd-ui-framework/doc_site/src/services/string/slugify.js +++ b/packages/osd-ui-framework/doc_site/src/services/string/slugify.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Lowercases input and replaces spaces with hyphens: * e.g. 'GridView Example' -> 'gridview-example' diff --git a/packages/osd-ui-framework/doc_site/src/store/configure_store.js b/packages/osd-ui-framework/doc_site/src/store/configure_store.js index a3e38af7c90b..048fe07405e7 100644 --- a/packages/osd-ui-framework/doc_site/src/store/configure_store.js +++ b/packages/osd-ui-framework/doc_site/src/store/configure_store.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { applyMiddleware, createStore, compose } from 'redux'; import thunk from 'redux-thunk'; import { browserHistory } from 'react-router'; // eslint-disable-line diff --git a/packages/osd-ui-framework/doc_site/src/store/index.js b/packages/osd-ui-framework/doc_site/src/store/index.js index ad6e9c27c1b3..fcd48f054c04 100644 --- a/packages/osd-ui-framework/doc_site/src/store/index.js +++ b/packages/osd-ui-framework/doc_site/src/store/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function getIsCodeViewerOpen(state) { return state.codeViewer.isOpen; } diff --git a/packages/osd-ui-framework/doc_site/src/store/reducers/code_viewer_reducer.js b/packages/osd-ui-framework/doc_site/src/store/reducers/code_viewer_reducer.js index d25f3e9d7b0b..88b561919688 100644 --- a/packages/osd-ui-framework/doc_site/src/store/reducers/code_viewer_reducer.js +++ b/packages/osd-ui-framework/doc_site/src/store/reducers/code_viewer_reducer.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LOCATION_CHANGE } from 'react-router-redux'; import ActionTypes from '../../actions/action_types'; diff --git a/packages/osd-ui-framework/doc_site/src/store/reducers/sandbox_reducer.js b/packages/osd-ui-framework/doc_site/src/store/reducers/sandbox_reducer.js index 1baa9b32ca55..a2cd4a677cd4 100644 --- a/packages/osd-ui-framework/doc_site/src/store/reducers/sandbox_reducer.js +++ b/packages/osd-ui-framework/doc_site/src/store/reducers/sandbox_reducer.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import ActionTypes from '../../actions/action_types'; const defaultState = { diff --git a/packages/osd-ui-framework/doc_site/src/store/reducers/sections_reducer.js b/packages/osd-ui-framework/doc_site/src/store/reducers/sections_reducer.js index b190dbf8e630..7e508a3164b2 100644 --- a/packages/osd-ui-framework/doc_site/src/store/reducers/sections_reducer.js +++ b/packages/osd-ui-framework/doc_site/src/store/reducers/sections_reducer.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import ActionTypes from '../../actions/action_types'; const defaultState = { diff --git a/packages/osd-ui-framework/doc_site/src/views/app_container.js b/packages/osd-ui-framework/doc_site/src/views/app_container.js index ac31894d1007..7edcc07689a5 100644 --- a/packages/osd-ui-framework/doc_site/src/views/app_container.js +++ b/packages/osd-ui-framework/doc_site/src/views/app_container.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; diff --git a/packages/osd-ui-framework/doc_site/src/views/app_view.js b/packages/osd-ui-framework/doc_site/src/views/app_view.js index 0a9e7a9d6695..3063436d783d 100644 --- a/packages/osd-ui-framework/doc_site/src/views/app_view.js +++ b/packages/osd-ui-framework/doc_site/src/views/app_view.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/views/bar/bar.js b/packages/osd-ui-framework/doc_site/src/views/bar/bar.js index bc1bf6ba920a..afe32069029c 100644 --- a/packages/osd-ui-framework/doc_site/src/views/bar/bar.js +++ b/packages/osd-ui-framework/doc_site/src/views/bar/bar.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiBar, KuiBarSection } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/bar/bar_example.js b/packages/osd-ui-framework/doc_site/src/views/bar/bar_example.js index 8f0f08f14db5..6bffe8f0f631 100644 --- a/packages/osd-ui-framework/doc_site/src/views/bar/bar_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/bar/bar_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable import/no-duplicates */ import React from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/views/bar/bar_one_section.js b/packages/osd-ui-framework/doc_site/src/views/bar/bar_one_section.js index a2662a9e7ff6..7ae124a9f7ed 100644 --- a/packages/osd-ui-framework/doc_site/src/views/bar/bar_one_section.js +++ b/packages/osd-ui-framework/doc_site/src/views/bar/bar_one_section.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiBar, KuiBarSection, KuiButton } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/bar/bar_three_sections.js b/packages/osd-ui-framework/doc_site/src/views/bar/bar_three_sections.js index 86bbb8b9ed17..88d49da6a5af 100644 --- a/packages/osd-ui-framework/doc_site/src/views/bar/bar_three_sections.js +++ b/packages/osd-ui-framework/doc_site/src/views/bar/bar_three_sections.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiBar, KuiBarSection, KuiButton, KuiButtonGroup } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/button/button_basic.js b/packages/osd-ui-framework/doc_site/src/views/button/button_basic.js index 12c0ffcb6471..c07326a37ff3 100644 --- a/packages/osd-ui-framework/doc_site/src/views/button/button_basic.js +++ b/packages/osd-ui-framework/doc_site/src/views/button/button_basic.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiButton } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/button/button_danger.js b/packages/osd-ui-framework/doc_site/src/views/button/button_danger.js index 0e608933c9cc..1d7d646c1761 100644 --- a/packages/osd-ui-framework/doc_site/src/views/button/button_danger.js +++ b/packages/osd-ui-framework/doc_site/src/views/button/button_danger.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiButton } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/button/button_elements.js b/packages/osd-ui-framework/doc_site/src/views/button/button_elements.js index 865bb7625344..6515020e1282 100644 --- a/packages/osd-ui-framework/doc_site/src/views/button/button_elements.js +++ b/packages/osd-ui-framework/doc_site/src/views/button/button_elements.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiButton, KuiLinkButton, KuiSubmitButton } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/button/button_example.js b/packages/osd-ui-framework/doc_site/src/views/button/button_example.js index 5b0f25b4c625..30e98b90a0c0 100644 --- a/packages/osd-ui-framework/doc_site/src/views/button/button_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/button/button_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable import/no-duplicates */ import React from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/views/button/button_group.js b/packages/osd-ui-framework/doc_site/src/views/button/button_group.js index 95267dcfdba7..6ee6a78f6723 100644 --- a/packages/osd-ui-framework/doc_site/src/views/button/button_group.js +++ b/packages/osd-ui-framework/doc_site/src/views/button/button_group.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiButton, KuiButtonGroup } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/button/button_group_united.js b/packages/osd-ui-framework/doc_site/src/views/button/button_group_united.js index 994087b7af2f..b65e4e3fb4ba 100644 --- a/packages/osd-ui-framework/doc_site/src/views/button/button_group_united.js +++ b/packages/osd-ui-framework/doc_site/src/views/button/button_group_united.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiButton, KuiButtonGroup, KuiButtonIcon } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/button/button_hollow.js b/packages/osd-ui-framework/doc_site/src/views/button/button_hollow.js index 8e60ad9428e7..36c18b44cdee 100644 --- a/packages/osd-ui-framework/doc_site/src/views/button/button_hollow.js +++ b/packages/osd-ui-framework/doc_site/src/views/button/button_hollow.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiButton } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/button/button_loading.js b/packages/osd-ui-framework/doc_site/src/views/button/button_loading.js index c0c20bd91c9f..15baf6be181b 100644 --- a/packages/osd-ui-framework/doc_site/src/views/button/button_loading.js +++ b/packages/osd-ui-framework/doc_site/src/views/button/button_loading.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { KuiButtonIcon, KuiButton } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/button/button_primary.js b/packages/osd-ui-framework/doc_site/src/views/button/button_primary.js index c990bb2f5e81..87dac0e04518 100644 --- a/packages/osd-ui-framework/doc_site/src/views/button/button_primary.js +++ b/packages/osd-ui-framework/doc_site/src/views/button/button_primary.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiButton } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/button/button_secondary.js b/packages/osd-ui-framework/doc_site/src/views/button/button_secondary.js index 6f12768fdd85..2f651508a882 100644 --- a/packages/osd-ui-framework/doc_site/src/views/button/button_secondary.js +++ b/packages/osd-ui-framework/doc_site/src/views/button/button_secondary.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiButton } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/button/button_warning.js b/packages/osd-ui-framework/doc_site/src/views/button/button_warning.js index 36c6da1177b0..cebf77ca32bf 100644 --- a/packages/osd-ui-framework/doc_site/src/views/button/button_warning.js +++ b/packages/osd-ui-framework/doc_site/src/views/button/button_warning.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiButton } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/button/button_with_icon.js b/packages/osd-ui-framework/doc_site/src/views/button/button_with_icon.js index d18609be979b..1d2a0d160b8c 100644 --- a/packages/osd-ui-framework/doc_site/src/views/button/button_with_icon.js +++ b/packages/osd-ui-framework/doc_site/src/views/button/button_with_icon.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiButton, KuiButtonIcon } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/collapse_button/collapse_button.js b/packages/osd-ui-framework/doc_site/src/views/collapse_button/collapse_button.js index b464eb26a981..28274f850fe9 100644 --- a/packages/osd-ui-framework/doc_site/src/views/collapse_button/collapse_button.js +++ b/packages/osd-ui-framework/doc_site/src/views/collapse_button/collapse_button.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiCollapseButton } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/collapse_button/collapse_button_aria.js b/packages/osd-ui-framework/doc_site/src/views/collapse_button/collapse_button_aria.js index c4721e645694..8de6d0634f0a 100644 --- a/packages/osd-ui-framework/doc_site/src/views/collapse_button/collapse_button_aria.js +++ b/packages/osd-ui-framework/doc_site/src/views/collapse_button/collapse_button_aria.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { KuiCollapseButton } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/collapse_button/collapse_button_example.js b/packages/osd-ui-framework/doc_site/src/views/collapse_button/collapse_button_example.js index 4f509e33fae3..2db50fc26ac9 100644 --- a/packages/osd-ui-framework/doc_site/src/views/collapse_button/collapse_button_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/collapse_button/collapse_button_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable import/no-duplicates */ import React from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/views/empty_table_prompt/empty_table_prompt.js b/packages/osd-ui-framework/doc_site/src/views/empty_table_prompt/empty_table_prompt.js index fcd7376fbaa4..6d702042feed 100644 --- a/packages/osd-ui-framework/doc_site/src/views/empty_table_prompt/empty_table_prompt.js +++ b/packages/osd-ui-framework/doc_site/src/views/empty_table_prompt/empty_table_prompt.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiEmptyTablePrompt, KuiLinkButton, KuiButtonIcon } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/empty_table_prompt/empty_table_prompt_example.js b/packages/osd-ui-framework/doc_site/src/views/empty_table_prompt/empty_table_prompt_example.js index 8a673ed3d8c3..7ff48dd4729e 100644 --- a/packages/osd-ui-framework/doc_site/src/views/empty_table_prompt/empty_table_prompt_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/empty_table_prompt/empty_table_prompt_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable import/no-duplicates */ import React from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/views/empty_table_prompt/table_with_empty_prompt.js b/packages/osd-ui-framework/doc_site/src/views/empty_table_prompt/table_with_empty_prompt.js index a4a03f329222..976cde39213a 100644 --- a/packages/osd-ui-framework/doc_site/src/views/empty_table_prompt/table_with_empty_prompt.js +++ b/packages/osd-ui-framework/doc_site/src/views/empty_table_prompt/table_with_empty_prompt.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/packages/osd-ui-framework/doc_site/src/views/form/check_box.js b/packages/osd-ui-framework/doc_site/src/views/form/check_box.js index bceaf18efd9c..f00409aaeed1 100644 --- a/packages/osd-ui-framework/doc_site/src/views/form/check_box.js +++ b/packages/osd-ui-framework/doc_site/src/views/form/check_box.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { KuiCheckBox, KuiCheckBoxLabel } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/form/form_example.js b/packages/osd-ui-framework/doc_site/src/views/form/form_example.js index 61f2ff5a7e28..20bfc77e8a36 100644 --- a/packages/osd-ui-framework/doc_site/src/views/form/form_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/form/form_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable import/no-duplicates */ import React from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/views/form/label.js b/packages/osd-ui-framework/doc_site/src/views/form/label.js index 1206945055f5..d84f976f8788 100644 --- a/packages/osd-ui-framework/doc_site/src/views/form/label.js +++ b/packages/osd-ui-framework/doc_site/src/views/form/label.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiLabel } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/form/select.js b/packages/osd-ui-framework/doc_site/src/views/form/select.js index 153bc8730883..788d76791bf1 100644 --- a/packages/osd-ui-framework/doc_site/src/views/form/select.js +++ b/packages/osd-ui-framework/doc_site/src/views/form/select.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { KuiSelect } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/form/text_area.js b/packages/osd-ui-framework/doc_site/src/views/form/text_area.js index a19866ce52b7..392f763c3f1b 100644 --- a/packages/osd-ui-framework/doc_site/src/views/form/text_area.js +++ b/packages/osd-ui-framework/doc_site/src/views/form/text_area.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { KuiTextArea } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/form/text_area_non_resizable.js b/packages/osd-ui-framework/doc_site/src/views/form/text_area_non_resizable.js index 9867ba9b042a..81779f2a9fc5 100644 --- a/packages/osd-ui-framework/doc_site/src/views/form/text_area_non_resizable.js +++ b/packages/osd-ui-framework/doc_site/src/views/form/text_area_non_resizable.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { KuiTextArea } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/form/text_input.js b/packages/osd-ui-framework/doc_site/src/views/form/text_input.js index 85aec07b708d..0ae8928e160a 100644 --- a/packages/osd-ui-framework/doc_site/src/views/form/text_input.js +++ b/packages/osd-ui-framework/doc_site/src/views/form/text_input.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { KuiTextInput } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/form_layout/field_group.js b/packages/osd-ui-framework/doc_site/src/views/form_layout/field_group.js index 63e76936f2d4..62698f772752 100644 --- a/packages/osd-ui-framework/doc_site/src/views/form_layout/field_group.js +++ b/packages/osd-ui-framework/doc_site/src/views/form_layout/field_group.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/packages/osd-ui-framework/doc_site/src/views/form_layout/form_layout_example.js b/packages/osd-ui-framework/doc_site/src/views/form_layout/form_layout_example.js index 811cb040299f..6d4d77f88dbd 100644 --- a/packages/osd-ui-framework/doc_site/src/views/form_layout/form_layout_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/form_layout/form_layout_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable import/no-duplicates */ import React from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/views/home/home_view.js b/packages/osd-ui-framework/doc_site/src/views/home/home_view.js index eac82accd08d..b28508f625b4 100644 --- a/packages/osd-ui-framework/doc_site/src/views/home/home_view.js +++ b/packages/osd-ui-framework/doc_site/src/views/home/home_view.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; export const HomeView = () => ( diff --git a/packages/osd-ui-framework/doc_site/src/views/icon/icon_example.js b/packages/osd-ui-framework/doc_site/src/views/icon/icon_example.js index 4bb09c014e21..6c684c9a74c4 100644 --- a/packages/osd-ui-framework/doc_site/src/views/icon/icon_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/icon/icon_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/packages/osd-ui-framework/doc_site/src/views/icon/icon_spinner.js b/packages/osd-ui-framework/doc_site/src/views/icon/icon_spinner.js index bc73f19dc907..755b97422015 100644 --- a/packages/osd-ui-framework/doc_site/src/views/icon/icon_spinner.js +++ b/packages/osd-ui-framework/doc_site/src/views/icon/icon_spinner.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ const $loading = $('#loadingDemo'); diff --git a/packages/osd-ui-framework/doc_site/src/views/info_panel/info_panel_example.js b/packages/osd-ui-framework/doc_site/src/views/info_panel/info_panel_example.js index ce70e41a6647..b39f382a6cc8 100644 --- a/packages/osd-ui-framework/doc_site/src/views/info_panel/info_panel_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/info_panel/info_panel_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { GuideDemo, GuidePage, GuideSection, GuideSectionTypes, GuideText } from '../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/link/link_example.js b/packages/osd-ui-framework/doc_site/src/views/link/link_example.js index 0d9c21830dd5..2ea8853ea919 100644 --- a/packages/osd-ui-framework/doc_site/src/views/link/link_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/link/link_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { GuideDemo, GuidePage, GuideSection, GuideSectionTypes } from '../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_breadcrumbs.js b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_breadcrumbs.js index 62b9a2f0119b..4260f8d070d6 100644 --- a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_breadcrumbs.js +++ b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_breadcrumbs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiLocalNav, KuiLocalNavRow, KuiLocalNavRowSection } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_dropdown.js b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_dropdown.js index 6d30d3be937b..039b82c29c55 100644 --- a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_dropdown.js +++ b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_dropdown.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiLocalNav, KuiLocalNavRow, KuiLocalNavRowSection } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_dropdown_panels.js b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_dropdown_panels.js index 9bd06b9d9cc6..fc0dae93bfca 100644 --- a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_dropdown_panels.js +++ b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_dropdown_panels.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiLocalNav, KuiLocalNavRow, KuiLocalNavRowSection } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_example.js b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_example.js index 74e130ebd1e6..dfcd7b4289f2 100644 --- a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint import/no-duplicates: 0, import/default: 0 */ import React from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_menu_item_states.js b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_menu_item_states.js index 20f9d59c603a..7fff6ba9e6dc 100644 --- a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_menu_item_states.js +++ b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_menu_item_states.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiLocalNav, KuiLocalNavRow, KuiLocalNavRowSection } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_search.js b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_search.js index 9ef52394c4f8..f1f84c8cc468 100644 --- a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_search.js +++ b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_search.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiLocalNav, KuiLocalNavRow, KuiLocalNavRowSection } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_search_error.js b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_search_error.js index 54ea2a970c2f..6178fc0dcb2d 100644 --- a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_search_error.js +++ b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_search_error.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiLocalNav, KuiLocalNavRow, KuiLocalNavRowSection } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_simple.js b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_simple.js index ab59ededbcd9..ad79e120efb4 100644 --- a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_simple.js +++ b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_simple.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_tabs.js b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_tabs.js index f94593c28bc3..9ea17780dc9d 100644 --- a/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_tabs.js +++ b/packages/osd-ui-framework/doc_site/src/views/local_nav/local_nav_tabs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/packages/osd-ui-framework/doc_site/src/views/not_found/not_found_view.js b/packages/osd-ui-framework/doc_site/src/views/not_found/not_found_view.js index f3d419ba32c1..713e14c5a840 100644 --- a/packages/osd-ui-framework/doc_site/src/views/not_found/not_found_view.js +++ b/packages/osd-ui-framework/doc_site/src/views/not_found/not_found_view.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { Link } from 'react-router'; // eslint-disable-line diff --git a/packages/osd-ui-framework/doc_site/src/views/pager/pager_buttons.js b/packages/osd-ui-framework/doc_site/src/views/pager/pager_buttons.js index 914b82f03cb7..344efff24a7e 100644 --- a/packages/osd-ui-framework/doc_site/src/views/pager/pager_buttons.js +++ b/packages/osd-ui-framework/doc_site/src/views/pager/pager_buttons.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiButton, KuiPagerButtonGroup } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/pager/pager_example.js b/packages/osd-ui-framework/doc_site/src/views/pager/pager_example.js index a7a354d36e8a..672d817b267c 100644 --- a/packages/osd-ui-framework/doc_site/src/views/pager/pager_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/pager/pager_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable import/no-duplicates */ import React from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/views/pager/tool_bar_pager.js b/packages/osd-ui-framework/doc_site/src/views/pager/tool_bar_pager.js index 0baa44c9815b..5162cee983fb 100644 --- a/packages/osd-ui-framework/doc_site/src/views/pager/tool_bar_pager.js +++ b/packages/osd-ui-framework/doc_site/src/views/pager/tool_bar_pager.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiToolBar, KuiToolBarSearchBox, KuiPager } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/panel/panel_example.js b/packages/osd-ui-framework/doc_site/src/views/panel/panel_example.js index e29acafb6d9f..bf4de2ed9a2e 100644 --- a/packages/osd-ui-framework/doc_site/src/views/panel/panel_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/panel/panel_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { GuideDemo, GuidePage, GuideSection, GuideSectionTypes, GuideText } from '../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/status_text/status_text_example.js b/packages/osd-ui-framework/doc_site/src/views/status_text/status_text_example.js index 0d5d7c200216..4f13aca75891 100644 --- a/packages/osd-ui-framework/doc_site/src/views/status_text/status_text_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/status_text/status_text_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { GuideDemo, GuidePage, GuideSection, GuideSectionTypes } from '../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/table/fluid_table.js b/packages/osd-ui-framework/doc_site/src/views/table/fluid_table.js index aae5554baf6d..9d6c76734a29 100644 --- a/packages/osd-ui-framework/doc_site/src/views/table/fluid_table.js +++ b/packages/osd-ui-framework/doc_site/src/views/table/fluid_table.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { diff --git a/packages/osd-ui-framework/doc_site/src/views/table/listing_table.js b/packages/osd-ui-framework/doc_site/src/views/table/listing_table.js index 321f5d85ec53..734ea9a0b238 100644 --- a/packages/osd-ui-framework/doc_site/src/views/table/listing_table.js +++ b/packages/osd-ui-framework/doc_site/src/views/table/listing_table.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { KuiButton, KuiButtonIcon, KuiPager, KuiListingTable } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/table/listing_table_loading_items.js b/packages/osd-ui-framework/doc_site/src/views/table/listing_table_loading_items.js index 74fe2fdbca40..3adc3104b480 100644 --- a/packages/osd-ui-framework/doc_site/src/views/table/listing_table_loading_items.js +++ b/packages/osd-ui-framework/doc_site/src/views/table/listing_table_loading_items.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/packages/osd-ui-framework/doc_site/src/views/table/listing_table_with_empty_prompt.js b/packages/osd-ui-framework/doc_site/src/views/table/listing_table_with_empty_prompt.js index 454a054f8fc6..052f4ec1c053 100644 --- a/packages/osd-ui-framework/doc_site/src/views/table/listing_table_with_empty_prompt.js +++ b/packages/osd-ui-framework/doc_site/src/views/table/listing_table_with_empty_prompt.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/packages/osd-ui-framework/doc_site/src/views/table/listing_table_with_no_items.js b/packages/osd-ui-framework/doc_site/src/views/table/listing_table_with_no_items.js index 7e9b231be156..703a6cfa5e40 100644 --- a/packages/osd-ui-framework/doc_site/src/views/table/listing_table_with_no_items.js +++ b/packages/osd-ui-framework/doc_site/src/views/table/listing_table_with_no_items.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/packages/osd-ui-framework/doc_site/src/views/table/table.js b/packages/osd-ui-framework/doc_site/src/views/table/table.js index 3ae7cf0048bf..5ef7bfec0ae3 100644 --- a/packages/osd-ui-framework/doc_site/src/views/table/table.js +++ b/packages/osd-ui-framework/doc_site/src/views/table/table.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/doc_site/src/views/table/table_example.js b/packages/osd-ui-framework/doc_site/src/views/table/table_example.js index 9ca587647cb6..ab53e1119d0d 100644 --- a/packages/osd-ui-framework/doc_site/src/views/table/table_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/table/table_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable import/no-duplicates */ import React from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/views/table/table_with_menu_buttons.js b/packages/osd-ui-framework/doc_site/src/views/table/table_with_menu_buttons.js index bd97f9774c1f..c603e4f3d1ca 100644 --- a/packages/osd-ui-framework/doc_site/src/views/table/table_with_menu_buttons.js +++ b/packages/osd-ui-framework/doc_site/src/views/table/table_with_menu_buttons.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/packages/osd-ui-framework/doc_site/src/views/tabs/tabs.js b/packages/osd-ui-framework/doc_site/src/views/tabs/tabs.js index 753ccf5c74c7..8d032513d9f6 100644 --- a/packages/osd-ui-framework/doc_site/src/views/tabs/tabs.js +++ b/packages/osd-ui-framework/doc_site/src/views/tabs/tabs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiTabs, KuiTab } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/tabs/tabs_example.js b/packages/osd-ui-framework/doc_site/src/views/tabs/tabs_example.js index 80f93048a8ef..5775589acf67 100644 --- a/packages/osd-ui-framework/doc_site/src/views/tabs/tabs_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/tabs/tabs_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable import/no-duplicates */ import React from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/views/tool_bar/tool_bar.js b/packages/osd-ui-framework/doc_site/src/views/tool_bar/tool_bar.js index 8a62d337021c..5811672db6e0 100644 --- a/packages/osd-ui-framework/doc_site/src/views/tool_bar/tool_bar.js +++ b/packages/osd-ui-framework/doc_site/src/views/tool_bar/tool_bar.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/packages/osd-ui-framework/doc_site/src/views/tool_bar/tool_bar_example.js b/packages/osd-ui-framework/doc_site/src/views/tool_bar/tool_bar_example.js index 2dded1616602..52471e575bd9 100644 --- a/packages/osd-ui-framework/doc_site/src/views/tool_bar/tool_bar_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/tool_bar/tool_bar_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable import/no-duplicates */ import React from 'react'; diff --git a/packages/osd-ui-framework/doc_site/src/views/tool_bar/tool_bar_footer.js b/packages/osd-ui-framework/doc_site/src/views/tool_bar/tool_bar_footer.js index faabe66ce9f9..f76ebaf3128d 100644 --- a/packages/osd-ui-framework/doc_site/src/views/tool_bar/tool_bar_footer.js +++ b/packages/osd-ui-framework/doc_site/src/views/tool_bar/tool_bar_footer.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiToolBarFooter, KuiButtonIcon, KuiButton, KuiButtonGroup } from '../../../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/typography/typography_example.js b/packages/osd-ui-framework/doc_site/src/views/typography/typography_example.js index 2c686c2c6c4d..8416b27be49b 100644 --- a/packages/osd-ui-framework/doc_site/src/views/typography/typography_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/typography/typography_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/packages/osd-ui-framework/doc_site/src/views/vertical_rhythm/vertical_rhythm_example.js b/packages/osd-ui-framework/doc_site/src/views/vertical_rhythm/vertical_rhythm_example.js index a5586dab65e0..340d08493368 100644 --- a/packages/osd-ui-framework/doc_site/src/views/vertical_rhythm/vertical_rhythm_example.js +++ b/packages/osd-ui-framework/doc_site/src/views/vertical_rhythm/vertical_rhythm_example.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { GuideDemo, GuidePage, GuideSection, GuideSectionTypes, GuideText } from '../../components'; diff --git a/packages/osd-ui-framework/doc_site/src/views/view/view_sandbox.js b/packages/osd-ui-framework/doc_site/src/views/view/view_sandbox.js index 6cadc3b96ebd..21208632666b 100644 --- a/packages/osd-ui-framework/doc_site/src/views/view/view_sandbox.js +++ b/packages/osd-ui-framework/doc_site/src/views/view/view_sandbox.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/packages/osd-ui-framework/doc_site/webpack.config.js b/packages/osd-ui-framework/doc_site/webpack.config.js index 3147f0661095..f374a0c61277 100644 --- a/packages/osd-ui-framework/doc_site/webpack.config.js +++ b/packages/osd-ui-framework/doc_site/webpack.config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const path = require('path'); module.exports = { context: __dirname, diff --git a/packages/osd-ui-framework/src/components/bar/bar.js b/packages/osd-ui-framework/src/components/bar/bar.js index a7c75202047a..9373ac348379 100644 --- a/packages/osd-ui-framework/src/components/bar/bar.js +++ b/packages/osd-ui-framework/src/components/bar/bar.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/bar/bar.test.js b/packages/osd-ui-framework/src/components/bar/bar.test.js index 24ce2aaa0e46..406609e23df6 100644 --- a/packages/osd-ui-framework/src/components/bar/bar.test.js +++ b/packages/osd-ui-framework/src/components/bar/bar.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/bar/bar_section.js b/packages/osd-ui-framework/src/components/bar/bar_section.js index e8152648ed21..60af8429e99d 100644 --- a/packages/osd-ui-framework/src/components/bar/bar_section.js +++ b/packages/osd-ui-framework/src/components/bar/bar_section.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/bar/bar_section.test.js b/packages/osd-ui-framework/src/components/bar/bar_section.test.js index 059ab2a33aae..a9cb3306b923 100644 --- a/packages/osd-ui-framework/src/components/bar/bar_section.test.js +++ b/packages/osd-ui-framework/src/components/bar/bar_section.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/bar/index.js b/packages/osd-ui-framework/src/components/bar/index.js index 7bf055063c8a..35d29532b2de 100644 --- a/packages/osd-ui-framework/src/components/bar/index.js +++ b/packages/osd-ui-framework/src/components/bar/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiBarSection } from './bar_section'; export { KuiBar } from './bar'; diff --git a/packages/osd-ui-framework/src/components/button/button.js b/packages/osd-ui-framework/src/components/button/button.js index cf48a779e435..05bc20be3291 100644 --- a/packages/osd-ui-framework/src/components/button/button.js +++ b/packages/osd-ui-framework/src/components/button/button.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/button/button.test.js b/packages/osd-ui-framework/src/components/button/button.test.js index 24dfa3dbde8e..7ca8c0903b63 100644 --- a/packages/osd-ui-framework/src/components/button/button.test.js +++ b/packages/osd-ui-framework/src/components/button/button.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, shallow } from 'enzyme'; import sinon from 'sinon'; diff --git a/packages/osd-ui-framework/src/components/button/button_group/button_group.js b/packages/osd-ui-framework/src/components/button/button_group/button_group.js index 2f7baecdb822..5f8d4542131c 100644 --- a/packages/osd-ui-framework/src/components/button/button_group/button_group.js +++ b/packages/osd-ui-framework/src/components/button/button_group/button_group.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; diff --git a/packages/osd-ui-framework/src/components/button/button_group/button_group.test.js b/packages/osd-ui-framework/src/components/button/button_group/button_group.test.js index ec2c9f045f90..8fc789709faf 100644 --- a/packages/osd-ui-framework/src/components/button/button_group/button_group.test.js +++ b/packages/osd-ui-framework/src/components/button/button_group/button_group.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; diff --git a/packages/osd-ui-framework/src/components/button/button_icon/button_icon.js b/packages/osd-ui-framework/src/components/button/button_icon/button_icon.js index 534eb9961727..2872c1f6a7c9 100644 --- a/packages/osd-ui-framework/src/components/button/button_icon/button_icon.js +++ b/packages/osd-ui-framework/src/components/button/button_icon/button_icon.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; diff --git a/packages/osd-ui-framework/src/components/button/button_icon/button_icon.test.js b/packages/osd-ui-framework/src/components/button/button_icon/button_icon.test.js index 91e1ce26618f..9df2d43d9907 100644 --- a/packages/osd-ui-framework/src/components/button/button_icon/button_icon.test.js +++ b/packages/osd-ui-framework/src/components/button/button_icon/button_icon.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; diff --git a/packages/osd-ui-framework/src/components/button/index.js b/packages/osd-ui-framework/src/components/button/index.js index edb8ce8349ca..091c37b258df 100644 --- a/packages/osd-ui-framework/src/components/button/index.js +++ b/packages/osd-ui-framework/src/components/button/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiButton, KuiLinkButton, KuiSubmitButton } from './button'; export { KuiButtonIcon } from './button_icon/button_icon'; export { KuiButtonGroup } from './button_group/button_group'; diff --git a/packages/osd-ui-framework/src/components/button/link_button.test.js b/packages/osd-ui-framework/src/components/button/link_button.test.js index 474dd09cc231..b3c4d02a0ae4 100644 --- a/packages/osd-ui-framework/src/components/button/link_button.test.js +++ b/packages/osd-ui-framework/src/components/button/link_button.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; diff --git a/packages/osd-ui-framework/src/components/button/submit_button.test.js b/packages/osd-ui-framework/src/components/button/submit_button.test.js index 47c350b3e42d..0970cf764ea9 100644 --- a/packages/osd-ui-framework/src/components/button/submit_button.test.js +++ b/packages/osd-ui-framework/src/components/button/submit_button.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, shallow } from 'enzyme'; import sinon from 'sinon'; diff --git a/packages/osd-ui-framework/src/components/collapse_button/collapse_button.js b/packages/osd-ui-framework/src/components/collapse_button/collapse_button.js index b73f06200c36..3e8a107e963c 100644 --- a/packages/osd-ui-framework/src/components/collapse_button/collapse_button.js +++ b/packages/osd-ui-framework/src/components/collapse_button/collapse_button.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/collapse_button/collapse_button.test.js b/packages/osd-ui-framework/src/components/collapse_button/collapse_button.test.js index baeea6908135..eaa5d82b98b6 100644 --- a/packages/osd-ui-framework/src/components/collapse_button/collapse_button.test.js +++ b/packages/osd-ui-framework/src/components/collapse_button/collapse_button.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, shallow } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/collapse_button/index.js b/packages/osd-ui-framework/src/components/collapse_button/index.js index 70bb3ac19ba8..a5aab75f86c6 100644 --- a/packages/osd-ui-framework/src/components/collapse_button/index.js +++ b/packages/osd-ui-framework/src/components/collapse_button/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiCollapseButton } from './collapse_button'; diff --git a/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt.js b/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt.js index 6f8adf335904..4f0678ba7be5 100644 --- a/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt.js +++ b/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import classnames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt.test.js b/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt.test.js index 1d6288f89c60..dcb51516f672 100644 --- a/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt.test.js +++ b/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_actions.js b/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_actions.js index 09a8bba591c3..d76402a1a155 100644 --- a/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_actions.js +++ b/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_actions.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_actions.test.js b/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_actions.test.js index 84ebbdbd5b23..b1bce75ea6e1 100644 --- a/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_actions.test.js +++ b/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_actions.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_message.js b/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_message.js index 789a2d4379b2..4e70b031ae35 100644 --- a/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_message.js +++ b/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_message.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_message.test.js b/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_message.test.js index d6957e04a650..f5a44000e10b 100644 --- a/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_message.test.js +++ b/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_message.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_panel.js b/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_panel.js index 19efedcd1644..bb28f5baef99 100644 --- a/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_panel.js +++ b/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_panel.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_panel.test.js b/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_panel.test.js index edef0b6e8ea2..320ea4d7eff7 100644 --- a/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_panel.test.js +++ b/packages/osd-ui-framework/src/components/empty_table_prompt/empty_table_prompt_panel.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/empty_table_prompt/index.js b/packages/osd-ui-framework/src/components/empty_table_prompt/index.js index 0855d7ad14c9..14a8a5bc0088 100644 --- a/packages/osd-ui-framework/src/components/empty_table_prompt/index.js +++ b/packages/osd-ui-framework/src/components/empty_table_prompt/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiEmptyTablePromptMessage } from './empty_table_prompt_message'; export { KuiEmptyTablePromptPanel } from './empty_table_prompt_panel'; export { KuiEmptyTablePrompt } from './empty_table_prompt'; diff --git a/packages/osd-ui-framework/src/components/form/check_box/check_box.js b/packages/osd-ui-framework/src/components/form/check_box/check_box.js index e21772feac4d..072ba764b648 100644 --- a/packages/osd-ui-framework/src/components/form/check_box/check_box.js +++ b/packages/osd-ui-framework/src/components/form/check_box/check_box.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/form/check_box/check_box.test.js b/packages/osd-ui-framework/src/components/form/check_box/check_box.test.js index 1aaf5e1efdf1..4f454973dd31 100644 --- a/packages/osd-ui-framework/src/components/form/check_box/check_box.test.js +++ b/packages/osd-ui-framework/src/components/form/check_box/check_box.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, shallow } from 'enzyme'; import { requiredProps } from '../../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/form/check_box/check_box_label.js b/packages/osd-ui-framework/src/components/form/check_box/check_box_label.js index 45f9dd7abc00..659746a2cb41 100644 --- a/packages/osd-ui-framework/src/components/form/check_box/check_box_label.js +++ b/packages/osd-ui-framework/src/components/form/check_box/check_box_label.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/form/check_box/check_box_label.test.js b/packages/osd-ui-framework/src/components/form/check_box/check_box_label.test.js index 067d0904230d..f644c8ca33e4 100644 --- a/packages/osd-ui-framework/src/components/form/check_box/check_box_label.test.js +++ b/packages/osd-ui-framework/src/components/form/check_box/check_box_label.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, shallow } from 'enzyme'; import { requiredProps } from '../../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/form/check_box/index.js b/packages/osd-ui-framework/src/components/form/check_box/index.js index 4083efbcd30a..8b5a691c9959 100644 --- a/packages/osd-ui-framework/src/components/form/check_box/index.js +++ b/packages/osd-ui-framework/src/components/form/check_box/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiCheckBox } from './check_box'; export { KuiCheckBoxLabel } from './check_box_label'; diff --git a/packages/osd-ui-framework/src/components/form/index.js b/packages/osd-ui-framework/src/components/form/index.js index ca15d0cdd4d2..63e109305f85 100644 --- a/packages/osd-ui-framework/src/components/form/index.js +++ b/packages/osd-ui-framework/src/components/form/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiLabel } from './label'; export { KuiTextInput } from './text_input'; export { KuiTextArea } from './text_area'; diff --git a/packages/osd-ui-framework/src/components/form/label/index.js b/packages/osd-ui-framework/src/components/form/label/index.js index 0b636c0e22a1..795c1c861d69 100644 --- a/packages/osd-ui-framework/src/components/form/label/index.js +++ b/packages/osd-ui-framework/src/components/form/label/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiLabel } from './label'; diff --git a/packages/osd-ui-framework/src/components/form/label/label.js b/packages/osd-ui-framework/src/components/form/label/label.js index dc3ccf5a6029..a76df2e5f35c 100644 --- a/packages/osd-ui-framework/src/components/form/label/label.js +++ b/packages/osd-ui-framework/src/components/form/label/label.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/form/label/label.test.js b/packages/osd-ui-framework/src/components/form/label/label.test.js index abc343436722..2a5d4a849331 100644 --- a/packages/osd-ui-framework/src/components/form/label/label.test.js +++ b/packages/osd-ui-framework/src/components/form/label/label.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/form/select/index.js b/packages/osd-ui-framework/src/components/form/select/index.js index d51b8f6a6d0c..2f54a54b2882 100644 --- a/packages/osd-ui-framework/src/components/form/select/index.js +++ b/packages/osd-ui-framework/src/components/form/select/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiSelect } from './select'; diff --git a/packages/osd-ui-framework/src/components/form/select/select.js b/packages/osd-ui-framework/src/components/form/select/select.js index e2f4de842291..80a39886e2ec 100644 --- a/packages/osd-ui-framework/src/components/form/select/select.js +++ b/packages/osd-ui-framework/src/components/form/select/select.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/form/select/select.test.js b/packages/osd-ui-framework/src/components/form/select/select.test.js index eb96e790c0a5..eb3417925b43 100644 --- a/packages/osd-ui-framework/src/components/form/select/select.test.js +++ b/packages/osd-ui-framework/src/components/form/select/select.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, shallow } from 'enzyme'; import { requiredProps } from '../../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/form/text_area/index.js b/packages/osd-ui-framework/src/components/form/text_area/index.js index a575f8a393d8..c371c92880bf 100644 --- a/packages/osd-ui-framework/src/components/form/text_area/index.js +++ b/packages/osd-ui-framework/src/components/form/text_area/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiTextArea } from './text_area'; diff --git a/packages/osd-ui-framework/src/components/form/text_area/text_area.js b/packages/osd-ui-framework/src/components/form/text_area/text_area.js index fd22b123ab91..1663addd6f22 100644 --- a/packages/osd-ui-framework/src/components/form/text_area/text_area.js +++ b/packages/osd-ui-framework/src/components/form/text_area/text_area.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/form/text_area/text_area.test.js b/packages/osd-ui-framework/src/components/form/text_area/text_area.test.js index eeca9e651227..2c5d3b5f315c 100644 --- a/packages/osd-ui-framework/src/components/form/text_area/text_area.test.js +++ b/packages/osd-ui-framework/src/components/form/text_area/text_area.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, shallow } from 'enzyme'; import { requiredProps } from '../../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/form/text_input/index.js b/packages/osd-ui-framework/src/components/form/text_input/index.js index 988a4a8ea6b0..d983e8b57dba 100644 --- a/packages/osd-ui-framework/src/components/form/text_input/index.js +++ b/packages/osd-ui-framework/src/components/form/text_input/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiTextInput } from './text_input'; diff --git a/packages/osd-ui-framework/src/components/form/text_input/text_input.js b/packages/osd-ui-framework/src/components/form/text_input/text_input.js index 38089d563d83..3b27f8d49581 100644 --- a/packages/osd-ui-framework/src/components/form/text_input/text_input.js +++ b/packages/osd-ui-framework/src/components/form/text_input/text_input.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/form/text_input/text_input.test.js b/packages/osd-ui-framework/src/components/form/text_input/text_input.test.js index 885ec10826ed..43c60c033283 100644 --- a/packages/osd-ui-framework/src/components/form/text_input/text_input.test.js +++ b/packages/osd-ui-framework/src/components/form/text_input/text_input.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, shallow, mount } from 'enzyme'; import { requiredProps, findTestSubject } from '../../../test'; diff --git a/packages/osd-ui-framework/src/components/form_layout/field_group.js b/packages/osd-ui-framework/src/components/form_layout/field_group.js index 63596b56d0e1..bc06581a1691 100644 --- a/packages/osd-ui-framework/src/components/form_layout/field_group.js +++ b/packages/osd-ui-framework/src/components/form_layout/field_group.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/form_layout/field_group.test.js b/packages/osd-ui-framework/src/components/form_layout/field_group.test.js index 445baf66b3d8..a6fef8183897 100644 --- a/packages/osd-ui-framework/src/components/form_layout/field_group.test.js +++ b/packages/osd-ui-framework/src/components/form_layout/field_group.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/form_layout/field_group_section.js b/packages/osd-ui-framework/src/components/form_layout/field_group_section.js index 118163c7e2bd..0b53d50e6818 100644 --- a/packages/osd-ui-framework/src/components/form_layout/field_group_section.js +++ b/packages/osd-ui-framework/src/components/form_layout/field_group_section.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/form_layout/field_group_section.test.js b/packages/osd-ui-framework/src/components/form_layout/field_group_section.test.js index 21a3d94c4537..2ec187e7d0b9 100644 --- a/packages/osd-ui-framework/src/components/form_layout/field_group_section.test.js +++ b/packages/osd-ui-framework/src/components/form_layout/field_group_section.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/form_layout/index.js b/packages/osd-ui-framework/src/components/form_layout/index.js index 8901b5a7b95a..437287955bd8 100644 --- a/packages/osd-ui-framework/src/components/form_layout/index.js +++ b/packages/osd-ui-framework/src/components/form_layout/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiFieldGroup } from './field_group'; export { KuiFieldGroupSection } from './field_group_section'; diff --git a/packages/osd-ui-framework/src/components/index.js b/packages/osd-ui-framework/src/components/index.js index f6add0fbe05e..11614be0ff52 100644 --- a/packages/osd-ui-framework/src/components/index.js +++ b/packages/osd-ui-framework/src/components/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiBar, KuiBarSection } from './bar'; export { KuiButton, KuiButtonGroup, KuiButtonIcon, KuiLinkButton, KuiSubmitButton } from './button'; diff --git a/packages/osd-ui-framework/src/components/local_nav/index.js b/packages/osd-ui-framework/src/components/local_nav/index.js index dd8ca965a902..235bdd5a205b 100644 --- a/packages/osd-ui-framework/src/components/local_nav/index.js +++ b/packages/osd-ui-framework/src/components/local_nav/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiLocalNav } from './local_nav'; export { KuiLocalNavRow } from './local_nav_row'; export { KuiLocalNavRowSection } from './local_nav_row_section'; diff --git a/packages/osd-ui-framework/src/components/local_nav/local_nav.js b/packages/osd-ui-framework/src/components/local_nav/local_nav.js index d7221f90d693..948b4c6437fc 100644 --- a/packages/osd-ui-framework/src/components/local_nav/local_nav.js +++ b/packages/osd-ui-framework/src/components/local_nav/local_nav.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import classnames from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; diff --git a/packages/osd-ui-framework/src/components/local_nav/local_nav.test.js b/packages/osd-ui-framework/src/components/local_nav/local_nav.test.js index 974c28f71651..c8f89c862469 100644 --- a/packages/osd-ui-framework/src/components/local_nav/local_nav.test.js +++ b/packages/osd-ui-framework/src/components/local_nav/local_nav.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/local_nav/local_nav_row.js b/packages/osd-ui-framework/src/components/local_nav/local_nav_row.js index c8a4705b9e7c..9445236ae977 100644 --- a/packages/osd-ui-framework/src/components/local_nav/local_nav_row.js +++ b/packages/osd-ui-framework/src/components/local_nav/local_nav_row.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import classnames from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; diff --git a/packages/osd-ui-framework/src/components/local_nav/local_nav_row.test.js b/packages/osd-ui-framework/src/components/local_nav/local_nav_row.test.js index 45d76e970f4d..9c21ef125989 100644 --- a/packages/osd-ui-framework/src/components/local_nav/local_nav_row.test.js +++ b/packages/osd-ui-framework/src/components/local_nav/local_nav_row.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/local_nav/local_nav_row_section.js b/packages/osd-ui-framework/src/components/local_nav/local_nav_row_section.js index bb5a245ede07..748f0d676837 100644 --- a/packages/osd-ui-framework/src/components/local_nav/local_nav_row_section.js +++ b/packages/osd-ui-framework/src/components/local_nav/local_nav_row_section.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import classnames from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; diff --git a/packages/osd-ui-framework/src/components/local_nav/local_nav_row_section.test.js b/packages/osd-ui-framework/src/components/local_nav/local_nav_row_section.test.js index 3321668cde32..5daccd947aab 100644 --- a/packages/osd-ui-framework/src/components/local_nav/local_nav_row_section.test.js +++ b/packages/osd-ui-framework/src/components/local_nav/local_nav_row_section.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/local_nav/local_tab.js b/packages/osd-ui-framework/src/components/local_nav/local_tab.js index f8cb81a9f5f6..aa0e8f8807aa 100644 --- a/packages/osd-ui-framework/src/components/local_nav/local_tab.js +++ b/packages/osd-ui-framework/src/components/local_nav/local_tab.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import classnames from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; diff --git a/packages/osd-ui-framework/src/components/local_nav/local_tab.test.js b/packages/osd-ui-framework/src/components/local_nav/local_tab.test.js index f7d5f0fd557e..81a24a7d49b9 100644 --- a/packages/osd-ui-framework/src/components/local_nav/local_tab.test.js +++ b/packages/osd-ui-framework/src/components/local_nav/local_tab.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/local_nav/local_tabs.js b/packages/osd-ui-framework/src/components/local_nav/local_tabs.js index e76ea0559370..492cf988e0ec 100644 --- a/packages/osd-ui-framework/src/components/local_nav/local_tabs.js +++ b/packages/osd-ui-framework/src/components/local_nav/local_tabs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import classnames from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; diff --git a/packages/osd-ui-framework/src/components/local_nav/local_tabs.test.js b/packages/osd-ui-framework/src/components/local_nav/local_tabs.test.js index 55abddfe2b44..8dffc0d6fedf 100644 --- a/packages/osd-ui-framework/src/components/local_nav/local_tabs.test.js +++ b/packages/osd-ui-framework/src/components/local_nav/local_tabs.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/local_nav/local_title.js b/packages/osd-ui-framework/src/components/local_nav/local_title.js index 1c4731dd3b69..2397115bfa6b 100644 --- a/packages/osd-ui-framework/src/components/local_nav/local_title.js +++ b/packages/osd-ui-framework/src/components/local_nav/local_title.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import classnames from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; diff --git a/packages/osd-ui-framework/src/components/local_nav/local_title.test.js b/packages/osd-ui-framework/src/components/local_nav/local_title.test.js index 0696df15dd93..ed1c8874cdcb 100644 --- a/packages/osd-ui-framework/src/components/local_nav/local_title.test.js +++ b/packages/osd-ui-framework/src/components/local_nav/local_title.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/pager/index.js b/packages/osd-ui-framework/src/components/pager/index.js index 5a6aebb1afaa..4630138381ea 100644 --- a/packages/osd-ui-framework/src/components/pager/index.js +++ b/packages/osd-ui-framework/src/components/pager/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiPager } from './pager'; export { KuiPagerButtonGroup } from './pager_button_group'; diff --git a/packages/osd-ui-framework/src/components/pager/pager.js b/packages/osd-ui-framework/src/components/pager/pager.js index 89511576d1cc..1f887b8de4a1 100644 --- a/packages/osd-ui-framework/src/components/pager/pager.js +++ b/packages/osd-ui-framework/src/components/pager/pager.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/pager/pager.test.js b/packages/osd-ui-framework/src/components/pager/pager.test.js index 0788b4854c41..c1f1896de137 100644 --- a/packages/osd-ui-framework/src/components/pager/pager.test.js +++ b/packages/osd-ui-framework/src/components/pager/pager.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import sinon from 'sinon'; import { render, mount } from 'enzyme'; diff --git a/packages/osd-ui-framework/src/components/pager/pager_button_group.js b/packages/osd-ui-framework/src/components/pager/pager_button_group.js index 37a835952998..88f1b1ea0859 100644 --- a/packages/osd-ui-framework/src/components/pager/pager_button_group.js +++ b/packages/osd-ui-framework/src/components/pager/pager_button_group.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; diff --git a/packages/osd-ui-framework/src/components/pager/pager_button_group.test.js b/packages/osd-ui-framework/src/components/pager/pager_button_group.test.js index de10185ec5f5..58a716c82bc8 100644 --- a/packages/osd-ui-framework/src/components/pager/pager_button_group.test.js +++ b/packages/osd-ui-framework/src/components/pager/pager_button_group.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import sinon from 'sinon'; import { render, mount } from 'enzyme'; diff --git a/packages/osd-ui-framework/src/components/table/controlled_table.js b/packages/osd-ui-framework/src/components/table/controlled_table.js index ccdcdb5dc685..201c87053d0d 100644 --- a/packages/osd-ui-framework/src/components/table/controlled_table.js +++ b/packages/osd-ui-framework/src/components/table/controlled_table.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/table/controlled_table.test.js b/packages/osd-ui-framework/src/components/table/controlled_table.test.js index 2b731b38caf2..42a1b6cad430 100644 --- a/packages/osd-ui-framework/src/components/table/controlled_table.test.js +++ b/packages/osd-ui-framework/src/components/table/controlled_table.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/table/index.js b/packages/osd-ui-framework/src/components/table/index.js index 536cf560908e..72ed3e4d5fc1 100644 --- a/packages/osd-ui-framework/src/components/table/index.js +++ b/packages/osd-ui-framework/src/components/table/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiTable } from './table'; export { KuiTableHeaderCell } from './table_header_cell'; export { KuiTableRow } from './table_row'; diff --git a/packages/osd-ui-framework/src/components/table/listing_table/index.js b/packages/osd-ui-framework/src/components/table/listing_table/index.js index 06270a9f2ddc..345ceb72de75 100644 --- a/packages/osd-ui-framework/src/components/table/listing_table/index.js +++ b/packages/osd-ui-framework/src/components/table/listing_table/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiListingTable } from './listing_table'; export { KuiListingTableCreateButton } from './listing_table_create_button'; export { KuiListingTableDeleteButton } from './listing_table_delete_button'; diff --git a/packages/osd-ui-framework/src/components/table/listing_table/listing_table.js b/packages/osd-ui-framework/src/components/table/listing_table/listing_table.js index 3a0838883b01..8b8fc3ad4bdd 100644 --- a/packages/osd-ui-framework/src/components/table/listing_table/listing_table.js +++ b/packages/osd-ui-framework/src/components/table/listing_table/listing_table.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; diff --git a/packages/osd-ui-framework/src/components/table/listing_table/listing_table.test.js b/packages/osd-ui-framework/src/components/table/listing_table/listing_table.test.js index fa8310a3966d..17b59552f89e 100644 --- a/packages/osd-ui-framework/src/components/table/listing_table/listing_table.test.js +++ b/packages/osd-ui-framework/src/components/table/listing_table/listing_table.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount, shallow } from 'enzyme'; import { requiredProps, takeMountedSnapshot } from '../../../test'; diff --git a/packages/osd-ui-framework/src/components/table/listing_table/listing_table_create_button.js b/packages/osd-ui-framework/src/components/table/listing_table/listing_table_create_button.js index d2c3adc7efbc..0fd1c9953de5 100644 --- a/packages/osd-ui-framework/src/components/table/listing_table/listing_table_create_button.js +++ b/packages/osd-ui-framework/src/components/table/listing_table/listing_table_create_button.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; diff --git a/packages/osd-ui-framework/src/components/table/listing_table/listing_table_delete_button.js b/packages/osd-ui-framework/src/components/table/listing_table/listing_table_delete_button.js index b19ffc3ac987..b8712651e8a9 100644 --- a/packages/osd-ui-framework/src/components/table/listing_table/listing_table_delete_button.js +++ b/packages/osd-ui-framework/src/components/table/listing_table/listing_table_delete_button.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; diff --git a/packages/osd-ui-framework/src/components/table/listing_table/listing_table_loading_prompt.js b/packages/osd-ui-framework/src/components/table/listing_table/listing_table_loading_prompt.js index d00e48730aa4..8b5d75ff9989 100644 --- a/packages/osd-ui-framework/src/components/table/listing_table/listing_table_loading_prompt.js +++ b/packages/osd-ui-framework/src/components/table/listing_table/listing_table_loading_prompt.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiEmptyTablePromptPanel, KuiTableInfo } from '../../'; diff --git a/packages/osd-ui-framework/src/components/table/listing_table/listing_table_no_matches_prompt.js b/packages/osd-ui-framework/src/components/table/listing_table/listing_table_no_matches_prompt.js index c69c6f07ef98..fdb9d8e20008 100644 --- a/packages/osd-ui-framework/src/components/table/listing_table/listing_table_no_matches_prompt.js +++ b/packages/osd-ui-framework/src/components/table/listing_table/listing_table_no_matches_prompt.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { KuiEmptyTablePromptPanel, KuiTableInfo } from '../../'; diff --git a/packages/osd-ui-framework/src/components/table/listing_table/listing_table_row.js b/packages/osd-ui-framework/src/components/table/listing_table/listing_table_row.js index d2fb369fc3f7..f1b0001143d5 100644 --- a/packages/osd-ui-framework/src/components/table/listing_table/listing_table_row.js +++ b/packages/osd-ui-framework/src/components/table/listing_table/listing_table_row.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; diff --git a/packages/osd-ui-framework/src/components/table/listing_table/listing_table_tool_bar.js b/packages/osd-ui-framework/src/components/table/listing_table/listing_table_tool_bar.js index ce09efabccd5..5fd1acf46a35 100644 --- a/packages/osd-ui-framework/src/components/table/listing_table/listing_table_tool_bar.js +++ b/packages/osd-ui-framework/src/components/table/listing_table/listing_table_tool_bar.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; diff --git a/packages/osd-ui-framework/src/components/table/listing_table/listing_table_tool_bar_footer.js b/packages/osd-ui-framework/src/components/table/listing_table/listing_table_tool_bar_footer.js index 6627197230a6..ee12688d9ee9 100644 --- a/packages/osd-ui-framework/src/components/table/listing_table/listing_table_tool_bar_footer.js +++ b/packages/osd-ui-framework/src/components/table/listing_table/listing_table_tool_bar_footer.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; diff --git a/packages/osd-ui-framework/src/components/table/table.js b/packages/osd-ui-framework/src/components/table/table.js index 95be029bb4f3..422e3381d5eb 100644 --- a/packages/osd-ui-framework/src/components/table/table.js +++ b/packages/osd-ui-framework/src/components/table/table.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/table/table.test.js b/packages/osd-ui-framework/src/components/table/table.test.js index 4c974376dedc..95959f4d04cb 100644 --- a/packages/osd-ui-framework/src/components/table/table.test.js +++ b/packages/osd-ui-framework/src/components/table/table.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/table/table_body.js b/packages/osd-ui-framework/src/components/table/table_body.js index 2f8e7bf2a46e..c7f30813fafc 100644 --- a/packages/osd-ui-framework/src/components/table/table_body.js +++ b/packages/osd-ui-framework/src/components/table/table_body.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; diff --git a/packages/osd-ui-framework/src/components/table/table_header.js b/packages/osd-ui-framework/src/components/table/table_header.js index 066696e64edd..75440533bdfa 100644 --- a/packages/osd-ui-framework/src/components/table/table_header.js +++ b/packages/osd-ui-framework/src/components/table/table_header.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; diff --git a/packages/osd-ui-framework/src/components/table/table_header_cell.js b/packages/osd-ui-framework/src/components/table/table_header_cell.js index 492f5c2123d5..e53010167ae9 100644 --- a/packages/osd-ui-framework/src/components/table/table_header_cell.js +++ b/packages/osd-ui-framework/src/components/table/table_header_cell.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/table/table_header_cell.test.js b/packages/osd-ui-framework/src/components/table/table_header_cell.test.js index 1c0bd87d2c80..573fbf3e47c8 100644 --- a/packages/osd-ui-framework/src/components/table/table_header_cell.test.js +++ b/packages/osd-ui-framework/src/components/table/table_header_cell.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/table/table_header_check_box_cell.js b/packages/osd-ui-framework/src/components/table/table_header_check_box_cell.js index b0f4fb756c8d..62300b127708 100644 --- a/packages/osd-ui-framework/src/components/table/table_header_check_box_cell.js +++ b/packages/osd-ui-framework/src/components/table/table_header_check_box_cell.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/table/table_header_check_box_cell.test.js b/packages/osd-ui-framework/src/components/table/table_header_check_box_cell.test.js index 757a0d35cf2e..ce369c1b68d6 100644 --- a/packages/osd-ui-framework/src/components/table/table_header_check_box_cell.test.js +++ b/packages/osd-ui-framework/src/components/table/table_header_check_box_cell.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/table/table_info.js b/packages/osd-ui-framework/src/components/table/table_info.js index 7d5bb86b3bf5..5c4319c85e2e 100644 --- a/packages/osd-ui-framework/src/components/table/table_info.js +++ b/packages/osd-ui-framework/src/components/table/table_info.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/table/table_info.test.js b/packages/osd-ui-framework/src/components/table/table_info.test.js index 66d499a100d0..b6862bfef714 100644 --- a/packages/osd-ui-framework/src/components/table/table_info.test.js +++ b/packages/osd-ui-framework/src/components/table/table_info.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/table/table_row.js b/packages/osd-ui-framework/src/components/table/table_row.js index 20e5f0f6af89..0cf76283646f 100644 --- a/packages/osd-ui-framework/src/components/table/table_row.js +++ b/packages/osd-ui-framework/src/components/table/table_row.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/table/table_row.test.js b/packages/osd-ui-framework/src/components/table/table_row.test.js index 062eaee1d185..a6ac38f467fa 100644 --- a/packages/osd-ui-framework/src/components/table/table_row.test.js +++ b/packages/osd-ui-framework/src/components/table/table_row.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/table/table_row_cell.js b/packages/osd-ui-framework/src/components/table/table_row_cell.js index dcbc5efa11ed..c6e23d0060aa 100644 --- a/packages/osd-ui-framework/src/components/table/table_row_cell.js +++ b/packages/osd-ui-framework/src/components/table/table_row_cell.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/table/table_row_cell.test.js b/packages/osd-ui-framework/src/components/table/table_row_cell.test.js index 470b5b909071..285e79993649 100644 --- a/packages/osd-ui-framework/src/components/table/table_row_cell.test.js +++ b/packages/osd-ui-framework/src/components/table/table_row_cell.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/table/table_row_check_box_cell.js b/packages/osd-ui-framework/src/components/table/table_row_check_box_cell.js index 551156cc7f4a..2cf72c87fcc4 100644 --- a/packages/osd-ui-framework/src/components/table/table_row_check_box_cell.js +++ b/packages/osd-ui-framework/src/components/table/table_row_check_box_cell.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/table/table_row_check_box_cell.test.js b/packages/osd-ui-framework/src/components/table/table_row_check_box_cell.test.js index 8177d62c535e..3752ae0db338 100644 --- a/packages/osd-ui-framework/src/components/table/table_row_check_box_cell.test.js +++ b/packages/osd-ui-framework/src/components/table/table_row_check_box_cell.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/tabs/index.js b/packages/osd-ui-framework/src/components/tabs/index.js index e7195a371ed0..b3622d1cd15c 100644 --- a/packages/osd-ui-framework/src/components/tabs/index.js +++ b/packages/osd-ui-framework/src/components/tabs/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiTabs } from './tabs'; export { KuiTab } from './tab'; diff --git a/packages/osd-ui-framework/src/components/tabs/tab.js b/packages/osd-ui-framework/src/components/tabs/tab.js index f9bbe8bc9624..6e69a4f352cb 100644 --- a/packages/osd-ui-framework/src/components/tabs/tab.js +++ b/packages/osd-ui-framework/src/components/tabs/tab.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/tabs/tab.test.js b/packages/osd-ui-framework/src/components/tabs/tab.test.js index 2912279ff929..ef4c610f46f7 100644 --- a/packages/osd-ui-framework/src/components/tabs/tab.test.js +++ b/packages/osd-ui-framework/src/components/tabs/tab.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, shallow } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/tabs/tabs.js b/packages/osd-ui-framework/src/components/tabs/tabs.js index ef644b24b341..ed6483308c19 100644 --- a/packages/osd-ui-framework/src/components/tabs/tabs.js +++ b/packages/osd-ui-framework/src/components/tabs/tabs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/tabs/tabs.test.js b/packages/osd-ui-framework/src/components/tabs/tabs.test.js index 4aed7ae9d1ee..c92c51432514 100644 --- a/packages/osd-ui-framework/src/components/tabs/tabs.test.js +++ b/packages/osd-ui-framework/src/components/tabs/tabs.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/tool_bar/index.js b/packages/osd-ui-framework/src/components/tool_bar/index.js index fd7cecabda6f..416efde2d094 100644 --- a/packages/osd-ui-framework/src/components/tool_bar/index.js +++ b/packages/osd-ui-framework/src/components/tool_bar/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { KuiToolBarSearchBox } from './tool_bar_search_box'; export { KuiToolBar } from './tool_bar'; export { KuiToolBarFooter } from './tool_bar_footer'; diff --git a/packages/osd-ui-framework/src/components/tool_bar/tool_bar.js b/packages/osd-ui-framework/src/components/tool_bar/tool_bar.js index 0fe261d85ff2..de83fa3e9d3f 100644 --- a/packages/osd-ui-framework/src/components/tool_bar/tool_bar.js +++ b/packages/osd-ui-framework/src/components/tool_bar/tool_bar.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/tool_bar/tool_bar.test.js b/packages/osd-ui-framework/src/components/tool_bar/tool_bar.test.js index cbdef0e2d396..ab2041c16506 100644 --- a/packages/osd-ui-framework/src/components/tool_bar/tool_bar.test.js +++ b/packages/osd-ui-framework/src/components/tool_bar/tool_bar.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_footer.js b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_footer.js index aba7f4237c36..251e73c8b5d3 100644 --- a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_footer.js +++ b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_footer.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_footer.test.js b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_footer.test.js index 4dccff5eeb06..249ff5a82d93 100644 --- a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_footer.test.js +++ b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_footer.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_footer_section.js b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_footer_section.js index 597be29b23c5..b72c417f5df3 100644 --- a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_footer_section.js +++ b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_footer_section.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_footer_section.test.js b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_footer_section.test.js index 9b76ac4b5877..84142c049a85 100644 --- a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_footer_section.test.js +++ b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_footer_section.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_search_box.js b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_search_box.js index 5cc9954ed3b8..9ed0f63577dd 100644 --- a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_search_box.js +++ b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_search_box.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_search_box.test.js b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_search_box.test.js index 957678678da9..b9cade33e7e8 100644 --- a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_search_box.test.js +++ b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_search_box.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, mount } from 'enzyme'; import sinon from 'sinon'; diff --git a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_section.js b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_section.js index 54dbe64a9f82..337948732036 100644 --- a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_section.js +++ b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_section.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_section.test.js b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_section.test.js index e46b975f0ea9..3f3f603c7ce8 100644 --- a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_section.test.js +++ b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_section.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_text.js b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_text.js index 63dd49c2a483..839ecb4f39ef 100644 --- a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_text.js +++ b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_text.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_text.test.js b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_text.test.js index 2a168f261256..970943489148 100644 --- a/packages/osd-ui-framework/src/components/tool_bar/tool_bar_text.test.js +++ b/packages/osd-ui-framework/src/components/tool_bar/tool_bar_text.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/components/typography/typography.js b/packages/osd-ui-framework/src/components/typography/typography.js index 436874a9ca01..ef460599156d 100644 --- a/packages/osd-ui-framework/src/components/typography/typography.js +++ b/packages/osd-ui-framework/src/components/typography/typography.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import { cloneElement } from 'react'; import classNames from 'classnames'; diff --git a/packages/osd-ui-framework/src/components/typography/typography.test.js b/packages/osd-ui-framework/src/components/typography/typography.test.js index 9a23e1879844..395a9b730f59 100644 --- a/packages/osd-ui-framework/src/components/typography/typography.test.js +++ b/packages/osd-ui-framework/src/components/typography/typography.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; diff --git a/packages/osd-ui-framework/src/services/accessibility/accessible_click_keys.js b/packages/osd-ui-framework/src/services/accessibility/accessible_click_keys.js index 231ae67c6b58..23686a3fa224 100644 --- a/packages/osd-ui-framework/src/services/accessibility/accessible_click_keys.js +++ b/packages/osd-ui-framework/src/services/accessibility/accessible_click_keys.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ENTER, SPACE } from '../key_codes'; // These keys are used to execute click actions on interactive elements like buttons and links. diff --git a/packages/osd-ui-framework/src/services/accessibility/cascading_menu_key_codes.js b/packages/osd-ui-framework/src/services/accessibility/cascading_menu_key_codes.js index 3abc8c444e7c..5434eeda4970 100644 --- a/packages/osd-ui-framework/src/services/accessibility/cascading_menu_key_codes.js +++ b/packages/osd-ui-framework/src/services/accessibility/cascading_menu_key_codes.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * These keys are used for navigating cascading menu UI components. * diff --git a/packages/osd-ui-framework/src/services/accessibility/combo_box_key_codes.js b/packages/osd-ui-framework/src/services/accessibility/combo_box_key_codes.js index 37c5638591a4..75a9810bd0ff 100644 --- a/packages/osd-ui-framework/src/services/accessibility/combo_box_key_codes.js +++ b/packages/osd-ui-framework/src/services/accessibility/combo_box_key_codes.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * These keys are used for navigating combobox UI components. * diff --git a/packages/osd-ui-framework/src/services/accessibility/html_id_generator.js b/packages/osd-ui-framework/src/services/accessibility/html_id_generator.js index fab3db686e5a..376ac600ce46 100644 --- a/packages/osd-ui-framework/src/services/accessibility/html_id_generator.js +++ b/packages/osd-ui-framework/src/services/accessibility/html_id_generator.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import uuid from 'uuid'; /** diff --git a/packages/osd-ui-framework/src/services/accessibility/html_id_generator.test.js b/packages/osd-ui-framework/src/services/accessibility/html_id_generator.test.js index 56a09ff28798..2e0059e8d8c5 100644 --- a/packages/osd-ui-framework/src/services/accessibility/html_id_generator.test.js +++ b/packages/osd-ui-framework/src/services/accessibility/html_id_generator.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { htmlIdGenerator } from './html_id_generator'; describe('htmlIdGenerator', () => { diff --git a/packages/osd-ui-framework/src/services/accessibility/index.js b/packages/osd-ui-framework/src/services/accessibility/index.js index fd3e1458d7c6..0138aa5858a6 100644 --- a/packages/osd-ui-framework/src/services/accessibility/index.js +++ b/packages/osd-ui-framework/src/services/accessibility/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { accessibleClickKeys } from './accessible_click_keys'; export { cascadingMenuKeyCodes } from './cascading_menu_key_codes'; export { comboBoxKeyCodes } from './combo_box_key_codes'; diff --git a/packages/osd-ui-framework/src/services/alignment.js b/packages/osd-ui-framework/src/services/alignment.js index 774f699970a6..e3dde6d953ac 100644 --- a/packages/osd-ui-framework/src/services/alignment.js +++ b/packages/osd-ui-framework/src/services/alignment.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const LEFT_ALIGNMENT = 'left'; export const RIGHT_ALIGNMENT = 'right'; diff --git a/packages/osd-ui-framework/src/services/index.js b/packages/osd-ui-framework/src/services/index.js index 38e4e19f0222..63a95a051812 100644 --- a/packages/osd-ui-framework/src/services/index.js +++ b/packages/osd-ui-framework/src/services/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // Export all keyCodes under a `keyCodes` named variable import * as keyCodes from './key_codes'; export { keyCodes }; diff --git a/packages/osd-ui-framework/src/services/key_codes.js b/packages/osd-ui-framework/src/services/key_codes.js index 5a55436a8da9..a25235f17ed0 100644 --- a/packages/osd-ui-framework/src/services/key_codes.js +++ b/packages/osd-ui-framework/src/services/key_codes.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const ENTER = 13; export const SPACE = 32; export const ESCAPE = 27; diff --git a/packages/osd-ui-framework/src/services/sort/index.js b/packages/osd-ui-framework/src/services/sort/index.js index aa7e4481c61a..25964f91152b 100644 --- a/packages/osd-ui-framework/src/services/sort/index.js +++ b/packages/osd-ui-framework/src/services/sort/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SortableProperties } from './sortable_properties'; diff --git a/packages/osd-ui-framework/src/services/sort/sortable_properties.js b/packages/osd-ui-framework/src/services/sort/sortable_properties.js index d48f701d9d76..34292d704cab 100644 --- a/packages/osd-ui-framework/src/services/sort/sortable_properties.js +++ b/packages/osd-ui-framework/src/services/sort/sortable_properties.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; /** diff --git a/packages/osd-ui-framework/src/services/sort/sortable_properties.test.js b/packages/osd-ui-framework/src/services/sort/sortable_properties.test.js index 2944ea52e650..8fcb95107e0c 100644 --- a/packages/osd-ui-framework/src/services/sort/sortable_properties.test.js +++ b/packages/osd-ui-framework/src/services/sort/sortable_properties.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SortableProperties } from './sortable_properties'; describe('SortProperties', () => { diff --git a/packages/osd-ui-framework/src/test/find_test_subject.js b/packages/osd-ui-framework/src/test/find_test_subject.js index 2ad112c926c4..29f6835651d6 100644 --- a/packages/osd-ui-framework/src/test/find_test_subject.js +++ b/packages/osd-ui-framework/src/test/find_test_subject.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Find node which matches a specific test subject selector. Returns ReactWrappers around DOM element, * https://github.com/airbnb/enzyme/tree/master/docs/api/ReactWrapper. diff --git a/packages/osd-ui-framework/src/test/index.js b/packages/osd-ui-framework/src/test/index.js index 2471fbc0eed7..2f10b0ebbf63 100644 --- a/packages/osd-ui-framework/src/test/index.js +++ b/packages/osd-ui-framework/src/test/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { requiredProps } from './required_props'; export { takeMountedSnapshot } from './take_mounted_snapshot'; export { findTestSubject } from './find_test_subject'; diff --git a/packages/osd-ui-framework/src/test/required_props.js b/packages/osd-ui-framework/src/test/required_props.js index 41fa7a0dbb35..d635957b277a 100644 --- a/packages/osd-ui-framework/src/test/required_props.js +++ b/packages/osd-ui-framework/src/test/required_props.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // We expect all React components to be able to support these props, // which will be rendered as HTML attributes. export const requiredProps = { diff --git a/packages/osd-ui-framework/src/test/take_mounted_snapshot.js b/packages/osd-ui-framework/src/test/take_mounted_snapshot.js index 3312290ab7a7..b19aa3ac2650 100644 --- a/packages/osd-ui-framework/src/test/take_mounted_snapshot.js +++ b/packages/osd-ui-framework/src/test/take_mounted_snapshot.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Use this function to generate a Jest snapshot of components that have been fully rendered * using Enzyme's `mount` method. Typically, a mounted component will result in a snapshot diff --git a/packages/osd-ui-shared-deps/entry.js b/packages/osd-ui-shared-deps/entry.js index 08410ae3616c..813fe512a554 100644 --- a/packages/osd-ui-shared-deps/entry.js +++ b/packages/osd-ui-shared-deps/entry.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('./polyfills'); // must load before angular diff --git a/packages/osd-ui-shared-deps/flot_charts/index.js b/packages/osd-ui-shared-deps/flot_charts/index.js index bbfc09998826..d0b3146e4460 100644 --- a/packages/osd-ui-shared-deps/flot_charts/index.js +++ b/packages/osd-ui-shared-deps/flot_charts/index.js @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* @notice * * This product includes code that is based on flot-charts, which was available diff --git a/packages/osd-ui-shared-deps/flot_charts/jquery_colorhelpers.js b/packages/osd-ui-shared-deps/flot_charts/jquery_colorhelpers.js index b2f6dc4e433a..895ca77960a4 100644 --- a/packages/osd-ui-shared-deps/flot_charts/jquery_colorhelpers.js +++ b/packages/osd-ui-shared-deps/flot_charts/jquery_colorhelpers.js @@ -1,7 +1,18 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* Plugin for jQuery for working with colors. - * + * * Version 1.1. - * + * * Inspiration from jQuery color animation plugin by John Resig. * * Released under the MIT license by Ole Laursen, October 2009. @@ -18,7 +29,7 @@ * * V. 1.1: Fix error handling so e.g. parsing an empty string does * produce a color rather than just crashing. - */ + */ (function($) { $.color = {}; @@ -36,13 +47,13 @@ o[c.charAt(i)] += d; return o.normalize(); }; - + o.scale = function (c, f) { for (var i = 0; i < c.length; ++i) o[c.charAt(i)] *= f; return o.normalize(); }; - + o.toString = function () { if (o.a >= 1.0) { return "rgb("+[o.r, o.g, o.b].join(",")+")"; @@ -55,7 +66,7 @@ function clamp(min, value, max) { return value < min ? min: (value > max ? max: value); } - + o.r = clamp(0, parseInt(o.r), 255); o.g = clamp(0, parseInt(o.g), 255); o.b = clamp(0, parseInt(o.b), 255); @@ -87,10 +98,10 @@ // catch Safari's way of signalling transparent if (c == "rgba(0, 0, 0, 0)") c = "transparent"; - + return $.color.parse(c); } - + // parse CSS color string (like "rgb(10, 32, 43)" or "#fff"), // returns color object, if parsing failed, you get black (0, 0, // 0) out @@ -100,11 +111,11 @@ // Look for rgb(num,num,num) if (res = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(str)) return m(parseInt(res[1], 10), parseInt(res[2], 10), parseInt(res[3], 10)); - + // Look for rgba(num,num,num,num) if (res = /rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(str)) return m(parseInt(res[1], 10), parseInt(res[2], 10), parseInt(res[3], 10), parseFloat(res[4])); - + // Look for rgb(num%,num%,num%) if (res = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(str)) return m(parseFloat(res[1])*2.55, parseFloat(res[2])*2.55, parseFloat(res[3])*2.55); @@ -112,7 +123,7 @@ // Look for rgba(num%,num%,num%,num) if (res = /rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(str)) return m(parseFloat(res[1])*2.55, parseFloat(res[2])*2.55, parseFloat(res[3])*2.55, parseFloat(res[4])); - + // Look for #a0b1c2 if (res = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(str)) return m(parseInt(res[1], 16), parseInt(res[2], 16), parseInt(res[3], 16)); @@ -131,7 +142,7 @@ return m(res[0], res[1], res[2]); } } - + var lookupColors = { aqua:[0,255,255], azure:[240,255,255], diff --git a/packages/osd-ui-shared-deps/flot_charts/jquery_flot_navigate.js b/packages/osd-ui-shared-deps/flot_charts/jquery_flot_navigate.js index 13fb7f17d04b..21ab6e78b188 100644 --- a/packages/osd-ui-shared-deps/flot_charts/jquery_flot_navigate.js +++ b/packages/osd-ui-shared-deps/flot_charts/jquery_flot_navigate.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* Flot plugin for adding the ability to pan and zoom the plot. Copyright (c) 2007-2014 IOLA and Ole Laursen. @@ -139,7 +150,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L onZoomClick(e, delta < 0); return false; } - + var prevCursor = 'default', prevPageX = 0, prevPageY = 0, panTimeout = null; @@ -153,7 +164,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L prevPageX = e.pageX; prevPageY = e.pageY; } - + function onDrag(e) { var frameRate = plot.getOptions().pan.frameRate; if (panTimeout || !frameRate) @@ -164,7 +175,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L top: prevPageY - e.pageY }); prevPageX = e.pageX; prevPageY = e.pageY; - + panTimeout = null; }, 1 / frameRate * 1000); } @@ -174,12 +185,12 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L clearTimeout(panTimeout); panTimeout = null; } - + plot.getPlaceholder().css('cursor', prevCursor); plot.pan({ left: prevPageX - e.pageX, top: prevPageY - e.pageY }); } - + function bindEvents(plot, eventHolder) { var o = plot.getOptions(); if (o.zoom.interactive) { @@ -197,25 +208,25 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L plot.zoomOut = function (args) { if (!args) args = {}; - + if (!args.amount) args.amount = plot.getOptions().zoom.amount; args.amount = 1 / args.amount; plot.zoom(args); }; - + plot.zoom = function (args) { if (!args) args = {}; - + var c = args.center, amount = args.amount || plot.getOptions().zoom.amount, w = plot.width(), h = plot.height(); if (!c) c = { left: w / 2, top: h / 2 }; - + var xf = c.left / w, yf = c.top / h, minmax = { @@ -238,7 +249,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L if (zr === false) // no zooming on this axis return; - + min = axis.c2p(min); max = axis.c2p(max); if (min > max) { @@ -263,14 +274,14 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L ((zr[0] != null && range < zr[0] && amount >1) || (zr[1] != null && range > zr[1] && amount <1))) return; - + opts.min = min; opts.max = max; }); - + plot.setupGrid(); plot.draw(); - + if (!args.preventEvent) plot.getPlaceholder().trigger("plotzoom", [ plot, args ]); }; @@ -296,7 +307,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L var pr = opts.panRange; if (pr === false) // no panning on this axis return; - + if (pr) { // check whether we hit the wall if (pr[0] != null && pr[0] > min) { @@ -304,21 +315,21 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L min += d; max += d; } - + if (pr[1] != null && pr[1] < max) { d = pr[1] - max; min += d; max += d; } } - + opts.min = min; opts.max = max; }); - + plot.setupGrid(); plot.draw(); - + if (!args.preventEvent) plot.getPlaceholder().trigger("plotpan", [ plot, args ]); }; @@ -332,11 +343,11 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L if (panTimeout) clearTimeout(panTimeout); } - + plot.hooks.bindEvents.push(bindEvents); plot.hooks.shutdown.push(shutdown); } - + $.plot.plugins.push({ init: init, options: options, diff --git a/packages/osd-ui-shared-deps/flot_charts/jquery_flot_resize.js b/packages/osd-ui-shared-deps/flot_charts/jquery_flot_resize.js index 8a626dda0add..a305539d08d1 100644 --- a/packages/osd-ui-shared-deps/flot_charts/jquery_flot_resize.js +++ b/packages/osd-ui-shared-deps/flot_charts/jquery_flot_resize.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* Flot plugin for automatically redrawing plots as the placeholder resizes. Copyright (c) 2007-2014 IOLA and Ole Laursen. @@ -37,7 +48,7 @@ can just fix the size of their placeholders. plot.setupGrid(); plot.draw(); } - + function bindEvents(plot, eventHolder) { plot.getPlaceholder().resize(onResize); } @@ -45,11 +56,11 @@ can just fix the size of their placeholders. function shutdown(plot, eventHolder) { plot.getPlaceholder().unbind("resize", onResize); } - + plot.hooks.bindEvents.push(bindEvents); plot.hooks.shutdown.push(shutdown); } - + $.plot.plugins.push({ init: init, options: options, diff --git a/packages/osd-ui-shared-deps/index.d.ts b/packages/osd-ui-shared-deps/index.d.ts index c26085213fc8..49192a18d291 100644 --- a/packages/osd-ui-shared-deps/index.d.ts +++ b/packages/osd-ui-shared-deps/index.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Absolute path to the distributable directory */ diff --git a/packages/osd-ui-shared-deps/index.js b/packages/osd-ui-shared-deps/index.js index bc04e858920e..1ebd54a55a97 100644 --- a/packages/osd-ui-shared-deps/index.js +++ b/packages/osd-ui-shared-deps/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const Path = require('path'); exports.distDir = Path.resolve(__dirname, 'target'); diff --git a/packages/osd-ui-shared-deps/polyfills.js b/packages/osd-ui-shared-deps/polyfills.js index 793a19898c37..1e8fe18fe732 100644 --- a/packages/osd-ui-shared-deps/polyfills.js +++ b/packages/osd-ui-shared-deps/polyfills.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('core-js/stable'); require('regenerator-runtime/runtime'); require('custom-event-polyfill'); diff --git a/packages/osd-ui-shared-deps/public_path_loader.js b/packages/osd-ui-shared-deps/public_path_loader.js index 9e731d2b6e3c..35980b75e2f5 100644 --- a/packages/osd-ui-shared-deps/public_path_loader.js +++ b/packages/osd-ui-shared-deps/public_path_loader.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const Qs = require('querystring'); const { stringifyRequest } = require('loader-utils'); diff --git a/packages/osd-ui-shared-deps/public_path_module_creator.js b/packages/osd-ui-shared-deps/public_path_module_creator.js index 08e30b258ea8..fe9c1447f176 100644 --- a/packages/osd-ui-shared-deps/public_path_module_creator.js +++ b/packages/osd-ui-shared-deps/public_path_module_creator.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = function ({ key }) { return { code: `__webpack_public_path__ = window.__osdPublicPath__['${key}']`, diff --git a/packages/osd-ui-shared-deps/scripts/build.js b/packages/osd-ui-shared-deps/scripts/build.js index b78226f39d7b..b7706e317d94 100644 --- a/packages/osd-ui-shared-deps/scripts/build.js +++ b/packages/osd-ui-shared-deps/scripts/build.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const Path = require('path'); const Fs = require('fs'); diff --git a/packages/osd-ui-shared-deps/theme.ts b/packages/osd-ui-shared-deps/theme.ts index bc7cc76ac561..1f7f70b85c5e 100644 --- a/packages/osd-ui-shared-deps/theme.ts +++ b/packages/osd-ui-shared-deps/theme.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import LightTheme from '@elastic/eui/dist/eui_theme_light.json'; const globals: any = typeof window === 'undefined' ? {} : window; diff --git a/packages/osd-ui-shared-deps/vendor/childnode_remove_polyfill.js b/packages/osd-ui-shared-deps/vendor/childnode_remove_polyfill.js index e2bf904b631b..a5a7965ee29c 100644 --- a/packages/osd-ui-shared-deps/vendor/childnode_remove_polyfill.js +++ b/packages/osd-ui-shared-deps/vendor/childnode_remove_polyfill.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable @osd/eslint/require-license-header */ /* @notice diff --git a/packages/osd-ui-shared-deps/webpack.config.js b/packages/osd-ui-shared-deps/webpack.config.js index c72941e16ced..5cd48010215d 100644 --- a/packages/osd-ui-shared-deps/webpack.config.js +++ b/packages/osd-ui-shared-deps/webpack.config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const Path = require('path'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); diff --git a/packages/osd-utility-types/index.ts b/packages/osd-utility-types/index.ts index cb74539086f3..263a2b052e77 100644 --- a/packages/osd-utility-types/index.ts +++ b/packages/osd-utility-types/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PromiseType } from 'utility-types'; export { $Values, Assign, Class, Optional, Required } from 'utility-types'; diff --git a/packages/osd-utility-types/test-d/public_contract.ts b/packages/osd-utility-types/test-d/public_contract.ts index e77300792872..688cb80ab6d8 100644 --- a/packages/osd-utility-types/test-d/public_contract.ts +++ b/packages/osd-utility-types/test-d/public_contract.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expectType } from 'tsd'; import { PublicContract } from '../index'; diff --git a/packages/osd-utility-types/test-d/public_keys.ts b/packages/osd-utility-types/test-d/public_keys.ts index 1c050f23df94..a4e06e60a7b9 100644 --- a/packages/osd-utility-types/test-d/public_keys.ts +++ b/packages/osd-utility-types/test-d/public_keys.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expectType } from 'tsd'; import { PublicKeys } from '../index'; diff --git a/packages/osd-utility-types/test-d/shallow_promise.ts b/packages/osd-utility-types/test-d/shallow_promise.ts index 6dbb7c70f2b7..6821b040a57a 100644 --- a/packages/osd-utility-types/test-d/shallow_promise.ts +++ b/packages/osd-utility-types/test-d/shallow_promise.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expectType } from 'tsd'; import { ShallowPromise } from '../index'; diff --git a/packages/osd-utility-types/test-d/union_to_intersection.ts b/packages/osd-utility-types/test-d/union_to_intersection.ts index a818357db9cf..59d42b39e613 100644 --- a/packages/osd-utility-types/test-d/union_to_intersection.ts +++ b/packages/osd-utility-types/test-d/union_to_intersection.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expectAssignable } from 'tsd'; import { UnionToIntersection } from '../index'; diff --git a/packages/osd-utility-types/test-d/unwrap_observable.ts b/packages/osd-utility-types/test-d/unwrap_observable.ts index e1997d1ab10c..f49fe2b3fb19 100644 --- a/packages/osd-utility-types/test-d/unwrap_observable.ts +++ b/packages/osd-utility-types/test-d/unwrap_observable.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expectAssignable } from 'tsd'; import { UnwrapObservable, ObservableLike } from '../index'; diff --git a/packages/osd-utility-types/test-d/unwrap_promise.ts b/packages/osd-utility-types/test-d/unwrap_promise.ts index a213ef43bbda..c9289113a346 100644 --- a/packages/osd-utility-types/test-d/unwrap_promise.ts +++ b/packages/osd-utility-types/test-d/unwrap_promise.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expectAssignable } from 'tsd'; import { UnwrapPromise } from '../index'; diff --git a/packages/osd-utility-types/test-d/values.ts b/packages/osd-utility-types/test-d/values.ts index 784cdb03d5a0..9b44d95885a6 100644 --- a/packages/osd-utility-types/test-d/values.ts +++ b/packages/osd-utility-types/test-d/values.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expectAssignable } from 'tsd'; import { Values } from '../index'; diff --git a/packages/osd-utils/src/index.ts b/packages/osd-utils/src/index.ts index b5cfa8c478d9..7fd473a67b98 100644 --- a/packages/osd-utils/src/index.ts +++ b/packages/osd-utils/src/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './package_json'; export * from './path'; export * from './repo_root'; diff --git a/packages/osd-utils/src/package_json/index.test.ts b/packages/osd-utils/src/package_json/index.test.ts index 0496cd4c5339..79578d7f3a14 100644 --- a/packages/osd-utils/src/package_json/index.test.ts +++ b/packages/osd-utils/src/package_json/index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import path from 'path'; import { opensearchDashboardsPackageJSON } from './'; diff --git a/packages/osd-utils/src/package_json/index.ts b/packages/osd-utils/src/package_json/index.ts index 073a80da3e10..644554387ce6 100644 --- a/packages/osd-utils/src/package_json/index.ts +++ b/packages/osd-utils/src/package_json/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { dirname, resolve } from 'path'; import { REPO_ROOT } from '../repo_root'; diff --git a/packages/osd-utils/src/path/index.test.ts b/packages/osd-utils/src/path/index.test.ts index a7e17367a137..3aafc7e1a874 100644 --- a/packages/osd-utils/src/path/index.test.ts +++ b/packages/osd-utils/src/path/index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { accessSync, constants } from 'fs'; import { getConfigPath, getDataPath, getConfigDirectory } from './'; diff --git a/packages/osd-utils/src/path/index.ts b/packages/osd-utils/src/path/index.ts index 63837ece4f0f..c661b04fb6ad 100644 --- a/packages/osd-utils/src/path/index.ts +++ b/packages/osd-utils/src/path/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { join } from 'path'; import { accessSync, constants } from 'fs'; import { TypeOf, schema } from '@osd/config-schema'; diff --git a/packages/osd-utils/src/repo_root.ts b/packages/osd-utils/src/repo_root.ts index c12004442f3c..e46f62746b01 100644 --- a/packages/osd-utils/src/repo_root.ts +++ b/packages/osd-utils/src/repo_root.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import Fs from 'fs'; diff --git a/preinstall_check.js b/preinstall_check.js index 22eecbb5dca6..84e0cf95a357 100644 --- a/preinstall_check.js +++ b/preinstall_check.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const isUsingNpm = process.env.npm_config_git !== undefined; if (isUsingNpm) { diff --git a/scripts/build.js b/scripts/build.js index e86729b6ac30..b36dc16d4aff 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('../src/dev/build/cli'); diff --git a/scripts/build_opensearch_dashboards_platform_plugins.js b/scripts/build_opensearch_dashboards_platform_plugins.js index 83def28d3271..ce94a317e0df 100644 --- a/scripts/build_opensearch_dashboards_platform_plugins.js +++ b/scripts/build_opensearch_dashboards_platform_plugins.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('@osd/optimizer/target/cli'); diff --git a/scripts/build_plugin_list_docs.js b/scripts/build_plugin_list_docs.js index f8d98c2b3670..9b5090e5ed14 100644 --- a/scripts/build_plugin_list_docs.js +++ b/scripts/build_plugin_list_docs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env/no_transpilation'); require('@osd/dev-utils').runPluginListCli(); diff --git a/scripts/build_ts_refs.js b/scripts/build_ts_refs.js index 596de9c06179..7e1c0ab1d6bb 100644 --- a/scripts/build_ts_refs.js +++ b/scripts/build_ts_refs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ require('../src/setup_node_env'); require('../src/dev/typescript/build_refs').runBuildRefs(); diff --git a/scripts/check_file_casing.js b/scripts/check_file_casing.js index 959e4cf307e0..a71fd403a14f 100644 --- a/scripts/check_file_casing.js +++ b/scripts/check_file_casing.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('../src/dev/run_check_file_casing'); diff --git a/scripts/check_licenses.js b/scripts/check_licenses.js index b0857b4e6e6f..bddef5580e0f 100644 --- a/scripts/check_licenses.js +++ b/scripts/check_licenses.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('../src/dev/license_checker/run_check_licenses_cli'); diff --git a/scripts/check_lockfile_symlinks.js b/scripts/check_lockfile_symlinks.js index 07cfcebc992e..912a7025a6ad 100644 --- a/scripts/check_lockfile_symlinks.js +++ b/scripts/check_lockfile_symlinks.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('../src/dev/run_check_lockfile_symlinks'); diff --git a/scripts/check_published_api_changes.js b/scripts/check_published_api_changes.js index 7776d6cd54b6..08949f15c134 100644 --- a/scripts/check_published_api_changes.js +++ b/scripts/check_published_api_changes.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('../src/dev/run_check_published_api_changes'); diff --git a/scripts/check_ts_projects.js b/scripts/check_ts_projects.js index 8c3754b2aa62..4af0ed30344b 100644 --- a/scripts/check_ts_projects.js +++ b/scripts/check_ts_projects.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('../src/dev/typescript/run_check_ts_projects_cli').runCheckTsProjectsCli(); diff --git a/scripts/docs.js b/scripts/docs.js index 49463d18f03a..3b9c2ac19032 100644 --- a/scripts/docs.js +++ b/scripts/docs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('../src/docs/cli'); diff --git a/scripts/eslint.js b/scripts/eslint.js index a5c6ca6d119e..e06fee4170af 100644 --- a/scripts/eslint.js +++ b/scripts/eslint.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('../src/dev/run_eslint'); diff --git a/scripts/functional_test_runner.js b/scripts/functional_test_runner.js index dba7eb040bd3..775167bdbaa1 100644 --- a/scripts/functional_test_runner.js +++ b/scripts/functional_test_runner.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('@osd/test').runFtrCli(); diff --git a/scripts/functional_tests.js b/scripts/functional_tests.js index 1f856d298cfe..6c511ebf6128 100644 --- a/scripts/functional_tests.js +++ b/scripts/functional_tests.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('@osd/test').runTestsCli([ require.resolve('../test/functional/config.js'), diff --git a/scripts/functional_tests_server.js b/scripts/functional_tests_server.js index 3b2333a1c23e..2646a01f3636 100644 --- a/scripts/functional_tests_server.js +++ b/scripts/functional_tests_server.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('@osd/test').startServersCli(require.resolve('../test/functional/config.js')); diff --git a/scripts/generate_plugin.js b/scripts/generate_plugin.js index 83f160261ddc..2025ac1abc6a 100644 --- a/scripts/generate_plugin.js +++ b/scripts/generate_plugin.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env/no_transpilation'); require('@osd/plugin-generator').runCli(); diff --git a/scripts/i18n_check.js b/scripts/i18n_check.js index 51738c62f3cf..cb6bfcd4219b 100644 --- a/scripts/i18n_check.js +++ b/scripts/i18n_check.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('../src/dev/run_i18n_check'); diff --git a/scripts/i18n_extract.js b/scripts/i18n_extract.js index 80a63cdee64c..87f5d5f1a751 100644 --- a/scripts/i18n_extract.js +++ b/scripts/i18n_extract.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('../src/dev/run_i18n_extract'); diff --git a/scripts/i18n_integrate.js b/scripts/i18n_integrate.js index b98d3aa0460a..eed486b184b4 100644 --- a/scripts/i18n_integrate.js +++ b/scripts/i18n_integrate.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('../src/dev/run_i18n_integrate'); diff --git a/scripts/jest.js b/scripts/jest.js index aad8dca306c1..53c687e51a84 100755 --- a/scripts/jest.js +++ b/scripts/jest.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // # Run Jest tests // // All args will be forwarded directly to Jest, e.g. to watch tests run: diff --git a/scripts/jest_integration.js b/scripts/jest_integration.js index d5c20b3501dd..f5bc937c4d79 100755 --- a/scripts/jest_integration.js +++ b/scripts/jest_integration.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // # Run Jest integration tests // // All args will be forwarded directly to Jest, e.g. to watch tests run: diff --git a/scripts/makelogs.js b/scripts/makelogs.js index 2c86fec4a756..cd5befbca89b 100644 --- a/scripts/makelogs.js +++ b/scripts/makelogs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env/node_version_validator'); require('@elastic/makelogs'); diff --git a/scripts/mocha.js b/scripts/mocha.js index 66910153fc47..07eede602c6a 100644 --- a/scripts/mocha.js +++ b/scripts/mocha.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('../src/dev/mocha').runMochaCli(); diff --git a/scripts/notice.js b/scripts/notice.js index e01a1eab1c05..5bd9e05750b6 100644 --- a/scripts/notice.js +++ b/scripts/notice.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('../src/dev/notice/cli'); diff --git a/scripts/opensearch.js b/scripts/opensearch.js index b28b5fb2ad1f..3a003420bbac 100644 --- a/scripts/opensearch.js +++ b/scripts/opensearch.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env/no_transpilation'); var resolve = require('path').resolve; diff --git a/scripts/opensearch_archiver.js b/scripts/opensearch_archiver.js index c0debda6af4a..40b6a1d2304a 100755 --- a/scripts/opensearch_archiver.js +++ b/scripts/opensearch_archiver.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('@osd/opensearch-archiver').runCli(); diff --git a/scripts/opensearch_dashboards.js b/scripts/opensearch_dashboards.js index f4064c882d99..10251ffcc6a3 100644 --- a/scripts/opensearch_dashboards.js +++ b/scripts/opensearch_dashboards.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/cli/dev'); diff --git a/scripts/opensearch_dashboards_keystore.js b/scripts/opensearch_dashboards_keystore.js index 48bd241079cb..648d9e0ac20c 100644 --- a/scripts/opensearch_dashboards_keystore.js +++ b/scripts/opensearch_dashboards_keystore.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/cli_keystore/dev'); diff --git a/scripts/opensearch_dashboards_plugin.js b/scripts/opensearch_dashboards_plugin.js index 33a3e5076657..e3cf95d3231b 100644 --- a/scripts/opensearch_dashboards_plugin.js +++ b/scripts/opensearch_dashboards_plugin.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/cli_plugin/dev'); diff --git a/scripts/osd.js b/scripts/osd.js index 5a5431649b05..1118e933294f 100644 --- a/scripts/osd.js +++ b/scripts/osd.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env/node_version_validator'); require('../packages/osd-pm/cli'); diff --git a/scripts/plugin_helpers.js b/scripts/plugin_helpers.js index 02a46b9e3604..3b3f4e13853b 100644 --- a/scripts/plugin_helpers.js +++ b/scripts/plugin_helpers.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env/no_transpilation'); require('@osd/plugin-helpers').runCli(); diff --git a/scripts/precommit_hook.js b/scripts/precommit_hook.js index a7eb2638d356..1d5485c64905 100644 --- a/scripts/precommit_hook.js +++ b/scripts/precommit_hook.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('@osd/optimizer').registerNodeAutoTranspilation(); require('../src/dev/run_precommit_hook'); diff --git a/scripts/register_git_hook.js b/scripts/register_git_hook.js index c31f392f6d4c..6b3434fa0651 100644 --- a/scripts/register_git_hook.js +++ b/scripts/register_git_hook.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env/no_transpilation'); require('@osd/dev-utils/target/precommit_hook/cli'); diff --git a/scripts/report_failed_tests.js b/scripts/report_failed_tests.js index 7209c77ed9da..89aefe6c0728 100644 --- a/scripts/report_failed_tests.js +++ b/scripts/report_failed_tests.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('@osd/test').runFailedTestsReporterCli(); diff --git a/scripts/sasslint.js b/scripts/sasslint.js index d2e249c487e7..1a8447f29c26 100644 --- a/scripts/sasslint.js +++ b/scripts/sasslint.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('../src/dev/run_sasslint'); diff --git a/scripts/spec_to_console.js b/scripts/spec_to_console.js index e78f0d22d190..4bdb97fa1e85 100644 --- a/scripts/spec_to_console.js +++ b/scripts/spec_to_console.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../packages/osd-spec-to-console/bin/spec_to_console'); diff --git a/scripts/telemetry_check.js b/scripts/telemetry_check.js index ce94229f2774..4a753d2387a6 100644 --- a/scripts/telemetry_check.js +++ b/scripts/telemetry_check.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env/no_transpilation'); require('@osd/telemetry-tools').runTelemetryCheck(); diff --git a/scripts/telemetry_extract.js b/scripts/telemetry_extract.js index f8d0b76ab56f..7d40936dfc75 100644 --- a/scripts/telemetry_extract.js +++ b/scripts/telemetry_extract.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env/no_transpilation'); require('@osd/telemetry-tools').runTelemetryExtract(); diff --git a/scripts/test_hardening.js b/scripts/test_hardening.js index bcf88def80b6..54afd2049cd8 100644 --- a/scripts/test_hardening.js +++ b/scripts/test_hardening.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - var execFileSync = require('child_process').execFileSync; var path = require('path'); var syncGlob = require('glob').sync; diff --git a/scripts/type_check.js b/scripts/type_check.js index 32a711573361..9c40ba68bb7a 100644 --- a/scripts/type_check.js +++ b/scripts/type_check.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('../src/dev/typescript').runTypeCheckCli(); diff --git a/scripts/update_prs.js b/scripts/update_prs.js index 4f171fdac0bf..2dd3e53d4436 100644 --- a/scripts/update_prs.js +++ b/scripts/update_prs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../src/setup_node_env'); require('../src/dev/prs/run_update_prs_cli'); diff --git a/src/apm.js b/src/apm.js index bb1de689539b..5f993dcd4288 100644 --- a/src/apm.js +++ b/src/apm.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { join } = require('path'); const { name, build } = require('../package.json'); const { loadConfiguration } = require('@osd/apm-config-loader'); diff --git a/src/cli/cli.js b/src/cli/cli.js index 0bbe4b6d2d02..94ed96288262 100644 --- a/src/cli/cli.js +++ b/src/cli/cli.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { pkg } from '../core/server/utils'; import Command from './command'; diff --git a/src/cli/cluster/binder.ts b/src/cli/cluster/binder.ts index 20c9c26426b8..9a4cfc17f618 100644 --- a/src/cli/cluster/binder.ts +++ b/src/cli/cluster/binder.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface Emitter { on: (...args: any[]) => void; off: (...args: any[]) => void; diff --git a/src/cli/cluster/binder_for.ts b/src/cli/cluster/binder_for.ts index b0311a0982f0..8ab93aa780db 100644 --- a/src/cli/cluster/binder_for.ts +++ b/src/cli/cluster/binder_for.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BinderBase, Emitter } from './binder'; export class BinderFor extends BinderBase { diff --git a/src/cli/cluster/cluster.mock.ts b/src/cli/cluster/cluster.mock.ts index 53277b1acd0a..fa494128e909 100644 --- a/src/cli/cluster/cluster.mock.ts +++ b/src/cli/cluster/cluster.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ /* eslint-env jest */ // eslint-disable-next-line max-classes-per-file diff --git a/src/cli/cluster/cluster_manager.test.mocks.ts b/src/cli/cluster/cluster_manager.test.mocks.ts index be0bea601175..2f8e133568b2 100644 --- a/src/cli/cluster/cluster_manager.test.mocks.ts +++ b/src/cli/cluster/cluster_manager.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MockCluster } from './cluster.mock'; export const mockCluster = new MockCluster(); jest.mock('cluster', () => mockCluster); diff --git a/src/cli/cluster/cluster_manager.test.ts b/src/cli/cluster/cluster_manager.test.ts index 68f093afd13b..350d863c9892 100644 --- a/src/cli/cluster/cluster_manager.test.ts +++ b/src/cli/cluster/cluster_manager.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { mockCluster } from './cluster_manager.test.mocks'; diff --git a/src/cli/cluster/cluster_manager.ts b/src/cli/cluster/cluster_manager.ts index d2054238b800..7e09a820b249 100644 --- a/src/cli/cluster/cluster_manager.ts +++ b/src/cli/cluster/cluster_manager.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import Fs from 'fs'; diff --git a/src/cli/cluster/log.ts b/src/cli/cluster/log.ts index 8f8ae13ad401..c44fa1aea682 100644 --- a/src/cli/cluster/log.ts +++ b/src/cli/cluster/log.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Chalk from 'chalk'; export class Log { diff --git a/src/cli/cluster/run_osd_optimizer.ts b/src/cli/cluster/run_osd_optimizer.ts index bdb06b111644..20070f454b04 100644 --- a/src/cli/cluster/run_osd_optimizer.ts +++ b/src/cli/cluster/run_osd_optimizer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Chalk from 'chalk'; import moment from 'moment'; import { REPO_ROOT } from '@osd/utils'; diff --git a/src/cli/cluster/worker.test.ts b/src/cli/cluster/worker.test.ts index 1ec6cabc914d..4cb05914fa96 100644 --- a/src/cli/cluster/worker.test.ts +++ b/src/cli/cluster/worker.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockCluster } from './cluster_manager.test.mocks'; import { Worker, ClusterWorker } from './worker'; diff --git a/src/cli/cluster/worker.ts b/src/cli/cluster/worker.ts index d8e6ab0bcefa..d69708793b23 100644 --- a/src/cli/cluster/worker.ts +++ b/src/cli/cluster/worker.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import cluster from 'cluster'; import { EventEmitter } from 'events'; diff --git a/src/cli/command.js b/src/cli/command.js index f5e74bfeaf3b..e6f82d3e3b0c 100644 --- a/src/cli/command.js +++ b/src/cli/command.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { set } from '@elastic/safer-lodash-set'; import _ from 'lodash'; import Chalk from 'chalk'; diff --git a/src/cli/dev.js b/src/cli/dev.js index fb91faab0635..1f32bcc0a8ef 100644 --- a/src/cli/dev.js +++ b/src/cli/dev.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../apm')(process.env.OPENSEARCH_APM_SERVICE_NAME || 'opensearch-dashboards-proxy'); require('../setup_node_env'); require('./cli'); diff --git a/src/cli/dist.js b/src/cli/dist.js index 976e86be4bfd..5762ce5f8652 100644 --- a/src/cli/dist.js +++ b/src/cli/dist.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../apm')(); require('../setup_node_env/dist'); require('./cli'); diff --git a/src/cli/help.js b/src/cli/help.js index 674240826960..70a7ff6acab8 100644 --- a/src/cli/help.js +++ b/src/cli/help.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default function help(command, spaces) { diff --git a/src/cli/repl/index.js b/src/cli/repl/index.js index 511d60514916..e9f6280c7a7d 100644 --- a/src/cli/repl/index.js +++ b/src/cli/repl/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import repl from 'repl'; import util from 'util'; diff --git a/src/cli/repl/repl.test.js b/src/cli/repl/repl.test.js index 393803b2b243..30abed16ae39 100644 --- a/src/cli/repl/repl.test.js +++ b/src/cli/repl/repl.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('repl', () => ({ start: (opts) => ({ opts, context: {} }) }), { virtual: true }); describe('repl', () => { diff --git a/src/cli/serve/integration_tests/invalid_config.test.ts b/src/cli/serve/integration_tests/invalid_config.test.ts index d8bbfd124632..87ffd37d038e 100644 --- a/src/cli/serve/integration_tests/invalid_config.test.ts +++ b/src/cli/serve/integration_tests/invalid_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { spawnSync } from 'child_process'; import { REPO_ROOT } from '@osd/dev-utils'; diff --git a/src/cli/serve/integration_tests/reload_logging_config.test.ts b/src/cli/serve/integration_tests/reload_logging_config.test.ts index e296773ae596..fb3c63ffc71d 100644 --- a/src/cli/serve/integration_tests/reload_logging_config.test.ts +++ b/src/cli/serve/integration_tests/reload_logging_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Child from 'child_process'; import Fs from 'fs'; import Path from 'path'; diff --git a/src/cli/serve/read_keystore.js b/src/cli/serve/read_keystore.js index 3874a3c36e88..1fd9c8ea853a 100644 --- a/src/cli/serve/read_keystore.js +++ b/src/cli/serve/read_keystore.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { set } from '@elastic/safer-lodash-set'; import { Keystore } from '../../legacy/server/keystore'; diff --git a/src/cli/serve/read_keystore.test.js b/src/cli/serve/read_keystore.test.js index 049509a35b78..03b2c69b9a35 100644 --- a/src/cli/serve/read_keystore.test.js +++ b/src/cli/serve/read_keystore.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import path from 'path'; import { readKeystore } from './read_keystore'; diff --git a/src/cli/serve/serve.js b/src/cli/serve/serve.js index c6f807e8a306..34c03c2547bc 100644 --- a/src/cli/serve/serve.js +++ b/src/cli/serve/serve.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { set as lodashSet } from '@elastic/safer-lodash-set'; import _ from 'lodash'; import { statSync } from 'fs'; diff --git a/src/cli_keystore/add.js b/src/cli_keystore/add.js index 1ded2bd84836..c7a700e7783c 100644 --- a/src/cli_keystore/add.js +++ b/src/cli_keystore/add.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Logger } from '../cli_plugin/lib/logger'; import { confirm, question } from './utils'; import { createPromiseFromStreams, createConcatStream } from '../core/server/utils'; diff --git a/src/cli_keystore/add.test.js b/src/cli_keystore/add.test.js index a34e338c89be..171cb435aaec 100644 --- a/src/cli_keystore/add.test.js +++ b/src/cli_keystore/add.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const mockKeystoreData = '1:IxR0geiUTMJp8ueHDkqeUJ0I9eEw4NJPXIJi22UDyfGfJSy4mH' + 'BBuGPkkAix/x/YFfIxo4tiKGdJ2oVTtU8LgKDkVoGdL+z7ylY4n3myatt6osqhI4lzJ9M' + diff --git a/src/cli_keystore/cli_keystore.js b/src/cli_keystore/cli_keystore.js index 866f489e48c5..a651bbeb8afa 100644 --- a/src/cli_keystore/cli_keystore.js +++ b/src/cli_keystore/cli_keystore.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { pkg } from '../core/server/utils'; diff --git a/src/cli_keystore/create.js b/src/cli_keystore/create.js index 7d3e64ef8ad0..b1e9b06337c3 100644 --- a/src/cli_keystore/create.js +++ b/src/cli_keystore/create.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Logger } from '../cli_plugin/lib/logger'; import { confirm } from './utils'; diff --git a/src/cli_keystore/create.test.js b/src/cli_keystore/create.test.js index 5fdb33db0b26..99c09d309de5 100644 --- a/src/cli_keystore/create.test.js +++ b/src/cli_keystore/create.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const mockKeystoreData = '1:IxR0geiUTMJp8ueHDkqeUJ0I9eEw4NJPXIJi22UDyfGfJSy4mH' + 'BBuGPkkAix/x/YFfIxo4tiKGdJ2oVTtU8LgKDkVoGdL+z7ylY4n3myatt6osqhI4lzJ9M' + diff --git a/src/cli_keystore/dev.js b/src/cli_keystore/dev.js index 1fd197b94e45..9bc2d14edc01 100644 --- a/src/cli_keystore/dev.js +++ b/src/cli_keystore/dev.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../setup_node_env'); require('./cli_keystore'); diff --git a/src/cli_keystore/dist.js b/src/cli_keystore/dist.js index eea9c34fc2bf..05b6d1777bb9 100644 --- a/src/cli_keystore/dist.js +++ b/src/cli_keystore/dist.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../setup_node_env/dist'); require('./cli_keystore'); diff --git a/src/cli_keystore/get_keystore.js b/src/cli_keystore/get_keystore.js index 64913a36098c..16c5322b4362 100644 --- a/src/cli_keystore/get_keystore.js +++ b/src/cli_keystore/get_keystore.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { existsSync } from 'fs'; import { join } from 'path'; diff --git a/src/cli_keystore/get_keystore.test.js b/src/cli_keystore/get_keystore.test.js index b7e4f8f97106..ec838a6b956f 100644 --- a/src/cli_keystore/get_keystore.test.js +++ b/src/cli_keystore/get_keystore.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getKeystore } from './get_keystore'; import { Logger } from '../cli_plugin/lib/logger'; import fs from 'fs'; diff --git a/src/cli_keystore/list.js b/src/cli_keystore/list.js index db8b726e7584..9aa1fe113501 100644 --- a/src/cli_keystore/list.js +++ b/src/cli_keystore/list.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Logger } from '../cli_plugin/lib/logger'; export function list(keystore, command, options = {}) { diff --git a/src/cli_keystore/list.test.js b/src/cli_keystore/list.test.js index 3a859483defb..7a7551130bb4 100644 --- a/src/cli_keystore/list.test.js +++ b/src/cli_keystore/list.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const mockKeystoreData = '1:IxR0geiUTMJp8ueHDkqeUJ0I9eEw4NJPXIJi22UDyfGfJSy4mH' + 'BBuGPkkAix/x/YFfIxo4tiKGdJ2oVTtU8LgKDkVoGdL+z7ylY4n3myatt6osqhI4lzJ9M' + diff --git a/src/cli_keystore/remove.js b/src/cli_keystore/remove.js index da19759e5a78..d3571d09e598 100644 --- a/src/cli_keystore/remove.js +++ b/src/cli_keystore/remove.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export async function remove(keystore, key) { keystore.remove(key); keystore.save(); diff --git a/src/cli_keystore/remove.test.js b/src/cli_keystore/remove.test.js index 31ac1d108ca3..2ef72a337355 100644 --- a/src/cli_keystore/remove.test.js +++ b/src/cli_keystore/remove.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const mockKeystoreData = '1:IxR0geiUTMJp8ueHDkqeUJ0I9eEw4NJPXIJi22UDyfGfJSy4mH' + 'BBuGPkkAix/x/YFfIxo4tiKGdJ2oVTtU8LgKDkVoGdL+z7ylY4n3myatt6osqhI4lzJ9M' + diff --git a/src/cli_keystore/utils/index.js b/src/cli_keystore/utils/index.js index 37b4b1244ba2..b7c8ea19e8cc 100644 --- a/src/cli_keystore/utils/index.js +++ b/src/cli_keystore/utils/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { confirm, question } from './prompt'; diff --git a/src/cli_keystore/utils/prompt.js b/src/cli_keystore/utils/prompt.js index 5f81015e3ef4..07451c6a51a2 100644 --- a/src/cli_keystore/utils/prompt.js +++ b/src/cli_keystore/utils/prompt.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createInterface } from 'readline'; /** diff --git a/src/cli_keystore/utils/prompt.test.js b/src/cli_keystore/utils/prompt.test.js index 8e455df28ad7..7a9af2ddd12c 100644 --- a/src/cli_keystore/utils/prompt.test.js +++ b/src/cli_keystore/utils/prompt.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon from 'sinon'; import { PassThrough } from 'stream'; diff --git a/src/cli_plugin/cli.js b/src/cli_plugin/cli.js index fdc046f9def2..0550348c2020 100644 --- a/src/cli_plugin/cli.js +++ b/src/cli_plugin/cli.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { pkg } from '../core/server/utils'; import Command from '../cli/command'; import { listCommand } from './list'; diff --git a/src/cli_plugin/dev.js b/src/cli_plugin/dev.js index 4496ce12e906..4e77a975c677 100644 --- a/src/cli_plugin/dev.js +++ b/src/cli_plugin/dev.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../setup_node_env'); require('./cli'); diff --git a/src/cli_plugin/dist.js b/src/cli_plugin/dist.js index 1da404b0e887..2e3ad45b5d82 100644 --- a/src/cli_plugin/dist.js +++ b/src/cli_plugin/dist.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../setup_node_env/dist'); require('./cli'); diff --git a/src/cli_plugin/install/cleanup.js b/src/cli_plugin/install/cleanup.js index 96ff3d1499b8..b23b28fc5295 100644 --- a/src/cli_plugin/install/cleanup.js +++ b/src/cli_plugin/install/cleanup.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import del from 'del'; import fs from 'fs'; diff --git a/src/cli_plugin/install/cleanup.test.js b/src/cli_plugin/install/cleanup.test.js index 611e380ae878..f05d69d1621b 100644 --- a/src/cli_plugin/install/cleanup.test.js +++ b/src/cli_plugin/install/cleanup.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon from 'sinon'; import fs from 'fs'; import del from 'del'; diff --git a/src/cli_plugin/install/download.js b/src/cli_plugin/install/download.js index 9ff14c0c6c0a..d614b7ac230b 100644 --- a/src/cli_plugin/install/download.js +++ b/src/cli_plugin/install/download.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parse } from 'url'; import { UnsupportedProtocolError } from '../lib/errors'; diff --git a/src/cli_plugin/install/download.test.js b/src/cli_plugin/install/download.test.js index b07531018774..a847a92733a0 100644 --- a/src/cli_plugin/install/download.test.js +++ b/src/cli_plugin/install/download.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import { join } from 'path'; import http from 'http'; diff --git a/src/cli_plugin/install/downloaders/file.js b/src/cli_plugin/install/downloaders/file.js index 72164d5022bc..52cc5abfa30d 100644 --- a/src/cli_plugin/install/downloaders/file.js +++ b/src/cli_plugin/install/downloaders/file.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createWriteStream, createReadStream, statSync } from 'fs'; import { Progress } from '../progress'; diff --git a/src/cli_plugin/install/downloaders/http.js b/src/cli_plugin/install/downloaders/http.js index f16722722d1d..bcb4ffb09ee8 100644 --- a/src/cli_plugin/install/downloaders/http.js +++ b/src/cli_plugin/install/downloaders/http.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createWriteStream } from 'fs'; import Wreck from '@hapi/wreck'; diff --git a/src/cli_plugin/install/index.js b/src/cli_plugin/install/index.js index 6178563a9266..2de38e2314c1 100644 --- a/src/cli_plugin/install/index.js +++ b/src/cli_plugin/install/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getConfigPath } from '@osd/utils'; import { pkg } from '../../core/server/utils'; import { install } from './install'; diff --git a/src/cli_plugin/install/index.test.js b/src/cli_plugin/install/index.test.js index e6c3332ca2bd..bcc009f82c21 100644 --- a/src/cli_plugin/install/index.test.js +++ b/src/cli_plugin/install/index.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon from 'sinon'; import { installCommand } from './index'; diff --git a/src/cli_plugin/install/install.js b/src/cli_plugin/install/install.js index e76755c3b7ff..9336c3d0429e 100644 --- a/src/cli_plugin/install/install.js +++ b/src/cli_plugin/install/install.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import { promisify } from 'util'; import path from 'path'; diff --git a/src/cli_plugin/install/opensearch_dashboards.js b/src/cli_plugin/install/opensearch_dashboards.js index 5f31372f40d0..a80a631348ec 100644 --- a/src/cli_plugin/install/opensearch_dashboards.js +++ b/src/cli_plugin/install/opensearch_dashboards.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import path from 'path'; import { statSync } from 'fs'; diff --git a/src/cli_plugin/install/opensearch_dashboards.test.js b/src/cli_plugin/install/opensearch_dashboards.test.js index 4b518ff79c0e..2a219c9ba6cf 100644 --- a/src/cli_plugin/install/opensearch_dashboards.test.js +++ b/src/cli_plugin/install/opensearch_dashboards.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { join } from 'path'; import fs from 'fs'; diff --git a/src/cli_plugin/install/pack.js b/src/cli_plugin/install/pack.js index 6544247db21f..4cbe32c0bc81 100644 --- a/src/cli_plugin/install/pack.js +++ b/src/cli_plugin/install/pack.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { analyzeArchive, extractArchive } from './zip'; const CAMEL_CASE_REG_EXP = /^[a-z]{1}([a-zA-Z0-9]{1,})$/; diff --git a/src/cli_plugin/install/pack.test.js b/src/cli_plugin/install/pack.test.js index 2bf6e4db57c2..5520e34bc3bb 100644 --- a/src/cli_plugin/install/pack.test.js +++ b/src/cli_plugin/install/pack.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import { join } from 'path'; diff --git a/src/cli_plugin/install/progress.js b/src/cli_plugin/install/progress.js index 16bb477b574e..9e12d3bc5b1d 100644 --- a/src/cli_plugin/install/progress.js +++ b/src/cli_plugin/install/progress.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Generates file transfer progress messages */ diff --git a/src/cli_plugin/install/progress.test.js b/src/cli_plugin/install/progress.test.js index 8e90c46f3ec5..1df2ac944184 100644 --- a/src/cli_plugin/install/progress.test.js +++ b/src/cli_plugin/install/progress.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon from 'sinon'; import { Progress } from './progress'; diff --git a/src/cli_plugin/install/rename.js b/src/cli_plugin/install/rename.js index d78b32f66ec1..6b4462628e63 100644 --- a/src/cli_plugin/install/rename.js +++ b/src/cli_plugin/install/rename.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { rename } from 'fs'; import { delay } from 'lodash'; diff --git a/src/cli_plugin/install/rename.test.js b/src/cli_plugin/install/rename.test.js index d5073e9b34a1..ebf33d04cf20 100644 --- a/src/cli_plugin/install/rename.test.js +++ b/src/cli_plugin/install/rename.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fs from 'fs'; import sinon from 'sinon'; diff --git a/src/cli_plugin/install/settings.js b/src/cli_plugin/install/settings.js index 0d4ca970923e..a5d1c30be85b 100644 --- a/src/cli_plugin/install/settings.js +++ b/src/cli_plugin/install/settings.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import expiry from 'expiry-js'; diff --git a/src/cli_plugin/install/settings.test.js b/src/cli_plugin/install/settings.test.js index 63375dd18723..012fa8a49ef5 100644 --- a/src/cli_plugin/install/settings.test.js +++ b/src/cli_plugin/install/settings.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createAbsolutePathSerializer } from '@osd/dev-utils'; import { fromRoot } from '../../core/server/utils'; diff --git a/src/cli_plugin/install/zip.js b/src/cli_plugin/install/zip.js index 22db10d0a3ce..ce301d2514a8 100644 --- a/src/cli_plugin/install/zip.js +++ b/src/cli_plugin/install/zip.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import path from 'path'; import { createWriteStream, mkdir } from 'fs'; diff --git a/src/cli_plugin/install/zip.test.js b/src/cli_plugin/install/zip.test.js index 579bc024b798..f010acdd8295 100644 --- a/src/cli_plugin/install/zip.test.js +++ b/src/cli_plugin/install/zip.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import path from 'path'; import os from 'os'; diff --git a/src/cli_plugin/lib/errors.js b/src/cli_plugin/lib/errors.js index 74c5394b58f5..d2433b63351d 100644 --- a/src/cli_plugin/lib/errors.js +++ b/src/cli_plugin/lib/errors.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function UnsupportedProtocolError() { Error.call(this, 'Unsupported protocol'); } diff --git a/src/cli_plugin/lib/log_warnings.js b/src/cli_plugin/lib/log_warnings.js index 107e18dd8353..c2ce4b64b6d7 100644 --- a/src/cli_plugin/lib/log_warnings.js +++ b/src/cli_plugin/lib/log_warnings.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function logWarnings(logger) { process.on('warning', (warning) => { // deprecation warnings do no reflect a current problem for diff --git a/src/cli_plugin/lib/logger.js b/src/cli_plugin/lib/logger.js index 8872764f003b..789fc405be67 100644 --- a/src/cli_plugin/lib/logger.js +++ b/src/cli_plugin/lib/logger.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Logs messages and errors */ diff --git a/src/cli_plugin/lib/logger.test.js b/src/cli_plugin/lib/logger.test.js index 6c3ebf52e7ff..8ba430ef1bc9 100644 --- a/src/cli_plugin/lib/logger.test.js +++ b/src/cli_plugin/lib/logger.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon from 'sinon'; import { Logger } from './logger'; diff --git a/src/cli_plugin/list/index.js b/src/cli_plugin/list/index.js index 28c0d84cca47..43cb676652d1 100644 --- a/src/cli_plugin/list/index.js +++ b/src/cli_plugin/list/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fromRoot } from '../../core/server/utils'; import { list } from './list'; import { Logger } from '../lib/logger'; diff --git a/src/cli_plugin/list/list.js b/src/cli_plugin/list/list.js index 0044be1d5eea..aeb25a0189b9 100644 --- a/src/cli_plugin/list/list.js +++ b/src/cli_plugin/list/list.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { statSync, readdirSync, readFileSync } from 'fs'; import { join } from 'path'; diff --git a/src/cli_plugin/list/list.test.js b/src/cli_plugin/list/list.test.js index 62bbca8be9d9..7ae9663f73fb 100644 --- a/src/cli_plugin/list/list.test.js +++ b/src/cli_plugin/list/list.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { join } from 'path'; import { writeFileSync, mkdirSync } from 'fs'; diff --git a/src/cli_plugin/remove/index.js b/src/cli_plugin/remove/index.js index 783ba181cf05..68d7bc84d742 100644 --- a/src/cli_plugin/remove/index.js +++ b/src/cli_plugin/remove/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getConfigPath } from '@osd/utils'; import { remove } from './remove'; import { Logger } from '../lib/logger'; diff --git a/src/cli_plugin/remove/remove.js b/src/cli_plugin/remove/remove.js index 0467720ca185..fd4d845b03a5 100644 --- a/src/cli_plugin/remove/remove.js +++ b/src/cli_plugin/remove/remove.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { statSync } from 'fs'; import del from 'del'; diff --git a/src/cli_plugin/remove/remove.test.js b/src/cli_plugin/remove/remove.test.js index e03e4a1da0d4..8c963df2de54 100644 --- a/src/cli_plugin/remove/remove.test.js +++ b/src/cli_plugin/remove/remove.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { join } from 'path'; import { writeFileSync, mkdirSync } from 'fs'; diff --git a/src/cli_plugin/remove/settings.js b/src/cli_plugin/remove/settings.js index e3fe68dfac82..2082c7a4b45d 100644 --- a/src/cli_plugin/remove/settings.js +++ b/src/cli_plugin/remove/settings.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { fromRoot } from '../../core/server/utils'; diff --git a/src/cli_plugin/remove/settings.test.js b/src/cli_plugin/remove/settings.test.js index 8ebb40b6a225..0e95c03ce968 100644 --- a/src/cli_plugin/remove/settings.test.js +++ b/src/cli_plugin/remove/settings.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createAbsolutePathSerializer } from '@osd/dev-utils'; import { parse } from './settings'; diff --git a/src/core/index.ts b/src/core/index.ts index 71d402afb48f..6a8fea008896 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import * as Public from './public'; import * as Server from './server'; diff --git a/src/core/public/apm_system.test.ts b/src/core/public/apm_system.test.ts index 1c8f920be249..da7b2bee603f 100644 --- a/src/core/public/apm_system.test.ts +++ b/src/core/public/apm_system.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('@elastic/apm-rum'); import { init, apm } from '@elastic/apm-rum'; import { ApmSystem } from './apm_system'; diff --git a/src/core/public/apm_system.ts b/src/core/public/apm_system.ts index de4be2e37ca9..2b5918d8cbbb 100644 --- a/src/core/public/apm_system.ts +++ b/src/core/public/apm_system.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import type { ApmBase } from '@elastic/apm-rum'; import { modifyUrl } from '@osd/std'; import type { InternalApplicationStart } from './application'; diff --git a/src/core/public/application/application_leave.test.ts b/src/core/public/application/application_leave.test.ts index d291d7f4689d..437ab6cb42fe 100644 --- a/src/core/public/application/application_leave.test.ts +++ b/src/core/public/application/application_leave.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isConfirmAction, getLeaveAction } from './application_leave'; import { AppLeaveActionType } from './types'; diff --git a/src/core/public/application/application_leave.tsx b/src/core/public/application/application_leave.tsx index 71470ddd0f04..84fbbfdaf577 100644 --- a/src/core/public/application/application_leave.tsx +++ b/src/core/public/application/application_leave.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AppLeaveActionFactory, AppLeaveActionType, diff --git a/src/core/public/application/application_service.mock.ts b/src/core/public/application/application_service.mock.ts index e040240fafe1..b70a34095f0c 100644 --- a/src/core/public/application/application_service.mock.ts +++ b/src/core/public/application/application_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { History } from 'history'; import { BehaviorSubject, Subject } from 'rxjs'; diff --git a/src/core/public/application/application_service.test.mocks.ts b/src/core/public/application/application_service.test.mocks.ts index 5a4b3a5371a3..57fccd2f844f 100644 --- a/src/core/public/application/application_service.test.mocks.ts +++ b/src/core/public/application/application_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { capabilitiesServiceMock } from './capabilities/capabilities_service.mock'; export const MockCapabilitiesService = capabilitiesServiceMock.create(); diff --git a/src/core/public/application/application_service.test.ts b/src/core/public/application/application_service.test.ts index a2f6092015a3..c03afbba2767 100644 --- a/src/core/public/application/application_service.test.ts +++ b/src/core/public/application/application_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MockCapabilitiesService, MockHistory, diff --git a/src/core/public/application/application_service.tsx b/src/core/public/application/application_service.tsx index ea5c47fe2015..f6efbfac422e 100644 --- a/src/core/public/application/application_service.tsx +++ b/src/core/public/application/application_service.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { BehaviorSubject, Observable, Subject, Subscription } from 'rxjs'; import { map, shareReplay, takeUntil, distinctUntilChanged, filter } from 'rxjs/operators'; diff --git a/src/core/public/application/capabilities/capabilities_service.mock.ts b/src/core/public/application/capabilities/capabilities_service.mock.ts index 326c70605a43..971a43d06d05 100644 --- a/src/core/public/application/capabilities/capabilities_service.mock.ts +++ b/src/core/public/application/capabilities/capabilities_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { deepFreeze } from '@osd/std'; import type { PublicMethodsOf } from '@osd/utility-types'; import { CapabilitiesService, CapabilitiesStart } from './capabilities_service'; diff --git a/src/core/public/application/capabilities/capabilities_service.test.ts b/src/core/public/application/capabilities/capabilities_service.test.ts index e248f216659a..453dfa7d3090 100644 --- a/src/core/public/application/capabilities/capabilities_service.test.ts +++ b/src/core/public/application/capabilities/capabilities_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { httpServiceMock, HttpSetupMock } from '../../http/http_service.mock'; import { CapabilitiesService } from './capabilities_service'; diff --git a/src/core/public/application/capabilities/capabilities_service.tsx b/src/core/public/application/capabilities/capabilities_service.tsx index d5def1bf227b..40077e8a71bd 100644 --- a/src/core/public/application/capabilities/capabilities_service.tsx +++ b/src/core/public/application/capabilities/capabilities_service.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { RecursiveReadonly } from '@osd/utility-types'; import { deepFreeze } from '@osd/std'; diff --git a/src/core/public/application/capabilities/index.ts b/src/core/public/application/capabilities/index.ts index c1f4889050e9..9a39328e6711 100644 --- a/src/core/public/application/capabilities/index.ts +++ b/src/core/public/application/capabilities/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Capabilities } from '../../../types/capabilities'; export { CapabilitiesService } from './capabilities_service'; diff --git a/src/core/public/application/index.ts b/src/core/public/application/index.ts index b8c82ca985f3..b1a9f47b72e0 100644 --- a/src/core/public/application/index.ts +++ b/src/core/public/application/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ApplicationService } from './application_service'; export { Capabilities } from './capabilities'; export { ScopedHistory } from './scoped_history'; diff --git a/src/core/public/application/integration_tests/application_service.test.tsx b/src/core/public/application/integration_tests/application_service.test.tsx index e0468be51668..1b659c0dec5f 100644 --- a/src/core/public/application/integration_tests/application_service.test.tsx +++ b/src/core/public/application/integration_tests/application_service.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { take } from 'rxjs/operators'; import { act } from 'react-dom/test-utils'; import { createMemoryHistory, MemoryHistory } from 'history'; diff --git a/src/core/public/application/integration_tests/router.test.tsx b/src/core/public/application/integration_tests/router.test.tsx index deb38ab6d41e..7e1bc437ca9d 100644 --- a/src/core/public/application/integration_tests/router.test.tsx +++ b/src/core/public/application/integration_tests/router.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { BehaviorSubject } from 'rxjs'; import { createMemoryHistory, History, createHashHistory } from 'history'; diff --git a/src/core/public/application/integration_tests/utils.tsx b/src/core/public/application/integration_tests/utils.tsx index dff29169603c..e25fddd96d96 100644 --- a/src/core/public/application/integration_tests/utils.tsx +++ b/src/core/public/application/integration_tests/utils.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ReactElement } from 'react'; import { act } from 'react-dom/test-utils'; import { mount } from 'enzyme'; diff --git a/src/core/public/application/scoped_history.mock.ts b/src/core/public/application/scoped_history.mock.ts index e4229cd07f09..c6c7d56a689f 100644 --- a/src/core/public/application/scoped_history.mock.ts +++ b/src/core/public/application/scoped_history.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Location } from 'history'; import { ScopedHistory } from './scoped_history'; diff --git a/src/core/public/application/scoped_history.test.ts b/src/core/public/application/scoped_history.test.ts index 8c3859dade91..067c33256bd1 100644 --- a/src/core/public/application/scoped_history.test.ts +++ b/src/core/public/application/scoped_history.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ScopedHistory } from './scoped_history'; import { createMemoryHistory } from 'history'; diff --git a/src/core/public/application/scoped_history.ts b/src/core/public/application/scoped_history.ts index a181094416d7..c1d3357015ad 100644 --- a/src/core/public/application/scoped_history.ts +++ b/src/core/public/application/scoped_history.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { History, Path, diff --git a/src/core/public/application/test_types.ts b/src/core/public/application/test_types.ts index 2e41cfbba939..f0b301a3fdef 100644 --- a/src/core/public/application/test_types.ts +++ b/src/core/public/application/test_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { AppUnmount, Mounter } from './types'; import { ApplicationService } from './application_service'; diff --git a/src/core/public/application/types.ts b/src/core/public/application/types.ts index b19178229560..5f620d266d2e 100644 --- a/src/core/public/application/types.ts +++ b/src/core/public/application/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { History } from 'history'; import { RecursiveReadonly } from '@osd/utility-types'; diff --git a/src/core/public/application/ui/app_container.test.tsx b/src/core/public/application/ui/app_container.test.tsx index 73281ec69513..e9e2caed02e0 100644 --- a/src/core/public/application/ui/app_container.test.tsx +++ b/src/core/public/application/ui/app_container.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { act } from 'react-dom/test-utils'; import { mount } from 'enzyme'; diff --git a/src/core/public/application/ui/app_container.tsx b/src/core/public/application/ui/app_container.tsx index bc0119f5e2f6..b7d0619a0f9f 100644 --- a/src/core/public/application/ui/app_container.tsx +++ b/src/core/public/application/ui/app_container.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment, FunctionComponent, diff --git a/src/core/public/application/ui/app_not_found_screen.tsx b/src/core/public/application/ui/app_not_found_screen.tsx index da39d5273393..105c52b0d359 100644 --- a/src/core/public/application/ui/app_not_found_screen.tsx +++ b/src/core/public/application/ui/app_not_found_screen.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiEmptyPrompt, EuiPage, EuiPageBody, EuiPageContent } from '@elastic/eui'; import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/core/public/application/ui/app_router.tsx b/src/core/public/application/ui/app_router.tsx index 38fbc80571c4..9cfada1f3334 100644 --- a/src/core/public/application/ui/app_router.tsx +++ b/src/core/public/application/ui/app_router.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FunctionComponent, useMemo } from 'react'; import { Route, RouteComponentProps, Router, Switch } from 'react-router-dom'; import { History } from 'history'; diff --git a/src/core/public/application/ui/index.ts b/src/core/public/application/ui/index.ts index 37dbcea21956..dffa64b1146f 100644 --- a/src/core/public/application/ui/index.ts +++ b/src/core/public/application/ui/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { AppRouter } from './app_router'; export { AppNotFound } from './app_not_found_screen'; diff --git a/src/core/public/application/utils/append_app_path.test.ts b/src/core/public/application/utils/append_app_path.test.ts index 4fb67bb68a93..69b7e4d69318 100644 --- a/src/core/public/application/utils/append_app_path.test.ts +++ b/src/core/public/application/utils/append_app_path.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { appendAppPath } from './append_app_path'; describe('appendAppPath', () => { diff --git a/src/core/public/application/utils/append_app_path.ts b/src/core/public/application/utils/append_app_path.ts index cca41130b21b..adc6afd51264 100644 --- a/src/core/public/application/utils/append_app_path.ts +++ b/src/core/public/application/utils/append_app_path.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { removeSlashes } from './remove_slashes'; export const appendAppPath = (appBasePath: string, path: string = '') => { diff --git a/src/core/public/application/utils/get_app_info.test.ts b/src/core/public/application/utils/get_app_info.test.ts index 41da06a11985..5c5a9ac73a87 100644 --- a/src/core/public/application/utils/get_app_info.test.ts +++ b/src/core/public/application/utils/get_app_info.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { of } from 'rxjs'; import { App, AppNavLinkStatus, AppStatus } from '../types'; import { getAppInfo } from './get_app_info'; diff --git a/src/core/public/application/utils/get_app_info.ts b/src/core/public/application/utils/get_app_info.ts index 3f194d2d44b4..63cc202260a4 100644 --- a/src/core/public/application/utils/get_app_info.ts +++ b/src/core/public/application/utils/get_app_info.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { App, AppNavLinkStatus, AppStatus, PublicAppInfo } from '../types'; export function getAppInfo(app: App): PublicAppInfo { diff --git a/src/core/public/application/utils/index.ts b/src/core/public/application/utils/index.ts index 96042b07973e..2318d3eb34da 100644 --- a/src/core/public/application/utils/index.ts +++ b/src/core/public/application/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { appendAppPath } from './append_app_path'; export { getAppInfo } from './get_app_info'; export { parseAppUrl } from './parse_app_url'; diff --git a/src/core/public/application/utils/parse_app_url.test.ts b/src/core/public/application/utils/parse_app_url.test.ts index 468d9c3010d3..801524bebcb1 100644 --- a/src/core/public/application/utils/parse_app_url.test.ts +++ b/src/core/public/application/utils/parse_app_url.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { App } from '../types'; import { BasePath } from '../../http/base_path'; import { parseAppUrl } from './parse_app_url'; diff --git a/src/core/public/application/utils/parse_app_url.ts b/src/core/public/application/utils/parse_app_url.ts index 179b224d9449..433e1a877bc4 100644 --- a/src/core/public/application/utils/parse_app_url.ts +++ b/src/core/public/application/utils/parse_app_url.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getUrlOrigin } from '@osd/std'; import { resolve } from 'url'; import { IBasePath } from '../../http'; diff --git a/src/core/public/application/utils/relative_to_absolute.test.ts b/src/core/public/application/utils/relative_to_absolute.test.ts index 3e7d7ae5bff4..321a1e26e5bf 100644 --- a/src/core/public/application/utils/relative_to_absolute.test.ts +++ b/src/core/public/application/utils/relative_to_absolute.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { relativeToAbsolute } from './relative_to_absolute'; describe('relativeToAbsolute', () => { diff --git a/src/core/public/application/utils/relative_to_absolute.ts b/src/core/public/application/utils/relative_to_absolute.ts index 910b594a3529..cf7121bc11af 100644 --- a/src/core/public/application/utils/relative_to_absolute.ts +++ b/src/core/public/application/utils/relative_to_absolute.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Converts a relative path to an absolute url. * Implementation is based on a specified behavior of the browser to automatically convert diff --git a/src/core/public/application/utils/remove_slashes.test.ts b/src/core/public/application/utils/remove_slashes.test.ts index 46daa52f1e4a..bd39a7abb850 100644 --- a/src/core/public/application/utils/remove_slashes.test.ts +++ b/src/core/public/application/utils/remove_slashes.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { removeSlashes } from './remove_slashes'; describe('removeSlashes', () => { diff --git a/src/core/public/application/utils/remove_slashes.ts b/src/core/public/application/utils/remove_slashes.ts index 2bc9753525e0..2fba808fea89 100644 --- a/src/core/public/application/utils/remove_slashes.ts +++ b/src/core/public/application/utils/remove_slashes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Utility to remove trailing, leading or duplicate slashes. * By default will only remove duplicates. diff --git a/src/core/public/chrome/chrome_service.mock.ts b/src/core/public/chrome/chrome_service.mock.ts index 4ef0aef817f8..8e5205e6f9bf 100644 --- a/src/core/public/chrome/chrome_service.mock.ts +++ b/src/core/public/chrome/chrome_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { BehaviorSubject } from 'rxjs'; import type { PublicMethodsOf } from '@osd/utility-types'; import { ChromeBadge, ChromeBrand, ChromeBreadcrumb, ChromeService, InternalChromeStart } from './'; diff --git a/src/core/public/chrome/chrome_service.test.ts b/src/core/public/chrome/chrome_service.test.ts index 3adeadb96460..6ef1f30605a3 100644 --- a/src/core/public/chrome/chrome_service.test.ts +++ b/src/core/public/chrome/chrome_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { shallow } from 'enzyme'; import React from 'react'; import * as Rx from 'rxjs'; diff --git a/src/core/public/chrome/chrome_service.tsx b/src/core/public/chrome/chrome_service.tsx index 1ed05bde073b..ebfa010b9431 100644 --- a/src/core/public/chrome/chrome_service.tsx +++ b/src/core/public/chrome/chrome_service.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiBreadcrumb, IconType } from '@elastic/eui'; import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/core/public/chrome/constants.ts b/src/core/public/chrome/constants.ts index d157490c9563..55b9cd31c1fa 100644 --- a/src/core/public/chrome/constants.ts +++ b/src/core/public/chrome/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const OPENSEARCH_DASHBOARDS_FEEDBACK_LINK = 'https://github.com/opensearch-project'; export const OPENSEARCH_DASHBOARDS_ASK_OPENSEARCH_LINK = 'https://github.com/opensearch-project'; export const GITHUB_CREATE_ISSUE_LINK = diff --git a/src/core/public/chrome/doc_title/doc_title_service.test.ts b/src/core/public/chrome/doc_title/doc_title_service.test.ts index d68864c6bb88..352882424c41 100644 --- a/src/core/public/chrome/doc_title/doc_title_service.test.ts +++ b/src/core/public/chrome/doc_title/doc_title_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DocTitleService } from './doc_title_service'; describe('DocTitleService', () => { diff --git a/src/core/public/chrome/doc_title/doc_title_service.ts b/src/core/public/chrome/doc_title/doc_title_service.ts index 34b28926accd..74459a719ae9 100644 --- a/src/core/public/chrome/doc_title/doc_title_service.ts +++ b/src/core/public/chrome/doc_title/doc_title_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { compact, flattenDeep, isString } from 'lodash'; interface StartDeps { diff --git a/src/core/public/chrome/doc_title/index.ts b/src/core/public/chrome/doc_title/index.ts index da8dd7366495..2c2be1e8c6a1 100644 --- a/src/core/public/chrome/doc_title/index.ts +++ b/src/core/public/chrome/doc_title/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './doc_title_service'; diff --git a/src/core/public/chrome/index.ts b/src/core/public/chrome/index.ts index 59c3cae5eb21..3b9ad62cfe1a 100644 --- a/src/core/public/chrome/index.ts +++ b/src/core/public/chrome/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ChromeBadge, ChromeBreadcrumb, diff --git a/src/core/public/chrome/nav_controls/index.ts b/src/core/public/chrome/nav_controls/index.ts index 0f073b464d61..7fbb6058aaf9 100644 --- a/src/core/public/chrome/nav_controls/index.ts +++ b/src/core/public/chrome/nav_controls/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './nav_controls_service'; diff --git a/src/core/public/chrome/nav_controls/nav_controls_service.test.ts b/src/core/public/chrome/nav_controls/nav_controls_service.test.ts index 730dd4eb176f..15c94805dc6f 100644 --- a/src/core/public/chrome/nav_controls/nav_controls_service.test.ts +++ b/src/core/public/chrome/nav_controls/nav_controls_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { NavControlsService } from './nav_controls_service'; import { take } from 'rxjs/operators'; diff --git a/src/core/public/chrome/nav_controls/nav_controls_service.ts b/src/core/public/chrome/nav_controls/nav_controls_service.ts index 80a89ab55069..27ac136c18d5 100644 --- a/src/core/public/chrome/nav_controls/nav_controls_service.ts +++ b/src/core/public/chrome/nav_controls/nav_controls_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { sortBy } from 'lodash'; import { BehaviorSubject, ReplaySubject, Observable } from 'rxjs'; import { map, takeUntil } from 'rxjs/operators'; diff --git a/src/core/public/chrome/nav_links/index.ts b/src/core/public/chrome/nav_links/index.ts index ad16ded90cbb..4be7e0be49b8 100644 --- a/src/core/public/chrome/nav_links/index.ts +++ b/src/core/public/chrome/nav_links/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ChromeNavLink, ChromeNavLinkUpdateableFields } from './nav_link'; export { ChromeNavLinks, NavLinksService } from './nav_links_service'; diff --git a/src/core/public/chrome/nav_links/nav_link.ts b/src/core/public/chrome/nav_links/nav_link.ts index 38fb8c55b1ad..a7811e1c54f9 100644 --- a/src/core/public/chrome/nav_links/nav_link.ts +++ b/src/core/public/chrome/nav_links/nav_link.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { pick } from '@osd/std'; import { AppCategory } from '../../'; diff --git a/src/core/public/chrome/nav_links/nav_links_service.test.ts b/src/core/public/chrome/nav_links/nav_links_service.test.ts index 55abc785123b..3fe2b57676e0 100644 --- a/src/core/public/chrome/nav_links/nav_links_service.test.ts +++ b/src/core/public/chrome/nav_links/nav_links_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { NavLinksService } from './nav_links_service'; import { take, map, takeLast } from 'rxjs/operators'; import { App } from '../../application'; diff --git a/src/core/public/chrome/nav_links/nav_links_service.ts b/src/core/public/chrome/nav_links/nav_links_service.ts index c974f6aa7509..93c138eac62c 100644 --- a/src/core/public/chrome/nav_links/nav_links_service.ts +++ b/src/core/public/chrome/nav_links/nav_links_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { sortBy } from 'lodash'; import { BehaviorSubject, combineLatest, Observable, ReplaySubject } from 'rxjs'; import { map, takeUntil } from 'rxjs/operators'; diff --git a/src/core/public/chrome/nav_links/to_nav_link.test.ts b/src/core/public/chrome/nav_links/to_nav_link.test.ts index 43f064457ba7..279cf6be23ed 100644 --- a/src/core/public/chrome/nav_links/to_nav_link.test.ts +++ b/src/core/public/chrome/nav_links/to_nav_link.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PublicAppInfo, AppNavLinkStatus, AppStatus } from '../../application'; import { toNavLink } from './to_nav_link'; diff --git a/src/core/public/chrome/nav_links/to_nav_link.ts b/src/core/public/chrome/nav_links/to_nav_link.ts index 86edf12e6186..734bb114d73d 100644 --- a/src/core/public/chrome/nav_links/to_nav_link.ts +++ b/src/core/public/chrome/nav_links/to_nav_link.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PublicAppInfo, AppNavLinkStatus, AppStatus } from '../../application'; import { IBasePath } from '../../http'; import { NavLinkWrapper } from './nav_link'; diff --git a/src/core/public/chrome/recently_accessed/create_log_key.test.ts b/src/core/public/chrome/recently_accessed/create_log_key.test.ts index c9b560bcb836..858765831fdc 100644 --- a/src/core/public/chrome/recently_accessed/create_log_key.test.ts +++ b/src/core/public/chrome/recently_accessed/create_log_key.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createLogKey } from './create_log_key'; describe('createLogKey', () => { diff --git a/src/core/public/chrome/recently_accessed/create_log_key.ts b/src/core/public/chrome/recently_accessed/create_log_key.ts index 73ce966d7a78..6772c72cf6f0 100644 --- a/src/core/public/chrome/recently_accessed/create_log_key.ts +++ b/src/core/public/chrome/recently_accessed/create_log_key.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Sha256 } from '../../utils/'; export async function createLogKey(type: string, optionalIdentifier?: string) { const baseKey = `opensearchDashboards.history.${type}`; diff --git a/src/core/public/chrome/recently_accessed/index.ts b/src/core/public/chrome/recently_accessed/index.ts index 8f006c9f8cf7..8bb2e306b221 100644 --- a/src/core/public/chrome/recently_accessed/index.ts +++ b/src/core/public/chrome/recently_accessed/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ChromeRecentlyAccessed, ChromeRecentlyAccessedHistoryItem, diff --git a/src/core/public/chrome/recently_accessed/persisted_log.test.ts b/src/core/public/chrome/recently_accessed/persisted_log.test.ts index 5be4e9812a22..ba8aa8232ebe 100644 --- a/src/core/public/chrome/recently_accessed/persisted_log.test.ts +++ b/src/core/public/chrome/recently_accessed/persisted_log.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PersistedLog } from './persisted_log'; const createMockStorage = () => ({ diff --git a/src/core/public/chrome/recently_accessed/persisted_log.ts b/src/core/public/chrome/recently_accessed/persisted_log.ts index 421a1ccc9f37..9db8a4ef84c6 100644 --- a/src/core/public/chrome/recently_accessed/persisted_log.ts +++ b/src/core/public/chrome/recently_accessed/persisted_log.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeep, isEqual, take } from 'lodash'; import * as Rx from 'rxjs'; import { map } from 'rxjs/operators'; diff --git a/src/core/public/chrome/recently_accessed/recently_accessed_service.test.ts b/src/core/public/chrome/recently_accessed/recently_accessed_service.test.ts index 938280667f6c..1a0772174af1 100644 --- a/src/core/public/chrome/recently_accessed/recently_accessed_service.test.ts +++ b/src/core/public/chrome/recently_accessed/recently_accessed_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { httpServiceMock } from '../../http/http_service.mock'; import { RecentlyAccessedService } from './recently_accessed_service'; import { Subject } from 'rxjs'; diff --git a/src/core/public/chrome/recently_accessed/recently_accessed_service.ts b/src/core/public/chrome/recently_accessed/recently_accessed_service.ts index 280f321f5ae8..d6b676529a96 100644 --- a/src/core/public/chrome/recently_accessed/recently_accessed_service.ts +++ b/src/core/public/chrome/recently_accessed/recently_accessed_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Observable } from 'rxjs'; import { PersistedLog } from './persisted_log'; diff --git a/src/core/public/chrome/ui/header/branding/opensearch_dashboards_custom_logo.test.tsx b/src/core/public/chrome/ui/header/branding/opensearch_dashboards_custom_logo.test.tsx index 8de0812b9c24..f04679aea6c6 100644 --- a/src/core/public/chrome/ui/header/branding/opensearch_dashboards_custom_logo.test.tsx +++ b/src/core/public/chrome/ui/header/branding/opensearch_dashboards_custom_logo.test.tsx @@ -1,9 +1,6 @@ /* + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 - * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. */ import React from 'react'; diff --git a/src/core/public/chrome/ui/header/branding/opensearch_dashboards_custom_logo.tsx b/src/core/public/chrome/ui/header/branding/opensearch_dashboards_custom_logo.tsx index aaa12a79a077..734b2dd3a1cc 100644 --- a/src/core/public/chrome/ui/header/branding/opensearch_dashboards_custom_logo.tsx +++ b/src/core/public/chrome/ui/header/branding/opensearch_dashboards_custom_logo.tsx @@ -1,33 +1,6 @@ /* + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 - * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. - */ - -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import React from 'react'; diff --git a/src/core/public/chrome/ui/header/collapsible_nav.test.tsx b/src/core/public/chrome/ui/header/collapsible_nav.test.tsx index e9824d09db38..dc44fe5053fe 100644 --- a/src/core/public/chrome/ui/header/collapsible_nav.test.tsx +++ b/src/core/public/chrome/ui/header/collapsible_nav.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mount, ReactWrapper } from 'enzyme'; import React from 'react'; import { BehaviorSubject } from 'rxjs'; diff --git a/src/core/public/chrome/ui/header/collapsible_nav.tsx b/src/core/public/chrome/ui/header/collapsible_nav.tsx index 0ed510933257..8da61ac7b25f 100644 --- a/src/core/public/chrome/ui/header/collapsible_nav.tsx +++ b/src/core/public/chrome/ui/header/collapsible_nav.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './collapsible_nav.scss'; import { EuiCollapsibleNav, diff --git a/src/core/public/chrome/ui/header/header.test.tsx b/src/core/public/chrome/ui/header/header.test.tsx index 740e9d9145dc..32c41036f505 100644 --- a/src/core/public/chrome/ui/header/header.test.tsx +++ b/src/core/public/chrome/ui/header/header.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { act } from 'react-dom/test-utils'; import { BehaviorSubject } from 'rxjs'; diff --git a/src/core/public/chrome/ui/header/header.tsx b/src/core/public/chrome/ui/header/header.tsx index 2946b4eaa130..ed4793a497e1 100644 --- a/src/core/public/chrome/ui/header/header.tsx +++ b/src/core/public/chrome/ui/header/header.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiHeader, EuiHeaderSection, diff --git a/src/core/public/chrome/ui/header/header_action_menu.test.tsx b/src/core/public/chrome/ui/header/header_action_menu.test.tsx index 9e04cebb4123..cf7c1f0f89d1 100644 --- a/src/core/public/chrome/ui/header/header_action_menu.test.tsx +++ b/src/core/public/chrome/ui/header/header_action_menu.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount, ReactWrapper } from 'enzyme'; import { act } from 'react-dom/test-utils'; diff --git a/src/core/public/chrome/ui/header/header_action_menu.tsx b/src/core/public/chrome/ui/header/header_action_menu.tsx index 9f03808d3da8..f45a2ac39e1e 100644 --- a/src/core/public/chrome/ui/header/header_action_menu.tsx +++ b/src/core/public/chrome/ui/header/header_action_menu.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FC, useRef, useLayoutEffect, useState } from 'react'; import { Observable } from 'rxjs'; import { MountPoint, UnmountCallback } from '../../../types'; diff --git a/src/core/public/chrome/ui/header/header_badge.tsx b/src/core/public/chrome/ui/header/header_badge.tsx index 4ccd26c94406..36f2b4b83a38 100644 --- a/src/core/public/chrome/ui/header/header_badge.tsx +++ b/src/core/public/chrome/ui/header/header_badge.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiBetaBadge } from '@elastic/eui'; import React, { Component } from 'react'; import * as Rx from 'rxjs'; diff --git a/src/core/public/chrome/ui/header/header_breadcrumbs.test.tsx b/src/core/public/chrome/ui/header/header_breadcrumbs.test.tsx index 1d6de05f23ba..2008a3f6c493 100644 --- a/src/core/public/chrome/ui/header/header_breadcrumbs.test.tsx +++ b/src/core/public/chrome/ui/header/header_breadcrumbs.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mount } from 'enzyme'; import React from 'react'; import { act } from 'react-dom/test-utils'; diff --git a/src/core/public/chrome/ui/header/header_breadcrumbs.tsx b/src/core/public/chrome/ui/header/header_breadcrumbs.tsx index cdc1030fa187..ca50b15d5af6 100644 --- a/src/core/public/chrome/ui/header/header_breadcrumbs.tsx +++ b/src/core/public/chrome/ui/header/header_breadcrumbs.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiHeaderBreadcrumbs } from '@elastic/eui'; import classNames from 'classnames'; import React from 'react'; diff --git a/src/core/public/chrome/ui/header/header_extension.test.tsx b/src/core/public/chrome/ui/header/header_extension.test.tsx index ef002d7b7624..59297aaeab2f 100644 --- a/src/core/public/chrome/ui/header/header_extension.test.tsx +++ b/src/core/public/chrome/ui/header/header_extension.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mount } from 'enzyme'; import React from 'react'; import { HeaderExtension } from './header_extension'; diff --git a/src/core/public/chrome/ui/header/header_extension.tsx b/src/core/public/chrome/ui/header/header_extension.tsx index dba89747783f..66d0a4558510 100644 --- a/src/core/public/chrome/ui/header/header_extension.tsx +++ b/src/core/public/chrome/ui/header/header_extension.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { MountPoint } from '../../../types'; diff --git a/src/core/public/chrome/ui/header/header_help_menu.tsx b/src/core/public/chrome/ui/header/header_help_menu.tsx index d292564e6f4a..6af111a4b8f1 100644 --- a/src/core/public/chrome/ui/header/header_help_menu.tsx +++ b/src/core/public/chrome/ui/header/header_help_menu.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import React, { Component, Fragment } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/core/public/chrome/ui/header/header_logo.tsx b/src/core/public/chrome/ui/header/header_logo.tsx index 39e5f4ecfdbc..bbbd173c7bbd 100644 --- a/src/core/public/chrome/ui/header/header_logo.tsx +++ b/src/core/public/chrome/ui/header/header_logo.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import React from 'react'; import useObservable from 'react-use/lib/useObservable'; diff --git a/src/core/public/chrome/ui/header/header_nav_controls.tsx b/src/core/public/chrome/ui/header/header_nav_controls.tsx index fd224d27edb0..82ac5792a1cd 100644 --- a/src/core/public/chrome/ui/header/header_nav_controls.tsx +++ b/src/core/public/chrome/ui/header/header_nav_controls.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiHeaderSectionItem } from '@elastic/eui'; import React from 'react'; import useObservable from 'react-use/lib/useObservable'; diff --git a/src/core/public/chrome/ui/header/index.ts b/src/core/public/chrome/ui/header/index.ts index e16e10c8308e..0bde1cef241a 100644 --- a/src/core/public/chrome/ui/header/index.ts +++ b/src/core/public/chrome/ui/header/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Header, HeaderProps } from './header'; export { OnIsLockedUpdate, NavType } from './types'; export { diff --git a/src/core/public/chrome/ui/header/nav_link.tsx b/src/core/public/chrome/ui/header/nav_link.tsx index 843c09ecefb9..11ff0b472bd0 100644 --- a/src/core/public/chrome/ui/header/nav_link.tsx +++ b/src/core/public/chrome/ui/header/nav_link.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiIcon } from '@elastic/eui'; import { i18n } from '@osd/i18n'; import React from 'react'; diff --git a/src/core/public/chrome/ui/header/recent_links.tsx b/src/core/public/chrome/ui/header/recent_links.tsx index c31b5adbfef8..5904739403d0 100644 --- a/src/core/public/chrome/ui/header/recent_links.tsx +++ b/src/core/public/chrome/ui/header/recent_links.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; import { EuiNavDrawerGroup } from '@elastic/eui'; diff --git a/src/core/public/chrome/ui/header/types.ts b/src/core/public/chrome/ui/header/types.ts index 8be460570e34..cad36ca3ecde 100644 --- a/src/core/public/chrome/ui/header/types.ts +++ b/src/core/public/chrome/ui/header/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export type OnIsLockedUpdate = (isLocked: boolean) => void; export type NavType = 'modern' | 'legacy'; diff --git a/src/core/public/chrome/ui/index.ts b/src/core/public/chrome/ui/index.ts index c97ea3a0ef47..93e3371b2892 100644 --- a/src/core/public/chrome/ui/index.ts +++ b/src/core/public/chrome/ui/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { LoadingIndicator } from './loading_indicator'; export { Header, diff --git a/src/core/public/chrome/ui/loading_indicator.test.tsx b/src/core/public/chrome/ui/loading_indicator.test.tsx index 2149bfd8d8c5..1f090dd06509 100644 --- a/src/core/public/chrome/ui/loading_indicator.test.tsx +++ b/src/core/public/chrome/ui/loading_indicator.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { BehaviorSubject } from 'rxjs'; diff --git a/src/core/public/chrome/ui/loading_indicator.tsx b/src/core/public/chrome/ui/loading_indicator.tsx index 791b25d32424..fd227dda057e 100644 --- a/src/core/public/chrome/ui/loading_indicator.tsx +++ b/src/core/public/chrome/ui/loading_indicator.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiLoadingSpinner, EuiProgress } from '@elastic/eui'; import { i18n } from '@osd/i18n'; import React from 'react'; diff --git a/src/core/public/context/context_service.mock.ts b/src/core/public/context/context_service.mock.ts index 81a320b4fa0f..5ba2648fd8b8 100644 --- a/src/core/public/context/context_service.mock.ts +++ b/src/core/public/context/context_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { ContextService, ContextSetup } from './context_service'; import { contextMock } from '../../utils/context.mock'; diff --git a/src/core/public/context/context_service.test.mocks.ts b/src/core/public/context/context_service.test.mocks.ts index 7edad0b1b26e..a1604318f6a5 100644 --- a/src/core/public/context/context_service.test.mocks.ts +++ b/src/core/public/context/context_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { contextMock } from '../../utils/context.mock'; export const MockContextConstructor = jest.fn(contextMock.create); diff --git a/src/core/public/context/context_service.test.ts b/src/core/public/context/context_service.test.ts index d571ab43488f..79dafb3b8970 100644 --- a/src/core/public/context/context_service.test.ts +++ b/src/core/public/context/context_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginOpaqueId } from '../../server'; import { MockContextConstructor } from './context_service.test.mocks'; import { ContextService } from './context_service'; diff --git a/src/core/public/context/context_service.ts b/src/core/public/context/context_service.ts index 121e89950605..5071288a1405 100644 --- a/src/core/public/context/context_service.ts +++ b/src/core/public/context/context_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginOpaqueId } from '../../server'; import { IContextContainer, ContextContainer, HandlerFunction } from '../../utils/context'; import { CoreContext } from '../core_system'; diff --git a/src/core/public/context/index.ts b/src/core/public/context/index.ts index a00b6b0fc333..73a59d1f5579 100644 --- a/src/core/public/context/index.ts +++ b/src/core/public/context/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ContextService, ContextSetup } from './context_service'; export { IContextContainer, diff --git a/src/core/public/core_app/core_app.mock.ts b/src/core/public/core_app/core_app.mock.ts index bfcf7db31580..fecb5788c987 100644 --- a/src/core/public/core_app/core_app.mock.ts +++ b/src/core/public/core_app/core_app.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { CoreApp } from './core_app'; diff --git a/src/core/public/core_app/core_app.ts b/src/core/public/core_app/core_app.ts index d1312abe2295..fcbcc5de5655 100644 --- a/src/core/public/core_app/core_app.ts +++ b/src/core/public/core_app/core_app.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UnregisterCallback } from 'history'; import { InternalApplicationSetup, diff --git a/src/core/public/core_app/errors/error_application.test.ts b/src/core/public/core_app/errors/error_application.test.ts index 45351caced78..5e3d1c8d3b1e 100644 --- a/src/core/public/core_app/errors/error_application.test.ts +++ b/src/core/public/core_app/errors/error_application.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { act } from 'react-dom/test-utils'; import { History, createMemoryHistory } from 'history'; import { IBasePath } from '../../http'; diff --git a/src/core/public/core_app/errors/error_application.tsx b/src/core/public/core_app/errors/error_application.tsx index cd777c50af04..475db53868b6 100644 --- a/src/core/public/core_app/errors/error_application.tsx +++ b/src/core/public/core_app/errors/error_application.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ReactChild, useState, useLayoutEffect } from 'react'; import ReactDOM from 'react-dom'; import { History } from 'history'; diff --git a/src/core/public/core_app/errors/index.ts b/src/core/public/core_app/errors/index.ts index 4f185dccfa7b..09a507943db8 100644 --- a/src/core/public/core_app/errors/index.ts +++ b/src/core/public/core_app/errors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { renderApp } from './error_application'; export { setupUrlOverflowDetection, URL_MAX_LENGTH } from './url_overflow'; diff --git a/src/core/public/core_app/errors/url_overflow.test.ts b/src/core/public/core_app/errors/url_overflow.test.ts index 37ee80c2bdba..b2eee9c17d58 100644 --- a/src/core/public/core_app/errors/url_overflow.test.ts +++ b/src/core/public/core_app/errors/url_overflow.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createMemoryHistory, History } from 'history'; import { BasePath } from '../../http/base_path'; diff --git a/src/core/public/core_app/errors/url_overflow.tsx b/src/core/public/core_app/errors/url_overflow.tsx index 52e282bc2633..6dbfa96fff46 100644 --- a/src/core/public/core_app/errors/url_overflow.tsx +++ b/src/core/public/core_app/errors/url_overflow.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { History, Location } from 'history'; diff --git a/src/core/public/core_app/errors/url_overflow_ui.tsx b/src/core/public/core_app/errors/url_overflow_ui.tsx index 5dc56a7b69b9..ab5b8cf972b8 100644 --- a/src/core/public/core_app/errors/url_overflow_ui.tsx +++ b/src/core/public/core_app/errors/url_overflow_ui.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/core/public/core_app/index.ts b/src/core/public/core_app/index.ts index f3acaedcfbef..260bc1f5d8d9 100644 --- a/src/core/public/core_app/index.ts +++ b/src/core/public/core_app/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { CoreApp } from './core_app'; export { URL_MAX_LENGTH } from './errors'; diff --git a/src/core/public/core_app/status/components/index.ts b/src/core/public/core_app/status/components/index.ts index cc444ecf70de..c9743f5aa858 100644 --- a/src/core/public/core_app/status/components/index.ts +++ b/src/core/public/core_app/status/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { MetricTile, MetricTiles } from './metric_tiles'; export { ServerStatus } from './server_status'; export { StatusTable } from './status_table'; diff --git a/src/core/public/core_app/status/components/metric_tiles.test.tsx b/src/core/public/core_app/status/components/metric_tiles.test.tsx index bccbe068fb7d..b6f0fa3dba99 100644 --- a/src/core/public/core_app/status/components/metric_tiles.test.tsx +++ b/src/core/public/core_app/status/components/metric_tiles.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { MetricTile } from './metric_tiles'; diff --git a/src/core/public/core_app/status/components/metric_tiles.tsx b/src/core/public/core_app/status/components/metric_tiles.tsx index 8df1dc745bf9..d57108c6b8f2 100644 --- a/src/core/public/core_app/status/components/metric_tiles.tsx +++ b/src/core/public/core_app/status/components/metric_tiles.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FunctionComponent } from 'react'; import { EuiFlexGrid, EuiFlexItem, EuiCard } from '@elastic/eui'; import { formatNumber, Metric } from '../lib'; diff --git a/src/core/public/core_app/status/components/server_status.test.tsx b/src/core/public/core_app/status/components/server_status.test.tsx index 61b4dacd37df..f9866c4b7c86 100644 --- a/src/core/public/core_app/status/components/server_status.test.tsx +++ b/src/core/public/core_app/status/components/server_status.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { ServerStatus } from './server_status'; import { FormattedStatus } from '../lib'; diff --git a/src/core/public/core_app/status/components/server_status.tsx b/src/core/public/core_app/status/components/server_status.tsx index 96a165600c12..d1689292a38b 100644 --- a/src/core/public/core_app/status/components/server_status.tsx +++ b/src/core/public/core_app/status/components/server_status.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FunctionComponent } from 'react'; import { EuiText, EuiFlexGroup, EuiFlexItem, EuiTitle, EuiBadge } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/core/public/core_app/status/components/status_table.test.tsx b/src/core/public/core_app/status/components/status_table.test.tsx index f99b4f2753fd..88b68cb1d2ac 100644 --- a/src/core/public/core_app/status/components/status_table.test.tsx +++ b/src/core/public/core_app/status/components/status_table.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { StatusTable } from './status_table'; diff --git a/src/core/public/core_app/status/components/status_table.tsx b/src/core/public/core_app/status/components/status_table.tsx index f05a91c7b7f1..f53145606c3a 100644 --- a/src/core/public/core_app/status/components/status_table.tsx +++ b/src/core/public/core_app/status/components/status_table.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FunctionComponent } from 'react'; import { EuiBasicTable, EuiIcon } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/core/public/core_app/status/index.ts b/src/core/public/core_app/status/index.ts index 7a0db0378c84..43c1e8275b43 100644 --- a/src/core/public/core_app/status/index.ts +++ b/src/core/public/core_app/status/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { renderApp } from './render_app'; diff --git a/src/core/public/core_app/status/lib/format_number.test.ts b/src/core/public/core_app/status/lib/format_number.test.ts index e69d0fcf4b8d..72af053df1f7 100644 --- a/src/core/public/core_app/status/lib/format_number.test.ts +++ b/src/core/public/core_app/status/lib/format_number.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { formatNumber } from './format_number'; describe('format byte', () => { diff --git a/src/core/public/core_app/status/lib/format_number.ts b/src/core/public/core_app/status/lib/format_number.ts index 4b83b53dd6ed..b57739f61e81 100644 --- a/src/core/public/core_app/status/lib/format_number.ts +++ b/src/core/public/core_app/status/lib/format_number.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import numeral from '@elastic/numeral'; export type DataType = 'byte' | 'float' | 'integer' | 'time'; diff --git a/src/core/public/core_app/status/lib/index.ts b/src/core/public/core_app/status/lib/index.ts index b063ee7a8a88..a7133c8ea62b 100644 --- a/src/core/public/core_app/status/lib/index.ts +++ b/src/core/public/core_app/status/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { formatNumber, DataType } from './format_number'; export { loadStatus, Metric, FormattedStatus, ProcessedServerResponse } from './load_status'; diff --git a/src/core/public/core_app/status/lib/load_status.test.ts b/src/core/public/core_app/status/lib/load_status.test.ts index c97234ea198d..c149a70604c2 100644 --- a/src/core/public/core_app/status/lib/load_status.test.ts +++ b/src/core/public/core_app/status/lib/load_status.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { StatusResponse } from '../../../../types/status'; import { httpServiceMock } from '../../../http/http_service.mock'; import { notificationServiceMock } from '../../../notifications/notifications_service.mock'; diff --git a/src/core/public/core_app/status/lib/load_status.ts b/src/core/public/core_app/status/lib/load_status.ts index f475ed101e41..cf388ef22088 100644 --- a/src/core/public/core_app/status/lib/load_status.ts +++ b/src/core/public/core_app/status/lib/load_status.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import type { UnwrapPromise } from '@osd/utility-types'; import type { ServerStatus, StatusResponse } from '../../../../types/status'; diff --git a/src/core/public/core_app/status/render_app.tsx b/src/core/public/core_app/status/render_app.tsx index 52f7e27276ff..7aa694b61243 100644 --- a/src/core/public/core_app/status/render_app.tsx +++ b/src/core/public/core_app/status/render_app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/core/public/core_app/status/status_app.tsx b/src/core/public/core_app/status/status_app.tsx index 9d448621fd03..57f1da09fcae 100644 --- a/src/core/public/core_app/status/status_app.tsx +++ b/src/core/public/core_app/status/status_app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { EuiLoadingSpinner, diff --git a/src/core/public/core_system.test.mocks.ts b/src/core/public/core_system.test.mocks.ts index 3d4565aebc33..da09de341bc4 100644 --- a/src/core/public/core_system.test.mocks.ts +++ b/src/core/public/core_system.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { applicationServiceMock } from './application/application_service.mock'; import { chromeServiceMock } from './chrome/chrome_service.mock'; import { fatalErrorsServiceMock } from './fatal_errors/fatal_errors_service.mock'; diff --git a/src/core/public/core_system.test.ts b/src/core/public/core_system.test.ts index 94eb39c90f85..b3acd696bc3d 100644 --- a/src/core/public/core_system.test.ts +++ b/src/core/public/core_system.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ChromeServiceConstructor, FatalErrorsServiceConstructor, diff --git a/src/core/public/core_system.ts b/src/core/public/core_system.ts index bb873ddd3f45..fe6162f30e52 100644 --- a/src/core/public/core_system.ts +++ b/src/core/public/core_system.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { pick } from '@osd/std'; import { CoreId } from '../server'; import { PackageInfo, EnvironmentMode } from '../server/types'; diff --git a/src/core/public/doc_links/doc_links_service.mock.ts b/src/core/public/doc_links/doc_links_service.mock.ts index 13591df6a370..1665681fb843 100644 --- a/src/core/public/doc_links/doc_links_service.mock.ts +++ b/src/core/public/doc_links/doc_links_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { injectedMetadataServiceMock } from '../injected_metadata/injected_metadata_service.mock'; import { DocLinksService, DocLinksStart } from './doc_links_service'; diff --git a/src/core/public/doc_links/doc_links_service.test.ts b/src/core/public/doc_links/doc_links_service.test.ts index 9d5f3537b889..0ba91c21ccc3 100644 --- a/src/core/public/doc_links/doc_links_service.test.ts +++ b/src/core/public/doc_links/doc_links_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DocLinksService } from './doc_links_service'; import { injectedMetadataServiceMock } from '../injected_metadata/injected_metadata_service.mock'; diff --git a/src/core/public/doc_links/doc_links_service.ts b/src/core/public/doc_links/doc_links_service.ts index b9a4c78cd67f..8fb5fc3ea790 100644 --- a/src/core/public/doc_links/doc_links_service.ts +++ b/src/core/public/doc_links/doc_links_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { deepFreeze } from '@osd/std'; import { InjectedMetadataSetup } from '../injected_metadata'; diff --git a/src/core/public/doc_links/index.ts b/src/core/public/doc_links/index.ts index c6541b31fecd..7d4bcee2cc38 100644 --- a/src/core/public/doc_links/index.ts +++ b/src/core/public/doc_links/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DocLinksService, DocLinksStart } from './doc_links_service'; diff --git a/src/core/public/fatal_errors/fatal_errors_screen.test.tsx b/src/core/public/fatal_errors/fatal_errors_screen.test.tsx index 20bdb77d27f8..22d063656862 100644 --- a/src/core/public/fatal_errors/fatal_errors_screen.test.tsx +++ b/src/core/public/fatal_errors/fatal_errors_screen.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiCallOut } from '@elastic/eui'; import testSubjSelector from '@osd/test-subj-selector'; import React from 'react'; diff --git a/src/core/public/fatal_errors/fatal_errors_screen.tsx b/src/core/public/fatal_errors/fatal_errors_screen.tsx index 42d1d02e5ccf..75745ca8d4ee 100644 --- a/src/core/public/fatal_errors/fatal_errors_screen.tsx +++ b/src/core/public/fatal_errors/fatal_errors_screen.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiButton, EuiButtonEmpty, diff --git a/src/core/public/fatal_errors/fatal_errors_service.mock.ts b/src/core/public/fatal_errors/fatal_errors_service.mock.ts index b71d8a849f1f..ff1b252fc128 100644 --- a/src/core/public/fatal_errors/fatal_errors_service.mock.ts +++ b/src/core/public/fatal_errors/fatal_errors_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { FatalErrorsService, FatalErrorsSetup } from './fatal_errors_service'; diff --git a/src/core/public/fatal_errors/fatal_errors_service.test.mocks.ts b/src/core/public/fatal_errors/fatal_errors_service.test.mocks.ts index 17655af3598d..af53d53dcb3d 100644 --- a/src/core/public/fatal_errors/fatal_errors_service.test.mocks.ts +++ b/src/core/public/fatal_errors/fatal_errors_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const mockRender = jest.fn(); jest.mock('react-dom', () => { return { diff --git a/src/core/public/fatal_errors/fatal_errors_service.test.ts b/src/core/public/fatal_errors/fatal_errors_service.test.ts index f00b8c959ebf..006184000eea 100644 --- a/src/core/public/fatal_errors/fatal_errors_service.test.ts +++ b/src/core/public/fatal_errors/fatal_errors_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; expect.addSnapshotSerializer({ diff --git a/src/core/public/fatal_errors/fatal_errors_service.tsx b/src/core/public/fatal_errors/fatal_errors_service.tsx index 0d58356de44e..59a23171ed17 100644 --- a/src/core/public/fatal_errors/fatal_errors_service.tsx +++ b/src/core/public/fatal_errors/fatal_errors_service.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'react-dom'; import * as Rx from 'rxjs'; diff --git a/src/core/public/fatal_errors/get_error_info.test.ts b/src/core/public/fatal_errors/get_error_info.test.ts index 231763e124de..293af7b31e80 100644 --- a/src/core/public/fatal_errors/get_error_info.test.ts +++ b/src/core/public/fatal_errors/get_error_info.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getErrorInfo } from './get_error_info'; class StubOpenSearchError extends Error { diff --git a/src/core/public/fatal_errors/get_error_info.ts b/src/core/public/fatal_errors/get_error_info.ts index a6fa78e233f6..a04a9b625c43 100644 --- a/src/core/public/fatal_errors/get_error_info.ts +++ b/src/core/public/fatal_errors/get_error_info.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { inspect } from 'util'; /** diff --git a/src/core/public/fatal_errors/index.ts b/src/core/public/fatal_errors/index.ts index ecae4118e026..14e6f9749e75 100644 --- a/src/core/public/fatal_errors/index.ts +++ b/src/core/public/fatal_errors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { FatalErrorsSetup, FatalErrorsStart, FatalErrorsService } from './fatal_errors_service'; export { FatalErrorInfo } from './get_error_info'; diff --git a/src/core/public/http/anonymous_paths_service.test.ts b/src/core/public/http/anonymous_paths_service.test.ts index 1fadbc3589ce..a1a1cac93407 100644 --- a/src/core/public/http/anonymous_paths_service.test.ts +++ b/src/core/public/http/anonymous_paths_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AnonymousPathsService } from './anonymous_paths_service'; import { BasePath } from './base_path'; diff --git a/src/core/public/http/anonymous_paths_service.ts b/src/core/public/http/anonymous_paths_service.ts index 088c72960991..7d3975aafa4e 100644 --- a/src/core/public/http/anonymous_paths_service.ts +++ b/src/core/public/http/anonymous_paths_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IAnonymousPaths, IBasePath } from 'src/core/public'; import { CoreService } from '../../types'; diff --git a/src/core/public/http/base_path.test.ts b/src/core/public/http/base_path.test.ts index 86974f1404a0..27cfa9bf0581 100644 --- a/src/core/public/http/base_path.test.ts +++ b/src/core/public/http/base_path.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { BasePath } from './base_path'; describe('BasePath', () => { diff --git a/src/core/public/http/base_path.ts b/src/core/public/http/base_path.ts index 489f9f5b0d18..b31504676dba 100644 --- a/src/core/public/http/base_path.ts +++ b/src/core/public/http/base_path.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { modifyUrl } from '@osd/std'; export class BasePath { diff --git a/src/core/public/http/fetch.test.ts b/src/core/public/http/fetch.test.ts index 300925c2cc4f..efc8d4aa31bb 100644 --- a/src/core/public/http/fetch.test.ts +++ b/src/core/public/http/fetch.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-expect-error import fetchMock from 'fetch-mock/es5/client'; import { readFileSync } from 'fs'; diff --git a/src/core/public/http/fetch.ts b/src/core/public/http/fetch.ts index dd84dcb96fe4..cefaa353f7fa 100644 --- a/src/core/public/http/fetch.ts +++ b/src/core/public/http/fetch.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { omitBy } from 'lodash'; import { format } from 'url'; import { BehaviorSubject } from 'rxjs'; diff --git a/src/core/public/http/http_fetch_error.ts b/src/core/public/http/http_fetch_error.ts index 92ccd3a63d3f..48c70accd90e 100644 --- a/src/core/public/http/http_fetch_error.ts +++ b/src/core/public/http/http_fetch_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IHttpFetchError } from './types'; /** @internal */ diff --git a/src/core/public/http/http_intercept_controller.ts b/src/core/public/http/http_intercept_controller.ts index 24c3c62183bc..08e8a1d2fad5 100644 --- a/src/core/public/http/http_intercept_controller.ts +++ b/src/core/public/http/http_intercept_controller.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IHttpInterceptController } from './types'; /** @internal */ diff --git a/src/core/public/http/http_intercept_halt_error.ts b/src/core/public/http/http_intercept_halt_error.ts index bc0b82945894..e6dc23aed822 100644 --- a/src/core/public/http/http_intercept_halt_error.ts +++ b/src/core/public/http/http_intercept_halt_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** @internal */ export class HttpInterceptHaltError extends Error { constructor() { diff --git a/src/core/public/http/http_service.mock.ts b/src/core/public/http/http_service.mock.ts index ee927a26ecdf..8c10d10017e5 100644 --- a/src/core/public/http/http_service.mock.ts +++ b/src/core/public/http/http_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { HttpService } from './http_service'; import { HttpSetup } from './types'; diff --git a/src/core/public/http/http_service.test.mocks.ts b/src/core/public/http/http_service.test.mocks.ts index 7273b66dc280..52952a1b60bb 100644 --- a/src/core/public/http/http_service.test.mocks.ts +++ b/src/core/public/http/http_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { loadingCountServiceMock } from './loading_count_service.mock'; export const loadingServiceMock = loadingCountServiceMock.create(); diff --git a/src/core/public/http/http_service.test.ts b/src/core/public/http/http_service.test.ts index a66d281b7cef..e60e506dfc0a 100644 --- a/src/core/public/http/http_service.test.ts +++ b/src/core/public/http/http_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-expect-error import fetchMock from 'fetch-mock/es5/client'; import { loadingServiceMock } from './http_service.test.mocks'; diff --git a/src/core/public/http/http_service.ts b/src/core/public/http/http_service.ts index 1ca0c318380e..f26323f261aa 100644 --- a/src/core/public/http/http_service.ts +++ b/src/core/public/http/http_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpSetup, HttpStart } from './types'; import { InjectedMetadataSetup } from '../injected_metadata'; import { FatalErrorsSetup } from '../fatal_errors'; diff --git a/src/core/public/http/index.ts b/src/core/public/http/index.ts index 3c7d6c2e8847..be411ee30995 100644 --- a/src/core/public/http/index.ts +++ b/src/core/public/http/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { HttpService } from './http_service'; export { HttpFetchError } from './http_fetch_error'; export * from './types'; diff --git a/src/core/public/http/intercept.ts b/src/core/public/http/intercept.ts index f2f9e6b28534..e3bc98dcba1d 100644 --- a/src/core/public/http/intercept.ts +++ b/src/core/public/http/intercept.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpInterceptController } from './http_intercept_controller'; import { HttpInterceptHaltError } from './http_intercept_halt_error'; import { HttpInterceptor, HttpResponse, HttpFetchOptionsWithPath } from './types'; diff --git a/src/core/public/http/loading_count_service.mock.ts b/src/core/public/http/loading_count_service.mock.ts index b27687b4f33c..aad398654ef6 100644 --- a/src/core/public/http/loading_count_service.mock.ts +++ b/src/core/public/http/loading_count_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LoadingCountSetup, LoadingCountService } from './loading_count_service'; import { BehaviorSubject } from 'rxjs'; import type { PublicMethodsOf } from '@osd/utility-types'; diff --git a/src/core/public/http/loading_count_service.test.ts b/src/core/public/http/loading_count_service.test.ts index bf8075d30cc0..d204a97cae12 100644 --- a/src/core/public/http/loading_count_service.test.ts +++ b/src/core/public/http/loading_count_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable, throwError, of, Subject } from 'rxjs'; import { toArray } from 'rxjs/operators'; diff --git a/src/core/public/http/loading_count_service.ts b/src/core/public/http/loading_count_service.ts index f9610ca67753..932759f060e2 100644 --- a/src/core/public/http/loading_count_service.ts +++ b/src/core/public/http/loading_count_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject, Observable, Subject } from 'rxjs'; import { distinctUntilChanged, diff --git a/src/core/public/http/types.ts b/src/core/public/http/types.ts index 80825c4c860d..ab046e6d2d5a 100644 --- a/src/core/public/http/types.ts +++ b/src/core/public/http/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { MaybePromise } from '@osd/utility-types'; diff --git a/src/core/public/i18n/i18n_eui_mapping.tsx b/src/core/public/i18n/i18n_eui_mapping.tsx index fbba58078328..d3294085e096 100644 --- a/src/core/public/i18n/i18n_eui_mapping.tsx +++ b/src/core/public/i18n/i18n_eui_mapping.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/core/public/i18n/i18n_service.mock.ts b/src/core/public/i18n/i18n_service.mock.ts index 7a0fd14ba35b..6e015ea9f4a6 100644 --- a/src/core/public/i18n/i18n_service.mock.ts +++ b/src/core/public/i18n/i18n_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import type { PublicMethodsOf } from '@osd/utility-types'; diff --git a/src/core/public/i18n/i18n_service.test.tsx b/src/core/public/i18n/i18n_service.test.tsx index bbff783134d2..cf3438efa6db 100644 --- a/src/core/public/i18n/i18n_service.test.tsx +++ b/src/core/public/i18n/i18n_service.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { shallow } from 'enzyme'; jest.mock('@elastic/eui', () => { diff --git a/src/core/public/i18n/i18n_service.tsx b/src/core/public/i18n/i18n_service.tsx index 13a449728303..17410967b481 100644 --- a/src/core/public/i18n/i18n_service.tsx +++ b/src/core/public/i18n/i18n_service.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiContext } from '@elastic/eui'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/core/public/i18n/index.ts b/src/core/public/i18n/index.ts index 4843ae3fe161..bb3ee4f1c175 100644 --- a/src/core/public/i18n/index.ts +++ b/src/core/public/i18n/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { I18nService, I18nStart } from './i18n_service'; diff --git a/src/core/public/index.ts b/src/core/public/index.ts index ad14deb03cf4..9a38771f513e 100644 --- a/src/core/public/index.ts +++ b/src/core/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * The OpenSearch Dashboards Core APIs for client-side plugins. * diff --git a/src/core/public/injected_metadata/index.ts b/src/core/public/injected_metadata/index.ts index 65f72b72ca14..4b941838dd77 100644 --- a/src/core/public/injected_metadata/index.ts +++ b/src/core/public/injected_metadata/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { InjectedMetadataService, InjectedMetadataParams, diff --git a/src/core/public/injected_metadata/injected_metadata_service.mock.ts b/src/core/public/injected_metadata/injected_metadata_service.mock.ts index e7ab88fffd20..c585c86ba603 100644 --- a/src/core/public/injected_metadata/injected_metadata_service.mock.ts +++ b/src/core/public/injected_metadata/injected_metadata_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { InjectedMetadataService, InjectedMetadataSetup } from './injected_metadata_service'; diff --git a/src/core/public/injected_metadata/injected_metadata_service.test.ts b/src/core/public/injected_metadata/injected_metadata_service.test.ts index d21de7e96b64..1a5dde411c4c 100644 --- a/src/core/public/injected_metadata/injected_metadata_service.test.ts +++ b/src/core/public/injected_metadata/injected_metadata_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DiscoveredPlugin } from '../../server'; import { InjectedMetadataService } from './injected_metadata_service'; diff --git a/src/core/public/injected_metadata/injected_metadata_service.ts b/src/core/public/injected_metadata/injected_metadata_service.ts index f821eb61a072..0bbf4549dd01 100644 --- a/src/core/public/injected_metadata/injected_metadata_service.ts +++ b/src/core/public/injected_metadata/injected_metadata_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { deepFreeze } from '@osd/std'; import { DiscoveredPlugin, PluginName } from '../../server'; diff --git a/src/core/public/integrations/index.ts b/src/core/public/integrations/index.ts index f4f43a1e3e82..2410c90f6d5f 100644 --- a/src/core/public/integrations/index.ts +++ b/src/core/public/integrations/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { IntegrationsService } from './integrations_service'; diff --git a/src/core/public/integrations/integrations_service.mock.ts b/src/core/public/integrations/integrations_service.mock.ts index d227ff63c7c2..ad3584a9de18 100644 --- a/src/core/public/integrations/integrations_service.mock.ts +++ b/src/core/public/integrations/integrations_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { IntegrationsService } from './integrations_service'; diff --git a/src/core/public/integrations/integrations_service.test.mocks.ts b/src/core/public/integrations/integrations_service.test.mocks.ts index a0a046405592..7b83ea5011b6 100644 --- a/src/core/public/integrations/integrations_service.test.mocks.ts +++ b/src/core/public/integrations/integrations_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreService } from '../../types'; const createCoreServiceMock = (): jest.Mocked => { diff --git a/src/core/public/integrations/integrations_service.test.ts b/src/core/public/integrations/integrations_service.test.ts index 3e1643f8ed04..296f39157946 100644 --- a/src/core/public/integrations/integrations_service.test.ts +++ b/src/core/public/integrations/integrations_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { styleServiceMock, momentServiceMock } from './integrations_service.test.mocks'; import { IntegrationsService } from './integrations_service'; diff --git a/src/core/public/integrations/integrations_service.ts b/src/core/public/integrations/integrations_service.ts index 9a35315f1c0c..df92f0b76d95 100644 --- a/src/core/public/integrations/integrations_service.ts +++ b/src/core/public/integrations/integrations_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IUiSettingsClient } from '../ui_settings'; import { CoreService } from '../../types'; diff --git a/src/core/public/integrations/moment/index.ts b/src/core/public/integrations/moment/index.ts index 6f0c4589aff8..51eb4d847bf3 100644 --- a/src/core/public/integrations/moment/index.ts +++ b/src/core/public/integrations/moment/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { MomentService } from './moment_service'; diff --git a/src/core/public/integrations/moment/moment_service.test.mocks.ts b/src/core/public/integrations/moment/moment_service.test.mocks.ts index 60afc878c31d..cda3b8bebcdd 100644 --- a/src/core/public/integrations/moment/moment_service.test.mocks.ts +++ b/src/core/public/integrations/moment/moment_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const momentMock = { locale: jest.fn(() => 'default-locale'), tz: { diff --git a/src/core/public/integrations/moment/moment_service.test.ts b/src/core/public/integrations/moment/moment_service.test.ts index f041af19dbb8..4cc9e4473a99 100644 --- a/src/core/public/integrations/moment/moment_service.test.ts +++ b/src/core/public/integrations/moment/moment_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { momentMock } from './moment_service.test.mocks'; import { MomentService } from './moment_service'; import { uiSettingsServiceMock } from '../../ui_settings/ui_settings_service.mock'; diff --git a/src/core/public/integrations/moment/moment_service.ts b/src/core/public/integrations/moment/moment_service.ts index 8867d7ce5e92..5b20db1c9e7b 100644 --- a/src/core/public/integrations/moment/moment_service.ts +++ b/src/core/public/integrations/moment/moment_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment-timezone'; import { merge, Subscription } from 'rxjs'; diff --git a/src/core/public/integrations/styles/index.ts b/src/core/public/integrations/styles/index.ts index 089f7d7d9c94..8582fca29f1d 100644 --- a/src/core/public/integrations/styles/index.ts +++ b/src/core/public/integrations/styles/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { StylesService } from './styles_service'; diff --git a/src/core/public/integrations/styles/styles_service.test.ts b/src/core/public/integrations/styles/styles_service.test.ts index 25c7148a349a..c82118a7f192 100644 --- a/src/core/public/integrations/styles/styles_service.test.ts +++ b/src/core/public/integrations/styles/styles_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; jest.mock('!!raw-loader!./disable_animations.css', () => 'MOCK DISABLE ANIMATIONS CSS'); diff --git a/src/core/public/integrations/styles/styles_service.ts b/src/core/public/integrations/styles/styles_service.ts index 0247b7e4d9bb..5bd645db7a51 100644 --- a/src/core/public/integrations/styles/styles_service.ts +++ b/src/core/public/integrations/styles/styles_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Subscription } from 'rxjs'; import { IUiSettingsClient } from '../../ui_settings'; diff --git a/src/core/public/mocks.ts b/src/core/public/mocks.ts index ac96b745dc90..163e34b4cf1a 100644 --- a/src/core/public/mocks.ts +++ b/src/core/public/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { createMemoryHistory } from 'history'; // Only import types from '.' to avoid triggering default Jest mocks. diff --git a/src/core/public/notifications/index.ts b/src/core/public/notifications/index.ts index 6e7bbd29a50a..65e6b72b4fd9 100644 --- a/src/core/public/notifications/index.ts +++ b/src/core/public/notifications/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ErrorToastOptions, ToastOptions, diff --git a/src/core/public/notifications/notifications_service.mock.ts b/src/core/public/notifications/notifications_service.mock.ts index fd61dbee02a5..2b5986e689f5 100644 --- a/src/core/public/notifications/notifications_service.mock.ts +++ b/src/core/public/notifications/notifications_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { NotificationsService, diff --git a/src/core/public/notifications/notifications_service.ts b/src/core/public/notifications/notifications_service.ts index a0a6d231fadc..fcdf746f2ae6 100644 --- a/src/core/public/notifications/notifications_service.ts +++ b/src/core/public/notifications/notifications_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Subscription } from 'rxjs'; diff --git a/src/core/public/notifications/toasts/error_toast.test.tsx b/src/core/public/notifications/toasts/error_toast.test.tsx index 381ad12505fb..b621a327f600 100644 --- a/src/core/public/notifications/toasts/error_toast.test.tsx +++ b/src/core/public/notifications/toasts/error_toast.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { shallow } from 'enzyme'; import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/core/public/notifications/toasts/error_toast.tsx b/src/core/public/notifications/toasts/error_toast.tsx index 84a89390c77d..4f4debbb28c6 100644 --- a/src/core/public/notifications/toasts/error_toast.tsx +++ b/src/core/public/notifications/toasts/error_toast.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; diff --git a/src/core/public/notifications/toasts/global_toast_list.test.tsx b/src/core/public/notifications/toasts/global_toast_list.test.tsx index 85cbe909861f..71e217e8dbb0 100644 --- a/src/core/public/notifications/toasts/global_toast_list.test.tsx +++ b/src/core/public/notifications/toasts/global_toast_list.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiGlobalToastList } from '@elastic/eui'; import { shallow } from 'enzyme'; import React from 'react'; diff --git a/src/core/public/notifications/toasts/global_toast_list.tsx b/src/core/public/notifications/toasts/global_toast_list.tsx index aa3dc9b84b16..1a45d006245a 100644 --- a/src/core/public/notifications/toasts/global_toast_list.tsx +++ b/src/core/public/notifications/toasts/global_toast_list.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiGlobalToastList, EuiGlobalToastListToast as EuiToast } from '@elastic/eui'; import React from 'react'; import * as Rx from 'rxjs'; diff --git a/src/core/public/notifications/toasts/index.ts b/src/core/public/notifications/toasts/index.ts index 48ffc002c532..270c57de09f0 100644 --- a/src/core/public/notifications/toasts/index.ts +++ b/src/core/public/notifications/toasts/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ToastsService, ToastsSetup, ToastsStart } from './toasts_service'; export { ErrorToastOptions, diff --git a/src/core/public/notifications/toasts/toasts_api.test.ts b/src/core/public/notifications/toasts/toasts_api.test.ts index ec3bb905674b..ef4f469194d7 100644 --- a/src/core/public/notifications/toasts/toasts_api.test.ts +++ b/src/core/public/notifications/toasts/toasts_api.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { take } from 'rxjs/operators'; import { ToastsApi } from './toasts_api'; diff --git a/src/core/public/notifications/toasts/toasts_api.tsx b/src/core/public/notifications/toasts/toasts_api.tsx index f6785f28c915..008c4fb3c507 100644 --- a/src/core/public/notifications/toasts/toasts_api.tsx +++ b/src/core/public/notifications/toasts/toasts_api.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiGlobalToastListToast as EuiToast } from '@elastic/eui'; import React from 'react'; import * as Rx from 'rxjs'; diff --git a/src/core/public/notifications/toasts/toasts_service.mock.ts b/src/core/public/notifications/toasts/toasts_service.mock.ts index d3bd26faa002..8452d2c96e8f 100644 --- a/src/core/public/notifications/toasts/toasts_service.mock.ts +++ b/src/core/public/notifications/toasts/toasts_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { IToasts } from './toasts_api'; diff --git a/src/core/public/notifications/toasts/toasts_service.test.mocks.ts b/src/core/public/notifications/toasts/toasts_service.test.mocks.ts index 13b298378d34..8bd383334c0d 100644 --- a/src/core/public/notifications/toasts/toasts_service.test.mocks.ts +++ b/src/core/public/notifications/toasts/toasts_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const mockReactDomRender = jest.fn(); export const mockReactDomUnmount = jest.fn(); jest.mock('react-dom', () => ({ diff --git a/src/core/public/notifications/toasts/toasts_service.test.tsx b/src/core/public/notifications/toasts/toasts_service.test.tsx index 929019954a19..402e31ee46a8 100644 --- a/src/core/public/notifications/toasts/toasts_service.test.tsx +++ b/src/core/public/notifications/toasts/toasts_service.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockReactDomRender, mockReactDomUnmount } from './toasts_service.test.mocks'; import { ToastsService } from './toasts_service'; diff --git a/src/core/public/notifications/toasts/toasts_service.tsx b/src/core/public/notifications/toasts/toasts_service.tsx index e431f1733f31..76f7d717c6a4 100644 --- a/src/core/public/notifications/toasts/toasts_service.tsx +++ b/src/core/public/notifications/toasts/toasts_service.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; diff --git a/src/core/public/osd_bootstrap.test.mocks.ts b/src/core/public/osd_bootstrap.test.mocks.ts index 283b6de6638d..77b47e8b895b 100644 --- a/src/core/public/osd_bootstrap.test.mocks.ts +++ b/src/core/public/osd_bootstrap.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { applicationServiceMock } from './application/application_service.mock'; import { fatalErrorsServiceMock } from './fatal_errors/fatal_errors_service.mock'; export const fatalErrorMock = fatalErrorsServiceMock.createSetupContract(); diff --git a/src/core/public/osd_bootstrap.test.ts b/src/core/public/osd_bootstrap.test.ts index a62be72d111a..806841287bee 100644 --- a/src/core/public/osd_bootstrap.test.ts +++ b/src/core/public/osd_bootstrap.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { apmSystem, fatalErrorMock, i18nLoad } from './osd_bootstrap.test.mocks'; import { __osdBootstrap__ } from './'; diff --git a/src/core/public/osd_bootstrap.ts b/src/core/public/osd_bootstrap.ts index a07cf7603eb4..f5571292b83a 100644 --- a/src/core/public/osd_bootstrap.ts +++ b/src/core/public/osd_bootstrap.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { CoreSystem } from './core_system'; import { ApmSystem } from './apm_system'; diff --git a/src/core/public/overlays/banners/banners_list.test.tsx b/src/core/public/overlays/banners/banners_list.test.tsx index 94afc3b76edf..448e1a20abf3 100644 --- a/src/core/public/overlays/banners/banners_list.test.tsx +++ b/src/core/public/overlays/banners/banners_list.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { act } from 'react-dom/test-utils'; import { mount } from 'enzyme'; diff --git a/src/core/public/overlays/banners/banners_list.tsx b/src/core/public/overlays/banners/banners_list.tsx index 3b33e1930ef6..ad6158c711bd 100644 --- a/src/core/public/overlays/banners/banners_list.tsx +++ b/src/core/public/overlays/banners/banners_list.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useRef, useState } from 'react'; import { Observable } from 'rxjs'; diff --git a/src/core/public/overlays/banners/banners_service.mock.ts b/src/core/public/overlays/banners/banners_service.mock.ts index 3ea81d91015f..7a6b6a21b267 100644 --- a/src/core/public/overlays/banners/banners_service.mock.ts +++ b/src/core/public/overlays/banners/banners_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { OverlayBannersStart, OverlayBannersService } from './banners_service'; diff --git a/src/core/public/overlays/banners/banners_service.test.ts b/src/core/public/overlays/banners/banners_service.test.ts index 355818a88910..fd3501e5ecd0 100644 --- a/src/core/public/overlays/banners/banners_service.test.ts +++ b/src/core/public/overlays/banners/banners_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OverlayBannersService, OverlayBannersStart } from './banners_service'; import { take } from 'rxjs/operators'; import { i18nServiceMock } from '../../i18n/i18n_service.mock'; diff --git a/src/core/public/overlays/banners/banners_service.tsx b/src/core/public/overlays/banners/banners_service.tsx index da515349dc71..9a766f05b0d9 100644 --- a/src/core/public/overlays/banners/banners_service.tsx +++ b/src/core/public/overlays/banners/banners_service.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { BehaviorSubject, Observable } from 'rxjs'; import { map } from 'rxjs/operators'; diff --git a/src/core/public/overlays/banners/index.ts b/src/core/public/overlays/banners/index.ts index 5b93d0839622..dd4040b05fbf 100644 --- a/src/core/public/overlays/banners/index.ts +++ b/src/core/public/overlays/banners/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { OverlayBannersStart, OverlayBannersService } from './banners_service'; diff --git a/src/core/public/overlays/banners/priority_map.test.ts b/src/core/public/overlays/banners/priority_map.test.ts index 49021ee9f5c9..d1c53662c626 100644 --- a/src/core/public/overlays/banners/priority_map.test.ts +++ b/src/core/public/overlays/banners/priority_map.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PriorityMap } from './priority_map'; interface MyPrioType { diff --git a/src/core/public/overlays/banners/priority_map.ts b/src/core/public/overlays/banners/priority_map.ts index 1ff86e7b030b..b105d5e70581 100644 --- a/src/core/public/overlays/banners/priority_map.ts +++ b/src/core/public/overlays/banners/priority_map.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { sortBy } from 'lodash'; interface PriorityValue { diff --git a/src/core/public/overlays/banners/user_banner_service.test.ts b/src/core/public/overlays/banners/user_banner_service.test.ts index e08a9e976bcb..392b3c9409a5 100644 --- a/src/core/public/overlays/banners/user_banner_service.test.ts +++ b/src/core/public/overlays/banners/user_banner_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { uiSettingsServiceMock } from '../../ui_settings/ui_settings_service.mock'; import { UserBannerService } from './user_banner_service'; import { overlayBannersServiceMock } from './banners_service.mock'; diff --git a/src/core/public/overlays/banners/user_banner_service.tsx b/src/core/public/overlays/banners/user_banner_service.tsx index 214672aa6761..115cec9bc3cd 100644 --- a/src/core/public/overlays/banners/user_banner_service.tsx +++ b/src/core/public/overlays/banners/user_banner_service.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import ReactDOM from 'react-dom'; import { filter } from 'rxjs/operators'; diff --git a/src/core/public/overlays/flyout/flyout_service.mock.ts b/src/core/public/overlays/flyout/flyout_service.mock.ts index 5fbe4401c465..82fab5e4a8ad 100644 --- a/src/core/public/overlays/flyout/flyout_service.mock.ts +++ b/src/core/public/overlays/flyout/flyout_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { FlyoutService, OverlayFlyoutStart } from './flyout_service'; diff --git a/src/core/public/overlays/flyout/flyout_service.test.tsx b/src/core/public/overlays/flyout/flyout_service.test.tsx index ed02b31dfe33..d8acfaa0e331 100644 --- a/src/core/public/overlays/flyout/flyout_service.test.tsx +++ b/src/core/public/overlays/flyout/flyout_service.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { mockReactDomRender, mockReactDomUnmount } from '../overlay.test.mocks'; import { mount } from 'enzyme'; diff --git a/src/core/public/overlays/flyout/flyout_service.tsx b/src/core/public/overlays/flyout/flyout_service.tsx index 898e3775d6ab..4d89b57d791a 100644 --- a/src/core/public/overlays/flyout/flyout_service.tsx +++ b/src/core/public/overlays/flyout/flyout_service.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable max-classes-per-file */ import { EuiFlyout } from '@elastic/eui'; diff --git a/src/core/public/overlays/flyout/index.ts b/src/core/public/overlays/flyout/index.ts index 7a6ec1b30c41..fc930cb97744 100644 --- a/src/core/public/overlays/flyout/index.ts +++ b/src/core/public/overlays/flyout/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { FlyoutService, OverlayFlyoutStart, OverlayFlyoutOpenOptions } from './flyout_service'; diff --git a/src/core/public/overlays/index.ts b/src/core/public/overlays/index.ts index 767d3f44e1f3..698d73a138df 100644 --- a/src/core/public/overlays/index.ts +++ b/src/core/public/overlays/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { OverlayRef } from './types'; export { OverlayBannersStart } from './banners'; export { OverlayFlyoutStart, OverlayFlyoutOpenOptions } from './flyout'; diff --git a/src/core/public/overlays/modal/index.ts b/src/core/public/overlays/modal/index.ts index c852863ceddd..e4d23ede8dff 100644 --- a/src/core/public/overlays/modal/index.ts +++ b/src/core/public/overlays/modal/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ModalService, OverlayModalStart, OverlayModalOpenOptions } from './modal_service'; diff --git a/src/core/public/overlays/modal/modal_service.mock.ts b/src/core/public/overlays/modal/modal_service.mock.ts index 161f291f5952..576bd95830d2 100644 --- a/src/core/public/overlays/modal/modal_service.mock.ts +++ b/src/core/public/overlays/modal/modal_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { ModalService, OverlayModalStart } from './modal_service'; diff --git a/src/core/public/overlays/modal/modal_service.test.tsx b/src/core/public/overlays/modal/modal_service.test.tsx index 044a29181015..95a6ff610668 100644 --- a/src/core/public/overlays/modal/modal_service.test.tsx +++ b/src/core/public/overlays/modal/modal_service.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { mockReactDomRender, mockReactDomUnmount } from '../overlay.test.mocks'; import React from 'react'; diff --git a/src/core/public/overlays/modal/modal_service.tsx b/src/core/public/overlays/modal/modal_service.tsx index 13e61785d232..a91bb4c74a66 100644 --- a/src/core/public/overlays/modal/modal_service.tsx +++ b/src/core/public/overlays/modal/modal_service.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable max-classes-per-file */ import { i18n as t } from '@osd/i18n'; diff --git a/src/core/public/overlays/overlay.test.mocks.ts b/src/core/public/overlays/overlay.test.mocks.ts index d714933ddb7f..eb3e0e0dce2e 100644 --- a/src/core/public/overlays/overlay.test.mocks.ts +++ b/src/core/public/overlays/overlay.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const mockReactDomRender = jest.fn(); export const mockReactDomUnmount = jest.fn(); export const mockReactDomCreatePortal = jest.fn().mockImplementation((component) => component); diff --git a/src/core/public/overlays/overlay_service.mock.ts b/src/core/public/overlays/overlay_service.mock.ts index 8eb80c36f665..b2a4d2aea8fa 100644 --- a/src/core/public/overlays/overlay_service.mock.ts +++ b/src/core/public/overlays/overlay_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { OverlayService, OverlayStart } from './overlay_service'; import { overlayBannersServiceMock } from './banners/banners_service.mock'; diff --git a/src/core/public/overlays/overlay_service.ts b/src/core/public/overlays/overlay_service.ts index 399df423de04..19d5d6b8b7c6 100644 --- a/src/core/public/overlays/overlay_service.ts +++ b/src/core/public/overlays/overlay_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { I18nStart } from '../i18n'; import { IUiSettingsClient } from '../ui_settings'; import { OverlayBannersStart, OverlayBannersService } from './banners'; diff --git a/src/core/public/overlays/types.ts b/src/core/public/overlays/types.ts index 1f802f7549a4..7e4701486939 100644 --- a/src/core/public/overlays/types.ts +++ b/src/core/public/overlays/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Returned by {@link OverlayStart} methods for closing a mounted overlay. * @public diff --git a/src/core/public/plugins/index.ts b/src/core/public/plugins/index.ts index 19fff98903d4..5405717c00d9 100644 --- a/src/core/public/plugins/index.ts +++ b/src/core/public/plugins/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './plugins_service'; export { Plugin, PluginInitializer } from './plugin'; export { PluginInitializerContext } from './plugin_context'; diff --git a/src/core/public/plugins/plugin.test.mocks.ts b/src/core/public/plugins/plugin.test.mocks.ts index f0d2a374e69c..2afd7cc1dabb 100644 --- a/src/core/public/plugins/plugin.test.mocks.ts +++ b/src/core/public/plugins/plugin.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const mockPlugin = { setup: jest.fn(), start: jest.fn(), diff --git a/src/core/public/plugins/plugin.test.ts b/src/core/public/plugins/plugin.test.ts index 5a7f8b54111e..fd9446f1565c 100644 --- a/src/core/public/plugins/plugin.test.ts +++ b/src/core/public/plugins/plugin.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { mockInitializer, mockPlugin, mockPluginReader } from './plugin.test.mocks'; import { DiscoveredPlugin } from '../../server'; diff --git a/src/core/public/plugins/plugin.ts b/src/core/public/plugins/plugin.ts index 71b29ed7c56e..d42dcf81f3e6 100644 --- a/src/core/public/plugins/plugin.ts +++ b/src/core/public/plugins/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Subject } from 'rxjs'; import { first } from 'rxjs/operators'; import { DiscoveredPlugin, PluginOpaqueId } from '../../server'; diff --git a/src/core/public/plugins/plugin_context.ts b/src/core/public/plugins/plugin_context.ts index d6c98e7126b2..42c40e91183f 100644 --- a/src/core/public/plugins/plugin_context.ts +++ b/src/core/public/plugins/plugin_context.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { omit } from 'lodash'; import { DiscoveredPlugin } from '../../server'; import { PluginOpaqueId, PackageInfo, EnvironmentMode } from '../../server/types'; diff --git a/src/core/public/plugins/plugin_reader.test.ts b/src/core/public/plugins/plugin_reader.test.ts index 1c4ed86c3c77..8506d5450166 100644 --- a/src/core/public/plugins/plugin_reader.test.ts +++ b/src/core/public/plugins/plugin_reader.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreWindow, read } from './plugin_reader'; const coreWindow: CoreWindow & { diff --git a/src/core/public/plugins/plugin_reader.ts b/src/core/public/plugins/plugin_reader.ts index 2f4f64859697..afe767d1d065 100644 --- a/src/core/public/plugins/plugin_reader.ts +++ b/src/core/public/plugins/plugin_reader.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from './plugin'; /** diff --git a/src/core/public/plugins/plugins_service.mock.ts b/src/core/public/plugins/plugins_service.mock.ts index 8c148fa83d9e..ad5d5c1f85e4 100644 --- a/src/core/public/plugins/plugins_service.mock.ts +++ b/src/core/public/plugins/plugins_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { PluginsService, PluginsServiceSetup } from './plugins_service'; diff --git a/src/core/public/plugins/plugins_service.test.mocks.ts b/src/core/public/plugins/plugins_service.test.mocks.ts index c7399156a016..d8d874b68277 100644 --- a/src/core/public/plugins/plugins_service.test.mocks.ts +++ b/src/core/public/plugins/plugins_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginName } from 'opensearch-dashboards/server'; import { Plugin } from './plugin'; diff --git a/src/core/public/plugins/plugins_service.test.ts b/src/core/public/plugins/plugins_service.test.ts index ac506c8e0082..5ca7c491f72f 100644 --- a/src/core/public/plugins/plugins_service.test.ts +++ b/src/core/public/plugins/plugins_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { omit, pick } from 'lodash'; import { setImmediate } from 'timers'; diff --git a/src/core/public/plugins/plugins_service.ts b/src/core/public/plugins/plugins_service.ts index fff3272b296a..161919aa3e66 100644 --- a/src/core/public/plugins/plugins_service.ts +++ b/src/core/public/plugins/plugins_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { withTimeout } from '@osd/std'; import { PluginName, PluginOpaqueId } from '../../server'; import { CoreService } from '../../types'; diff --git a/src/core/public/rendering/app_containers.test.tsx b/src/core/public/rendering/app_containers.test.tsx index a1ce640f80ae..fd43c79514c1 100644 --- a/src/core/public/rendering/app_containers.test.tsx +++ b/src/core/public/rendering/app_containers.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { act } from 'react-dom/test-utils'; import { mount } from 'enzyme'; diff --git a/src/core/public/rendering/app_containers.tsx b/src/core/public/rendering/app_containers.tsx index 68ae3a2ff3ba..dab85769bd0b 100644 --- a/src/core/public/rendering/app_containers.tsx +++ b/src/core/public/rendering/app_containers.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { Observable } from 'rxjs'; import useObservable from 'react-use/lib/useObservable'; diff --git a/src/core/public/rendering/index.ts b/src/core/public/rendering/index.ts index bf2705274a3d..a34984aeb42b 100644 --- a/src/core/public/rendering/index.ts +++ b/src/core/public/rendering/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { RenderingService } from './rendering_service'; diff --git a/src/core/public/rendering/rendering_service.mock.ts b/src/core/public/rendering/rendering_service.mock.ts index d5e9ad8ae724..d463e13b5a64 100644 --- a/src/core/public/rendering/rendering_service.mock.ts +++ b/src/core/public/rendering/rendering_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { RenderingService } from './rendering_service'; diff --git a/src/core/public/rendering/rendering_service.test.tsx b/src/core/public/rendering/rendering_service.test.tsx index 50dbe92b31d7..b47ffcfa4449 100644 --- a/src/core/public/rendering/rendering_service.test.tsx +++ b/src/core/public/rendering/rendering_service.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { act } from 'react-dom/test-utils'; diff --git a/src/core/public/rendering/rendering_service.tsx b/src/core/public/rendering/rendering_service.tsx index c230dfb2276f..ffb147bc39fc 100644 --- a/src/core/public/rendering/rendering_service.tsx +++ b/src/core/public/rendering/rendering_service.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/core/public/saved_objects/index.ts b/src/core/public/saved_objects/index.ts index 61543f3aec77..2f6230c9d32a 100644 --- a/src/core/public/saved_objects/index.ts +++ b/src/core/public/saved_objects/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SavedObjectsBatchResponse, SavedObjectsBulkCreateObject, diff --git a/src/core/public/saved_objects/saved_objects_client.test.ts b/src/core/public/saved_objects/saved_objects_client.test.ts index 07fac70b4b0d..3218fc24e049 100644 --- a/src/core/public/saved_objects/saved_objects_client.test.ts +++ b/src/core/public/saved_objects/saved_objects_client.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsClient } from './saved_objects_client'; import { SimpleSavedObject } from './simple_saved_object'; import { httpServiceMock } from '../http/http_service.mock'; diff --git a/src/core/public/saved_objects/saved_objects_client.ts b/src/core/public/saved_objects/saved_objects_client.ts index 85ccac59b541..d43b75b2171d 100644 --- a/src/core/public/saved_objects/saved_objects_client.ts +++ b/src/core/public/saved_objects/saved_objects_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { pick, throttle, cloneDeep } from 'lodash'; import { resolve as resolveUrl } from 'url'; import type { PublicMethodsOf } from '@osd/utility-types'; diff --git a/src/core/public/saved_objects/saved_objects_service.mock.ts b/src/core/public/saved_objects/saved_objects_service.mock.ts index 532536519367..47bd146058f7 100644 --- a/src/core/public/saved_objects/saved_objects_service.mock.ts +++ b/src/core/public/saved_objects/saved_objects_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsService, SavedObjectsStart } from './saved_objects_service'; const createStartContractMock = () => { diff --git a/src/core/public/saved_objects/saved_objects_service.ts b/src/core/public/saved_objects/saved_objects_service.ts index 165d7334aa5c..d848e33b7842 100644 --- a/src/core/public/saved_objects/saved_objects_service.ts +++ b/src/core/public/saved_objects/saved_objects_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreService } from 'src/core/types'; import { CoreStart } from 'src/core/public'; import { SavedObjectsClient, SavedObjectsClientContract } from './saved_objects_client'; diff --git a/src/core/public/saved_objects/simple_saved_object.test.ts b/src/core/public/saved_objects/simple_saved_object.test.ts index b7541ecddf9f..436b5c278e86 100644 --- a/src/core/public/saved_objects/simple_saved_object.test.ts +++ b/src/core/public/saved_objects/simple_saved_object.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObject } from '../../server'; import { SimpleSavedObject } from './simple_saved_object'; import { SavedObjectsClientContract } from './saved_objects_client'; diff --git a/src/core/public/saved_objects/simple_saved_object.ts b/src/core/public/saved_objects/simple_saved_object.ts index 9d0da3c2b4e1..fe0c66764008 100644 --- a/src/core/public/saved_objects/simple_saved_object.ts +++ b/src/core/public/saved_objects/simple_saved_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { set } from '@elastic/safer-lodash-set'; import { get, has } from 'lodash'; import { SavedObject as SavedObjectType } from '../../server'; diff --git a/src/core/public/types.ts b/src/core/public/types.ts index fd6bd27c7fee..0c1d6b70c728 100644 --- a/src/core/public/types.ts +++ b/src/core/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { UiSettingsParams, PublicUiSettingsParams, diff --git a/src/core/public/ui_settings/index.ts b/src/core/public/ui_settings/index.ts index c3842bb5f008..a3cfc389f401 100644 --- a/src/core/public/ui_settings/index.ts +++ b/src/core/public/ui_settings/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { UiSettingsService } from './ui_settings_service'; export { UiSettingsClient } from './ui_settings_client'; export { UiSettingsState, IUiSettingsClient } from './types'; diff --git a/src/core/public/ui_settings/types.ts b/src/core/public/ui_settings/types.ts index 9145f7d70655..7eca4cc68d81 100644 --- a/src/core/public/ui_settings/types.ts +++ b/src/core/public/ui_settings/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { PublicUiSettingsParams, UserProvidedValues } from 'src/core/server/types'; diff --git a/src/core/public/ui_settings/ui_settings_api.test.ts b/src/core/public/ui_settings/ui_settings_api.test.ts index 8c95ca7c32b8..490012c5f409 100644 --- a/src/core/public/ui_settings/ui_settings_api.test.ts +++ b/src/core/public/ui_settings/ui_settings_api.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-expect-error import fetchMock from 'fetch-mock/es5/client'; import * as Rx from 'rxjs'; diff --git a/src/core/public/ui_settings/ui_settings_api.ts b/src/core/public/ui_settings/ui_settings_api.ts index 91c3bd297c24..d8a68ac035a2 100644 --- a/src/core/public/ui_settings/ui_settings_api.ts +++ b/src/core/public/ui_settings/ui_settings_api.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { HttpSetup } from '../http'; diff --git a/src/core/public/ui_settings/ui_settings_client.test.ts b/src/core/public/ui_settings/ui_settings_client.test.ts index 9ecbe7a140eb..b297167439cc 100644 --- a/src/core/public/ui_settings/ui_settings_client.test.ts +++ b/src/core/public/ui_settings/ui_settings_client.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Subject } from 'rxjs'; import { materialize, take, toArray } from 'rxjs/operators'; diff --git a/src/core/public/ui_settings/ui_settings_client.ts b/src/core/public/ui_settings/ui_settings_client.ts index 74efc157833f..d2015468befa 100644 --- a/src/core/public/ui_settings/ui_settings_client.ts +++ b/src/core/public/ui_settings/ui_settings_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeep, defaultsDeep } from 'lodash'; import { Observable, Subject, concat, defer, of } from 'rxjs'; import { filter, map } from 'rxjs/operators'; diff --git a/src/core/public/ui_settings/ui_settings_service.mock.ts b/src/core/public/ui_settings/ui_settings_service.mock.ts index 74e1b486a395..8458c86d6774 100644 --- a/src/core/public/ui_settings/ui_settings_service.mock.ts +++ b/src/core/public/ui_settings/ui_settings_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import * as Rx from 'rxjs'; import type { PublicMethodsOf } from '@osd/utility-types'; import { UiSettingsService } from './'; diff --git a/src/core/public/ui_settings/ui_settings_service.test.ts b/src/core/public/ui_settings/ui_settings_service.test.ts index 15a6623e3cea..f7324f80ae37 100644 --- a/src/core/public/ui_settings/ui_settings_service.test.ts +++ b/src/core/public/ui_settings/ui_settings_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import * as Rx from 'rxjs'; import { httpServiceMock } from '../http/http_service.mock'; diff --git a/src/core/public/ui_settings/ui_settings_service.ts b/src/core/public/ui_settings/ui_settings_service.ts index 258e902b1c8f..9c677ff1c990 100644 --- a/src/core/public/ui_settings/ui_settings_service.ts +++ b/src/core/public/ui_settings/ui_settings_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Subject } from 'rxjs'; import { HttpSetup } from '../http'; diff --git a/src/core/public/utils/crypto/index.ts b/src/core/public/utils/crypto/index.ts index d3d80ed0f9c2..ba722a326bcd 100644 --- a/src/core/public/utils/crypto/index.ts +++ b/src/core/public/utils/crypto/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Sha256 } from './sha256'; diff --git a/src/core/public/utils/crypto/sha256.ts b/src/core/public/utils/crypto/sha256.ts index fdfa4a1bc80a..b51a7a0b69b3 100644 --- a/src/core/public/utils/crypto/sha256.ts +++ b/src/core/public/utils/crypto/sha256.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // ported from https://github.com/spalger/sha.js/blob/6557630d508873e262e94bff70c50bdd797c1df7/sha256.js // and https://github.com/spalger/sha.js/blob/6557630d508873e262e94bff70c50bdd797c1df7/hash.js diff --git a/src/core/public/utils/index.ts b/src/core/public/utils/index.ts index dc8793bc9dd6..7676b9482aac 100644 --- a/src/core/public/utils/index.ts +++ b/src/core/public/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { shareWeakReplay } from './share_weak_replay'; export { Sha256 } from './crypto'; export { MountWrapper, mountReactNode } from './mount'; diff --git a/src/core/public/utils/mount.test.tsx b/src/core/public/utils/mount.test.tsx index db416ea12583..49b933a5b2a4 100644 --- a/src/core/public/utils/mount.test.tsx +++ b/src/core/public/utils/mount.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount } from 'enzyme'; import { MountWrapper, mountReactNode } from './mount'; diff --git a/src/core/public/utils/mount.tsx b/src/core/public/utils/mount.tsx index a07e0b85438f..9ff2446a36c7 100644 --- a/src/core/public/utils/mount.tsx +++ b/src/core/public/utils/mount.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useRef } from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/core/public/utils/share_weak_replay.test.ts b/src/core/public/utils/share_weak_replay.test.ts index 9522ddafaf73..b03021da4f3f 100644 --- a/src/core/public/utils/share_weak_replay.test.ts +++ b/src/core/public/utils/share_weak_replay.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { map, materialize, take, toArray } from 'rxjs/operators'; diff --git a/src/core/public/utils/share_weak_replay.ts b/src/core/public/utils/share_weak_replay.ts index 09cf98c1b4a7..5cff5c7d817c 100644 --- a/src/core/public/utils/share_weak_replay.ts +++ b/src/core/public/utils/share_weak_replay.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { takeUntil } from 'rxjs/operators'; diff --git a/src/core/server/audit_trail/audit_trail_service.mock.ts b/src/core/server/audit_trail/audit_trail_service.mock.ts index cf7f20945cb2..9b0bc94be5b1 100644 --- a/src/core/server/audit_trail/audit_trail_service.mock.ts +++ b/src/core/server/audit_trail/audit_trail_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { AuditTrailSetup, AuditTrailStart, Auditor } from './types'; import { AuditTrailService } from './audit_trail_service'; diff --git a/src/core/server/audit_trail/audit_trail_service.test.ts b/src/core/server/audit_trail/audit_trail_service.test.ts index fdacd67d0604..7851dba2cee5 100644 --- a/src/core/server/audit_trail/audit_trail_service.test.ts +++ b/src/core/server/audit_trail/audit_trail_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AuditTrailService } from './audit_trail_service'; import { AuditorFactory } from './types'; import { mockCoreContext } from '../core_context.mock'; diff --git a/src/core/server/audit_trail/audit_trail_service.ts b/src/core/server/audit_trail/audit_trail_service.ts index 749b7247fed4..ead5840e521a 100644 --- a/src/core/server/audit_trail/audit_trail_service.ts +++ b/src/core/server/audit_trail/audit_trail_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CoreService } from '../../types'; import { CoreContext } from '../core_context'; import { Logger } from '../logging'; diff --git a/src/core/server/audit_trail/index.ts b/src/core/server/audit_trail/index.ts index ca284805c91e..35f7ecff1980 100644 --- a/src/core/server/audit_trail/index.ts +++ b/src/core/server/audit_trail/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { AuditTrailService } from './audit_trail_service'; export { AuditableEvent, Auditor, AuditorFactory, AuditTrailSetup, AuditTrailStart } from './types'; diff --git a/src/core/server/audit_trail/types.ts b/src/core/server/audit_trail/types.ts index 3368bbc9ea76..78f7e04ae305 100644 --- a/src/core/server/audit_trail/types.ts +++ b/src/core/server/audit_trail/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { OpenSearchDashboardsRequest } from '../http'; /** diff --git a/src/core/server/bootstrap.ts b/src/core/server/bootstrap.ts index fdf9ecdecbbf..b16d59683043 100644 --- a/src/core/server/bootstrap.ts +++ b/src/core/server/bootstrap.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import chalk from 'chalk'; import { isMaster } from 'cluster'; import { CliArgs, Env, RawConfigService } from './config'; diff --git a/src/core/server/capabilities/capabilities_service.mock.ts b/src/core/server/capabilities/capabilities_service.mock.ts index fd2f92768405..fb0785aac947 100644 --- a/src/core/server/capabilities/capabilities_service.mock.ts +++ b/src/core/server/capabilities/capabilities_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { CapabilitiesService, CapabilitiesSetup, CapabilitiesStart } from './capabilities_service'; import { Capabilities } from './types'; diff --git a/src/core/server/capabilities/capabilities_service.test.ts b/src/core/server/capabilities/capabilities_service.test.ts index 48b04a84e4ac..80e22fdb6721 100644 --- a/src/core/server/capabilities/capabilities_service.test.ts +++ b/src/core/server/capabilities/capabilities_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { httpServiceMock, InternalHttpServiceSetupMock } from '../http/http_service.mock'; import { mockRouter, RouterMock } from '../http/router/router.mock'; import { CapabilitiesService, CapabilitiesSetup } from './capabilities_service'; diff --git a/src/core/server/capabilities/capabilities_service.ts b/src/core/server/capabilities/capabilities_service.ts index 47662df277d0..b92166427271 100644 --- a/src/core/server/capabilities/capabilities_service.ts +++ b/src/core/server/capabilities/capabilities_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Capabilities, CapabilitiesProvider, CapabilitiesSwitcher } from './types'; import { CoreContext } from '../core_context'; import { Logger } from '../logging'; diff --git a/src/core/server/capabilities/index.ts b/src/core/server/capabilities/index.ts index ebc4d6c33a9b..65372ac500c5 100644 --- a/src/core/server/capabilities/index.ts +++ b/src/core/server/capabilities/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { CapabilitiesService, CapabilitiesSetup, CapabilitiesStart } from './capabilities_service'; export { Capabilities, CapabilitiesSwitcher, CapabilitiesProvider } from './types'; diff --git a/src/core/server/capabilities/integration_tests/capabilities_service.test.ts b/src/core/server/capabilities/integration_tests/capabilities_service.test.ts index e3fa2ba5f307..b60a067982e0 100644 --- a/src/core/server/capabilities/integration_tests/capabilities_service.test.ts +++ b/src/core/server/capabilities/integration_tests/capabilities_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import supertest from 'supertest'; import { REPO_ROOT } from '@osd/dev-utils'; import { HttpService, InternalHttpServiceSetup } from '../../http'; diff --git a/src/core/server/capabilities/merge_capabilities.test.ts b/src/core/server/capabilities/merge_capabilities.test.ts index 0a46d71ed1f8..8aa4734c8364 100644 --- a/src/core/server/capabilities/merge_capabilities.test.ts +++ b/src/core/server/capabilities/merge_capabilities.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mergeCapabilities } from './merge_capabilities'; describe('mergeCapabilities', () => { diff --git a/src/core/server/capabilities/merge_capabilities.ts b/src/core/server/capabilities/merge_capabilities.ts index cd0831f58e3c..b15b1b9a6045 100644 --- a/src/core/server/capabilities/merge_capabilities.ts +++ b/src/core/server/capabilities/merge_capabilities.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mergeWith } from 'lodash'; import { Capabilities } from './types'; diff --git a/src/core/server/capabilities/resolve_capabilities.test.ts b/src/core/server/capabilities/resolve_capabilities.test.ts index 364da5aaeca6..25968d858e7a 100644 --- a/src/core/server/capabilities/resolve_capabilities.test.ts +++ b/src/core/server/capabilities/resolve_capabilities.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Capabilities } from './types'; import { resolveCapabilities } from './resolve_capabilities'; import { OpenSearchDashboardsRequest } from '../http'; diff --git a/src/core/server/capabilities/resolve_capabilities.ts b/src/core/server/capabilities/resolve_capabilities.ts index ab2bb6cb902f..968726a7385a 100644 --- a/src/core/server/capabilities/resolve_capabilities.ts +++ b/src/core/server/capabilities/resolve_capabilities.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeep } from 'lodash'; import { Capabilities, CapabilitiesSwitcher } from './types'; import { OpenSearchDashboardsRequest } from '../http'; diff --git a/src/core/server/capabilities/routes/index.ts b/src/core/server/capabilities/routes/index.ts index f8681ab6ada3..88a9024b97a0 100644 --- a/src/core/server/capabilities/routes/index.ts +++ b/src/core/server/capabilities/routes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CapabilitiesResolver } from '../resolve_capabilities'; import { InternalHttpServiceSetup } from '../../http'; import { registerCapabilitiesRoutes } from './resolve_capabilities'; diff --git a/src/core/server/capabilities/routes/resolve_capabilities.ts b/src/core/server/capabilities/routes/resolve_capabilities.ts index 363d0a8fb1bc..6f06960988be 100644 --- a/src/core/server/capabilities/routes/resolve_capabilities.ts +++ b/src/core/server/capabilities/routes/resolve_capabilities.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { IRouter } from '../../http'; import { CapabilitiesResolver } from '../resolve_capabilities'; diff --git a/src/core/server/capabilities/types.ts b/src/core/server/capabilities/types.ts index 5555d1953067..38680df3c0d8 100644 --- a/src/core/server/capabilities/types.ts +++ b/src/core/server/capabilities/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Capabilities } from '../../types/capabilities'; import { OpenSearchDashboardsRequest } from '../http'; diff --git a/src/core/server/config/deprecation/core_deprecations.test.ts b/src/core/server/config/deprecation/core_deprecations.test.ts index ca920c7f08bf..b60ef00d0cc2 100644 --- a/src/core/server/config/deprecation/core_deprecations.test.ts +++ b/src/core/server/config/deprecation/core_deprecations.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { configDeprecationFactory, applyDeprecations } from '@osd/config'; import { coreDeprecationProvider } from './core_deprecations'; diff --git a/src/core/server/config/deprecation/core_deprecations.ts b/src/core/server/config/deprecation/core_deprecations.ts index 23d114ea0edf..a492ff4eb370 100644 --- a/src/core/server/config/deprecation/core_deprecations.ts +++ b/src/core/server/config/deprecation/core_deprecations.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { has, get } from 'lodash'; import { ConfigDeprecationProvider, ConfigDeprecation } from '@osd/config'; diff --git a/src/core/server/config/deprecation/index.ts b/src/core/server/config/deprecation/index.ts index 8afbf673877f..b5f37d948148 100644 --- a/src/core/server/config/deprecation/index.ts +++ b/src/core/server/config/deprecation/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { coreDeprecationProvider } from './core_deprecations'; diff --git a/src/core/server/config/index.ts b/src/core/server/config/index.ts index 216b1aec9ba0..7951d0cbd05e 100644 --- a/src/core/server/config/index.ts +++ b/src/core/server/config/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { coreDeprecationProvider } from './deprecation'; export { diff --git a/src/core/server/config/integration_tests/config_deprecation.test.mocks.ts b/src/core/server/config/integration_tests/config_deprecation.test.mocks.ts index 181753246cbe..0bda475e86d2 100644 --- a/src/core/server/config/integration_tests/config_deprecation.test.mocks.ts +++ b/src/core/server/config/integration_tests/config_deprecation.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { loggingSystemMock } from '../../logging/logging_system.mock'; export const mockLoggingSystem = loggingSystemMock.create(); mockLoggingSystem.asLoggerFactory.mockImplementation(() => mockLoggingSystem); diff --git a/src/core/server/config/integration_tests/config_deprecation.test.ts b/src/core/server/config/integration_tests/config_deprecation.test.ts index 5fb80acb0dcd..6d63624ede88 100644 --- a/src/core/server/config/integration_tests/config_deprecation.test.ts +++ b/src/core/server/config/integration_tests/config_deprecation.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockLoggingSystem } from './config_deprecation.test.mocks'; import { loggingSystemMock } from '../../logging/logging_system.mock'; import * as osdTestServer from '../../../test_helpers/osd_server'; diff --git a/src/core/server/config/mocks.ts b/src/core/server/config/mocks.ts index 68d3474acb18..0ed455454999 100644 --- a/src/core/server/config/mocks.ts +++ b/src/core/server/config/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getEnvOptions, rawConfigServiceMock, diff --git a/src/core/server/context/context_service.mock.ts b/src/core/server/context/context_service.mock.ts index c9cd5c6dd43c..bca65af52b4d 100644 --- a/src/core/server/context/context_service.mock.ts +++ b/src/core/server/context/context_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { ContextService, ContextSetup } from './context_service'; diff --git a/src/core/server/context/context_service.test.mocks.ts b/src/core/server/context/context_service.test.mocks.ts index 7edad0b1b26e..a1604318f6a5 100644 --- a/src/core/server/context/context_service.test.mocks.ts +++ b/src/core/server/context/context_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { contextMock } from '../../utils/context.mock'; export const MockContextConstructor = jest.fn(contextMock.create); diff --git a/src/core/server/context/context_service.test.ts b/src/core/server/context/context_service.test.ts index 4dce701d7955..7bac5dc68d64 100644 --- a/src/core/server/context/context_service.test.ts +++ b/src/core/server/context/context_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginOpaqueId } from '../../server'; import { MockContextConstructor } from './context_service.test.mocks'; import { ContextService } from './context_service'; diff --git a/src/core/server/context/context_service.ts b/src/core/server/context/context_service.ts index ee9b0dfd63bb..fd8ede37a832 100644 --- a/src/core/server/context/context_service.ts +++ b/src/core/server/context/context_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginOpaqueId } from '../../server'; import { IContextContainer, ContextContainer, HandlerFunction } from '../../utils/context'; import { CoreContext } from '../core_context'; diff --git a/src/core/server/context/index.ts b/src/core/server/context/index.ts index a00b6b0fc333..73a59d1f5579 100644 --- a/src/core/server/context/index.ts +++ b/src/core/server/context/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ContextService, ContextSetup } from './context_service'; export { IContextContainer, diff --git a/src/core/server/core_app/assets/legacy_dark_theme.css b/src/core/server/core_app/assets/legacy_dark_theme.css index 6b53ed783293..b79f3835acf1 100644 --- a/src/core/server/core_app/assets/legacy_dark_theme.css +++ b/src/core/server/core_app/assets/legacy_dark_theme.css @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /*! * Bootstrap v3.3.6 (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. diff --git a/src/core/server/core_app/assets/legacy_light_theme.css b/src/core/server/core_app/assets/legacy_light_theme.css index b81b8f0c2bb1..27252f6548fe 100644 --- a/src/core/server/core_app/assets/legacy_light_theme.css +++ b/src/core/server/core_app/assets/legacy_light_theme.css @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /*! * Bootstrap v3.3.6 (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. diff --git a/src/core/server/core_app/core_app.test.ts b/src/core/server/core_app/core_app.test.ts index 075e435c9b24..7e76bff630bb 100644 --- a/src/core/server/core_app/core_app.test.ts +++ b/src/core/server/core_app/core_app.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockCoreContext } from '../core_context.mock'; import { coreMock } from '../mocks'; import { httpResourcesMock } from '../http_resources/http_resources_service.mock'; diff --git a/src/core/server/core_app/core_app.ts b/src/core/server/core_app/core_app.ts index 7bd442ecd164..a28805af5e5c 100644 --- a/src/core/server/core_app/core_app.ts +++ b/src/core/server/core_app/core_app.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import Path from 'path'; import { fromRoot } from '../../../core/server/utils'; diff --git a/src/core/server/core_app/index.ts b/src/core/server/core_app/index.ts index 9c8c99d330ef..e8ced8bf4641 100644 --- a/src/core/server/core_app/index.ts +++ b/src/core/server/core_app/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { CoreApp } from './core_app'; diff --git a/src/core/server/core_app/integration_tests/default_route_provider_config.test.ts b/src/core/server/core_app/integration_tests/default_route_provider_config.test.ts index 124c2761a6d1..df2eeee1c989 100644 --- a/src/core/server/core_app/integration_tests/default_route_provider_config.test.ts +++ b/src/core/server/core_app/integration_tests/default_route_provider_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import * as osdTestServer from '../../../test_helpers/osd_server'; import { Root } from '../../root'; diff --git a/src/core/server/core_app/integration_tests/static_assets.test.ts b/src/core/server/core_app/integration_tests/static_assets.test.ts index a93f863e758c..241b4680937c 100644 --- a/src/core/server/core_app/integration_tests/static_assets.test.ts +++ b/src/core/server/core_app/integration_tests/static_assets.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import * as osdTestServer from '../../../test_helpers/osd_server'; import { Root } from '../../root'; diff --git a/src/core/server/core_context.mock.ts b/src/core/server/core_context.mock.ts index e5cc51f96558..b4f08e467cc1 100644 --- a/src/core/server/core_context.mock.ts +++ b/src/core/server/core_context.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { REPO_ROOT } from '@osd/dev-utils'; import { CoreContext } from './core_context'; import { Env, IConfigService } from './config'; diff --git a/src/core/server/core_context.ts b/src/core/server/core_context.ts index 890db9689d04..6c6474f51ea2 100644 --- a/src/core/server/core_context.ts +++ b/src/core/server/core_context.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IConfigService, Env } from './config'; import { LoggerFactory } from './logging'; diff --git a/src/core/server/core_route_handler_context.test.ts b/src/core/server/core_route_handler_context.test.ts index e614a0588077..e1e7bdadefbd 100644 --- a/src/core/server/core_route_handler_context.test.ts +++ b/src/core/server/core_route_handler_context.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CoreRouteHandlerContext } from './core_route_handler_context'; import { coreMock, httpServerMock } from './mocks'; diff --git a/src/core/server/core_route_handler_context.ts b/src/core/server/core_route_handler_context.ts index ecffc58426c2..92be535f61ab 100644 --- a/src/core/server/core_route_handler_context.ts +++ b/src/core/server/core_route_handler_context.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // eslint-disable-next-line max-classes-per-file import { InternalCoreStart } from './internal_types'; import { OpenSearchDashboardsRequest } from './http/router'; diff --git a/src/core/server/core_usage_data/core_usage_data_service.mock.ts b/src/core/server/core_usage_data/core_usage_data_service.mock.ts index 0d6b54ba65f7..becea6f17c80 100644 --- a/src/core/server/core_usage_data/core_usage_data_service.mock.ts +++ b/src/core/server/core_usage_data/core_usage_data_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PublicMethodsOf } from '@osd/utility-types'; import { BehaviorSubject } from 'rxjs'; import { CoreUsageDataService } from './core_usage_data_service'; diff --git a/src/core/server/core_usage_data/core_usage_data_service.test.ts b/src/core/server/core_usage_data/core_usage_data_service.test.ts index c51e3bc9a3ee..ff3b0f1a1134 100644 --- a/src/core/server/core_usage_data/core_usage_data_service.test.ts +++ b/src/core/server/core_usage_data/core_usage_data_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject, Observable } from 'rxjs'; import { HotObservable } from 'rxjs/internal/testing/HotObservable'; import { TestScheduler } from 'rxjs/testing'; diff --git a/src/core/server/core_usage_data/core_usage_data_service.ts b/src/core/server/core_usage_data/core_usage_data_service.ts index 22259f4d296b..10a86c7b1417 100644 --- a/src/core/server/core_usage_data/core_usage_data_service.ts +++ b/src/core/server/core_usage_data/core_usage_data_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; diff --git a/src/core/server/core_usage_data/index.ts b/src/core/server/core_usage_data/index.ts index 584deaab3c7e..f98ae0f68bc4 100644 --- a/src/core/server/core_usage_data/index.ts +++ b/src/core/server/core_usage_data/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { CoreUsageDataStart } from './types'; export { CoreUsageDataService } from './core_usage_data_service'; diff --git a/src/core/server/core_usage_data/is_configured.test.ts b/src/core/server/core_usage_data/is_configured.test.ts index 0aaad65c3db5..a1ab3fe69557 100644 --- a/src/core/server/core_usage_data/is_configured.test.ts +++ b/src/core/server/core_usage_data/is_configured.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isConfigured } from './is_configured'; describe('isConfigured', () => { diff --git a/src/core/server/core_usage_data/is_configured.ts b/src/core/server/core_usage_data/is_configured.ts index bcd11fc4095d..997a26d65287 100644 --- a/src/core/server/core_usage_data/is_configured.ts +++ b/src/core/server/core_usage_data/is_configured.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isEqual } from 'lodash'; /** diff --git a/src/core/server/core_usage_data/types.ts b/src/core/server/core_usage_data/types.ts index 419e4bd94c84..6f02bbef8450 100644 --- a/src/core/server/core_usage_data/types.ts +++ b/src/core/server/core_usage_data/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Type describing Core's usage data payload * @internal diff --git a/src/core/server/csp/config.ts b/src/core/server/csp/config.ts index a16d634acfb9..3cb120b47730 100644 --- a/src/core/server/csp/config.ts +++ b/src/core/server/csp/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TypeOf, schema } from '@osd/config-schema'; /** diff --git a/src/core/server/csp/csp_config.test.ts b/src/core/server/csp/csp_config.test.ts index a9fce8f237d9..cd452a7d8c42 100644 --- a/src/core/server/csp/csp_config.test.ts +++ b/src/core/server/csp/csp_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CspConfig } from '.'; // CSP rules aren't strictly additive, so any change can potentially expand or diff --git a/src/core/server/csp/csp_config.ts b/src/core/server/csp/csp_config.ts index a70f85f76eb5..b4a85c48a829 100644 --- a/src/core/server/csp/csp_config.ts +++ b/src/core/server/csp/csp_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { config } from './config'; const DEFAULT_CONFIG = Object.freeze(config.schema.validate({})); diff --git a/src/core/server/csp/index.ts b/src/core/server/csp/index.ts index 96543380d613..8bb3505ca834 100644 --- a/src/core/server/csp/index.ts +++ b/src/core/server/csp/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CspConfig, ICspConfig } from './csp_config'; import { CspConfigType, config } from './config'; diff --git a/src/core/server/dev/dev_config.ts b/src/core/server/dev/dev_config.ts index 026713ec680d..26e410076d8f 100644 --- a/src/core/server/dev/dev_config.ts +++ b/src/core/server/dev/dev_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export const config = { diff --git a/src/core/server/dev/index.ts b/src/core/server/dev/index.ts index 1f787c97d352..074ae45928ee 100644 --- a/src/core/server/dev/index.ts +++ b/src/core/server/dev/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { config, DevConfig, DevConfigType } from './dev_config'; diff --git a/src/core/server/environment/create_data_folder.test.ts b/src/core/server/environment/create_data_folder.test.ts index 591c4719c11f..bc5df0daaffd 100644 --- a/src/core/server/environment/create_data_folder.test.ts +++ b/src/core/server/environment/create_data_folder.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PathConfigType } from '@osd/utils'; import { createDataFolder } from './create_data_folder'; import { mkdir } from './fs'; diff --git a/src/core/server/environment/create_data_folder.ts b/src/core/server/environment/create_data_folder.ts index aa4b1c4290af..6683dd79a33d 100644 --- a/src/core/server/environment/create_data_folder.ts +++ b/src/core/server/environment/create_data_folder.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PathConfigType } from '@osd/utils'; import { mkdir } from './fs'; import { Logger } from '../logging'; diff --git a/src/core/server/environment/environment_service.mock.ts b/src/core/server/environment/environment_service.mock.ts index 24d438eeb124..bbdb8f7b2c60 100644 --- a/src/core/server/environment/environment_service.mock.ts +++ b/src/core/server/environment/environment_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { EnvironmentService, InternalEnvironmentServiceSetup } from './environment_service'; diff --git a/src/core/server/environment/environment_service.test.ts b/src/core/server/environment/environment_service.test.ts index cb7bb656b4cc..82de5546f805 100644 --- a/src/core/server/environment/environment_service.test.ts +++ b/src/core/server/environment/environment_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { EnvironmentService } from './environment_service'; diff --git a/src/core/server/environment/environment_service.ts b/src/core/server/environment/environment_service.ts index c1b64c1c2561..001b1472f52c 100644 --- a/src/core/server/environment/environment_service.ts +++ b/src/core/server/environment/environment_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { take } from 'rxjs/operators'; import { PathConfigType, config as pathConfigDef } from '@osd/utils'; import { CoreContext } from '../core_context'; diff --git a/src/core/server/environment/fs.ts b/src/core/server/environment/fs.ts index 6f42dcec00c0..778a7cfc6570 100644 --- a/src/core/server/environment/fs.ts +++ b/src/core/server/environment/fs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import { promisify } from 'util'; diff --git a/src/core/server/environment/index.ts b/src/core/server/environment/index.ts index b866192c5153..d630b5ca3530 100644 --- a/src/core/server/environment/index.ts +++ b/src/core/server/environment/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { EnvironmentService, InternalEnvironmentServiceSetup } from './environment_service'; export { config, PidConfigType } from './pid_config'; diff --git a/src/core/server/environment/pid_config.ts b/src/core/server/environment/pid_config.ts index 455a9df47483..55bbda5094d3 100644 --- a/src/core/server/environment/pid_config.ts +++ b/src/core/server/environment/pid_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TypeOf, schema } from '@osd/config-schema'; export const config = { diff --git a/src/core/server/environment/resolve_uuid.test.ts b/src/core/server/environment/resolve_uuid.test.ts index 7e36a5354bf0..51ad2894355f 100644 --- a/src/core/server/environment/resolve_uuid.test.ts +++ b/src/core/server/environment/resolve_uuid.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { join } from 'path'; import { PathConfigType } from '@osd/utils'; import { loggingSystemMock } from '../logging/logging_system.mock'; diff --git a/src/core/server/environment/resolve_uuid.ts b/src/core/server/environment/resolve_uuid.ts index 5a7582f87cc5..b7853f433852 100644 --- a/src/core/server/environment/resolve_uuid.ts +++ b/src/core/server/environment/resolve_uuid.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import uuid from 'uuid'; import { join } from 'path'; import { PathConfigType } from '@osd/utils'; diff --git a/src/core/server/environment/write_pid_file.test.ts b/src/core/server/environment/write_pid_file.test.ts index 54c9ba2b9b3e..4146d0fc3378 100644 --- a/src/core/server/environment/write_pid_file.test.ts +++ b/src/core/server/environment/write_pid_file.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { writeFile, exists } from './fs'; import { writePidFile } from './write_pid_file'; import { loggingSystemMock } from '../logging/logging_system.mock'; diff --git a/src/core/server/environment/write_pid_file.ts b/src/core/server/environment/write_pid_file.ts index 0754f09880ed..c09be27e6242 100644 --- a/src/core/server/environment/write_pid_file.ts +++ b/src/core/server/environment/write_pid_file.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { unlinkSync as unlink } from 'fs'; import once from 'lodash/once'; import { Logger } from '../logging'; diff --git a/src/core/server/errors.ts b/src/core/server/errors.ts index 5c7fcbaf6c48..bf8e60b2e111 100644 --- a/src/core/server/errors.ts +++ b/src/core/server/errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export class CriticalError extends Error { constructor( message: string, diff --git a/src/core/server/http/auth_headers_storage.test.ts b/src/core/server/http/auth_headers_storage.test.ts index 9b086d078bf6..6c99dd252ff9 100644 --- a/src/core/server/http/auth_headers_storage.test.ts +++ b/src/core/server/http/auth_headers_storage.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { AuthHeadersStorage } from './auth_headers_storage'; import { OpenSearchDashboardsRequest } from './router'; import { httpServerMock } from './http_server.mocks'; diff --git a/src/core/server/http/auth_headers_storage.ts b/src/core/server/http/auth_headers_storage.ts index 401600f54e93..c74af0c0022a 100644 --- a/src/core/server/http/auth_headers_storage.ts +++ b/src/core/server/http/auth_headers_storage.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { OpenSearchDashboardsRequest, ensureRawRequest, LegacyRequest } from './router'; import { AuthHeaders } from './lifecycle/auth'; diff --git a/src/core/server/http/auth_state_storage.ts b/src/core/server/http/auth_state_storage.ts index 673b065f126e..d30bddbcf86d 100644 --- a/src/core/server/http/auth_state_storage.ts +++ b/src/core/server/http/auth_state_storage.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { ensureRawRequest, OpenSearchDashboardsRequest, LegacyRequest } from './router'; /** diff --git a/src/core/server/http/base_path_proxy_server.ts b/src/core/server/http/base_path_proxy_server.ts index 054a9dcceea9..7df5a1e6d301 100644 --- a/src/core/server/http/base_path_proxy_server.ts +++ b/src/core/server/http/base_path_proxy_server.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Url from 'url'; import { Agent as HttpsAgent, ServerOptions as TlsOptions } from 'https'; diff --git a/src/core/server/http/base_path_service.test.ts b/src/core/server/http/base_path_service.test.ts index 234e2a93d531..cefa90577389 100644 --- a/src/core/server/http/base_path_service.test.ts +++ b/src/core/server/http/base_path_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BasePath } from './base_path_service'; import { OpenSearchDashboardsRequest } from './router'; import { httpServerMock } from './http_server.mocks'; diff --git a/src/core/server/http/base_path_service.ts b/src/core/server/http/base_path_service.ts index 70d8a18a67f5..e3376dd0c06c 100644 --- a/src/core/server/http/base_path_service.ts +++ b/src/core/server/http/base_path_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { modifyUrl } from '@osd/std'; import { ensureRawRequest, OpenSearchDashboardsRequest, LegacyRequest } from './router'; diff --git a/src/core/server/http/cookie_session_storage.mocks.ts b/src/core/server/http/cookie_session_storage.mocks.ts index c264a12ce0dc..650fca928a0f 100644 --- a/src/core/server/http/cookie_session_storage.mocks.ts +++ b/src/core/server/http/cookie_session_storage.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SessionStorageFactory, SessionStorage } from './session_storage'; const createSessionStorageMock = (): jest.Mocked> => ({ diff --git a/src/core/server/http/cookie_session_storage.test.ts b/src/core/server/http/cookie_session_storage.test.ts index a08cf4ead2a2..ce0161f04e22 100644 --- a/src/core/server/http/cookie_session_storage.test.ts +++ b/src/core/server/http/cookie_session_storage.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parse as parseCookie } from 'tough-cookie'; import supertest from 'supertest'; import { REPO_ROOT } from '@osd/dev-utils'; diff --git a/src/core/server/http/cookie_session_storage.ts b/src/core/server/http/cookie_session_storage.ts index 98990a89a8e4..0b615b488856 100644 --- a/src/core/server/http/cookie_session_storage.ts +++ b/src/core/server/http/cookie_session_storage.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Request, Server } from '@hapi/hapi'; import hapiAuthCookie from '@hapi/cookie'; diff --git a/src/core/server/http/http_config.test.ts b/src/core/server/http/http_config.test.ts index a3a537ae5aec..d5ce86228774 100644 --- a/src/core/server/http/http_config.test.ts +++ b/src/core/server/http/http_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import uuid from 'uuid'; import { config, HttpConfig } from './http_config'; import { CspConfig } from '../csp'; diff --git a/src/core/server/http/http_config.ts b/src/core/server/http/http_config.ts index 4aeb13e16cfe..38d9e755ef30 100644 --- a/src/core/server/http/http_config.ts +++ b/src/core/server/http/http_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ByteSizeValue, schema, TypeOf } from '@osd/config-schema'; import { hostname } from 'os'; diff --git a/src/core/server/http/http_server.mocks.ts b/src/core/server/http/http_server.mocks.ts index c0453db8c7bf..8e50e331200d 100644 --- a/src/core/server/http/http_server.mocks.ts +++ b/src/core/server/http/http_server.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { URL, format as formatUrl } from 'url'; import { Request } from '@hapi/hapi'; import { merge } from 'lodash'; diff --git a/src/core/server/http/http_server.test.ts b/src/core/server/http/http_server.test.ts index 43f2842dcf1b..3663d4e432a2 100644 --- a/src/core/server/http/http_server.test.ts +++ b/src/core/server/http/http_server.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Server } from 'http'; import { readFileSync } from 'fs'; import supertest from 'supertest'; diff --git a/src/core/server/http/http_server.ts b/src/core/server/http/http_server.ts index 061d9d739647..dc3727662c77 100644 --- a/src/core/server/http/http_server.ts +++ b/src/core/server/http/http_server.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Server } from '@hapi/hapi'; import HapiStaticFiles from '@hapi/inert'; import url from 'url'; diff --git a/src/core/server/http/http_service.mock.ts b/src/core/server/http/http_service.mock.ts index 29b3b493c8c1..5a35be5d3c33 100644 --- a/src/core/server/http/http_service.mock.ts +++ b/src/core/server/http/http_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Server } from '@hapi/hapi'; import type { PublicMethodsOf } from '@osd/utility-types'; diff --git a/src/core/server/http/http_service.test.mocks.ts b/src/core/server/http/http_service.test.mocks.ts index 13c34cd3fc9f..748bbff78483 100644 --- a/src/core/server/http/http_service.test.mocks.ts +++ b/src/core/server/http/http_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const mockHttpServer = jest.fn(); jest.mock('./http_server', () => { diff --git a/src/core/server/http/http_service.test.ts b/src/core/server/http/http_service.test.ts index 5d850548534e..a261cd7bd3de 100644 --- a/src/core/server/http/http_service.test.ts +++ b/src/core/server/http/http_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockHttpServer } from './http_service.test.mocks'; import { noop } from 'lodash'; diff --git a/src/core/server/http/http_service.ts b/src/core/server/http/http_service.ts index a119396cf6eb..6fd900b51363 100644 --- a/src/core/server/http/http_service.ts +++ b/src/core/server/http/http_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable, Subscription, combineLatest } from 'rxjs'; import { first, map } from 'rxjs/operators'; import { Server } from '@hapi/hapi'; diff --git a/src/core/server/http/http_tools.test.ts b/src/core/server/http/http_tools.test.ts index 5ce6eb80b755..0759e4f2430d 100644 --- a/src/core/server/http/http_tools.test.ts +++ b/src/core/server/http/http_tools.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('fs', () => { const original = jest.requireActual('fs'); return { diff --git a/src/core/server/http/http_tools.ts b/src/core/server/http/http_tools.ts index 732e55797493..d0136500c7b0 100644 --- a/src/core/server/http/http_tools.ts +++ b/src/core/server/http/http_tools.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Lifecycle, Request, ResponseToolkit, Server, ServerOptions, Util } from '@hapi/hapi'; import Hoek from '@hapi/hoek'; import { ServerOptions as TLSOptions } from 'https'; diff --git a/src/core/server/http/https_redirect_server.test.ts b/src/core/server/http/https_redirect_server.test.ts index 9fb51891a0ec..841fb95ed5fb 100644 --- a/src/core/server/http/https_redirect_server.test.ts +++ b/src/core/server/http/https_redirect_server.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('fs', () => ({ readFileSync: jest.fn(), })); diff --git a/src/core/server/http/https_redirect_server.ts b/src/core/server/http/https_redirect_server.ts index 895daecd72e7..e0747466a389 100644 --- a/src/core/server/http/https_redirect_server.ts +++ b/src/core/server/http/https_redirect_server.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Request, ResponseToolkit, Server } from '@hapi/hapi'; import { format as formatUrl } from 'url'; diff --git a/src/core/server/http/index.ts b/src/core/server/http/index.ts index dd2bc387f3a5..14397456afd6 100644 --- a/src/core/server/http/index.ts +++ b/src/core/server/http/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { config, HttpConfig, HttpConfigType } from './http_config'; export { HttpService } from './http_service'; export { GetAuthHeaders } from './auth_headers_storage'; diff --git a/src/core/server/http/integration_tests/core_service.test.mocks.ts b/src/core/server/http/integration_tests/core_service.test.mocks.ts index 79335157cde6..2ef4f3ae2296 100644 --- a/src/core/server/http/integration_tests/core_service.test.mocks.ts +++ b/src/core/server/http/integration_tests/core_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { opensearchServiceMock } from '../../opensearch/opensearch_service.mock'; export const MockLegacyScopedClusterClient = jest.fn(); diff --git a/src/core/server/http/integration_tests/core_services.test.ts b/src/core/server/http/integration_tests/core_services.test.ts index 5d74a059b824..c489d98cf708 100644 --- a/src/core/server/http/integration_tests/core_services.test.ts +++ b/src/core/server/http/integration_tests/core_services.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MockLegacyScopedClusterClient, MockOpenSearchClient, diff --git a/src/core/server/http/integration_tests/lifecycle.test.ts b/src/core/server/http/integration_tests/lifecycle.test.ts index 83b6a55fafa6..17fc7f74062a 100644 --- a/src/core/server/http/integration_tests/lifecycle.test.ts +++ b/src/core/server/http/integration_tests/lifecycle.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import supertest from 'supertest'; import { parse as parseCookie } from 'tough-cookie'; import { schema } from '@osd/config-schema'; diff --git a/src/core/server/http/integration_tests/lifecycle_handlers.test.ts b/src/core/server/http/integration_tests/lifecycle_handlers.test.ts index 638ffbe131b9..fc13c1ae3fbb 100644 --- a/src/core/server/http/integration_tests/lifecycle_handlers.test.ts +++ b/src/core/server/http/integration_tests/lifecycle_handlers.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import supertest from 'supertest'; import { BehaviorSubject } from 'rxjs'; import { ByteSizeValue } from '@osd/config-schema'; diff --git a/src/core/server/http/integration_tests/request.test.ts b/src/core/server/http/integration_tests/request.test.ts index 7173ec9ad603..45eebb540553 100644 --- a/src/core/server/http/integration_tests/request.test.ts +++ b/src/core/server/http/integration_tests/request.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('uuid', () => ({ v4: jest.fn().mockReturnValue('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'), })); diff --git a/src/core/server/http/integration_tests/router.test.ts b/src/core/server/http/integration_tests/router.test.ts index caac880474cd..b1785042691f 100644 --- a/src/core/server/http/integration_tests/router.test.ts +++ b/src/core/server/http/integration_tests/router.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Stream } from 'stream'; import Boom from '@hapi/boom'; import supertest from 'supertest'; diff --git a/src/core/server/http/lifecycle/auth.ts b/src/core/server/http/lifecycle/auth.ts index 24977ee7cfd6..8c8e91882940 100644 --- a/src/core/server/http/lifecycle/auth.ts +++ b/src/core/server/http/lifecycle/auth.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Lifecycle, Request, ResponseToolkit } from '@hapi/hapi'; import { Logger } from '../../logging'; import { diff --git a/src/core/server/http/lifecycle/on_post_auth.ts b/src/core/server/http/lifecycle/on_post_auth.ts index aeef8a77f1b5..456e7ae24582 100644 --- a/src/core/server/http/lifecycle/on_post_auth.ts +++ b/src/core/server/http/lifecycle/on_post_auth.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Lifecycle, Request, ResponseToolkit as HapiResponseToolkit } from '@hapi/hapi'; import { Logger } from '../../logging'; import { diff --git a/src/core/server/http/lifecycle/on_pre_auth.ts b/src/core/server/http/lifecycle/on_pre_auth.ts index 955593b2f28a..fe20d3281469 100644 --- a/src/core/server/http/lifecycle/on_pre_auth.ts +++ b/src/core/server/http/lifecycle/on_pre_auth.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Lifecycle, Request, ResponseToolkit as HapiResponseToolkit } from '@hapi/hapi'; import { Logger } from '../../logging'; import { diff --git a/src/core/server/http/lifecycle/on_pre_response.ts b/src/core/server/http/lifecycle/on_pre_response.ts index 882cd2e8cd4f..19aceb81969d 100644 --- a/src/core/server/http/lifecycle/on_pre_response.ts +++ b/src/core/server/http/lifecycle/on_pre_response.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Lifecycle, Request, diff --git a/src/core/server/http/lifecycle/on_pre_routing.ts b/src/core/server/http/lifecycle/on_pre_routing.ts index bee7f6793e21..968894020c52 100644 --- a/src/core/server/http/lifecycle/on_pre_routing.ts +++ b/src/core/server/http/lifecycle/on_pre_routing.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Lifecycle, Request, ResponseToolkit as HapiResponseToolkit } from '@hapi/hapi'; import { Logger } from '../../logging'; import { diff --git a/src/core/server/http/lifecycle_handlers.test.ts b/src/core/server/http/lifecycle_handlers.test.ts index 3de9d14d566f..6a49bbfa14fa 100644 --- a/src/core/server/http/lifecycle_handlers.test.ts +++ b/src/core/server/http/lifecycle_handlers.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createCustomHeadersPreResponseHandler, createVersionCheckPostAuthHandler, diff --git a/src/core/server/http/lifecycle_handlers.ts b/src/core/server/http/lifecycle_handlers.ts index 56d57bafe0ae..636bb8af4522 100644 --- a/src/core/server/http/lifecycle_handlers.ts +++ b/src/core/server/http/lifecycle_handlers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OnPostAuthHandler } from './lifecycle/on_post_auth'; import { OnPreResponseHandler } from './lifecycle/on_pre_response'; import { HttpConfig } from './http_config'; diff --git a/src/core/server/http/prototype_pollution/index.ts b/src/core/server/http/prototype_pollution/index.ts index 33dd0d173a5f..d02373531961 100644 --- a/src/core/server/http/prototype_pollution/index.ts +++ b/src/core/server/http/prototype_pollution/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { validateObject } from './validate_object'; diff --git a/src/core/server/http/prototype_pollution/validate_object.test.ts b/src/core/server/http/prototype_pollution/validate_object.test.ts index d52701f39b71..ed86feeacfd8 100644 --- a/src/core/server/http/prototype_pollution/validate_object.test.ts +++ b/src/core/server/http/prototype_pollution/validate_object.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { validateObject } from './validate_object'; test(`fails on circular references`, () => { diff --git a/src/core/server/http/prototype_pollution/validate_object.ts b/src/core/server/http/prototype_pollution/validate_object.ts index 8310644de281..5d0e73f5dff2 100644 --- a/src/core/server/http/prototype_pollution/validate_object.ts +++ b/src/core/server/http/prototype_pollution/validate_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - interface StackItem { value: any; previousKey: string | null; diff --git a/src/core/server/http/router/error_wrapper.test.ts b/src/core/server/http/router/error_wrapper.test.ts index c165331df1ff..f6aecb1b8c55 100644 --- a/src/core/server/http/router/error_wrapper.test.ts +++ b/src/core/server/http/router/error_wrapper.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Boom from '@hapi/boom'; import { OpenSearchDashboardsResponse, diff --git a/src/core/server/http/router/error_wrapper.ts b/src/core/server/http/router/error_wrapper.ts index 97c9cd49350b..f81532562a9a 100644 --- a/src/core/server/http/router/error_wrapper.ts +++ b/src/core/server/http/router/error_wrapper.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Boom from '@hapi/boom'; import { RequestHandlerWrapper } from './router'; diff --git a/src/core/server/http/router/headers.ts b/src/core/server/http/router/headers.ts index f04943b4e5b6..269eb421e38d 100644 --- a/src/core/server/http/router/headers.ts +++ b/src/core/server/http/router/headers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { IncomingHttpHeaders } from 'http'; import { pick } from '@osd/std'; diff --git a/src/core/server/http/router/index.ts b/src/core/server/http/router/index.ts index dd7314334060..aa5f31bface1 100644 --- a/src/core/server/http/router/index.ts +++ b/src/core/server/http/router/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Headers, filterHeaders, ResponseHeaders, KnownHeaders } from './headers'; export { Router, RequestHandler, RequestHandlerWrapper, IRouter, RouteRegistrar } from './router'; export { diff --git a/src/core/server/http/router/request.test.ts b/src/core/server/http/router/request.test.ts index 0ef2ba06411b..a7952ab3637b 100644 --- a/src/core/server/http/router/request.test.ts +++ b/src/core/server/http/router/request.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('uuid', () => ({ v4: jest.fn().mockReturnValue('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'), })); diff --git a/src/core/server/http/router/request.ts b/src/core/server/http/router/request.ts index 7601964038af..0091a320bd63 100644 --- a/src/core/server/http/router/request.ts +++ b/src/core/server/http/router/request.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { URL } from 'url'; import uuid from 'uuid'; import { Request, RouteOptionsApp, RequestApplicationState } from '@hapi/hapi'; diff --git a/src/core/server/http/router/response.ts b/src/core/server/http/router/response.ts index 608c45e0bba7..c38c58f3ba1c 100644 --- a/src/core/server/http/router/response.ts +++ b/src/core/server/http/router/response.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/http/router/response_adapter.ts b/src/core/server/http/router/response_adapter.ts index 8506c1870645..08dcaf1e9c60 100644 --- a/src/core/server/http/router/response_adapter.ts +++ b/src/core/server/http/router/response_adapter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ResponseObject as HapiResponseObject, ResponseToolkit as HapiResponseToolkit, diff --git a/src/core/server/http/router/route.ts b/src/core/server/http/router/route.ts index b88f95d4fd28..59ff0f04005e 100644 --- a/src/core/server/http/router/route.ts +++ b/src/core/server/http/router/route.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { RouteValidatorFullConfig } from './validator'; export function isSafeMethod(method: RouteMethod): method is SafeRouteMethod { diff --git a/src/core/server/http/router/router.mock.ts b/src/core/server/http/router/router.mock.ts index c29cf1b9d539..f0defe7b4783 100644 --- a/src/core/server/http/router/router.mock.ts +++ b/src/core/server/http/router/router.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IRouter } from './router'; export type RouterMock = jest.Mocked; diff --git a/src/core/server/http/router/router.test.ts b/src/core/server/http/router/router.test.ts index 4dbe21944d39..26fbc9c199e4 100644 --- a/src/core/server/http/router/router.test.ts +++ b/src/core/server/http/router/router.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Router } from './router'; import { loggingSystemMock } from '../../logging/logging_system.mock'; import { schema } from '@osd/config-schema'; diff --git a/src/core/server/http/router/router.ts b/src/core/server/http/router/router.ts index 5901093ba44c..a426eef40e7a 100644 --- a/src/core/server/http/router/router.ts +++ b/src/core/server/http/router/router.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Request, ResponseObject, ResponseToolkit } from '@hapi/hapi'; import Boom from '@hapi/boom'; diff --git a/src/core/server/http/router/socket.test.ts b/src/core/server/http/router/socket.test.ts index 7dff65581c94..26433ca15ee4 100644 --- a/src/core/server/http/router/socket.test.ts +++ b/src/core/server/http/router/socket.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Socket } from 'net'; import { DetailedPeerCertificate, TLSSocket } from 'tls'; import { OpenSearchDashboardsSocket } from './socket'; diff --git a/src/core/server/http/router/socket.ts b/src/core/server/http/router/socket.ts index 90dfbf237298..84cf55aa78ad 100644 --- a/src/core/server/http/router/socket.ts +++ b/src/core/server/http/router/socket.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Socket } from 'net'; import { DetailedPeerCertificate, PeerCertificate, TLSSocket } from 'tls'; diff --git a/src/core/server/http/router/validator/index.ts b/src/core/server/http/router/validator/index.ts index 25dd59661ac3..ff9f13ade87c 100644 --- a/src/core/server/http/router/validator/index.ts +++ b/src/core/server/http/router/validator/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { RouteValidator, RouteValidatorConfig, diff --git a/src/core/server/http/router/validator/validator.test.ts b/src/core/server/http/router/validator/validator.test.ts index ae20d2c688f7..bda6da118efd 100644 --- a/src/core/server/http/router/validator/validator.test.ts +++ b/src/core/server/http/router/validator/validator.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { RouteValidationError, RouteValidator } from './'; import { schema, Type } from '@osd/config-schema'; diff --git a/src/core/server/http/router/validator/validator.ts b/src/core/server/http/router/validator/validator.ts index 5a1f5814c510..d82bef3b6e1e 100644 --- a/src/core/server/http/router/validator/validator.ts +++ b/src/core/server/http/router/validator/validator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ValidationError, ObjectType, Type, schema, isConfigSchema } from '@osd/config-schema'; import { Stream } from 'stream'; import { RouteValidationError } from './validator_error'; diff --git a/src/core/server/http/router/validator/validator_error.ts b/src/core/server/http/router/validator/validator_error.ts index e8611b129d1c..ef11bf1ae3d5 100644 --- a/src/core/server/http/router/validator/validator_error.ts +++ b/src/core/server/http/router/validator/validator_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SchemaTypeError } from '@osd/config-schema'; /** diff --git a/src/core/server/http/session_storage.ts b/src/core/server/http/session_storage.ts index 9362bdc63f59..c1e2eaf4fc30 100644 --- a/src/core/server/http/session_storage.ts +++ b/src/core/server/http/session_storage.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchDashboardsRequest } from './router'; /** * Provides an interface to store and retrieve data across requests. diff --git a/src/core/server/http/ssl_config.test.mocks.ts b/src/core/server/http/ssl_config.test.mocks.ts index 3d5e92805058..9779846494e5 100644 --- a/src/core/server/http/ssl_config.test.mocks.ts +++ b/src/core/server/http/ssl_config.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const mockReadFileSync = jest.fn(); jest.mock('fs', () => { return { readFileSync: mockReadFileSync }; diff --git a/src/core/server/http/ssl_config.test.ts b/src/core/server/http/ssl_config.test.ts index 1f2af7b83445..db83e44e282b 100644 --- a/src/core/server/http/ssl_config.test.ts +++ b/src/core/server/http/ssl_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockReadFileSync, mockReadPkcs12Keystore, diff --git a/src/core/server/http/ssl_config.ts b/src/core/server/http/ssl_config.ts index 9265512c114d..8887c14a13e4 100644 --- a/src/core/server/http/ssl_config.ts +++ b/src/core/server/http/ssl_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; import crypto from 'crypto'; import { readFileSync } from 'fs'; diff --git a/src/core/server/http/test_utils.ts b/src/core/server/http/test_utils.ts index 843c71dfbd83..bf2063368cd7 100644 --- a/src/core/server/http/test_utils.ts +++ b/src/core/server/http/test_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { REPO_ROOT } from '@osd/dev-utils'; import { ByteSizeValue } from '@osd/config-schema'; diff --git a/src/core/server/http/types.ts b/src/core/server/http/types.ts index 499b2b07bfa2..beb744f006f0 100644 --- a/src/core/server/http/types.ts +++ b/src/core/server/http/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { IContextProvider, IContextContainer } from '../context'; import { ICspConfig } from '../csp'; import { GetAuthState, IsAuthenticated } from './auth_state_storage'; diff --git a/src/core/server/http_resources/http_resources_service.mock.ts b/src/core/server/http_resources/http_resources_service.mock.ts index 5046fc7558b7..5959e9cffa05 100644 --- a/src/core/server/http_resources/http_resources_service.mock.ts +++ b/src/core/server/http_resources/http_resources_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { httpServerMock } from '../http/http_server.mocks'; import { HttpResources, HttpResourcesServiceToolkit } from './types'; diff --git a/src/core/server/http_resources/http_resources_service.test.ts b/src/core/server/http_resources/http_resources_service.test.ts index f4b3048b0c39..4a61c977e7ff 100644 --- a/src/core/server/http_resources/http_resources_service.test.ts +++ b/src/core/server/http_resources/http_resources_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { IRouter, RouteConfig } from '../http'; import { coreMock } from '../mocks'; diff --git a/src/core/server/http_resources/http_resources_service.ts b/src/core/server/http_resources/http_resources_service.ts index a5d901322b8d..30b7f177f291 100644 --- a/src/core/server/http_resources/http_resources_service.ts +++ b/src/core/server/http_resources/http_resources_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { RequestHandlerContext } from 'src/core/server'; import { CoreContext } from '../core_context'; diff --git a/src/core/server/http_resources/index.ts b/src/core/server/http_resources/index.ts index 4cd057668df9..b943555c659d 100644 --- a/src/core/server/http_resources/index.ts +++ b/src/core/server/http_resources/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { HttpResourcesService } from './http_resources_service'; export { diff --git a/src/core/server/http_resources/integration_tests/http_resources_service.test.ts b/src/core/server/http_resources/integration_tests/http_resources_service.test.ts index dc0a5e7be831..56fb2b9e5c34 100644 --- a/src/core/server/http_resources/integration_tests/http_resources_service.test.ts +++ b/src/core/server/http_resources/integration_tests/http_resources_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { schema } from '@osd/config-schema'; import * as osdTestServer from '../../../test_helpers/osd_server'; diff --git a/src/core/server/http_resources/types.ts b/src/core/server/http_resources/types.ts index 0604bc15f6b5..58385fdabc35 100644 --- a/src/core/server/http_resources/types.ts +++ b/src/core/server/http_resources/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IRouter, RouteConfig, diff --git a/src/core/server/index.ts b/src/core/server/index.ts index 670f58bfc1b7..ca55cc8dc1d5 100644 --- a/src/core/server/index.ts +++ b/src/core/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * The OpenSearch Dashboards Core APIs for server-side plugins. * diff --git a/src/core/server/internal_types.ts b/src/core/server/internal_types.ts index ee28805d6ef3..2b4df7da68bf 100644 --- a/src/core/server/internal_types.ts +++ b/src/core/server/internal_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Type } from '@osd/config-schema'; import { CapabilitiesSetup, CapabilitiesStart } from './capabilities'; diff --git a/src/core/server/legacy/cli.js b/src/core/server/legacy/cli.js index fa9dbbeb19a8..a39a5affed1d 100644 --- a/src/core/server/legacy/cli.js +++ b/src/core/server/legacy/cli.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { startRepl } from '../../../cli/repl'; diff --git a/src/core/server/legacy/cluster_manager.js b/src/core/server/legacy/cluster_manager.js index 0f207b8d21f9..97d6af1f9abe 100644 --- a/src/core/server/legacy/cluster_manager.js +++ b/src/core/server/legacy/cluster_manager.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ClusterManager } from '../../../cli/cluster/cluster_manager'; diff --git a/src/core/server/legacy/config/ensure_valid_configuration.test.ts b/src/core/server/legacy/config/ensure_valid_configuration.test.ts index 88661b60e627..9cfb330e849f 100644 --- a/src/core/server/legacy/config/ensure_valid_configuration.test.ts +++ b/src/core/server/legacy/config/ensure_valid_configuration.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ensureValidConfiguration } from './ensure_valid_configuration'; import { getUnusedConfigKeys } from './get_unused_config_keys'; import { configServiceMock } from '../../config/mocks'; diff --git a/src/core/server/legacy/config/ensure_valid_configuration.ts b/src/core/server/legacy/config/ensure_valid_configuration.ts index 89f71511eb91..7718a2187f27 100644 --- a/src/core/server/legacy/config/ensure_valid_configuration.ts +++ b/src/core/server/legacy/config/ensure_valid_configuration.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getUnusedConfigKeys } from './get_unused_config_keys'; import { ConfigService } from '../../config'; import { CriticalError } from '../../errors'; diff --git a/src/core/server/legacy/config/get_unused_config_keys.test.ts b/src/core/server/legacy/config/get_unused_config_keys.test.ts index a1875bbc7d30..b56821ece47b 100644 --- a/src/core/server/legacy/config/get_unused_config_keys.test.ts +++ b/src/core/server/legacy/config/get_unused_config_keys.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LegacyConfig, LegacyVars } from '../types'; import { getUnusedConfigKeys } from './get_unused_config_keys'; diff --git a/src/core/server/legacy/config/get_unused_config_keys.ts b/src/core/server/legacy/config/get_unused_config_keys.ts index cdefd6af5819..4f342b7b88a8 100644 --- a/src/core/server/legacy/config/get_unused_config_keys.ts +++ b/src/core/server/legacy/config/get_unused_config_keys.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { difference } from 'lodash'; import { getFlattenedObject } from '@osd/std'; import { hasConfigPathIntersection } from '../../config'; diff --git a/src/core/server/legacy/config/index.ts b/src/core/server/legacy/config/index.ts index 3d9133a2eb7d..994f743fa58a 100644 --- a/src/core/server/legacy/config/index.ts +++ b/src/core/server/legacy/config/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ensureValidConfiguration } from './ensure_valid_configuration'; diff --git a/src/core/server/legacy/index.ts b/src/core/server/legacy/index.ts index b3872a4eb84b..21b4a808b3fc 100644 --- a/src/core/server/legacy/index.ts +++ b/src/core/server/legacy/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** @internal */ export { ensureValidConfiguration } from './config'; /** @internal */ diff --git a/src/core/server/legacy/integration_tests/legacy_service.test.ts b/src/core/server/legacy/integration_tests/legacy_service.test.ts index 6bec751c633a..025a91ead523 100644 --- a/src/core/server/legacy/integration_tests/legacy_service.test.ts +++ b/src/core/server/legacy/integration_tests/legacy_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import * as osdTestServer from '../../../test_helpers/osd_server'; describe('legacy service', () => { diff --git a/src/core/server/legacy/integration_tests/logging.test.ts b/src/core/server/legacy/integration_tests/logging.test.ts index 3ba81d3dcba8..7838119f839b 100644 --- a/src/core/server/legacy/integration_tests/logging.test.ts +++ b/src/core/server/legacy/integration_tests/logging.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LegacyLoggingConfig } from '@osd/config'; import * as osdTestServer from '../../../test_helpers/osd_server'; diff --git a/src/core/server/legacy/legacy_service.mock.ts b/src/core/server/legacy/legacy_service.mock.ts index 9aeabdfdc7f3..678b6e2b6777 100644 --- a/src/core/server/legacy/legacy_service.mock.ts +++ b/src/core/server/legacy/legacy_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { LegacyService } from './legacy_service'; import { LegacyConfig, LegacyServiceSetupDeps } from './types'; diff --git a/src/core/server/legacy/legacy_service.test.ts b/src/core/server/legacy/legacy_service.test.ts index bbdb56c302e7..9b67542e5571 100644 --- a/src/core/server/legacy/legacy_service.test.ts +++ b/src/core/server/legacy/legacy_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('../../../legacy/server/osd_server'); jest.mock('./cluster_manager'); diff --git a/src/core/server/legacy/legacy_service.ts b/src/core/server/legacy/legacy_service.ts index 82287d00d166..574734d18fef 100644 --- a/src/core/server/legacy/legacy_service.ts +++ b/src/core/server/legacy/legacy_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { combineLatest, ConnectableObservable, EMPTY, Observable, Subscription } from 'rxjs'; import { first, map, publishReplay, tap } from 'rxjs/operators'; import type { PublicMethodsOf } from '@osd/utility-types'; diff --git a/src/core/server/legacy/logging/appenders/legacy_appender.test.ts b/src/core/server/legacy/logging/appenders/legacy_appender.test.ts index c4fbdb790170..b477178812c7 100644 --- a/src/core/server/legacy/logging/appenders/legacy_appender.test.ts +++ b/src/core/server/legacy/logging/appenders/legacy_appender.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('../legacy_logging_server'); import { LogRecord, LogLevel } from '../../../logging'; diff --git a/src/core/server/legacy/logging/appenders/legacy_appender.ts b/src/core/server/legacy/logging/appenders/legacy_appender.ts index 201491633e3e..018f1cd4a568 100644 --- a/src/core/server/legacy/logging/appenders/legacy_appender.ts +++ b/src/core/server/legacy/logging/appenders/legacy_appender.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { DisposableAppender, LogRecord } from '../../../logging'; import { LegacyLoggingServer } from '../legacy_logging_server'; diff --git a/src/core/server/legacy/logging/legacy_logging_server.test.ts b/src/core/server/legacy/logging/legacy_logging_server.test.ts index ceeadb7b0ac0..8f1ab30f784e 100644 --- a/src/core/server/legacy/logging/legacy_logging_server.test.ts +++ b/src/core/server/legacy/logging/legacy_logging_server.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('../../../../legacy/server/config'); jest.mock('../../../../legacy/server/logging'); diff --git a/src/core/server/legacy/logging/legacy_logging_server.ts b/src/core/server/legacy/logging/legacy_logging_server.ts index 7fdb528be238..6976fdc8f89b 100644 --- a/src/core/server/legacy/logging/legacy_logging_server.ts +++ b/src/core/server/legacy/logging/legacy_logging_server.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ServerExtType } from '@hapi/hapi'; import Podium from '@hapi/podium'; // @ts-expect-error: implicit any for JS file diff --git a/src/core/server/legacy/types.ts b/src/core/server/legacy/types.ts index c6f2992363a1..ae7ee6d3dd39 100644 --- a/src/core/server/legacy/types.ts +++ b/src/core/server/legacy/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { InternalCoreSetup, InternalCoreStart } from '../internal_types'; import { PluginsServiceSetup, PluginsServiceStart, UiPlugins } from '../plugins'; import { InternalRenderingServiceSetup } from '../rendering'; diff --git a/src/core/server/logging/appenders/appenders.test.mocks.ts b/src/core/server/logging/appenders/appenders.test.mocks.ts index 9e3af9adaf9e..b439da488a28 100644 --- a/src/core/server/logging/appenders/appenders.test.mocks.ts +++ b/src/core/server/logging/appenders/appenders.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const mockCreateLayout = jest.fn(); jest.mock('../layouts/layouts', () => { // eslint-disable-next-line @typescript-eslint/no-var-requires diff --git a/src/core/server/logging/appenders/appenders.test.ts b/src/core/server/logging/appenders/appenders.test.ts index 7c5eabc5fa1f..cb44aa558db4 100644 --- a/src/core/server/logging/appenders/appenders.test.ts +++ b/src/core/server/logging/appenders/appenders.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockCreateLayout } from './appenders.test.mocks'; import { LegacyAppender } from '../../legacy/logging/appenders/legacy_appender'; diff --git a/src/core/server/logging/appenders/appenders.ts b/src/core/server/logging/appenders/appenders.ts index b57a49deaeab..2949b1242e54 100644 --- a/src/core/server/logging/appenders/appenders.ts +++ b/src/core/server/logging/appenders/appenders.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { assertNever } from '@osd/std'; import { DisposableAppender } from '@osd/logging'; diff --git a/src/core/server/logging/appenders/buffer/buffer_appender.test.ts b/src/core/server/logging/appenders/buffer/buffer_appender.test.ts index 05c8d29dba6d..8c70ba953a5c 100644 --- a/src/core/server/logging/appenders/buffer/buffer_appender.test.ts +++ b/src/core/server/logging/appenders/buffer/buffer_appender.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LogLevel, LogRecord } from '@osd/logging'; import { BufferAppender } from './buffer_appender'; diff --git a/src/core/server/logging/appenders/buffer/buffer_appender.ts b/src/core/server/logging/appenders/buffer/buffer_appender.ts index 7ffe1e335ab8..95655c7463c8 100644 --- a/src/core/server/logging/appenders/buffer/buffer_appender.ts +++ b/src/core/server/logging/appenders/buffer/buffer_appender.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LogRecord, DisposableAppender } from '@osd/logging'; /** diff --git a/src/core/server/logging/appenders/console/console_appender.test.ts b/src/core/server/logging/appenders/console/console_appender.test.ts index de5f332b89fa..272458ceb616 100644 --- a/src/core/server/logging/appenders/console/console_appender.test.ts +++ b/src/core/server/logging/appenders/console/console_appender.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('../../layouts/layouts', () => { // eslint-disable-next-line @typescript-eslint/no-var-requires const { schema } = require('@osd/config-schema'); diff --git a/src/core/server/logging/appenders/console/console_appender.ts b/src/core/server/logging/appenders/console/console_appender.ts index 066c7b4f70ef..0ade5cb95c73 100644 --- a/src/core/server/logging/appenders/console/console_appender.ts +++ b/src/core/server/logging/appenders/console/console_appender.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { Layout, LogRecord, DisposableAppender } from '@osd/logging'; import { Layouts, LayoutConfigType } from '../../layouts/layouts'; diff --git a/src/core/server/logging/appenders/file/file_appender.test.mocks.ts b/src/core/server/logging/appenders/file/file_appender.test.mocks.ts index 230c3c86fdbf..53481a00a044 100644 --- a/src/core/server/logging/appenders/file/file_appender.test.mocks.ts +++ b/src/core/server/logging/appenders/file/file_appender.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('../../layouts/layouts', () => { // eslint-disable-next-line @typescript-eslint/no-var-requires const { schema } = require('@osd/config-schema'); diff --git a/src/core/server/logging/appenders/file/file_appender.test.ts b/src/core/server/logging/appenders/file/file_appender.test.ts index 530a6a9567b5..1e2099be09cf 100644 --- a/src/core/server/logging/appenders/file/file_appender.test.ts +++ b/src/core/server/logging/appenders/file/file_appender.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockCreateWriteStream } from './file_appender.test.mocks'; import { LogRecord, LogLevel } from '@osd/logging'; diff --git a/src/core/server/logging/appenders/file/file_appender.ts b/src/core/server/logging/appenders/file/file_appender.ts index 9e8d34a34219..87959641e9fb 100644 --- a/src/core/server/logging/appenders/file/file_appender.ts +++ b/src/core/server/logging/appenders/file/file_appender.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { LogRecord, Layout, DisposableAppender } from '@osd/logging'; import { createWriteStream, WriteStream } from 'fs'; diff --git a/src/core/server/logging/index.ts b/src/core/server/logging/index.ts index 030b0db7bc32..3de4d8e65104 100644 --- a/src/core/server/logging/index.ts +++ b/src/core/server/logging/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DisposableAppender, Appender, diff --git a/src/core/server/logging/integration_tests/logging.test.ts b/src/core/server/logging/integration_tests/logging.test.ts index 5e92b9f7bfda..56dc5be97217 100644 --- a/src/core/server/logging/integration_tests/logging.test.ts +++ b/src/core/server/logging/integration_tests/logging.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as osdTestServer from '../../../test_helpers/osd_server'; import { InternalCoreSetup } from '../../internal_types'; import { LoggerContextConfigInput } from '../logging_config'; diff --git a/src/core/server/logging/integration_tests/utils.ts b/src/core/server/logging/integration_tests/utils.ts index f4d97c59ac17..ce6ada7153a5 100644 --- a/src/core/server/logging/integration_tests/utils.ts +++ b/src/core/server/logging/integration_tests/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import Fs from 'fs'; import Util from 'util'; const readFile = Util.promisify(Fs.readFile); diff --git a/src/core/server/logging/layouts/conversions/date.ts b/src/core/server/logging/layouts/conversions/date.ts index 277d2158b3cb..a9502b84d041 100644 --- a/src/core/server/logging/layouts/conversions/date.ts +++ b/src/core/server/logging/layouts/conversions/date.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import moment from 'moment-timezone'; import { last } from 'lodash'; import { LogRecord } from '@osd/logging'; diff --git a/src/core/server/logging/layouts/conversions/index.ts b/src/core/server/logging/layouts/conversions/index.ts index 97f8a2ae25f3..3d0a62e8ea3a 100644 --- a/src/core/server/logging/layouts/conversions/index.ts +++ b/src/core/server/logging/layouts/conversions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { Conversion } from './type'; export { LoggerConversion } from './logger'; diff --git a/src/core/server/logging/layouts/conversions/level.ts b/src/core/server/logging/layouts/conversions/level.ts index e5d74f33601c..eefe3c347f6f 100644 --- a/src/core/server/logging/layouts/conversions/level.ts +++ b/src/core/server/logging/layouts/conversions/level.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import chalk from 'chalk'; import { LogRecord, LogLevel } from '@osd/logging'; diff --git a/src/core/server/logging/layouts/conversions/logger.ts b/src/core/server/logging/layouts/conversions/logger.ts index d5febce7d1c6..87715d34f9ce 100644 --- a/src/core/server/logging/layouts/conversions/logger.ts +++ b/src/core/server/logging/layouts/conversions/logger.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import chalk from 'chalk'; import { LogRecord } from '@osd/logging'; diff --git a/src/core/server/logging/layouts/conversions/message.ts b/src/core/server/logging/layouts/conversions/message.ts index d0486942212f..32cdb3decb2d 100644 --- a/src/core/server/logging/layouts/conversions/message.ts +++ b/src/core/server/logging/layouts/conversions/message.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LogRecord } from '@osd/logging'; import { Conversion } from './type'; diff --git a/src/core/server/logging/layouts/conversions/meta.ts b/src/core/server/logging/layouts/conversions/meta.ts index 2077abc53aa4..1de1c0a377af 100644 --- a/src/core/server/logging/layouts/conversions/meta.ts +++ b/src/core/server/logging/layouts/conversions/meta.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LogRecord } from '@osd/logging'; import { Conversion } from './type'; diff --git a/src/core/server/logging/layouts/conversions/pid.ts b/src/core/server/logging/layouts/conversions/pid.ts index 9e232269bd22..356d4bdcf481 100644 --- a/src/core/server/logging/layouts/conversions/pid.ts +++ b/src/core/server/logging/layouts/conversions/pid.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LogRecord } from '@osd/logging'; import { Conversion } from './type'; diff --git a/src/core/server/logging/layouts/conversions/type.ts b/src/core/server/logging/layouts/conversions/type.ts index 4041601261fd..3226423889da 100644 --- a/src/core/server/logging/layouts/conversions/type.ts +++ b/src/core/server/logging/layouts/conversions/type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LogRecord } from '@osd/logging'; export interface Conversion { diff --git a/src/core/server/logging/layouts/json_layout.test.ts b/src/core/server/logging/layouts/json_layout.test.ts index e4bf730c09e2..cb81d4039e39 100644 --- a/src/core/server/logging/layouts/json_layout.test.ts +++ b/src/core/server/logging/layouts/json_layout.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LogLevel, LogRecord } from '@osd/logging'; import { JsonLayout } from './json_layout'; diff --git a/src/core/server/logging/layouts/json_layout.ts b/src/core/server/logging/layouts/json_layout.ts index 479ad92b9c95..0a5b1ae0fd6c 100644 --- a/src/core/server/logging/layouts/json_layout.ts +++ b/src/core/server/logging/layouts/json_layout.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment-timezone'; import { merge } from 'lodash'; import { schema } from '@osd/config-schema'; diff --git a/src/core/server/logging/layouts/layouts.test.ts b/src/core/server/logging/layouts/layouts.test.ts index 9a34b89529b4..90f901611357 100644 --- a/src/core/server/logging/layouts/layouts.test.ts +++ b/src/core/server/logging/layouts/layouts.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { JsonLayout } from './json_layout'; import { Layouts } from './layouts'; import { PatternLayout } from './pattern_layout'; diff --git a/src/core/server/logging/layouts/layouts.ts b/src/core/server/logging/layouts/layouts.ts index 3c9c99016676..48d31f376188 100644 --- a/src/core/server/logging/layouts/layouts.ts +++ b/src/core/server/logging/layouts/layouts.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { Layout } from '@osd/logging'; import { assertNever } from '@osd/std'; diff --git a/src/core/server/logging/layouts/pattern_layout.test.ts b/src/core/server/logging/layouts/pattern_layout.test.ts index 8e6ab0708463..a612958ff0e8 100644 --- a/src/core/server/logging/layouts/pattern_layout.test.ts +++ b/src/core/server/logging/layouts/pattern_layout.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LogLevel, LogRecord } from '@osd/logging'; import { stripAnsiSnapshotSerializer } from '../../../test_helpers/strip_ansi_snapshot_serializer'; import { PatternLayout, patternSchema } from './pattern_layout'; diff --git a/src/core/server/logging/layouts/pattern_layout.ts b/src/core/server/logging/layouts/pattern_layout.ts index 53144f5e4295..368fc5c7db79 100644 --- a/src/core/server/logging/layouts/pattern_layout.ts +++ b/src/core/server/logging/layouts/pattern_layout.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { LogRecord, Layout } from '@osd/logging'; diff --git a/src/core/server/logging/logger.mock.ts b/src/core/server/logging/logger.mock.ts index 4d1f31833541..6a1326d5d535 100644 --- a/src/core/server/logging/logger.mock.ts +++ b/src/core/server/logging/logger.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { loggerMock, MockedLogger } from '@osd/logging/target/mocks'; diff --git a/src/core/server/logging/logger.test.ts b/src/core/server/logging/logger.test.ts index 2f0c7761ae26..960f0fc75152 100644 --- a/src/core/server/logging/logger.test.ts +++ b/src/core/server/logging/logger.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LogLevel, Appender } from '@osd/logging'; import { LoggingConfig } from './logging_config'; import { BaseLogger } from './logger'; diff --git a/src/core/server/logging/logger.ts b/src/core/server/logging/logger.ts index 9300222efc4e..0a29cdd173ce 100644 --- a/src/core/server/logging/logger.ts +++ b/src/core/server/logging/logger.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Appender, LogLevel, LogRecord, LoggerFactory, LogMeta, Logger } from '@osd/logging'; function isError(x: any): x is Error { diff --git a/src/core/server/logging/logger_adapter.test.ts b/src/core/server/logging/logger_adapter.test.ts index fb3d6f77ee10..190e958d1622 100644 --- a/src/core/server/logging/logger_adapter.test.ts +++ b/src/core/server/logging/logger_adapter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Logger } from '.'; import { LoggerAdapter } from './logger_adapter'; diff --git a/src/core/server/logging/logger_adapter.ts b/src/core/server/logging/logger_adapter.ts index 7816c9b3be83..61c9d4c7bb4d 100644 --- a/src/core/server/logging/logger_adapter.ts +++ b/src/core/server/logging/logger_adapter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LogRecord, Logger, LogMeta } from '@osd/logging'; /** @internal */ diff --git a/src/core/server/logging/logging_config.test.ts b/src/core/server/logging/logging_config.test.ts index 02b48f2cded2..138e028e579e 100644 --- a/src/core/server/logging/logging_config.test.ts +++ b/src/core/server/logging/logging_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LoggingConfig, config } from './logging_config'; test('`schema` creates correct schema with defaults.', () => { diff --git a/src/core/server/logging/logging_config.ts b/src/core/server/logging/logging_config.ts index ed514311a82e..9eafc8cabb93 100644 --- a/src/core/server/logging/logging_config.ts +++ b/src/core/server/logging/logging_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; import { AppenderConfigType, Appenders } from './appenders/appenders'; diff --git a/src/core/server/logging/logging_service.mock.ts b/src/core/server/logging/logging_service.mock.ts index 3bff0a5fa2b7..4cbbb2c7ba64 100644 --- a/src/core/server/logging/logging_service.mock.ts +++ b/src/core/server/logging/logging_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { diff --git a/src/core/server/logging/logging_service.test.ts b/src/core/server/logging/logging_service.test.ts index 28e0b2ac8594..effe10b6a3f7 100644 --- a/src/core/server/logging/logging_service.test.ts +++ b/src/core/server/logging/logging_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { of, Subject } from 'rxjs'; import { LoggingService, InternalLoggingServiceSetup } from './logging_service'; diff --git a/src/core/server/logging/logging_service.ts b/src/core/server/logging/logging_service.ts index fb07e900441a..7459d4b1790c 100644 --- a/src/core/server/logging/logging_service.ts +++ b/src/core/server/logging/logging_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable, Subscription } from 'rxjs'; import { Logger } from '@osd/logging'; import { CoreService } from '../../types'; diff --git a/src/core/server/logging/logging_system.mock.ts b/src/core/server/logging/logging_system.mock.ts index 5dd559c37fc8..cf9a3d145f98 100644 --- a/src/core/server/logging/logging_system.mock.ts +++ b/src/core/server/logging/logging_system.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // Test helpers to simplify mocking logs and collecting all their outputs import { LoggerFactory } from '@osd/logging'; import { ILoggingSystem } from './logging_system'; diff --git a/src/core/server/logging/logging_system.test.ts b/src/core/server/logging/logging_system.test.ts index 37dcf0afc116..b3b8a72de446 100644 --- a/src/core/server/logging/logging_system.test.ts +++ b/src/core/server/logging/logging_system.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const mockStreamWrite = jest.fn(); jest.mock('fs', () => ({ constants: {}, diff --git a/src/core/server/logging/logging_system.ts b/src/core/server/logging/logging_system.ts index 29e413390e66..cf4ad1c6d2e1 100644 --- a/src/core/server/logging/logging_system.ts +++ b/src/core/server/logging/logging_system.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import type { PublicMethodsOf } from '@osd/utility-types'; import { DisposableAppender, LogLevel, Logger, LoggerFactory } from '@osd/logging'; import { Appenders } from './appenders/appenders'; diff --git a/src/core/server/metrics/collectors/cgroup.test.ts b/src/core/server/metrics/collectors/cgroup.test.ts index b665e33cfb62..633b3c8aeae5 100644 --- a/src/core/server/metrics/collectors/cgroup.test.ts +++ b/src/core/server/metrics/collectors/cgroup.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/metrics/collectors/cgroup.ts b/src/core/server/metrics/collectors/cgroup.ts index 95068a0c5935..6f38ea3672cc 100644 --- a/src/core/server/metrics/collectors/cgroup.ts +++ b/src/core/server/metrics/collectors/cgroup.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/metrics/collectors/collector.mock.ts b/src/core/server/metrics/collectors/collector.mock.ts index 823e5a41e3ee..93c4b7c13e69 100644 --- a/src/core/server/metrics/collectors/collector.mock.ts +++ b/src/core/server/metrics/collectors/collector.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MetricsCollector } from './types'; const createCollector = (collectReturnValue: any = {}): jest.Mocked> => { diff --git a/src/core/server/metrics/collectors/index.ts b/src/core/server/metrics/collectors/index.ts index 6c3179cd83e7..c3e47471720a 100644 --- a/src/core/server/metrics/collectors/index.ts +++ b/src/core/server/metrics/collectors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { OpsProcessMetrics, OpsOsMetrics, OpsServerMetrics, MetricsCollector } from './types'; export { OsMetricsCollector, OpsMetricsCollectorOptions } from './os'; export { ProcessMetricsCollector } from './process'; diff --git a/src/core/server/metrics/collectors/mocks.ts b/src/core/server/metrics/collectors/mocks.ts index 5db4abdc36f8..dddd209ce312 100644 --- a/src/core/server/metrics/collectors/mocks.ts +++ b/src/core/server/metrics/collectors/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MetricsCollector } from './types'; const createMock = () => { diff --git a/src/core/server/metrics/collectors/os.test.mocks.ts b/src/core/server/metrics/collectors/os.test.mocks.ts index d234b00d4d7c..bd00a90ef6df 100644 --- a/src/core/server/metrics/collectors/os.test.mocks.ts +++ b/src/core/server/metrics/collectors/os.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { metricsCollectorMock } from './collector.mock'; export const cgroupCollectorMock = metricsCollectorMock.create(); diff --git a/src/core/server/metrics/collectors/os.test.ts b/src/core/server/metrics/collectors/os.test.ts index e1161c7b7c92..5529b07b6dce 100644 --- a/src/core/server/metrics/collectors/os.test.ts +++ b/src/core/server/metrics/collectors/os.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/metrics/collectors/os.ts b/src/core/server/metrics/collectors/os.ts index 3dc640417219..30449abfa3a6 100644 --- a/src/core/server/metrics/collectors/os.ts +++ b/src/core/server/metrics/collectors/os.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import os from 'os'; import getosAsync, { LinuxOs } from 'getos'; import { promisify } from 'util'; diff --git a/src/core/server/metrics/collectors/process.test.ts b/src/core/server/metrics/collectors/process.test.ts index d5ca2f8cdd24..d27edff418d5 100644 --- a/src/core/server/metrics/collectors/process.test.ts +++ b/src/core/server/metrics/collectors/process.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import v8, { HeapInfo } from 'v8'; import { ProcessMetricsCollector } from './process'; diff --git a/src/core/server/metrics/collectors/process.ts b/src/core/server/metrics/collectors/process.ts index fed71316a936..5ffc86e42d3a 100644 --- a/src/core/server/metrics/collectors/process.ts +++ b/src/core/server/metrics/collectors/process.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/metrics/collectors/server.ts b/src/core/server/metrics/collectors/server.ts index 13da30a5a6e7..4e5e2b0112d7 100644 --- a/src/core/server/metrics/collectors/server.ts +++ b/src/core/server/metrics/collectors/server.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { ResponseObject, Server as HapiServer } from '@hapi/hapi'; import { OpsServerMetrics, MetricsCollector } from './types'; diff --git a/src/core/server/metrics/collectors/types.ts b/src/core/server/metrics/collectors/types.ts index 75633df795f2..6c6050d6a300 100644 --- a/src/core/server/metrics/collectors/types.ts +++ b/src/core/server/metrics/collectors/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** Base interface for all metrics gatherers */ export interface MetricsCollector { /** collect the data currently gathered by the collector */ diff --git a/src/core/server/metrics/index.ts b/src/core/server/metrics/index.ts index 1a2ae125b639..a05ff2c20c94 100644 --- a/src/core/server/metrics/index.ts +++ b/src/core/server/metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { InternalMetricsServiceStart, InternalMetricsServiceSetup, diff --git a/src/core/server/metrics/integration_tests/server_collector.test.ts b/src/core/server/metrics/integration_tests/server_collector.test.ts index a3d20626f968..ef0b2fc23ae7 100644 --- a/src/core/server/metrics/integration_tests/server_collector.test.ts +++ b/src/core/server/metrics/integration_tests/server_collector.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject, Subject } from 'rxjs'; import { take, filter } from 'rxjs/operators'; import supertest from 'supertest'; diff --git a/src/core/server/metrics/metrics_service.mock.ts b/src/core/server/metrics/metrics_service.mock.ts index 1e1465175daf..d0de0b4c379b 100644 --- a/src/core/server/metrics/metrics_service.mock.ts +++ b/src/core/server/metrics/metrics_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { BehaviorSubject } from 'rxjs'; import type { PublicMethodsOf } from '@osd/utility-types'; diff --git a/src/core/server/metrics/metrics_service.test.mocks.ts b/src/core/server/metrics/metrics_service.test.mocks.ts index c96db22a2302..872fb49d9cd9 100644 --- a/src/core/server/metrics/metrics_service.test.mocks.ts +++ b/src/core/server/metrics/metrics_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { collectorMock } from './collectors/mocks'; export const mockOpsCollector = collectorMock.create(); diff --git a/src/core/server/metrics/metrics_service.test.ts b/src/core/server/metrics/metrics_service.test.ts index 8f3a7c98161e..6d45e753c86c 100644 --- a/src/core/server/metrics/metrics_service.test.ts +++ b/src/core/server/metrics/metrics_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { setImmediate } from 'timers'; diff --git a/src/core/server/metrics/metrics_service.ts b/src/core/server/metrics/metrics_service.ts index aec701734e3d..62e1c9706309 100644 --- a/src/core/server/metrics/metrics_service.ts +++ b/src/core/server/metrics/metrics_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ReplaySubject } from 'rxjs'; import { first } from 'rxjs/operators'; import { CoreService } from '../../types'; diff --git a/src/core/server/metrics/ops_config.ts b/src/core/server/metrics/ops_config.ts index d8bd26689ad9..8e5843756cc2 100644 --- a/src/core/server/metrics/ops_config.ts +++ b/src/core/server/metrics/ops_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export const opsConfig = { diff --git a/src/core/server/metrics/ops_metrics_collector.test.mocks.ts b/src/core/server/metrics/ops_metrics_collector.test.mocks.ts index 57bc554059b9..21234f5c00c1 100644 --- a/src/core/server/metrics/ops_metrics_collector.test.mocks.ts +++ b/src/core/server/metrics/ops_metrics_collector.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { collectorMock } from './collectors/mocks'; export const mockOsCollector = collectorMock.create(); diff --git a/src/core/server/metrics/ops_metrics_collector.test.ts b/src/core/server/metrics/ops_metrics_collector.test.ts index 8bd713158b08..341d0a7753a0 100644 --- a/src/core/server/metrics/ops_metrics_collector.test.ts +++ b/src/core/server/metrics/ops_metrics_collector.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { loggerMock } from '@osd/logging/target/mocks'; import { mockOsCollector, diff --git a/src/core/server/metrics/ops_metrics_collector.ts b/src/core/server/metrics/ops_metrics_collector.ts index a63959d3ae07..0d2cbc9791f3 100644 --- a/src/core/server/metrics/ops_metrics_collector.ts +++ b/src/core/server/metrics/ops_metrics_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Server as HapiServer } from '@hapi/hapi'; import { ProcessMetricsCollector, diff --git a/src/core/server/metrics/types.ts b/src/core/server/metrics/types.ts index 43dc9945b362..458248a62d17 100644 --- a/src/core/server/metrics/types.ts +++ b/src/core/server/metrics/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { OpsProcessMetrics, OpsOsMetrics, OpsServerMetrics } from './collectors'; diff --git a/src/core/server/mocks.ts b/src/core/server/mocks.ts index 881013dd5c72..3dd289669a01 100644 --- a/src/core/server/mocks.ts +++ b/src/core/server/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { of } from 'rxjs'; import { duration } from 'moment'; import { ByteSizeValue } from '@osd/config-schema'; diff --git a/src/core/server/opensearch/client/client_config.test.ts b/src/core/server/opensearch/client/client_config.test.ts index ff06d1b595f0..d32508ec43aa 100644 --- a/src/core/server/opensearch/client/client_config.test.ts +++ b/src/core/server/opensearch/client/client_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { duration } from 'moment'; import { OpenSearchClientConfig, parseClientOptions } from './client_config'; import { DEFAULT_HEADERS } from '../default_headers'; diff --git a/src/core/server/opensearch/client/client_config.ts b/src/core/server/opensearch/client/client_config.ts index f76860714393..d8ac605fb964 100644 --- a/src/core/server/opensearch/client/client_config.ts +++ b/src/core/server/opensearch/client/client_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ConnectionOptions as TlsConnectionOptions } from 'tls'; import { URL } from 'url'; import { Duration } from 'moment'; diff --git a/src/core/server/opensearch/client/cluster_client.test.mocks.ts b/src/core/server/opensearch/client/cluster_client.test.mocks.ts index 42040b3c5754..9deb988cb8eb 100644 --- a/src/core/server/opensearch/client/cluster_client.test.mocks.ts +++ b/src/core/server/opensearch/client/cluster_client.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const configureClientMock = jest.fn(); jest.doMock('./configure_client', () => ({ configureClient: configureClientMock, diff --git a/src/core/server/opensearch/client/cluster_client.test.ts b/src/core/server/opensearch/client/cluster_client.test.ts index 872ac9506bce..1510d2b148fe 100644 --- a/src/core/server/opensearch/client/cluster_client.test.ts +++ b/src/core/server/opensearch/client/cluster_client.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { configureClientMock } from './cluster_client.test.mocks'; import { loggingSystemMock } from '../../logging/logging_system.mock'; import { httpServerMock } from '../../http/http_server.mocks'; diff --git a/src/core/server/opensearch/client/cluster_client.ts b/src/core/server/opensearch/client/cluster_client.ts index 9dfac6daf44b..b29eea89d4db 100644 --- a/src/core/server/opensearch/client/cluster_client.ts +++ b/src/core/server/opensearch/client/cluster_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Client } from '@opensearch-project/opensearch'; import { Logger } from '../../logging'; import { GetAuthHeaders, Headers, isOpenSearchDashboardsRequest, isRealRequest } from '../../http'; diff --git a/src/core/server/opensearch/client/configure_client.test.mocks.ts b/src/core/server/opensearch/client/configure_client.test.mocks.ts index e7876b3b96f9..400d350a8eb2 100644 --- a/src/core/server/opensearch/client/configure_client.test.mocks.ts +++ b/src/core/server/opensearch/client/configure_client.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const parseClientOptionsMock = jest.fn(); jest.doMock('./client_config', () => ({ parseClientOptions: parseClientOptionsMock, diff --git a/src/core/server/opensearch/client/configure_client.test.ts b/src/core/server/opensearch/client/configure_client.test.ts index 9f3ffb713690..4f3f61e2308c 100644 --- a/src/core/server/opensearch/client/configure_client.test.ts +++ b/src/core/server/opensearch/client/configure_client.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Buffer } from 'buffer'; import { Readable } from 'stream'; diff --git a/src/core/server/opensearch/client/configure_client.ts b/src/core/server/opensearch/client/configure_client.ts index 792daff56cf5..3a13120966b7 100644 --- a/src/core/server/opensearch/client/configure_client.ts +++ b/src/core/server/opensearch/client/configure_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Buffer } from 'buffer'; import { stringify } from 'querystring'; import { Client } from '@opensearch-project/opensearch'; diff --git a/src/core/server/opensearch/client/errors.test.ts b/src/core/server/opensearch/client/errors.test.ts index ced4b038c014..7072f95e2c5e 100644 --- a/src/core/server/opensearch/client/errors.test.ts +++ b/src/core/server/opensearch/client/errors.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ResponseError, ConnectionError, diff --git a/src/core/server/opensearch/client/errors.ts b/src/core/server/opensearch/client/errors.ts index 2793e66a8641..06596325f603 100644 --- a/src/core/server/opensearch/client/errors.ts +++ b/src/core/server/opensearch/client/errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ResponseError } from '@opensearch-project/opensearch/lib/errors'; export type UnauthorizedError = ResponseError & { diff --git a/src/core/server/opensearch/client/index.ts b/src/core/server/opensearch/client/index.ts index 52fc6041bc1c..eca8648905ea 100644 --- a/src/core/server/opensearch/client/index.ts +++ b/src/core/server/opensearch/client/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './types'; export { IScopedClusterClient, ScopedClusterClient } from './scoped_cluster_client'; export { OpenSearchClientConfig } from './client_config'; diff --git a/src/core/server/opensearch/client/mocks.test.ts b/src/core/server/opensearch/client/mocks.test.ts index e07ba3b0580a..1784b6fb9741 100644 --- a/src/core/server/opensearch/client/mocks.test.ts +++ b/src/core/server/opensearch/client/mocks.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { opensearchClientMock } from './mocks'; describe('Mocked client', () => { diff --git a/src/core/server/opensearch/client/mocks.ts b/src/core/server/opensearch/client/mocks.ts index 11118d8381af..7b055d5b03cf 100644 --- a/src/core/server/opensearch/client/mocks.ts +++ b/src/core/server/opensearch/client/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Client, ApiResponse } from '@opensearch-project/opensearch'; import { TransportRequestPromise } from '@opensearch-project/opensearch/lib/Transport'; import { OpenSearchClient } from './types'; diff --git a/src/core/server/opensearch/client/retry_call_cluster.ts b/src/core/server/opensearch/client/retry_call_cluster.ts index 0a0c462233d9..c99fbb366361 100644 --- a/src/core/server/opensearch/client/retry_call_cluster.ts +++ b/src/core/server/opensearch/client/retry_call_cluster.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { defer, throwError, iif, timer } from 'rxjs'; import { concatMap, retryWhen } from 'rxjs/operators'; import { Logger } from '../../logging'; diff --git a/src/core/server/opensearch/client/scoped_cluster_client.test.ts b/src/core/server/opensearch/client/scoped_cluster_client.test.ts index 4a1345302681..396075d35316 100644 --- a/src/core/server/opensearch/client/scoped_cluster_client.test.ts +++ b/src/core/server/opensearch/client/scoped_cluster_client.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { opensearchClientMock } from './mocks'; import { ScopedClusterClient } from './scoped_cluster_client'; diff --git a/src/core/server/opensearch/client/scoped_cluster_client.ts b/src/core/server/opensearch/client/scoped_cluster_client.ts index be093399b4d1..d4db3ce3606c 100644 --- a/src/core/server/opensearch/client/scoped_cluster_client.ts +++ b/src/core/server/opensearch/client/scoped_cluster_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchClient } from './types'; /** diff --git a/src/core/server/opensearch/client/types.ts b/src/core/server/opensearch/client/types.ts index fc0236882d44..9ee344b665e7 100644 --- a/src/core/server/opensearch/client/types.ts +++ b/src/core/server/opensearch/client/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import type { OpenSearchDashboardsClient } from '@opensearch-project/opensearch/api/opensearch_dashboards'; import type { ApiResponse, diff --git a/src/core/server/opensearch/default_headers.ts b/src/core/server/opensearch/default_headers.ts index 50294e735af4..1e7b976d4e78 100644 --- a/src/core/server/opensearch/default_headers.ts +++ b/src/core/server/opensearch/default_headers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { deepFreeze } from '@osd/std'; export const DEFAULT_HEADERS = deepFreeze({ diff --git a/src/core/server/opensearch/index.ts b/src/core/server/opensearch/index.ts index 134a9bd08da2..a69d9209d2aa 100644 --- a/src/core/server/opensearch/index.ts +++ b/src/core/server/opensearch/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { OpenSearchService } from './opensearch_service'; export { config, configSchema, OpenSearchConfig } from './opensearch_config'; export { NodesVersionCompatibility } from './version_check/ensure_opensearch_version'; diff --git a/src/core/server/opensearch/legacy/api_types.ts b/src/core/server/opensearch/legacy/api_types.ts index 83c75e9defeb..9fbbe6dd3632 100644 --- a/src/core/server/opensearch/legacy/api_types.ts +++ b/src/core/server/opensearch/legacy/api_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Client, GenericParams, diff --git a/src/core/server/opensearch/legacy/cluster_client.test.mocks.ts b/src/core/server/opensearch/legacy/cluster_client.test.mocks.ts index d95f6dd074ec..e502b445c7d2 100644 --- a/src/core/server/opensearch/legacy/cluster_client.test.mocks.ts +++ b/src/core/server/opensearch/legacy/cluster_client.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const MockClient = jest.fn(); jest.mock('elasticsearch', () => { const original = jest.requireActual('elasticsearch'); diff --git a/src/core/server/opensearch/legacy/cluster_client.test.ts b/src/core/server/opensearch/legacy/cluster_client.test.ts index 72d2dc87a46e..8d91a8e22ed1 100644 --- a/src/core/server/opensearch/legacy/cluster_client.test.ts +++ b/src/core/server/opensearch/legacy/cluster_client.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchConfig } from '../opensearch_config'; import { diff --git a/src/core/server/opensearch/legacy/cluster_client.ts b/src/core/server/opensearch/legacy/cluster_client.ts index a38df7cf5956..bb8884fd3952 100644 --- a/src/core/server/opensearch/legacy/cluster_client.ts +++ b/src/core/server/opensearch/legacy/cluster_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Client } from 'elasticsearch'; import { get } from 'lodash'; diff --git a/src/core/server/opensearch/legacy/errors.test.ts b/src/core/server/opensearch/legacy/errors.test.ts index d0a6e7a0fa57..f7ec51383b50 100644 --- a/src/core/server/opensearch/legacy/errors.test.ts +++ b/src/core/server/opensearch/legacy/errors.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Boom from '@hapi/boom'; import { LegacyOpenSearchErrorHelpers } from './errors'; diff --git a/src/core/server/opensearch/legacy/errors.ts b/src/core/server/opensearch/legacy/errors.ts index 099c86dbb3c8..3894c7984379 100644 --- a/src/core/server/opensearch/legacy/errors.ts +++ b/src/core/server/opensearch/legacy/errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Boom from '@hapi/boom'; import { get } from 'lodash'; diff --git a/src/core/server/opensearch/legacy/index.ts b/src/core/server/opensearch/legacy/index.ts index 0abcd822bdfe..81029d35c66b 100644 --- a/src/core/server/opensearch/legacy/index.ts +++ b/src/core/server/opensearch/legacy/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { LegacyClusterClient, ILegacyClusterClient, diff --git a/src/core/server/opensearch/legacy/mocks.ts b/src/core/server/opensearch/legacy/mocks.ts index 93b565b7a2a3..23899d609ee0 100644 --- a/src/core/server/opensearch/legacy/mocks.ts +++ b/src/core/server/opensearch/legacy/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Client } from 'elasticsearch'; import { ILegacyScopedClusterClient } from './scoped_cluster_client'; import { ILegacyClusterClient, ILegacyCustomClusterClient } from './cluster_client'; diff --git a/src/core/server/opensearch/legacy/opensearch_client_config.test.ts b/src/core/server/opensearch/legacy/opensearch_client_config.test.ts index e3dadccabdc0..e7ccccb286ac 100644 --- a/src/core/server/opensearch/legacy/opensearch_client_config.test.ts +++ b/src/core/server/opensearch/legacy/opensearch_client_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { duration } from 'moment'; import { loggingSystemMock } from '../../logging/logging_system.mock'; import { diff --git a/src/core/server/opensearch/legacy/opensearch_client_config.ts b/src/core/server/opensearch/legacy/opensearch_client_config.ts index 90db555916e4..3aac7fcc48e8 100644 --- a/src/core/server/opensearch/legacy/opensearch_client_config.ts +++ b/src/core/server/opensearch/legacy/opensearch_client_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ConfigOptions } from 'elasticsearch'; import { cloneDeep } from 'lodash'; import { Duration } from 'moment'; diff --git a/src/core/server/opensearch/legacy/scoped_cluster_client.test.ts b/src/core/server/opensearch/legacy/scoped_cluster_client.test.ts index 1bd7a86e104f..ace5b99b3027 100644 --- a/src/core/server/opensearch/legacy/scoped_cluster_client.test.ts +++ b/src/core/server/opensearch/legacy/scoped_cluster_client.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LegacyScopedClusterClient } from './scoped_cluster_client'; import { auditTrailServiceMock } from '../../audit_trail/audit_trail_service.mock'; diff --git a/src/core/server/opensearch/legacy/scoped_cluster_client.ts b/src/core/server/opensearch/legacy/scoped_cluster_client.ts index a7b3da8427de..78dbcf827198 100644 --- a/src/core/server/opensearch/legacy/scoped_cluster_client.ts +++ b/src/core/server/opensearch/legacy/scoped_cluster_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { intersection, isObject } from 'lodash'; import { Auditor } from '../../audit_trail'; import { Headers } from '../../http/router'; diff --git a/src/core/server/opensearch/opensearch_config.test.mocks.ts b/src/core/server/opensearch/opensearch_config.test.mocks.ts index cec726d77fc4..7e3e346afa1d 100644 --- a/src/core/server/opensearch/opensearch_config.test.mocks.ts +++ b/src/core/server/opensearch/opensearch_config.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const mockReadFileSync = jest.fn(); jest.mock('fs', () => ({ readFileSync: mockReadFileSync })); diff --git a/src/core/server/opensearch/opensearch_config.test.ts b/src/core/server/opensearch/opensearch_config.test.ts index 7c65ced58fdc..e784f630078c 100644 --- a/src/core/server/opensearch/opensearch_config.test.ts +++ b/src/core/server/opensearch/opensearch_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockReadFileSync, mockReadPkcs12Keystore, diff --git a/src/core/server/opensearch/opensearch_config.ts b/src/core/server/opensearch/opensearch_config.ts index 4bffca8b4b14..2a2d2d4a2f35 100644 --- a/src/core/server/opensearch/opensearch_config.ts +++ b/src/core/server/opensearch/opensearch_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; import { Duration } from 'moment'; import { readFileSync } from 'fs'; diff --git a/src/core/server/opensearch/opensearch_service.mock.ts b/src/core/server/opensearch/opensearch_service.mock.ts index c1faff9a62af..30cb280d94f1 100644 --- a/src/core/server/opensearch/opensearch_service.mock.ts +++ b/src/core/server/opensearch/opensearch_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import type { PublicMethodsOf } from '@osd/utility-types'; diff --git a/src/core/server/opensearch/opensearch_service.test.mocks.ts b/src/core/server/opensearch/opensearch_service.test.mocks.ts index 2d9171aeb700..61d15ab94a55 100644 --- a/src/core/server/opensearch/opensearch_service.test.mocks.ts +++ b/src/core/server/opensearch/opensearch_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const MockLegacyClusterClient = jest.fn(); jest.mock('./legacy/cluster_client', () => ({ LegacyClusterClient: MockLegacyClusterClient })); diff --git a/src/core/server/opensearch/opensearch_service.test.ts b/src/core/server/opensearch/opensearch_service.test.ts index ceb6848c1ad1..d5d354f9df86 100644 --- a/src/core/server/opensearch/opensearch_service.test.ts +++ b/src/core/server/opensearch/opensearch_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MockLegacyClusterClient, MockClusterClient } from './opensearch_service.test.mocks'; import { BehaviorSubject } from 'rxjs'; import { first } from 'rxjs/operators'; diff --git a/src/core/server/opensearch/opensearch_service.ts b/src/core/server/opensearch/opensearch_service.ts index e853dbca6c5e..e7098588a73d 100644 --- a/src/core/server/opensearch/opensearch_service.ts +++ b/src/core/server/opensearch/opensearch_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable, Subject } from 'rxjs'; import { first, map, shareReplay, takeUntil } from 'rxjs/operators'; import { merge } from '@osd/std'; diff --git a/src/core/server/opensearch/status.test.ts b/src/core/server/opensearch/status.test.ts index 876f4480adef..b7c60d527dd0 100644 --- a/src/core/server/opensearch/status.test.ts +++ b/src/core/server/opensearch/status.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { take } from 'rxjs/operators'; import { Subject, of } from 'rxjs'; diff --git a/src/core/server/opensearch/status.ts b/src/core/server/opensearch/status.ts index 3128e91397a3..6b5d2741b405 100644 --- a/src/core/server/opensearch/status.ts +++ b/src/core/server/opensearch/status.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable, merge, of } from 'rxjs'; import { map } from 'rxjs/operators'; diff --git a/src/core/server/opensearch/types.ts b/src/core/server/opensearch/types.ts index b4f4b4e7405b..3b45614a812a 100644 --- a/src/core/server/opensearch/types.ts +++ b/src/core/server/opensearch/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { Headers } from '../http/router'; import { LegacyRequest, OpenSearchDashboardsRequest } from '../http'; diff --git a/src/core/server/opensearch/version_check/ensure_opensearch_version.test.ts b/src/core/server/opensearch/version_check/ensure_opensearch_version.test.ts index d9435a5cea0c..b29778b6b0a2 100644 --- a/src/core/server/opensearch/version_check/ensure_opensearch_version.test.ts +++ b/src/core/server/opensearch/version_check/ensure_opensearch_version.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { mapNodesVersionCompatibility, pollOpenSearchNodesVersion, diff --git a/src/core/server/opensearch/version_check/ensure_opensearch_version.ts b/src/core/server/opensearch/version_check/ensure_opensearch_version.ts index 9e6811bf2262..e5aadc6ede2f 100644 --- a/src/core/server/opensearch/version_check/ensure_opensearch_version.ts +++ b/src/core/server/opensearch/version_check/ensure_opensearch_version.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * OpenSearch and OpenSearch Dashboards versions are locked, so OpenSearch Dashboards should require that OpenSearch has the same version as * that defined in OpenSearch Dashboards's package.json. diff --git a/src/core/server/opensearch/version_check/opensearch_opensearch_dashboards_version_compatability.test.ts b/src/core/server/opensearch/version_check/opensearch_opensearch_dashboards_version_compatability.test.ts index 546ef81c23b7..a3e5755182b9 100644 --- a/src/core/server/opensearch/version_check/opensearch_opensearch_dashboards_version_compatability.test.ts +++ b/src/core/server/opensearch/version_check/opensearch_opensearch_dashboards_version_compatability.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { opensearchVersionCompatibleWithOpenSearchDashboards } from './opensearch_opensearch_dashboards_version_compatability'; describe('plugins/opensearch', () => { diff --git a/src/core/server/opensearch/version_check/opensearch_opensearch_dashboards_version_compatability.ts b/src/core/server/opensearch/version_check/opensearch_opensearch_dashboards_version_compatability.ts index 38f7225e35fd..ffa4c07e3f50 100644 --- a/src/core/server/opensearch/version_check/opensearch_opensearch_dashboards_version_compatability.ts +++ b/src/core/server/opensearch/version_check/opensearch_opensearch_dashboards_version_compatability.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import semver, { coerce } from 'semver'; /** @private */ diff --git a/src/core/server/opensearch_dashboards_config.test.ts b/src/core/server/opensearch_dashboards_config.test.ts index 3e5833385f6f..7b4c5c49f7e1 100644 --- a/src/core/server/opensearch_dashboards_config.test.ts +++ b/src/core/server/opensearch_dashboards_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { applyDeprecations, configDeprecationFactory } from '@osd/config'; import { config } from './opensearch_dashboards_config'; diff --git a/src/core/server/opensearch_dashboards_config.ts b/src/core/server/opensearch_dashboards_config.ts index e59747048395..ad88e8a89cad 100644 --- a/src/core/server/opensearch_dashboards_config.ts +++ b/src/core/server/opensearch_dashboards_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; import { ConfigDeprecationProvider } from 'packages/osd-config'; diff --git a/src/core/server/plugins/discovery/index.ts b/src/core/server/plugins/discovery/index.ts index 7e9766dbba69..12e76956855e 100644 --- a/src/core/server/plugins/discovery/index.ts +++ b/src/core/server/plugins/discovery/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** @internal */ export { PluginDiscoveryError, PluginDiscoveryErrorType } from './plugin_discovery_error'; /** @internal */ diff --git a/src/core/server/plugins/discovery/is_camel_case.test.ts b/src/core/server/plugins/discovery/is_camel_case.test.ts index 3885e8329905..08d3f736d194 100644 --- a/src/core/server/plugins/discovery/is_camel_case.test.ts +++ b/src/core/server/plugins/discovery/is_camel_case.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/plugins/discovery/is_camel_case.ts b/src/core/server/plugins/discovery/is_camel_case.ts index f98b40ee6ae2..8566e5f05db8 100644 --- a/src/core/server/plugins/discovery/is_camel_case.ts +++ b/src/core/server/plugins/discovery/is_camel_case.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/plugins/discovery/plugin_discovery_error.ts b/src/core/server/plugins/discovery/plugin_discovery_error.ts index 705fa3adc0d3..8c070ea5bc1c 100644 --- a/src/core/server/plugins/discovery/plugin_discovery_error.ts +++ b/src/core/server/plugins/discovery/plugin_discovery_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** @internal */ export enum PluginDiscoveryErrorType { IncompatibleVersion = 'incompatible-version', diff --git a/src/core/server/plugins/discovery/plugin_manifest_parser.test.mocks.ts b/src/core/server/plugins/discovery/plugin_manifest_parser.test.mocks.ts index a318f9d175d4..cce7a4ff4b49 100644 --- a/src/core/server/plugins/discovery/plugin_manifest_parser.test.mocks.ts +++ b/src/core/server/plugins/discovery/plugin_manifest_parser.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/plugins/discovery/plugin_manifest_parser.test.ts b/src/core/server/plugins/discovery/plugin_manifest_parser.test.ts index cbc2d45ab905..fec3fb0e677f 100644 --- a/src/core/server/plugins/discovery/plugin_manifest_parser.test.ts +++ b/src/core/server/plugins/discovery/plugin_manifest_parser.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockReadFile } from './plugin_manifest_parser.test.mocks'; import { PluginDiscoveryErrorType } from './plugin_discovery_error'; diff --git a/src/core/server/plugins/discovery/plugin_manifest_parser.ts b/src/core/server/plugins/discovery/plugin_manifest_parser.ts index 470cf20dc3c4..0f39f14b0ce5 100644 --- a/src/core/server/plugins/discovery/plugin_manifest_parser.ts +++ b/src/core/server/plugins/discovery/plugin_manifest_parser.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { readFile, stat } from 'fs'; import { resolve } from 'path'; import { coerce } from 'semver'; diff --git a/src/core/server/plugins/discovery/plugins_discovery.test.mocks.ts b/src/core/server/plugins/discovery/plugins_discovery.test.mocks.ts index da431deb8d21..9cf29885e7bb 100644 --- a/src/core/server/plugins/discovery/plugins_discovery.test.mocks.ts +++ b/src/core/server/plugins/discovery/plugins_discovery.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const mockPackage = { raw: {}, }; diff --git a/src/core/server/plugins/discovery/plugins_discovery.test.ts b/src/core/server/plugins/discovery/plugins_discovery.test.ts index a672ba3aee15..a6828e4bd3b3 100644 --- a/src/core/server/plugins/discovery/plugins_discovery.test.ts +++ b/src/core/server/plugins/discovery/plugins_discovery.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // must be before mocks imports to avoid conflicting with `REPO_ROOT` accessor. import { REPO_ROOT } from '@osd/dev-utils'; import { mockPackage } from './plugins_discovery.test.mocks'; diff --git a/src/core/server/plugins/discovery/plugins_discovery.ts b/src/core/server/plugins/discovery/plugins_discovery.ts index 509aab12ddaa..910961029787 100644 --- a/src/core/server/plugins/discovery/plugins_discovery.ts +++ b/src/core/server/plugins/discovery/plugins_discovery.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { readdir, stat } from 'fs'; import { resolve } from 'path'; import { bindNodeCallback, from, merge, Observable } from 'rxjs'; diff --git a/src/core/server/plugins/index.ts b/src/core/server/plugins/index.ts index b87353879b15..a31b73620094 100644 --- a/src/core/server/plugins/index.ts +++ b/src/core/server/plugins/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { PluginsService, PluginsServiceSetup, diff --git a/src/core/server/plugins/integration_tests/plugins_service.test.mocks.ts b/src/core/server/plugins/integration_tests/plugins_service.test.mocks.ts index c509dc0990e0..58f2a241a83b 100644 --- a/src/core/server/plugins/integration_tests/plugins_service.test.mocks.ts +++ b/src/core/server/plugins/integration_tests/plugins_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const mockPackage = { raw: { __dirname: '/tmp' } as any, }; diff --git a/src/core/server/plugins/integration_tests/plugins_service.test.ts b/src/core/server/plugins/integration_tests/plugins_service.test.ts index 9d78829190c6..29396d0acce6 100644 --- a/src/core/server/plugins/integration_tests/plugins_service.test.ts +++ b/src/core/server/plugins/integration_tests/plugins_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // must be before mocks imports to avoid conflicting with `REPO_ROOT` accessor. import { REPO_ROOT } from '@osd/dev-utils'; import { mockPackage, mockDiscover } from './plugins_service.test.mocks'; diff --git a/src/core/server/plugins/plugin.test.ts b/src/core/server/plugins/plugin.test.ts index 040f7c247aad..1858f7557adb 100644 --- a/src/core/server/plugins/plugin.test.ts +++ b/src/core/server/plugins/plugin.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { join } from 'path'; import { BehaviorSubject } from 'rxjs'; import { REPO_ROOT } from '@osd/dev-utils'; diff --git a/src/core/server/plugins/plugin.ts b/src/core/server/plugins/plugin.ts index d7bb9daff28b..7dbe4da4cc51 100644 --- a/src/core/server/plugins/plugin.ts +++ b/src/core/server/plugins/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { join } from 'path'; import typeDetect from 'type-detect'; import { Subject } from 'rxjs'; diff --git a/src/core/server/plugins/plugin_context.test.ts b/src/core/server/plugins/plugin_context.test.ts index a17fbf406a36..c55603679c35 100644 --- a/src/core/server/plugins/plugin_context.test.ts +++ b/src/core/server/plugins/plugin_context.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/plugins/plugin_context.ts b/src/core/server/plugins/plugin_context.ts index e4bfe59cb982..521a8dd2f7b0 100644 --- a/src/core/server/plugins/plugin_context.ts +++ b/src/core/server/plugins/plugin_context.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { map, shareReplay } from 'rxjs/operators'; import { combineLatest } from 'rxjs'; import { PathConfigType, config as pathConfig } from '@osd/utils'; diff --git a/src/core/server/plugins/plugins_config.test.ts b/src/core/server/plugins/plugins_config.test.ts index 0cffdc9a3c2f..32592dc2c58c 100644 --- a/src/core/server/plugins/plugins_config.test.ts +++ b/src/core/server/plugins/plugins_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/plugins/plugins_config.ts b/src/core/server/plugins/plugins_config.ts index 5697d57d96a4..a9923a980cd4 100644 --- a/src/core/server/plugins/plugins_config.ts +++ b/src/core/server/plugins/plugins_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; import { Env } from '../config'; diff --git a/src/core/server/plugins/plugins_service.mock.ts b/src/core/server/plugins/plugins_service.mock.ts index 30d4e09413fe..17e341c7dad1 100644 --- a/src/core/server/plugins/plugins_service.mock.ts +++ b/src/core/server/plugins/plugins_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { PluginsService, PluginsServiceSetup } from './plugins_service'; diff --git a/src/core/server/plugins/plugins_service.test.mocks.ts b/src/core/server/plugins/plugins_service.test.mocks.ts index ba624d858a6a..e3b4636c71d1 100644 --- a/src/core/server/plugins/plugins_service.test.mocks.ts +++ b/src/core/server/plugins/plugins_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { REPO_ROOT } from '@osd/utils'; import { resolve } from 'path'; diff --git a/src/core/server/plugins/plugins_service.test.ts b/src/core/server/plugins/plugins_service.test.ts index 49d0196a398b..cc4ac5e65fa5 100644 --- a/src/core/server/plugins/plugins_service.test.ts +++ b/src/core/server/plugins/plugins_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockDiscover, mockPackage } from './plugins_service.test.mocks'; import { resolve, join } from 'path'; diff --git a/src/core/server/plugins/plugins_service.ts b/src/core/server/plugins/plugins_service.ts index 2c94919f3f01..3039cae7d9f7 100644 --- a/src/core/server/plugins/plugins_service.ts +++ b/src/core/server/plugins/plugins_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Path from 'path'; import { Observable } from 'rxjs'; import { filter, first, map, mergeMap, tap, toArray } from 'rxjs/operators'; diff --git a/src/core/server/plugins/plugins_system.test.mocks.ts b/src/core/server/plugins/plugins_system.test.mocks.ts index a98a1d66f9c0..7dfa1b348e18 100644 --- a/src/core/server/plugins/plugins_system.test.mocks.ts +++ b/src/core/server/plugins/plugins_system.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const mockCreatePluginSetupContext = jest.fn(); export const mockCreatePluginStartContext = jest.fn(); jest.mock('./plugin_context', () => ({ diff --git a/src/core/server/plugins/plugins_system.test.ts b/src/core/server/plugins/plugins_system.test.ts index 12ec90c47ce8..2e8aa6b4a4c0 100644 --- a/src/core/server/plugins/plugins_system.test.ts +++ b/src/core/server/plugins/plugins_system.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockCreatePluginSetupContext, mockCreatePluginStartContext, diff --git a/src/core/server/plugins/plugins_system.ts b/src/core/server/plugins/plugins_system.ts index 9536f7e45149..b3adc71323f9 100644 --- a/src/core/server/plugins/plugins_system.ts +++ b/src/core/server/plugins/plugins_system.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { withTimeout } from '@osd/std'; import { CoreContext } from '../core_context'; import { Logger } from '../logging'; diff --git a/src/core/server/plugins/types.ts b/src/core/server/plugins/types.ts index bafdd9e72123..cf769b45daa3 100644 --- a/src/core/server/plugins/types.ts +++ b/src/core/server/plugins/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { Type } from '@osd/config-schema'; import { RecursiveReadonly } from '@osd/utility-types'; diff --git a/src/core/server/rendering/__mocks__/params.ts b/src/core/server/rendering/__mocks__/params.ts index 30f6c25f2176..77a081f01a31 100644 --- a/src/core/server/rendering/__mocks__/params.ts +++ b/src/core/server/rendering/__mocks__/params.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockCoreContext } from '../../core_context.mock'; import { httpServiceMock } from '../../http/http_service.mock'; import { pluginServiceMock } from '../../plugins/plugins_service.mock'; diff --git a/src/core/server/rendering/__mocks__/rendering_service.ts b/src/core/server/rendering/__mocks__/rendering_service.ts index 98576eea07cd..f71c52712583 100644 --- a/src/core/server/rendering/__mocks__/rendering_service.ts +++ b/src/core/server/rendering/__mocks__/rendering_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { RenderingService as Service } from '../rendering_service'; import { InternalRenderingServiceSetup } from '../types'; diff --git a/src/core/server/rendering/index.ts b/src/core/server/rendering/index.ts index c8713a52c25a..ee05bf6a2340 100644 --- a/src/core/server/rendering/index.ts +++ b/src/core/server/rendering/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { RenderingService } from './rendering_service'; export * from './types'; diff --git a/src/core/server/rendering/rendering_service.mock.ts b/src/core/server/rendering/rendering_service.mock.ts index 7ba9df660834..aaee62bdae14 100644 --- a/src/core/server/rendering/rendering_service.mock.ts +++ b/src/core/server/rendering/rendering_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { InternalRenderingServiceSetup } from './types'; function createRenderingSetup() { diff --git a/src/core/server/rendering/rendering_service.test.ts b/src/core/server/rendering/rendering_service.test.ts index e4d52dc13648..16247a7c79a1 100644 --- a/src/core/server/rendering/rendering_service.test.ts +++ b/src/core/server/rendering/rendering_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { load } from 'cheerio'; import { httpServerMock } from '../http/http_server.mocks'; diff --git a/src/core/server/rendering/rendering_service.tsx b/src/core/server/rendering/rendering_service.tsx index 770f341e2eb5..70d809778f09 100644 --- a/src/core/server/rendering/rendering_service.tsx +++ b/src/core/server/rendering/rendering_service.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { renderToStaticMarkup } from 'react-dom/server'; import { first, take } from 'rxjs/operators'; diff --git a/src/core/server/rendering/types.ts b/src/core/server/rendering/types.ts index 9caff4fb9499..b8b0456bb757 100644 --- a/src/core/server/rendering/types.ts +++ b/src/core/server/rendering/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Branding } from 'src/core/types'; diff --git a/src/core/server/rendering/views/fonts.tsx b/src/core/server/rendering/views/fonts.tsx index 1e9fcfb4d18f..b3e95ed417ef 100644 --- a/src/core/server/rendering/views/fonts.tsx +++ b/src/core/server/rendering/views/fonts.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable react/no-danger */ import React, { FunctionComponent } from 'react'; diff --git a/src/core/server/rendering/views/index.ts b/src/core/server/rendering/views/index.ts index e83c76dd4d35..1d9e97866dd7 100644 --- a/src/core/server/rendering/views/index.ts +++ b/src/core/server/rendering/views/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Template } from './template'; diff --git a/src/core/server/rendering/views/styles.tsx b/src/core/server/rendering/views/styles.tsx index 2211f461c73e..b3b5e5e5486c 100644 --- a/src/core/server/rendering/views/styles.tsx +++ b/src/core/server/rendering/views/styles.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable react/no-danger */ import React, { FunctionComponent } from 'react'; @@ -163,7 +161,7 @@ export const Styles: FunctionComponent = ({ darkMode }) => { height: 60px; padding: 10px 10px 10px 10px; } - + .loadingLogo { height: 100%; max-width: 100%; diff --git a/src/core/server/rendering/views/template.test.tsx b/src/core/server/rendering/views/template.test.tsx index fd75258816ff..f009f12eb892 100644 --- a/src/core/server/rendering/views/template.test.tsx +++ b/src/core/server/rendering/views/template.test.tsx @@ -1,33 +1,6 @@ /* + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 - * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. - */ - -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import React from 'react'; diff --git a/src/core/server/rendering/views/template.tsx b/src/core/server/rendering/views/template.tsx index 51da4dc59cdc..6af9a474b5de 100644 --- a/src/core/server/rendering/views/template.tsx +++ b/src/core/server/rendering/views/template.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FunctionComponent, createElement } from 'react'; import { RenderingMetadata } from '../types'; diff --git a/src/core/server/root/index.test.mocks.ts b/src/core/server/root/index.test.mocks.ts index 49e6e0399a67..de748a0955f0 100644 --- a/src/core/server/root/index.test.mocks.ts +++ b/src/core/server/root/index.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { loggingSystemMock } from '../logging/logging_system.mock'; export const logger = loggingSystemMock.create(); jest.doMock('../logging/logging_system', () => ({ diff --git a/src/core/server/root/index.test.ts b/src/core/server/root/index.test.ts index 7ac6dda297ae..17a53ca2eb86 100644 --- a/src/core/server/root/index.test.ts +++ b/src/core/server/root/index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { rawConfigService, configService, logger, mockServer } from './index.test.mocks'; import { BehaviorSubject } from 'rxjs'; diff --git a/src/core/server/root/index.ts b/src/core/server/root/index.ts index 1e1a3cc17994..73b37eadc4db 100644 --- a/src/core/server/root/index.ts +++ b/src/core/server/root/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ConnectableObservable, Subscription } from 'rxjs'; import { first, map, publishReplay, switchMap, tap } from 'rxjs/operators'; diff --git a/src/core/server/saved_objects/export/get_sorted_objects_for_export.test.ts b/src/core/server/saved_objects/export/get_sorted_objects_for_export.test.ts index 0371e917b2ac..ac2806748207 100644 --- a/src/core/server/saved_objects/export/get_sorted_objects_for_export.test.ts +++ b/src/core/server/saved_objects/export/get_sorted_objects_for_export.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { exportSavedObjectsToStream } from './get_sorted_objects_for_export'; import { savedObjectsClientMock } from '../service/saved_objects_client.mock'; import { Readable } from 'stream'; diff --git a/src/core/server/saved_objects/export/get_sorted_objects_for_export.ts b/src/core/server/saved_objects/export/get_sorted_objects_for_export.ts index 6afb7a06771f..7bf6e9f6ccdc 100644 --- a/src/core/server/saved_objects/export/get_sorted_objects_for_export.ts +++ b/src/core/server/saved_objects/export/get_sorted_objects_for_export.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Boom from '@hapi/boom'; import { createListStream } from '../../utils/streams'; import { SavedObjectsClientContract, SavedObject } from '../types'; diff --git a/src/core/server/saved_objects/export/index.ts b/src/core/server/saved_objects/export/index.ts index c878317693a8..1a8c61b492b7 100644 --- a/src/core/server/saved_objects/export/index.ts +++ b/src/core/server/saved_objects/export/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { exportSavedObjectsToStream, SavedObjectsExportOptions, diff --git a/src/core/server/saved_objects/export/inject_nested_depdendencies.test.ts b/src/core/server/saved_objects/export/inject_nested_depdendencies.test.ts index 2bb749bf7ab1..587491280285 100644 --- a/src/core/server/saved_objects/export/inject_nested_depdendencies.test.ts +++ b/src/core/server/saved_objects/export/inject_nested_depdendencies.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/export/inject_nested_depdendencies.ts b/src/core/server/saved_objects/export/inject_nested_depdendencies.ts index ec42fedf9e16..d4b566c7fa89 100644 --- a/src/core/server/saved_objects/export/inject_nested_depdendencies.ts +++ b/src/core/server/saved_objects/export/inject_nested_depdendencies.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/export/sort_objects.test.ts b/src/core/server/saved_objects/export/sort_objects.test.ts index 7c2f4788708e..9fb0d0a29d35 100644 --- a/src/core/server/saved_objects/export/sort_objects.test.ts +++ b/src/core/server/saved_objects/export/sort_objects.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/export/sort_objects.ts b/src/core/server/saved_objects/export/sort_objects.ts index 0288fff40aeb..7c361d11670d 100644 --- a/src/core/server/saved_objects/export/sort_objects.ts +++ b/src/core/server/saved_objects/export/sort_objects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/__mocks__/index.ts b/src/core/server/saved_objects/import/__mocks__/index.ts index d822bd9673a9..91a9dc9c1d8b 100644 --- a/src/core/server/saved_objects/import/__mocks__/index.ts +++ b/src/core/server/saved_objects/import/__mocks__/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/check_conflicts.test.ts b/src/core/server/saved_objects/import/check_conflicts.test.ts index 57cec5823db4..4c093f7c6bca 100644 --- a/src/core/server/saved_objects/import/check_conflicts.test.ts +++ b/src/core/server/saved_objects/import/check_conflicts.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockUuidv4 } from './__mocks__'; import { savedObjectsClientMock } from '../../mocks'; import { SavedObjectReference, SavedObjectsImportRetry } from 'opensearch-dashboards/public'; diff --git a/src/core/server/saved_objects/import/check_conflicts.ts b/src/core/server/saved_objects/import/check_conflicts.ts index c3a076791f4c..830f7f55d7c5 100644 --- a/src/core/server/saved_objects/import/check_conflicts.ts +++ b/src/core/server/saved_objects/import/check_conflicts.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { v4 as uuidv4 } from 'uuid'; import { SavedObject, diff --git a/src/core/server/saved_objects/import/check_origin_conflicts.test.ts b/src/core/server/saved_objects/import/check_origin_conflicts.test.ts index be56b927f437..3002ab058036 100644 --- a/src/core/server/saved_objects/import/check_origin_conflicts.test.ts +++ b/src/core/server/saved_objects/import/check_origin_conflicts.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/check_origin_conflicts.ts b/src/core/server/saved_objects/import/check_origin_conflicts.ts index fde1aba7e5fd..7ef98982e149 100644 --- a/src/core/server/saved_objects/import/check_origin_conflicts.ts +++ b/src/core/server/saved_objects/import/check_origin_conflicts.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/collect_saved_objects.test.ts b/src/core/server/saved_objects/import/collect_saved_objects.test.ts index f2592982128e..42e48a15ff3a 100644 --- a/src/core/server/saved_objects/import/collect_saved_objects.test.ts +++ b/src/core/server/saved_objects/import/collect_saved_objects.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Readable, PassThrough } from 'stream'; import { collectSavedObjects } from './collect_saved_objects'; import { createLimitStream } from './create_limit_stream'; diff --git a/src/core/server/saved_objects/import/collect_saved_objects.ts b/src/core/server/saved_objects/import/collect_saved_objects.ts index 56d46813d8f9..8fd015c44991 100644 --- a/src/core/server/saved_objects/import/collect_saved_objects.ts +++ b/src/core/server/saved_objects/import/collect_saved_objects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/create_limit_stream.test.ts b/src/core/server/saved_objects/import/create_limit_stream.test.ts index cd0ea568199b..d112bed4afd7 100644 --- a/src/core/server/saved_objects/import/create_limit_stream.test.ts +++ b/src/core/server/saved_objects/import/create_limit_stream.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createConcatStream, createListStream, diff --git a/src/core/server/saved_objects/import/create_limit_stream.ts b/src/core/server/saved_objects/import/create_limit_stream.ts index 2a19d836678f..26461ed7d798 100644 --- a/src/core/server/saved_objects/import/create_limit_stream.ts +++ b/src/core/server/saved_objects/import/create_limit_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Boom from '@hapi/boom'; import { Transform } from 'stream'; diff --git a/src/core/server/saved_objects/import/create_objects_filter.test.ts b/src/core/server/saved_objects/import/create_objects_filter.test.ts index ecc3ddd8523e..bca806e5fc01 100644 --- a/src/core/server/saved_objects/import/create_objects_filter.test.ts +++ b/src/core/server/saved_objects/import/create_objects_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/create_objects_filter.ts b/src/core/server/saved_objects/import/create_objects_filter.ts index 6813dcbf4aec..80d5d330a81d 100644 --- a/src/core/server/saved_objects/import/create_objects_filter.ts +++ b/src/core/server/saved_objects/import/create_objects_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObject } from '../types'; import { SavedObjectsImportRetry } from './types'; diff --git a/src/core/server/saved_objects/import/create_saved_objects.test.ts b/src/core/server/saved_objects/import/create_saved_objects.test.ts index e86f8d4d8e8e..9c40124c34cd 100644 --- a/src/core/server/saved_objects/import/create_saved_objects.test.ts +++ b/src/core/server/saved_objects/import/create_saved_objects.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { savedObjectsClientMock } from '../../mocks'; import { createSavedObjects } from './create_saved_objects'; import { SavedObjectsClientContract, SavedObject, SavedObjectsImportError } from '../types'; diff --git a/src/core/server/saved_objects/import/create_saved_objects.ts b/src/core/server/saved_objects/import/create_saved_objects.ts index 541404c834f3..a3a1eebbd2ab 100644 --- a/src/core/server/saved_objects/import/create_saved_objects.ts +++ b/src/core/server/saved_objects/import/create_saved_objects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObject, SavedObjectsClientContract, SavedObjectsImportError } from '../types'; import { extractErrors } from './extract_errors'; import { CreatedObject } from './types'; diff --git a/src/core/server/saved_objects/import/extract_errors.test.ts b/src/core/server/saved_objects/import/extract_errors.test.ts index 0bf65cbc0436..399f0d904bd3 100644 --- a/src/core/server/saved_objects/import/extract_errors.test.ts +++ b/src/core/server/saved_objects/import/extract_errors.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObject } from '../types'; import { extractErrors } from './extract_errors'; import { SavedObjectsErrorHelpers } from '..'; diff --git a/src/core/server/saved_objects/import/extract_errors.ts b/src/core/server/saved_objects/import/extract_errors.ts index f86445ab884a..16a43e9bd2d8 100644 --- a/src/core/server/saved_objects/import/extract_errors.ts +++ b/src/core/server/saved_objects/import/extract_errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/get_non_unique_entries.test.ts b/src/core/server/saved_objects/import/get_non_unique_entries.test.ts index d5edd03bc9e2..4bd8a549f5cd 100644 --- a/src/core/server/saved_objects/import/get_non_unique_entries.test.ts +++ b/src/core/server/saved_objects/import/get_non_unique_entries.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/get_non_unique_entries.ts b/src/core/server/saved_objects/import/get_non_unique_entries.ts index 202bcf382d1f..2bae05444346 100644 --- a/src/core/server/saved_objects/import/get_non_unique_entries.ts +++ b/src/core/server/saved_objects/import/get_non_unique_entries.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/import_saved_objects.test.ts b/src/core/server/saved_objects/import/import_saved_objects.test.ts index 6c3440e341da..de8fb34dfbed 100644 --- a/src/core/server/saved_objects/import/import_saved_objects.test.ts +++ b/src/core/server/saved_objects/import/import_saved_objects.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Readable } from 'stream'; import { v4 as uuidv4 } from 'uuid'; import { diff --git a/src/core/server/saved_objects/import/import_saved_objects.ts b/src/core/server/saved_objects/import/import_saved_objects.ts index b35f17651100..cd250fc5f65f 100644 --- a/src/core/server/saved_objects/import/import_saved_objects.ts +++ b/src/core/server/saved_objects/import/import_saved_objects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/index.ts b/src/core/server/saved_objects/import/index.ts index 7b423bc48a4e..eafab25aebd4 100644 --- a/src/core/server/saved_objects/import/index.ts +++ b/src/core/server/saved_objects/import/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/regenerate_ids.test.ts b/src/core/server/saved_objects/import/regenerate_ids.test.ts index 0df8ed3904c6..11556c8a21c1 100644 --- a/src/core/server/saved_objects/import/regenerate_ids.test.ts +++ b/src/core/server/saved_objects/import/regenerate_ids.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/regenerate_ids.ts b/src/core/server/saved_objects/import/regenerate_ids.ts index c30ec18b42f5..672a8f030620 100644 --- a/src/core/server/saved_objects/import/regenerate_ids.ts +++ b/src/core/server/saved_objects/import/regenerate_ids.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { v4 as uuidv4 } from 'uuid'; import { SavedObject } from '../types'; diff --git a/src/core/server/saved_objects/import/resolve_import_errors.test.ts b/src/core/server/saved_objects/import/resolve_import_errors.test.ts index 0276f190c489..bd0ba1afdc9d 100644 --- a/src/core/server/saved_objects/import/resolve_import_errors.test.ts +++ b/src/core/server/saved_objects/import/resolve_import_errors.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/resolve_import_errors.ts b/src/core/server/saved_objects/import/resolve_import_errors.ts index b376fd247197..162410c4ce9b 100644 --- a/src/core/server/saved_objects/import/resolve_import_errors.ts +++ b/src/core/server/saved_objects/import/resolve_import_errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { collectSavedObjects } from './collect_saved_objects'; import { createObjectsFilter } from './create_objects_filter'; import { splitOverwrites } from './split_overwrites'; diff --git a/src/core/server/saved_objects/import/split_overwrites.test.ts b/src/core/server/saved_objects/import/split_overwrites.test.ts index 09a36a89e45d..c54f0cc2e5f4 100644 --- a/src/core/server/saved_objects/import/split_overwrites.test.ts +++ b/src/core/server/saved_objects/import/split_overwrites.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/split_overwrites.ts b/src/core/server/saved_objects/import/split_overwrites.ts index 5960f40dc79e..867d85369485 100644 --- a/src/core/server/saved_objects/import/split_overwrites.ts +++ b/src/core/server/saved_objects/import/split_overwrites.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObject } from '../types'; import { SavedObjectsImportRetry } from './types'; diff --git a/src/core/server/saved_objects/import/types.ts b/src/core/server/saved_objects/import/types.ts index b90ecb49a575..88beacb9d2fd 100644 --- a/src/core/server/saved_objects/import/types.ts +++ b/src/core/server/saved_objects/import/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/validate_references.test.ts b/src/core/server/saved_objects/import/validate_references.test.ts index f355a8fb922c..8b9a4ebee4c1 100644 --- a/src/core/server/saved_objects/import/validate_references.test.ts +++ b/src/core/server/saved_objects/import/validate_references.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/validate_references.ts b/src/core/server/saved_objects/import/validate_references.ts index 296990f6332e..fb75eb837443 100644 --- a/src/core/server/saved_objects/import/validate_references.ts +++ b/src/core/server/saved_objects/import/validate_references.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Boom from '@hapi/boom'; import { SavedObject, SavedObjectsClientContract } from '../types'; import { SavedObjectsImportError, SavedObjectsImportRetry } from './types'; diff --git a/src/core/server/saved_objects/import/validate_retries.test.ts b/src/core/server/saved_objects/import/validate_retries.test.ts index 90d6049e5fe3..fd4c40940859 100644 --- a/src/core/server/saved_objects/import/validate_retries.test.ts +++ b/src/core/server/saved_objects/import/validate_retries.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/import/validate_retries.ts b/src/core/server/saved_objects/import/validate_retries.ts index d91e75754ade..3bd0cb0ff0d4 100644 --- a/src/core/server/saved_objects/import/validate_retries.ts +++ b/src/core/server/saved_objects/import/validate_retries.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsImportRetry } from './types'; import { getNonUniqueEntries } from './get_non_unique_entries'; import { SavedObjectsErrorHelpers } from '..'; diff --git a/src/core/server/saved_objects/index.ts b/src/core/server/saved_objects/index.ts index 2ccee2333e99..06b2b65fd184 100644 --- a/src/core/server/saved_objects/index.ts +++ b/src/core/server/saved_objects/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './service'; export * from './import'; diff --git a/src/core/server/saved_objects/mappings/index.ts b/src/core/server/saved_objects/mappings/index.ts index f5400384bbe3..14e1e48ebe7f 100644 --- a/src/core/server/saved_objects/mappings/index.ts +++ b/src/core/server/saved_objects/mappings/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { getTypes, getProperty, getRootProperties, getRootPropertiesObjects } from './lib'; export { SavedObjectsTypeMappingDefinition, diff --git a/src/core/server/saved_objects/mappings/lib/get_property.test.ts b/src/core/server/saved_objects/mappings/lib/get_property.test.ts index d23d64648b20..505604f58ca9 100644 --- a/src/core/server/saved_objects/mappings/lib/get_property.test.ts +++ b/src/core/server/saved_objects/mappings/lib/get_property.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/mappings/lib/get_property.ts b/src/core/server/saved_objects/mappings/lib/get_property.ts index 03a9ef1a02a5..cb7335e97fa3 100644 --- a/src/core/server/saved_objects/mappings/lib/get_property.ts +++ b/src/core/server/saved_objects/mappings/lib/get_property.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/mappings/lib/get_root_properties.ts b/src/core/server/saved_objects/mappings/lib/get_root_properties.ts index 08630f14cadc..e00a6f96db75 100644 --- a/src/core/server/saved_objects/mappings/lib/get_root_properties.ts +++ b/src/core/server/saved_objects/mappings/lib/get_root_properties.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/mappings/lib/get_root_properties_objects.test.ts b/src/core/server/saved_objects/mappings/lib/get_root_properties_objects.test.ts index 00ca1110df2a..23070484be45 100644 --- a/src/core/server/saved_objects/mappings/lib/get_root_properties_objects.test.ts +++ b/src/core/server/saved_objects/mappings/lib/get_root_properties_objects.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/mappings/lib/get_root_properties_objects.ts b/src/core/server/saved_objects/mappings/lib/get_root_properties_objects.ts index c0b8adc5a5ae..68587b8caeed 100644 --- a/src/core/server/saved_objects/mappings/lib/get_root_properties_objects.ts +++ b/src/core/server/saved_objects/mappings/lib/get_root_properties_objects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/mappings/lib/get_types.ts b/src/core/server/saved_objects/mappings/lib/get_types.ts index b2bab95e1ecf..c5395680c42f 100644 --- a/src/core/server/saved_objects/mappings/lib/get_types.ts +++ b/src/core/server/saved_objects/mappings/lib/get_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/mappings/lib/index.ts b/src/core/server/saved_objects/mappings/lib/index.ts index a67975b8e7f0..b0ff25fbbdc5 100644 --- a/src/core/server/saved_objects/mappings/lib/index.ts +++ b/src/core/server/saved_objects/mappings/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/mappings/types.ts b/src/core/server/saved_objects/mappings/types.ts index e14b3febb709..d3d41fe53e68 100644 --- a/src/core/server/saved_objects/mappings/types.ts +++ b/src/core/server/saved_objects/mappings/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import type { opensearchtypes } from '@opensearch-project/opensearch'; /** diff --git a/src/core/server/saved_objects/migrations/core/build_active_mappings.test.ts b/src/core/server/saved_objects/migrations/core/build_active_mappings.test.ts index 02b83d16e2fb..c70dbbb241bc 100644 --- a/src/core/server/saved_objects/migrations/core/build_active_mappings.test.ts +++ b/src/core/server/saved_objects/migrations/core/build_active_mappings.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/build_active_mappings.ts b/src/core/server/saved_objects/migrations/core/build_active_mappings.ts index 58457332951b..bf377a13a42e 100644 --- a/src/core/server/saved_objects/migrations/core/build_active_mappings.ts +++ b/src/core/server/saved_objects/migrations/core/build_active_mappings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/build_index_map.test.ts b/src/core/server/saved_objects/migrations/core/build_index_map.test.ts index eb46066f1864..90edd661f0d9 100644 --- a/src/core/server/saved_objects/migrations/core/build_index_map.test.ts +++ b/src/core/server/saved_objects/migrations/core/build_index_map.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/build_index_map.ts b/src/core/server/saved_objects/migrations/core/build_index_map.ts index e5e0bf2f7fa1..1a931fa2db20 100644 --- a/src/core/server/saved_objects/migrations/core/build_index_map.ts +++ b/src/core/server/saved_objects/migrations/core/build_index_map.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsTypeMappingDefinitions } from '../../mappings'; import { ISavedObjectTypeRegistry } from '../../saved_objects_type_registry'; diff --git a/src/core/server/saved_objects/migrations/core/call_cluster.ts b/src/core/server/saved_objects/migrations/core/call_cluster.ts index c3e6a72f937a..94338bdd1535 100644 --- a/src/core/server/saved_objects/migrations/core/call_cluster.ts +++ b/src/core/server/saved_objects/migrations/core/call_cluster.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/document_migrator.test.ts b/src/core/server/saved_objects/migrations/core/document_migrator.test.ts index 7d2d3891edaf..2cf718148375 100644 --- a/src/core/server/saved_objects/migrations/core/document_migrator.test.ts +++ b/src/core/server/saved_objects/migrations/core/document_migrator.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/document_migrator.ts b/src/core/server/saved_objects/migrations/core/document_migrator.ts index 8a4171da4a2f..e6a5f4fb3697 100644 --- a/src/core/server/saved_objects/migrations/core/document_migrator.ts +++ b/src/core/server/saved_objects/migrations/core/document_migrator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/index.ts b/src/core/server/saved_objects/migrations/core/index.ts index a8976b9a5b9b..5aad65a44d50 100644 --- a/src/core/server/saved_objects/migrations/core/index.ts +++ b/src/core/server/saved_objects/migrations/core/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DocumentMigrator } from './document_migrator'; export { IndexMigrator } from './index_migrator'; export { buildActiveMappings } from './build_active_mappings'; diff --git a/src/core/server/saved_objects/migrations/core/index_migrator.test.ts b/src/core/server/saved_objects/migrations/core/index_migrator.test.ts index 5cf4e4063808..2860de529764 100644 --- a/src/core/server/saved_objects/migrations/core/index_migrator.test.ts +++ b/src/core/server/saved_objects/migrations/core/index_migrator.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/index_migrator.ts b/src/core/server/saved_objects/migrations/core/index_migrator.ts index 17ac3f752917..1a616f8a2c7d 100644 --- a/src/core/server/saved_objects/migrations/core/index_migrator.ts +++ b/src/core/server/saved_objects/migrations/core/index_migrator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { diffMappings } from './build_active_mappings'; import * as Index from './opensearch_index'; import { migrateRawDocs } from './migrate_raw_docs'; diff --git a/src/core/server/saved_objects/migrations/core/migrate_raw_docs.test.ts b/src/core/server/saved_objects/migrations/core/migrate_raw_docs.test.ts index 73d6003b0133..77bc50b8e0e3 100644 --- a/src/core/server/saved_objects/migrations/core/migrate_raw_docs.test.ts +++ b/src/core/server/saved_objects/migrations/core/migrate_raw_docs.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { set } from '@elastic/safer-lodash-set'; import _ from 'lodash'; import { SavedObjectTypeRegistry } from '../../saved_objects_type_registry'; diff --git a/src/core/server/saved_objects/migrations/core/migrate_raw_docs.ts b/src/core/server/saved_objects/migrations/core/migrate_raw_docs.ts index dee6d64feba6..17948eb0f2e9 100644 --- a/src/core/server/saved_objects/migrations/core/migrate_raw_docs.ts +++ b/src/core/server/saved_objects/migrations/core/migrate_raw_docs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/migration_context.test.ts b/src/core/server/saved_objects/migrations/core/migration_context.test.ts index ce1324183cbe..71db15842cd3 100644 --- a/src/core/server/saved_objects/migrations/core/migration_context.test.ts +++ b/src/core/server/saved_objects/migrations/core/migration_context.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/migration_context.ts b/src/core/server/saved_objects/migrations/core/migration_context.ts index a87b49a4e99b..82001f7ed4c4 100644 --- a/src/core/server/saved_objects/migrations/core/migration_context.ts +++ b/src/core/server/saved_objects/migrations/core/migration_context.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/migration_coordinator.test.ts b/src/core/server/saved_objects/migrations/core/migration_coordinator.test.ts index 179fc474e111..0aeb36cf3af2 100644 --- a/src/core/server/saved_objects/migrations/core/migration_coordinator.test.ts +++ b/src/core/server/saved_objects/migrations/core/migration_coordinator.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/migration_coordinator.ts b/src/core/server/saved_objects/migrations/core/migration_coordinator.ts index 20ff81795743..f5b6053322b1 100644 --- a/src/core/server/saved_objects/migrations/core/migration_coordinator.ts +++ b/src/core/server/saved_objects/migrations/core/migration_coordinator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/migration_logger.ts b/src/core/server/saved_objects/migrations/core/migration_logger.ts index 5b1b8de43878..c4567b4c662a 100644 --- a/src/core/server/saved_objects/migrations/core/migration_logger.ts +++ b/src/core/server/saved_objects/migrations/core/migration_logger.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/migration_opensearch_client.test.mock.ts b/src/core/server/saved_objects/migrations/core/migration_opensearch_client.test.mock.ts index 44c8cde763f7..d26f7efdab7d 100644 --- a/src/core/server/saved_objects/migrations/core/migration_opensearch_client.test.mock.ts +++ b/src/core/server/saved_objects/migrations/core/migration_opensearch_client.test.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/migration_opensearch_client.test.ts b/src/core/server/saved_objects/migrations/core/migration_opensearch_client.test.ts index 9333ca61497a..91f11cbd4878 100644 --- a/src/core/server/saved_objects/migrations/core/migration_opensearch_client.test.ts +++ b/src/core/server/saved_objects/migrations/core/migration_opensearch_client.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/migration_opensearch_client.ts b/src/core/server/saved_objects/migrations/core/migration_opensearch_client.ts index 6d481a81435b..7ab77d5a62dd 100644 --- a/src/core/server/saved_objects/migrations/core/migration_opensearch_client.ts +++ b/src/core/server/saved_objects/migrations/core/migration_opensearch_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/opensearch_index.test.ts b/src/core/server/saved_objects/migrations/core/opensearch_index.test.ts index e4bb1a12735e..11e5fe214a84 100644 --- a/src/core/server/saved_objects/migrations/core/opensearch_index.test.ts +++ b/src/core/server/saved_objects/migrations/core/opensearch_index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/core/opensearch_index.ts b/src/core/server/saved_objects/migrations/core/opensearch_index.ts index dc5d8b507c5b..0fc03ccd05c0 100644 --- a/src/core/server/saved_objects/migrations/core/opensearch_index.ts +++ b/src/core/server/saved_objects/migrations/core/opensearch_index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/index.ts b/src/core/server/saved_objects/migrations/index.ts index 79a742fa66af..9b7af46a796a 100644 --- a/src/core/server/saved_objects/migrations/index.ts +++ b/src/core/server/saved_objects/migrations/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { MigrationResult } from './core'; export { OpenSearchDashboardsMigrator, diff --git a/src/core/server/saved_objects/migrations/mocks.ts b/src/core/server/saved_objects/migrations/mocks.ts index db3f882a8d23..cbfcdaeabdc2 100644 --- a/src/core/server/saved_objects/migrations/mocks.ts +++ b/src/core/server/saved_objects/migrations/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/opensearch_dashboards/__mocks__/opensearch_dashboards_migrator.ts b/src/core/server/saved_objects/migrations/opensearch_dashboards/__mocks__/opensearch_dashboards_migrator.ts index d462234b373a..6b5849f63d4a 100644 --- a/src/core/server/saved_objects/migrations/opensearch_dashboards/__mocks__/opensearch_dashboards_migrator.ts +++ b/src/core/server/saved_objects/migrations/opensearch_dashboards/__mocks__/opensearch_dashboards_migrator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/opensearch_dashboards/index.ts b/src/core/server/saved_objects/migrations/opensearch_dashboards/index.ts index f13803d63d0c..ca497df550d1 100644 --- a/src/core/server/saved_objects/migrations/opensearch_dashboards/index.ts +++ b/src/core/server/saved_objects/migrations/opensearch_dashboards/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.mock.ts b/src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.mock.ts index fa9c7873d902..7425f9ec1cd5 100644 --- a/src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.mock.ts +++ b/src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { diff --git a/src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.test.ts b/src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.test.ts index cf3fa5c97670..32a1bc51a554 100644 --- a/src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.test.ts +++ b/src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.ts b/src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.ts index 9cb72a02140b..284615083af3 100644 --- a/src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.ts +++ b/src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/migrations/types.ts b/src/core/server/saved_objects/migrations/types.ts index 8fd4582cdba2..3c8771664d9a 100644 --- a/src/core/server/saved_objects/migrations/types.ts +++ b/src/core/server/saved_objects/migrations/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/opensearch_query.js b/src/core/server/saved_objects/opensearch_query.js index ad4cdf8bc316..fd5e51f96a5e 100644 --- a/src/core/server/saved_objects/opensearch_query.js +++ b/src/core/server/saved_objects/opensearch_query.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ // a temporary file to remove circular deps in TS code between platform & data plugin // eslint-disable-next-line @osd/eslint/no-restricted-paths export { opensearchKuery } from '../../../plugins/data/server'; diff --git a/src/core/server/saved_objects/routes/bulk_create.ts b/src/core/server/saved_objects/routes/bulk_create.ts index 5faaf4c60b9e..5c2844d64813 100644 --- a/src/core/server/saved_objects/routes/bulk_create.ts +++ b/src/core/server/saved_objects/routes/bulk_create.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/bulk_get.ts b/src/core/server/saved_objects/routes/bulk_get.ts index f715bb5d0e9f..c58978ae02c7 100644 --- a/src/core/server/saved_objects/routes/bulk_get.ts +++ b/src/core/server/saved_objects/routes/bulk_get.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/bulk_update.ts b/src/core/server/saved_objects/routes/bulk_update.ts index 250f3a825110..9d4dfe9bd00b 100644 --- a/src/core/server/saved_objects/routes/bulk_update.ts +++ b/src/core/server/saved_objects/routes/bulk_update.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/create.ts b/src/core/server/saved_objects/routes/create.ts index 4f33e45ab85e..c8c330ba7774 100644 --- a/src/core/server/saved_objects/routes/create.ts +++ b/src/core/server/saved_objects/routes/create.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/delete.ts b/src/core/server/saved_objects/routes/delete.ts index 6cc3e357ea5d..25296fe6855f 100644 --- a/src/core/server/saved_objects/routes/delete.ts +++ b/src/core/server/saved_objects/routes/delete.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/export.ts b/src/core/server/saved_objects/routes/export.ts index 214ca86d2d9f..2c808b731b4e 100644 --- a/src/core/server/saved_objects/routes/export.ts +++ b/src/core/server/saved_objects/routes/export.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/find.ts b/src/core/server/saved_objects/routes/find.ts index 4d82915b1fbc..dbc9bf9e3a0d 100644 --- a/src/core/server/saved_objects/routes/find.ts +++ b/src/core/server/saved_objects/routes/find.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/get.ts b/src/core/server/saved_objects/routes/get.ts index cd03776f8fe5..aa3d051acc7f 100644 --- a/src/core/server/saved_objects/routes/get.ts +++ b/src/core/server/saved_objects/routes/get.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/import.ts b/src/core/server/saved_objects/routes/import.ts index 30ea8273e2f8..b157feb0860e 100644 --- a/src/core/server/saved_objects/routes/import.ts +++ b/src/core/server/saved_objects/routes/import.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/index.ts b/src/core/server/saved_objects/routes/index.ts index b625561b4486..7149474e446c 100644 --- a/src/core/server/saved_objects/routes/index.ts +++ b/src/core/server/saved_objects/routes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/integration_tests/bulk_create.test.ts b/src/core/server/saved_objects/routes/integration_tests/bulk_create.test.ts index cb67efaf5532..6fcd62372d8d 100644 --- a/src/core/server/saved_objects/routes/integration_tests/bulk_create.test.ts +++ b/src/core/server/saved_objects/routes/integration_tests/bulk_create.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/integration_tests/bulk_get.test.ts b/src/core/server/saved_objects/routes/integration_tests/bulk_get.test.ts index ac5179051182..e3fb8dc3e823 100644 --- a/src/core/server/saved_objects/routes/integration_tests/bulk_get.test.ts +++ b/src/core/server/saved_objects/routes/integration_tests/bulk_get.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import supertest from 'supertest'; import { UnwrapPromise } from '@osd/utility-types'; import { registerBulkGetRoute } from '../bulk_get'; diff --git a/src/core/server/saved_objects/routes/integration_tests/bulk_update.test.ts b/src/core/server/saved_objects/routes/integration_tests/bulk_update.test.ts index 548f10899032..1af732e39d1b 100644 --- a/src/core/server/saved_objects/routes/integration_tests/bulk_update.test.ts +++ b/src/core/server/saved_objects/routes/integration_tests/bulk_update.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/integration_tests/create.test.ts b/src/core/server/saved_objects/routes/integration_tests/create.test.ts index ddc5c0037ee3..6348a6f7901d 100644 --- a/src/core/server/saved_objects/routes/integration_tests/create.test.ts +++ b/src/core/server/saved_objects/routes/integration_tests/create.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/integration_tests/delete.test.ts b/src/core/server/saved_objects/routes/integration_tests/delete.test.ts index 4ccf41018ca8..6f8da59348e9 100644 --- a/src/core/server/saved_objects/routes/integration_tests/delete.test.ts +++ b/src/core/server/saved_objects/routes/integration_tests/delete.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/integration_tests/export.test.ts b/src/core/server/saved_objects/routes/integration_tests/export.test.ts index e174c2566543..1b40a1942457 100644 --- a/src/core/server/saved_objects/routes/integration_tests/export.test.ts +++ b/src/core/server/saved_objects/routes/integration_tests/export.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/integration_tests/find.test.ts b/src/core/server/saved_objects/routes/integration_tests/find.test.ts index 3064be4b0d39..fc21eefed434 100644 --- a/src/core/server/saved_objects/routes/integration_tests/find.test.ts +++ b/src/core/server/saved_objects/routes/integration_tests/find.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/integration_tests/get.test.ts b/src/core/server/saved_objects/routes/integration_tests/get.test.ts index 01174390bdbb..9b41c0b61005 100644 --- a/src/core/server/saved_objects/routes/integration_tests/get.test.ts +++ b/src/core/server/saved_objects/routes/integration_tests/get.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import supertest from 'supertest'; import { registerGetRoute } from '../get'; import { ContextService } from '../../../context'; diff --git a/src/core/server/saved_objects/routes/integration_tests/import.test.ts b/src/core/server/saved_objects/routes/integration_tests/import.test.ts index dd0d6e48ec74..1c51234173ae 100644 --- a/src/core/server/saved_objects/routes/integration_tests/import.test.ts +++ b/src/core/server/saved_objects/routes/integration_tests/import.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockUuidv4 } from '../../import/__mocks__'; import supertest from 'supertest'; import { UnwrapPromise } from '@osd/utility-types'; diff --git a/src/core/server/saved_objects/routes/integration_tests/log_legacy_import.test.ts b/src/core/server/saved_objects/routes/integration_tests/log_legacy_import.test.ts index 0ddbc73ab107..d79eae3e69b6 100644 --- a/src/core/server/saved_objects/routes/integration_tests/log_legacy_import.test.ts +++ b/src/core/server/saved_objects/routes/integration_tests/log_legacy_import.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/integration_tests/migrate.test.mocks.ts b/src/core/server/saved_objects/routes/integration_tests/migrate.test.mocks.ts index 9c9b7161e308..a11c98583d8c 100644 --- a/src/core/server/saved_objects/routes/integration_tests/migrate.test.mocks.ts +++ b/src/core/server/saved_objects/routes/integration_tests/migrate.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockOpenSearchDashboardsMigrator } from '../../migrations/opensearch_dashboards/opensearch_dashboards_migrator.mock'; export const migratorInstanceMock = mockOpenSearchDashboardsMigrator.create(); diff --git a/src/core/server/saved_objects/routes/integration_tests/migrate.test.ts b/src/core/server/saved_objects/routes/integration_tests/migrate.test.ts index 097e15d03b0a..cea4f743c5ff 100644 --- a/src/core/server/saved_objects/routes/integration_tests/migrate.test.ts +++ b/src/core/server/saved_objects/routes/integration_tests/migrate.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/integration_tests/resolve_import_errors.test.ts b/src/core/server/saved_objects/routes/integration_tests/resolve_import_errors.test.ts index 92e73488f51d..c8559133f9cd 100644 --- a/src/core/server/saved_objects/routes/integration_tests/resolve_import_errors.test.ts +++ b/src/core/server/saved_objects/routes/integration_tests/resolve_import_errors.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/integration_tests/update.test.ts b/src/core/server/saved_objects/routes/integration_tests/update.test.ts index dad808e7ea8d..6b6c1795bbbf 100644 --- a/src/core/server/saved_objects/routes/integration_tests/update.test.ts +++ b/src/core/server/saved_objects/routes/integration_tests/update.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import supertest from 'supertest'; import { UnwrapPromise } from '@osd/utility-types'; import { registerUpdateRoute } from '../update'; diff --git a/src/core/server/saved_objects/routes/log_legacy_import.ts b/src/core/server/saved_objects/routes/log_legacy_import.ts index 052c558a6536..a1692e816847 100644 --- a/src/core/server/saved_objects/routes/log_legacy_import.ts +++ b/src/core/server/saved_objects/routes/log_legacy_import.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/migrate.ts b/src/core/server/saved_objects/routes/migrate.ts index 8d898a73a076..16e2825d8928 100644 --- a/src/core/server/saved_objects/routes/migrate.ts +++ b/src/core/server/saved_objects/routes/migrate.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/resolve_import_errors.ts b/src/core/server/saved_objects/routes/resolve_import_errors.ts index 19536b2e4b36..5e07125671f1 100644 --- a/src/core/server/saved_objects/routes/resolve_import_errors.ts +++ b/src/core/server/saved_objects/routes/resolve_import_errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/test_utils.ts b/src/core/server/saved_objects/routes/test_utils.ts index a598696f1003..ba48ed02f867 100644 --- a/src/core/server/saved_objects/routes/test_utils.ts +++ b/src/core/server/saved_objects/routes/test_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/update.ts b/src/core/server/saved_objects/routes/update.ts index 3f91f3c51b16..2832b4486e90 100644 --- a/src/core/server/saved_objects/routes/update.ts +++ b/src/core/server/saved_objects/routes/update.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/utils.test.ts b/src/core/server/saved_objects/routes/utils.test.ts index 5fd3269380f6..b959d0e4ed48 100644 --- a/src/core/server/saved_objects/routes/utils.test.ts +++ b/src/core/server/saved_objects/routes/utils.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/routes/utils.ts b/src/core/server/saved_objects/routes/utils.ts index 683030a05597..a4c9375e4716 100644 --- a/src/core/server/saved_objects/routes/utils.ts +++ b/src/core/server/saved_objects/routes/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/saved_objects_config.ts b/src/core/server/saved_objects/saved_objects_config.ts index 4a83de35ae64..291350bf93a6 100644 --- a/src/core/server/saved_objects/saved_objects_config.ts +++ b/src/core/server/saved_objects/saved_objects_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export type SavedObjectsMigrationConfigType = TypeOf; diff --git a/src/core/server/saved_objects/saved_objects_service.mock.ts b/src/core/server/saved_objects/saved_objects_service.mock.ts index b4a82a4aa9f1..ae36b83c0cdd 100644 --- a/src/core/server/saved_objects/saved_objects_service.mock.ts +++ b/src/core/server/saved_objects/saved_objects_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import type { PublicMethodsOf } from '@osd/utility-types'; diff --git a/src/core/server/saved_objects/saved_objects_service.test.mocks.ts b/src/core/server/saved_objects/saved_objects_service.test.mocks.ts index 22151357ea63..080d862814c3 100644 --- a/src/core/server/saved_objects/saved_objects_service.test.mocks.ts +++ b/src/core/server/saved_objects/saved_objects_service.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/saved_objects_service.test.ts b/src/core/server/saved_objects/saved_objects_service.test.ts index 54bd2f74f6b2..42ee52567e5f 100644 --- a/src/core/server/saved_objects/saved_objects_service.test.ts +++ b/src/core/server/saved_objects/saved_objects_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchDashboardsMigratorMock, migratorInstanceMock, diff --git a/src/core/server/saved_objects/saved_objects_service.ts b/src/core/server/saved_objects/saved_objects_service.ts index 86694d7f991c..92649d36beb4 100644 --- a/src/core/server/saved_objects/saved_objects_service.ts +++ b/src/core/server/saved_objects/saved_objects_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/saved_objects_type_registry.mock.ts b/src/core/server/saved_objects/saved_objects_type_registry.mock.ts index ce29b00ee75d..04c10413f0a6 100644 --- a/src/core/server/saved_objects/saved_objects_type_registry.mock.ts +++ b/src/core/server/saved_objects/saved_objects_type_registry.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ISavedObjectTypeRegistry, SavedObjectTypeRegistry } from './saved_objects_type_registry'; const createRegistryMock = (): jest.Mocked< diff --git a/src/core/server/saved_objects/saved_objects_type_registry.test.ts b/src/core/server/saved_objects/saved_objects_type_registry.test.ts index 1ae2fd5deaa7..d23f95ef105f 100644 --- a/src/core/server/saved_objects/saved_objects_type_registry.test.ts +++ b/src/core/server/saved_objects/saved_objects_type_registry.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectTypeRegistry } from './saved_objects_type_registry'; import { SavedObjectsType } from './types'; diff --git a/src/core/server/saved_objects/saved_objects_type_registry.ts b/src/core/server/saved_objects/saved_objects_type_registry.ts index 57a3f9aedb3a..b314d38b3298 100644 --- a/src/core/server/saved_objects/saved_objects_type_registry.ts +++ b/src/core/server/saved_objects/saved_objects_type_registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { deepFreeze } from '@osd/std'; import { SavedObjectsType } from './types'; diff --git a/src/core/server/saved_objects/serialization/index.ts b/src/core/server/saved_objects/serialization/index.ts index d1e1fa86961c..e6a22fa0e910 100644 --- a/src/core/server/saved_objects/serialization/index.ts +++ b/src/core/server/saved_objects/serialization/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* * This file contains the logic for transforming saved objects to / from * the raw document format as stored in OpenSearch. diff --git a/src/core/server/saved_objects/serialization/serializer.test.ts b/src/core/server/saved_objects/serialization/serializer.test.ts index ef7136fbf803..4865f91e204f 100644 --- a/src/core/server/saved_objects/serialization/serializer.test.ts +++ b/src/core/server/saved_objects/serialization/serializer.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { SavedObjectsSerializer } from './serializer'; import { SavedObjectsRawDoc } from './types'; diff --git a/src/core/server/saved_objects/serialization/serializer.ts b/src/core/server/saved_objects/serialization/serializer.ts index 65a58bff2c0c..ff840a1fac60 100644 --- a/src/core/server/saved_objects/serialization/serializer.ts +++ b/src/core/server/saved_objects/serialization/serializer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/serialization/types.ts b/src/core/server/saved_objects/serialization/types.ts index a3374f8ccf39..d10ec75cdf41 100644 --- a/src/core/server/saved_objects/serialization/types.ts +++ b/src/core/server/saved_objects/serialization/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsMigrationVersion, SavedObjectReference } from '../types'; /** diff --git a/src/core/server/saved_objects/service/index.ts b/src/core/server/saved_objects/service/index.ts index 1ba8a6276d20..2fb1c0e01d1a 100644 --- a/src/core/server/saved_objects/service/index.ts +++ b/src/core/server/saved_objects/service/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/service/lib/decorate_opensearch_error.test.ts b/src/core/server/saved_objects/service/lib/decorate_opensearch_error.test.ts index 35e719c9dc00..5d46947b4c3d 100644 --- a/src/core/server/saved_objects/service/lib/decorate_opensearch_error.test.ts +++ b/src/core/server/saved_objects/service/lib/decorate_opensearch_error.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { errors as opensearchErrors } from '@opensearch-project/opensearch'; import { opensearchClientMock } from '../../../opensearch/client/mocks'; import { decorateOpenSearchError } from './decorate_opensearch_error'; diff --git a/src/core/server/saved_objects/service/lib/decorate_opensearch_error.ts b/src/core/server/saved_objects/service/lib/decorate_opensearch_error.ts index c28c2f5111c2..0a0840552db2 100644 --- a/src/core/server/saved_objects/service/lib/decorate_opensearch_error.ts +++ b/src/core/server/saved_objects/service/lib/decorate_opensearch_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { errors as opensearchErrors } from '@opensearch-project/opensearch'; import { get } from 'lodash'; diff --git a/src/core/server/saved_objects/service/lib/errors.test.ts b/src/core/server/saved_objects/service/lib/errors.test.ts index 8926b783f4c4..d7a7fb7d4a4a 100644 --- a/src/core/server/saved_objects/service/lib/errors.test.ts +++ b/src/core/server/saved_objects/service/lib/errors.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Boom from '@hapi/boom'; import { SavedObjectsErrorHelpers } from './errors'; diff --git a/src/core/server/saved_objects/service/lib/errors.ts b/src/core/server/saved_objects/service/lib/errors.ts index 3226140df09e..9fc059955364 100644 --- a/src/core/server/saved_objects/service/lib/errors.ts +++ b/src/core/server/saved_objects/service/lib/errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Boom from '@hapi/boom'; // 400 - badRequest diff --git a/src/core/server/saved_objects/service/lib/filter_utils.test.ts b/src/core/server/saved_objects/service/lib/filter_utils.test.ts index 397bac7e37be..7b32645739fe 100644 --- a/src/core/server/saved_objects/service/lib/filter_utils.test.ts +++ b/src/core/server/saved_objects/service/lib/filter_utils.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ // @ts-expect-error no ts import { opensearchKuery } from '../../opensearch_query'; diff --git a/src/core/server/saved_objects/service/lib/filter_utils.ts b/src/core/server/saved_objects/service/lib/filter_utils.ts index 2e8d9c8c5891..92a1f0ecf0e8 100644 --- a/src/core/server/saved_objects/service/lib/filter_utils.ts +++ b/src/core/server/saved_objects/service/lib/filter_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { set } from '@elastic/safer-lodash-set'; import { get } from 'lodash'; import { SavedObjectsErrorHelpers } from './errors'; diff --git a/src/core/server/saved_objects/service/lib/included_fields.test.ts b/src/core/server/saved_objects/service/lib/included_fields.test.ts index 2998720484ca..7993e83a443b 100644 --- a/src/core/server/saved_objects/service/lib/included_fields.test.ts +++ b/src/core/server/saved_objects/service/lib/included_fields.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { includedFields } from './included_fields'; const BASE_FIELD_COUNT = 9; diff --git a/src/core/server/saved_objects/service/lib/included_fields.ts b/src/core/server/saved_objects/service/lib/included_fields.ts index ba83fbd0cbca..561ba81c4eb7 100644 --- a/src/core/server/saved_objects/service/lib/included_fields.ts +++ b/src/core/server/saved_objects/service/lib/included_fields.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - function toArray(value: string | string[]): string[] { return typeof value === 'string' ? [value] : value; } diff --git a/src/core/server/saved_objects/service/lib/index.ts b/src/core/server/saved_objects/service/lib/index.ts index ab546e133566..76a668012420 100644 --- a/src/core/server/saved_objects/service/lib/index.ts +++ b/src/core/server/saved_objects/service/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ISavedObjectsRepository, SavedObjectsRepository } from './repository'; export { diff --git a/src/core/server/saved_objects/service/lib/priority_collection.test.ts b/src/core/server/saved_objects/service/lib/priority_collection.test.ts index 3c38cedcf624..8a4228e30136 100644 --- a/src/core/server/saved_objects/service/lib/priority_collection.test.ts +++ b/src/core/server/saved_objects/service/lib/priority_collection.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { PriorityCollection } from './priority_collection'; test(`1, 2, 3`, () => { diff --git a/src/core/server/saved_objects/service/lib/priority_collection.ts b/src/core/server/saved_objects/service/lib/priority_collection.ts index da1c8e0e83b4..f69b1ff6f7b1 100644 --- a/src/core/server/saved_objects/service/lib/priority_collection.ts +++ b/src/core/server/saved_objects/service/lib/priority_collection.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - interface PriorityCollectionEntry { priority: number; value: T; diff --git a/src/core/server/saved_objects/service/lib/repository.mock.ts b/src/core/server/saved_objects/service/lib/repository.mock.ts index 3999148b79d3..b9436b364f05 100644 --- a/src/core/server/saved_objects/service/lib/repository.mock.ts +++ b/src/core/server/saved_objects/service/lib/repository.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ISavedObjectsRepository } from './repository'; const create = (): jest.Mocked => ({ diff --git a/src/core/server/saved_objects/service/lib/repository.test.js b/src/core/server/saved_objects/service/lib/repository.test.js index 6c47a91e315e..fb5d366dd454 100644 --- a/src/core/server/saved_objects/service/lib/repository.test.js +++ b/src/core/server/saved_objects/service/lib/repository.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsRepository } from './repository'; import * as getSearchDslNS from './search_dsl/search_dsl'; import { SavedObjectsErrorHelpers } from './errors'; diff --git a/src/core/server/saved_objects/service/lib/repository.ts b/src/core/server/saved_objects/service/lib/repository.ts index 123def8d3c31..bccfd8ff2265 100644 --- a/src/core/server/saved_objects/service/lib/repository.ts +++ b/src/core/server/saved_objects/service/lib/repository.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { omit } from 'lodash'; import type { opensearchtypes } from '@opensearch-project/opensearch'; import uuid from 'uuid'; diff --git a/src/core/server/saved_objects/service/lib/repository_create_repository.test.ts b/src/core/server/saved_objects/service/lib/repository_create_repository.test.ts index 44f9afeebf1e..6dc61ae5b794 100644 --- a/src/core/server/saved_objects/service/lib/repository_create_repository.test.ts +++ b/src/core/server/saved_objects/service/lib/repository_create_repository.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SavedObjectsRepository } from './repository'; import { mockOpenSearchDashboardsMigrator } from '../../migrations/opensearch_dashboards/opensearch_dashboards_migrator.mock'; import { OpenSearchDashboardsMigrator } from '../../migrations'; diff --git a/src/core/server/saved_objects/service/lib/repository_opensearch_client.test.mock.ts b/src/core/server/saved_objects/service/lib/repository_opensearch_client.test.mock.ts index 70d6d38481f7..75727fbfbd3a 100644 --- a/src/core/server/saved_objects/service/lib/repository_opensearch_client.test.mock.ts +++ b/src/core/server/saved_objects/service/lib/repository_opensearch_client.test.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export const retryCallClusterMock = jest.fn((fn) => fn()); jest.doMock('../../../opensearch/client/retry_call_cluster', () => ({ retryCallCluster: retryCallClusterMock, diff --git a/src/core/server/saved_objects/service/lib/repository_opensearch_client.test.ts b/src/core/server/saved_objects/service/lib/repository_opensearch_client.test.ts index 79a0ecb9e854..a09075e3da7e 100644 --- a/src/core/server/saved_objects/service/lib/repository_opensearch_client.test.ts +++ b/src/core/server/saved_objects/service/lib/repository_opensearch_client.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { retryCallClusterMock } from './repository_opensearch_client.test.mock'; import { diff --git a/src/core/server/saved_objects/service/lib/repository_opensearch_client.ts b/src/core/server/saved_objects/service/lib/repository_opensearch_client.ts index ad422e939a74..5c55532afc1a 100644 --- a/src/core/server/saved_objects/service/lib/repository_opensearch_client.ts +++ b/src/core/server/saved_objects/service/lib/repository_opensearch_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { TransportRequestOptions } from '@opensearch-project/opensearch/lib/Transport'; import { OpenSearchClient } from '../../../opensearch/'; diff --git a/src/core/server/saved_objects/service/lib/repository_opensearch_client.ts2 b/src/core/server/saved_objects/service/lib/repository_opensearch_client.ts2 index 4ac6e3382593..d9ae6fd26e1a 100644 --- a/src/core/server/saved_objects/service/lib/repository_opensearch_client.ts2 +++ b/src/core/server/saved_objects/service/lib/repository_opensearch_client.ts2 @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { TransportRequestOptions } from '@elastic/opensearch/lib/Transport'; import { OpenSearchClient } from '../../../opensearch/'; diff --git a/src/core/server/saved_objects/service/lib/scoped_client_provider.mock.ts b/src/core/server/saved_objects/service/lib/scoped_client_provider.mock.ts index 5a1e5976b377..3caf7fffa278 100644 --- a/src/core/server/saved_objects/service/lib/scoped_client_provider.mock.ts +++ b/src/core/server/saved_objects/service/lib/scoped_client_provider.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ISavedObjectsClientProvider } from './scoped_client_provider'; const create = (): jest.Mocked => ({ diff --git a/src/core/server/saved_objects/service/lib/scoped_client_provider.test.js b/src/core/server/saved_objects/service/lib/scoped_client_provider.test.js index 2976ebe98676..98eb7fea2121 100644 --- a/src/core/server/saved_objects/service/lib/scoped_client_provider.test.js +++ b/src/core/server/saved_objects/service/lib/scoped_client_provider.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsClientProvider } from './scoped_client_provider'; import { typeRegistryMock } from '../../saved_objects_type_registry.mock'; diff --git a/src/core/server/saved_objects/service/lib/scoped_client_provider.ts b/src/core/server/saved_objects/service/lib/scoped_client_provider.ts index a70b3cf9ffb0..439cd31afa9c 100644 --- a/src/core/server/saved_objects/service/lib/scoped_client_provider.ts +++ b/src/core/server/saved_objects/service/lib/scoped_client_provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { PriorityCollection } from './priority_collection'; import { SavedObjectsClientContract } from '../../types'; import { SavedObjectsRepositoryFactory } from '../../saved_objects_service'; diff --git a/src/core/server/saved_objects/service/lib/search_dsl/index.ts b/src/core/server/saved_objects/service/lib/search_dsl/index.ts index 6978fb844a04..82c370488b61 100644 --- a/src/core/server/saved_objects/service/lib/search_dsl/index.ts +++ b/src/core/server/saved_objects/service/lib/search_dsl/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getSearchDsl } from './search_dsl'; diff --git a/src/core/server/saved_objects/service/lib/search_dsl/query_params.test.ts b/src/core/server/saved_objects/service/lib/search_dsl/query_params.test.ts index 68d2e1d9c310..518e2ff56d0e 100644 --- a/src/core/server/saved_objects/service/lib/search_dsl/query_params.test.ts +++ b/src/core/server/saved_objects/service/lib/search_dsl/query_params.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-expect-error no ts import { opensearchKuery } from '../../../opensearch_query'; type KueryNode = any; diff --git a/src/core/server/saved_objects/service/lib/search_dsl/query_params.ts b/src/core/server/saved_objects/service/lib/search_dsl/query_params.ts index 1920201e4ec5..5bbb0a1fe24f 100644 --- a/src/core/server/saved_objects/service/lib/search_dsl/query_params.ts +++ b/src/core/server/saved_objects/service/lib/search_dsl/query_params.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ // @ts-expect-error no ts import { opensearchKuery } from '../../../opensearch_query'; type KueryNode = any; diff --git a/src/core/server/saved_objects/service/lib/search_dsl/search_dsl.test.ts b/src/core/server/saved_objects/service/lib/search_dsl/search_dsl.test.ts index 972b341ee54f..892e9e8f0fbc 100644 --- a/src/core/server/saved_objects/service/lib/search_dsl/search_dsl.test.ts +++ b/src/core/server/saved_objects/service/lib/search_dsl/search_dsl.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('./query_params'); jest.mock('./sorting_params'); diff --git a/src/core/server/saved_objects/service/lib/search_dsl/search_dsl.ts b/src/core/server/saved_objects/service/lib/search_dsl/search_dsl.ts index 2479aec9003a..8b54141a4c3c 100644 --- a/src/core/server/saved_objects/service/lib/search_dsl/search_dsl.ts +++ b/src/core/server/saved_objects/service/lib/search_dsl/search_dsl.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Boom from '@hapi/boom'; import { IndexMapping } from '../../../mappings'; diff --git a/src/core/server/saved_objects/service/lib/search_dsl/sorting_params.test.ts b/src/core/server/saved_objects/service/lib/search_dsl/sorting_params.test.ts index afef66e5a2f7..a81ac85aac53 100644 --- a/src/core/server/saved_objects/service/lib/search_dsl/sorting_params.test.ts +++ b/src/core/server/saved_objects/service/lib/search_dsl/sorting_params.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getSortingParams } from './sorting_params'; const MAPPINGS = { diff --git a/src/core/server/saved_objects/service/lib/search_dsl/sorting_params.ts b/src/core/server/saved_objects/service/lib/search_dsl/sorting_params.ts index db1d33c8751b..ca8d4fb723d9 100644 --- a/src/core/server/saved_objects/service/lib/search_dsl/sorting_params.ts +++ b/src/core/server/saved_objects/service/lib/search_dsl/sorting_params.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Boom from '@hapi/boom'; import { getProperty, IndexMapping } from '../../../mappings'; diff --git a/src/core/server/saved_objects/service/lib/utils.test.ts b/src/core/server/saved_objects/service/lib/utils.test.ts index 29a60475ab52..19592f6cba39 100644 --- a/src/core/server/saved_objects/service/lib/utils.test.ts +++ b/src/core/server/saved_objects/service/lib/utils.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsFindOptions } from '../../types'; import { SavedObjectsUtils } from './utils'; diff --git a/src/core/server/saved_objects/service/lib/utils.ts b/src/core/server/saved_objects/service/lib/utils.ts index 17c7c78ac8cd..4823e52d77c9 100644 --- a/src/core/server/saved_objects/service/lib/utils.ts +++ b/src/core/server/saved_objects/service/lib/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsFindOptions } from '../../types'; import { SavedObjectsFindResponse } from '..'; diff --git a/src/core/server/saved_objects/service/saved_objects_client.mock.ts b/src/core/server/saved_objects/service/saved_objects_client.mock.ts index 0cec28827579..d39f101b18e2 100644 --- a/src/core/server/saved_objects/service/saved_objects_client.mock.ts +++ b/src/core/server/saved_objects/service/saved_objects_client.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsClientContract } from '../types'; import { SavedObjectsErrorHelpers } from './lib/errors'; diff --git a/src/core/server/saved_objects/service/saved_objects_client.test.js b/src/core/server/saved_objects/service/saved_objects_client.test.js index 3c10166c9f49..d22ffa502f79 100644 --- a/src/core/server/saved_objects/service/saved_objects_client.test.js +++ b/src/core/server/saved_objects/service/saved_objects_client.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/service/saved_objects_client.ts b/src/core/server/saved_objects/service/saved_objects_client.ts index 94cf16541d30..5f92dacacf36 100644 --- a/src/core/server/saved_objects/service/saved_objects_client.ts +++ b/src/core/server/saved_objects/service/saved_objects_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ISavedObjectsRepository } from './lib'; import { SavedObject, diff --git a/src/core/server/saved_objects/status.test.ts b/src/core/server/saved_objects/status.test.ts index 447b79d60c34..5225160f38dc 100644 --- a/src/core/server/saved_objects/status.test.ts +++ b/src/core/server/saved_objects/status.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { of, Observable } from 'rxjs'; import { ServiceStatus, ServiceStatusLevels } from '../status'; import { calculateStatus$ } from './status'; diff --git a/src/core/server/saved_objects/status.ts b/src/core/server/saved_objects/status.ts index b3221755b565..4da27e7d128e 100644 --- a/src/core/server/saved_objects/status.ts +++ b/src/core/server/saved_objects/status.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/types.ts b/src/core/server/saved_objects/types.ts index 8b81b3a6687c..3e2553b8ce51 100644 --- a/src/core/server/saved_objects/types.ts +++ b/src/core/server/saved_objects/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsClient } from './service/saved_objects_client'; import { SavedObjectsTypeMappingDefinition } from './mappings'; import { SavedObjectMigrationMap } from './migrations'; diff --git a/src/core/server/saved_objects/version/base64.ts b/src/core/server/saved_objects/version/base64.ts index 1f64efa2a237..0f612cd2f133 100644 --- a/src/core/server/saved_objects/version/base64.ts +++ b/src/core/server/saved_objects/version/base64.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/version/decode_request_version.test.ts b/src/core/server/saved_objects/version/decode_request_version.test.ts index 7f4f187cdacc..a1cbcd083552 100644 --- a/src/core/server/saved_objects/version/decode_request_version.test.ts +++ b/src/core/server/saved_objects/version/decode_request_version.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/version/decode_request_version.ts b/src/core/server/saved_objects/version/decode_request_version.ts index a331371dcb69..269d87f847cf 100644 --- a/src/core/server/saved_objects/version/decode_request_version.ts +++ b/src/core/server/saved_objects/version/decode_request_version.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/version/decode_version.test.ts b/src/core/server/saved_objects/version/decode_version.test.ts index c780f14cac37..d7f0df831aef 100644 --- a/src/core/server/saved_objects/version/decode_version.test.ts +++ b/src/core/server/saved_objects/version/decode_version.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/version/decode_version.ts b/src/core/server/saved_objects/version/decode_version.ts index 7e937f8f7b3f..3b8cc439b8c5 100644 --- a/src/core/server/saved_objects/version/decode_version.ts +++ b/src/core/server/saved_objects/version/decode_version.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/version/encode_hit_version.test.ts b/src/core/server/saved_objects/version/encode_hit_version.test.ts index 7f75cc28fd02..5dc76d5966e6 100644 --- a/src/core/server/saved_objects/version/encode_hit_version.test.ts +++ b/src/core/server/saved_objects/version/encode_hit_version.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/version/encode_hit_version.ts b/src/core/server/saved_objects/version/encode_hit_version.ts index f82df69a8153..88dd7bd23a52 100644 --- a/src/core/server/saved_objects/version/encode_hit_version.ts +++ b/src/core/server/saved_objects/version/encode_hit_version.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/version/encode_version.test.ts b/src/core/server/saved_objects/version/encode_version.test.ts index 5588a5b9a3c3..75e66c9a4701 100644 --- a/src/core/server/saved_objects/version/encode_version.test.ts +++ b/src/core/server/saved_objects/version/encode_version.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/version/encode_version.ts b/src/core/server/saved_objects/version/encode_version.ts index c56fd6c9d818..9dafa48b6290 100644 --- a/src/core/server/saved_objects/version/encode_version.ts +++ b/src/core/server/saved_objects/version/encode_version.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/saved_objects/version/index.ts b/src/core/server/saved_objects/version/index.ts index 17184d3a9ea7..6e06417f92bd 100644 --- a/src/core/server/saved_objects/version/index.ts +++ b/src/core/server/saved_objects/version/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/core/server/server.test.mocks.ts b/src/core/server/server.test.mocks.ts index 98c1c405e10a..ef93122bc6c7 100644 --- a/src/core/server/server.test.mocks.ts +++ b/src/core/server/server.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { httpServiceMock } from './http/http_service.mock'; export const mockHttpService = httpServiceMock.create(); jest.doMock('./http/http_service', () => ({ diff --git a/src/core/server/server.test.ts b/src/core/server/server.test.ts index 7744f99b994f..c80795e02eb5 100644 --- a/src/core/server/server.test.ts +++ b/src/core/server/server.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockOpenSearchService, mockHttpService, diff --git a/src/core/server/server.ts b/src/core/server/server.ts index 67fec80c1921..d4c041725ac7 100644 --- a/src/core/server/server.ts +++ b/src/core/server/server.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import apm from 'elastic-apm-node'; import { config as pathConfig } from '@osd/utils'; import { mapToObject } from '@osd/std'; diff --git a/src/core/server/status/get_summary_status.test.ts b/src/core/server/status/get_summary_status.test.ts index 1b664733583c..34461c3331e9 100644 --- a/src/core/server/status/get_summary_status.test.ts +++ b/src/core/server/status/get_summary_status.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ServiceStatus, ServiceStatusLevels } from './types'; import { getSummaryStatus } from './get_summary_status'; diff --git a/src/core/server/status/get_summary_status.ts b/src/core/server/status/get_summary_status.ts index d436789ed4c8..6a3f90845794 100644 --- a/src/core/server/status/get_summary_status.ts +++ b/src/core/server/status/get_summary_status.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ServiceStatus, ServiceStatusLevels, ServiceStatusLevel } from './types'; /** diff --git a/src/core/server/status/index.ts b/src/core/server/status/index.ts index 13c8ac47ef55..894bae84cf89 100644 --- a/src/core/server/status/index.ts +++ b/src/core/server/status/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { StatusService } from './status_service'; export { config } from './status_config'; export * from './types'; diff --git a/src/core/server/status/legacy_status.test.ts b/src/core/server/status/legacy_status.test.ts index 36c106ee739d..9dab24eb3e0c 100644 --- a/src/core/server/status/legacy_status.test.ts +++ b/src/core/server/status/legacy_status.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ServiceStatus, ServiceStatusLevels } from './types'; import { calculateLegacyStatus } from './legacy_status'; diff --git a/src/core/server/status/legacy_status.ts b/src/core/server/status/legacy_status.ts index d982c370d3e0..7fee8e1f48ba 100644 --- a/src/core/server/status/legacy_status.ts +++ b/src/core/server/status/legacy_status.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { pick } from 'lodash'; import { i18n } from '@osd/i18n'; import { deepFreeze } from '@osd/std'; diff --git a/src/core/server/status/plugins_status.test.ts b/src/core/server/status/plugins_status.test.ts index 5301027715da..9c954a4a0537 100644 --- a/src/core/server/status/plugins_status.test.ts +++ b/src/core/server/status/plugins_status.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginName } from '../plugins'; import { PluginsStatusService } from './plugins_status'; import { of, Observable, BehaviorSubject } from 'rxjs'; diff --git a/src/core/server/status/plugins_status.ts b/src/core/server/status/plugins_status.ts index 69003b82fbb1..52ba85459658 100644 --- a/src/core/server/status/plugins_status.ts +++ b/src/core/server/status/plugins_status.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject, Observable, combineLatest, of } from 'rxjs'; import { map, distinctUntilChanged, switchMap, debounceTime } from 'rxjs/operators'; import { isDeepStrictEqual } from 'util'; diff --git a/src/core/server/status/routes/index.ts b/src/core/server/status/routes/index.ts index 5efd1220a74a..5c6ee67e653b 100644 --- a/src/core/server/status/routes/index.ts +++ b/src/core/server/status/routes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { registerStatusRoute } from './status'; diff --git a/src/core/server/status/routes/integration_tests/status.test.ts b/src/core/server/status/routes/integration_tests/status.test.ts index a653e2163c8a..1045ca939c05 100644 --- a/src/core/server/status/routes/integration_tests/status.test.ts +++ b/src/core/server/status/routes/integration_tests/status.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { first } from 'rxjs/operators'; import supertest from 'supertest'; diff --git a/src/core/server/status/routes/status.ts b/src/core/server/status/routes/status.ts index fb60264db665..b1879620e5c7 100644 --- a/src/core/server/status/routes/status.ts +++ b/src/core/server/status/routes/status.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable, combineLatest, ReplaySubject } from 'rxjs'; import { first } from 'rxjs/operators'; import { schema } from '@osd/config-schema'; diff --git a/src/core/server/status/status_config.ts b/src/core/server/status/status_config.ts index 01d2182a8a34..e88fcb7561e4 100644 --- a/src/core/server/status/status_config.ts +++ b/src/core/server/status/status_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; import { ServiceConfigDescriptor } from '../internal_types'; diff --git a/src/core/server/status/status_service.mock.ts b/src/core/server/status/status_service.mock.ts index ba9c42d6ecf5..1d925489fd30 100644 --- a/src/core/server/status/status_service.mock.ts +++ b/src/core/server/status/status_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { StatusService } from './status_service'; import { diff --git a/src/core/server/status/status_service.test.ts b/src/core/server/status/status_service.test.ts index 71849c61b750..354a78210cea 100644 --- a/src/core/server/status/status_service.test.ts +++ b/src/core/server/status/status_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { of, BehaviorSubject } from 'rxjs'; import { ServiceStatus, ServiceStatusLevels, CoreStatus } from './types'; diff --git a/src/core/server/status/status_service.ts b/src/core/server/status/status_service.ts index f9119f6e86fe..b128bfb7218c 100644 --- a/src/core/server/status/status_service.ts +++ b/src/core/server/status/status_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable, combineLatest, Subscription } from 'rxjs'; import { map, distinctUntilChanged, shareReplay, take, debounceTime } from 'rxjs/operators'; import { isDeepStrictEqual } from 'util'; diff --git a/src/core/server/status/test_utils.ts b/src/core/server/status/test_utils.ts index fc301bfd286c..bee9281e12ce 100644 --- a/src/core/server/status/test_utils.ts +++ b/src/core/server/status/test_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ServiceStatusLevels, ServiceStatusLevel } from './types'; export const ServiceStatusLevelSnapshotSerializer: jest.SnapshotSerializerPlugin = { diff --git a/src/core/server/status/types.ts b/src/core/server/status/types.ts index ceca4629a584..efb1c822e9c2 100644 --- a/src/core/server/status/types.ts +++ b/src/core/server/status/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { deepFreeze } from '@osd/std'; import { PluginName } from '../plugins'; diff --git a/src/core/server/test_utils.ts b/src/core/server/test_utils.ts index db2bf8f063c1..0bfc0151d374 100644 --- a/src/core/server/test_utils.ts +++ b/src/core/server/test_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createHttpServer } from './http/test_utils'; export { ServiceStatusLevelSnapshotSerializer } from './status/test_utils'; export { setupServer } from './saved_objects/routes/test_utils'; diff --git a/src/core/server/types.ts b/src/core/server/types.ts index 60fcd5e507d4..90ccef575807 100644 --- a/src/core/server/types.ts +++ b/src/core/server/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** This module is intended for consumption by public to avoid import issues with server-side code */ export { PluginOpaqueId } from './plugins/types'; export * from './saved_objects/types'; diff --git a/src/core/server/ui_settings/create_or_upgrade_saved_config/create_or_upgrade_saved_config.test.mock.ts b/src/core/server/ui_settings/create_or_upgrade_saved_config/create_or_upgrade_saved_config.test.mock.ts index d102143a6d90..f0d24a578f89 100644 --- a/src/core/server/ui_settings/create_or_upgrade_saved_config/create_or_upgrade_saved_config.test.mock.ts +++ b/src/core/server/ui_settings/create_or_upgrade_saved_config/create_or_upgrade_saved_config.test.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const createOrUpgradeSavedConfigMock = jest.fn(); jest.doMock('./create_or_upgrade_saved_config', () => ({ createOrUpgradeSavedConfig: createOrUpgradeSavedConfigMock, diff --git a/src/core/server/ui_settings/create_or_upgrade_saved_config/create_or_upgrade_saved_config.test.ts b/src/core/server/ui_settings/create_or_upgrade_saved_config/create_or_upgrade_saved_config.test.ts index 0a6d07ef73df..eb23e78b1756 100644 --- a/src/core/server/ui_settings/create_or_upgrade_saved_config/create_or_upgrade_saved_config.test.ts +++ b/src/core/server/ui_settings/create_or_upgrade_saved_config/create_or_upgrade_saved_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Chance from 'chance'; import { SavedObjectsErrorHelpers } from '../../saved_objects'; diff --git a/src/core/server/ui_settings/create_or_upgrade_saved_config/create_or_upgrade_saved_config.ts b/src/core/server/ui_settings/create_or_upgrade_saved_config/create_or_upgrade_saved_config.ts index 64ced449d268..639dd09249ff 100644 --- a/src/core/server/ui_settings/create_or_upgrade_saved_config/create_or_upgrade_saved_config.ts +++ b/src/core/server/ui_settings/create_or_upgrade_saved_config/create_or_upgrade_saved_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { defaults } from 'lodash'; import { SavedObjectsClientContract } from '../../saved_objects/types'; diff --git a/src/core/server/ui_settings/create_or_upgrade_saved_config/get_upgradeable_config.test.mock.ts b/src/core/server/ui_settings/create_or_upgrade_saved_config/get_upgradeable_config.test.mock.ts index fd1804dcae81..a59311b36ec9 100644 --- a/src/core/server/ui_settings/create_or_upgrade_saved_config/get_upgradeable_config.test.mock.ts +++ b/src/core/server/ui_settings/create_or_upgrade_saved_config/get_upgradeable_config.test.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const getUpgradeableConfigMock = jest.fn(); jest.doMock('./get_upgradeable_config', () => ({ getUpgradeableConfig: getUpgradeableConfigMock, diff --git a/src/core/server/ui_settings/create_or_upgrade_saved_config/get_upgradeable_config.test.ts b/src/core/server/ui_settings/create_or_upgrade_saved_config/get_upgradeable_config.test.ts index a2c8a040b9d5..63850175736d 100644 --- a/src/core/server/ui_settings/create_or_upgrade_saved_config/get_upgradeable_config.test.ts +++ b/src/core/server/ui_settings/create_or_upgrade_saved_config/get_upgradeable_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { getUpgradeableConfig } from './get_upgradeable_config'; import { savedObjectsClientMock } from '../../saved_objects/service/saved_objects_client.mock'; diff --git a/src/core/server/ui_settings/create_or_upgrade_saved_config/get_upgradeable_config.ts b/src/core/server/ui_settings/create_or_upgrade_saved_config/get_upgradeable_config.ts index 3b9b8eb5b5b5..9e1100a91896 100644 --- a/src/core/server/ui_settings/create_or_upgrade_saved_config/get_upgradeable_config.ts +++ b/src/core/server/ui_settings/create_or_upgrade_saved_config/get_upgradeable_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SavedObjectsClientContract } from '../../saved_objects/types'; import { isConfigVersionUpgradeable } from './is_config_version_upgradeable'; diff --git a/src/core/server/ui_settings/create_or_upgrade_saved_config/index.ts b/src/core/server/ui_settings/create_or_upgrade_saved_config/index.ts index 257fd057be7d..d0ca9c21d8fe 100644 --- a/src/core/server/ui_settings/create_or_upgrade_saved_config/index.ts +++ b/src/core/server/ui_settings/create_or_upgrade_saved_config/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createOrUpgradeSavedConfig } from './create_or_upgrade_saved_config'; diff --git a/src/core/server/ui_settings/create_or_upgrade_saved_config/integration_tests/create_or_upgrade.test.ts b/src/core/server/ui_settings/create_or_upgrade_saved_config/integration_tests/create_or_upgrade.test.ts index fa701bed75e8..11c6ffcdf6e8 100644 --- a/src/core/server/ui_settings/create_or_upgrade_saved_config/integration_tests/create_or_upgrade.test.ts +++ b/src/core/server/ui_settings/create_or_upgrade_saved_config/integration_tests/create_or_upgrade.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsClientContract } from 'src/core/server'; import { diff --git a/src/core/server/ui_settings/create_or_upgrade_saved_config/is_config_version_upgradeable.test.ts b/src/core/server/ui_settings/create_or_upgrade_saved_config/is_config_version_upgradeable.test.ts index 0f2b9eced0dd..e2b5ebaea2a2 100644 --- a/src/core/server/ui_settings/create_or_upgrade_saved_config/is_config_version_upgradeable.test.ts +++ b/src/core/server/ui_settings/create_or_upgrade_saved_config/is_config_version_upgradeable.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isConfigVersionUpgradeable } from './is_config_version_upgradeable'; describe('savedObjects/health_check/isConfigVersionUpgradeable', function () { diff --git a/src/core/server/ui_settings/create_or_upgrade_saved_config/is_config_version_upgradeable.ts b/src/core/server/ui_settings/create_or_upgrade_saved_config/is_config_version_upgradeable.ts index 4478e6f9f526..7967e442a13f 100644 --- a/src/core/server/ui_settings/create_or_upgrade_saved_config/is_config_version_upgradeable.ts +++ b/src/core/server/ui_settings/create_or_upgrade_saved_config/is_config_version_upgradeable.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import semver from 'semver'; const rcVersionRegex = /^(\d+\.\d+\.\d+)\-rc(\d+)$/i; diff --git a/src/core/server/ui_settings/index.ts b/src/core/server/ui_settings/index.ts index 2c9c31eeca75..7912c0af84af 100644 --- a/src/core/server/ui_settings/index.ts +++ b/src/core/server/ui_settings/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { UiSettingsClient, UiSettingsServiceOptions } from './ui_settings_client'; export { config } from './ui_settings_config'; diff --git a/src/core/server/ui_settings/integration_tests/doc_exists.ts b/src/core/server/ui_settings/integration_tests/doc_exists.ts index b41a5cc80047..eb343762ad2c 100644 --- a/src/core/server/ui_settings/integration_tests/doc_exists.ts +++ b/src/core/server/ui_settings/integration_tests/doc_exists.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getServices, chance } from './lib'; export function docExistsSuite() { diff --git a/src/core/server/ui_settings/integration_tests/doc_missing.ts b/src/core/server/ui_settings/integration_tests/doc_missing.ts index 08676c4ccf3a..19eaac593109 100644 --- a/src/core/server/ui_settings/integration_tests/doc_missing.ts +++ b/src/core/server/ui_settings/integration_tests/doc_missing.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getServices, chance } from './lib'; export function docMissingSuite() { diff --git a/src/core/server/ui_settings/integration_tests/doc_missing_and_index_read_only.ts b/src/core/server/ui_settings/integration_tests/doc_missing_and_index_read_only.ts index f56bc6e188c7..ce65b7b304a3 100644 --- a/src/core/server/ui_settings/integration_tests/doc_missing_and_index_read_only.ts +++ b/src/core/server/ui_settings/integration_tests/doc_missing_and_index_read_only.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getServices, chance } from './lib'; export function docMissingAndIndexReadOnlySuite() { diff --git a/src/core/server/ui_settings/integration_tests/index.test.ts b/src/core/server/ui_settings/integration_tests/index.test.ts index c447b08ca67f..420d421cd3fe 100644 --- a/src/core/server/ui_settings/integration_tests/index.test.ts +++ b/src/core/server/ui_settings/integration_tests/index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { startServers, stopServers } from './lib'; import { docExistsSuite } from './doc_exists'; diff --git a/src/core/server/ui_settings/integration_tests/lib/chance.ts b/src/core/server/ui_settings/integration_tests/lib/chance.ts index dc171668a2aa..b67975fe2e4a 100644 --- a/src/core/server/ui_settings/integration_tests/lib/chance.ts +++ b/src/core/server/ui_settings/integration_tests/lib/chance.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Chance from 'chance'; export const chance = new Chance(); diff --git a/src/core/server/ui_settings/integration_tests/lib/index.ts b/src/core/server/ui_settings/integration_tests/lib/index.ts index 8f22cf37975e..64f6474690ff 100644 --- a/src/core/server/ui_settings/integration_tests/lib/index.ts +++ b/src/core/server/ui_settings/integration_tests/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { startServers, getServices, stopServers } from './servers'; export { chance } from './chance'; diff --git a/src/core/server/ui_settings/integration_tests/lib/servers.ts b/src/core/server/ui_settings/integration_tests/lib/servers.ts index 4c612fe8d5d5..c09ab2d1ecc1 100644 --- a/src/core/server/ui_settings/integration_tests/lib/servers.ts +++ b/src/core/server/ui_settings/integration_tests/lib/servers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsClientContract, IUiSettingsClient } from 'src/core/server'; import { diff --git a/src/core/server/ui_settings/integration_tests/routes.test.ts b/src/core/server/ui_settings/integration_tests/routes.test.ts index 76c1dc12d87b..03e8d317ede9 100644 --- a/src/core/server/ui_settings/integration_tests/routes.test.ts +++ b/src/core/server/ui_settings/integration_tests/routes.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import * as osdTestServer from '../../../test_helpers/osd_server'; diff --git a/src/core/server/ui_settings/routes/delete.ts b/src/core/server/ui_settings/routes/delete.ts index 893fc0fc4366..d42eb948259e 100644 --- a/src/core/server/ui_settings/routes/delete.ts +++ b/src/core/server/ui_settings/routes/delete.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { schema } from '@osd/config-schema'; import { IRouter } from '../../http'; diff --git a/src/core/server/ui_settings/routes/get.ts b/src/core/server/ui_settings/routes/get.ts index 9e2e187c5391..000d16a37358 100644 --- a/src/core/server/ui_settings/routes/get.ts +++ b/src/core/server/ui_settings/routes/get.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { IRouter } from '../../http'; import { SavedObjectsErrorHelpers } from '../../saved_objects'; diff --git a/src/core/server/ui_settings/routes/index.ts b/src/core/server/ui_settings/routes/index.ts index b3392ca9524a..33e26319efe0 100644 --- a/src/core/server/ui_settings/routes/index.ts +++ b/src/core/server/ui_settings/routes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { IRouter } from 'src/core/server'; import { registerDeleteRoute } from './delete'; diff --git a/src/core/server/ui_settings/routes/set.ts b/src/core/server/ui_settings/routes/set.ts index 3d4b15e16439..d30b7d705d6a 100644 --- a/src/core/server/ui_settings/routes/set.ts +++ b/src/core/server/ui_settings/routes/set.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { schema, ValidationError } from '@osd/config-schema'; import { IRouter } from '../../http'; diff --git a/src/core/server/ui_settings/routes/set_many.ts b/src/core/server/ui_settings/routes/set_many.ts index 5054257038e4..8698445a2c5b 100644 --- a/src/core/server/ui_settings/routes/set_many.ts +++ b/src/core/server/ui_settings/routes/set_many.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { schema, ValidationError } from '@osd/config-schema'; import { IRouter } from '../../http'; diff --git a/src/core/server/ui_settings/saved_objects/index.ts b/src/core/server/ui_settings/saved_objects/index.ts index f3c11dac8f17..83f864268cae 100644 --- a/src/core/server/ui_settings/saved_objects/index.ts +++ b/src/core/server/ui_settings/saved_objects/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { uiSettingsType } from './ui_settings'; diff --git a/src/core/server/ui_settings/saved_objects/migrations.test.ts b/src/core/server/ui_settings/saved_objects/migrations.test.ts index fbb273d990aa..18deb98c11b6 100644 --- a/src/core/server/ui_settings/saved_objects/migrations.test.ts +++ b/src/core/server/ui_settings/saved_objects/migrations.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectUnsanitizedDoc } from 'opensearch-dashboards/server'; import { migrations } from './migrations'; diff --git a/src/core/server/ui_settings/saved_objects/migrations.ts b/src/core/server/ui_settings/saved_objects/migrations.ts index 153a8465e2cc..a9ed94d4b18a 100644 --- a/src/core/server/ui_settings/saved_objects/migrations.ts +++ b/src/core/server/ui_settings/saved_objects/migrations.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectUnsanitizedDoc, SavedObjectSanitizedDoc } from 'opensearch-dashboards/server'; export const migrations = { diff --git a/src/core/server/ui_settings/saved_objects/ui_settings.ts b/src/core/server/ui_settings/saved_objects/ui_settings.ts index c8bbb9338b39..a56b12ed2063 100644 --- a/src/core/server/ui_settings/saved_objects/ui_settings.ts +++ b/src/core/server/ui_settings/saved_objects/ui_settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsType } from '../../saved_objects'; import { migrations } from './migrations'; diff --git a/src/core/server/ui_settings/settings/accessibility.test.ts b/src/core/server/ui_settings/settings/accessibility.test.ts index 71b5be700a0c..0e567e92d47a 100644 --- a/src/core/server/ui_settings/settings/accessibility.test.ts +++ b/src/core/server/ui_settings/settings/accessibility.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiSettingsParams } from '../../../types'; import { getAccessibilitySettings } from './accessibility'; diff --git a/src/core/server/ui_settings/settings/accessibility.ts b/src/core/server/ui_settings/settings/accessibility.ts index f9f56852cc70..1238ae58d922 100644 --- a/src/core/server/ui_settings/settings/accessibility.ts +++ b/src/core/server/ui_settings/settings/accessibility.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { i18n } from '@osd/i18n'; import { UiSettingsParams } from '../../../types'; diff --git a/src/core/server/ui_settings/settings/date_formats.test.ts b/src/core/server/ui_settings/settings/date_formats.test.ts index 0874ebf09fb3..def04ef0376e 100644 --- a/src/core/server/ui_settings/settings/date_formats.test.ts +++ b/src/core/server/ui_settings/settings/date_formats.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment-timezone'; import { UiSettingsParams } from '../../../types'; import { getDateFormatSettings } from './date_formats'; diff --git a/src/core/server/ui_settings/settings/date_formats.ts b/src/core/server/ui_settings/settings/date_formats.ts index 815672d7cbd6..804d3bb3b58a 100644 --- a/src/core/server/ui_settings/settings/date_formats.ts +++ b/src/core/server/ui_settings/settings/date_formats.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment-timezone'; import { schema } from '@osd/config-schema'; import { i18n } from '@osd/i18n'; diff --git a/src/core/server/ui_settings/settings/index.test.ts b/src/core/server/ui_settings/settings/index.test.ts index 4019f23d4d15..f71f852eb3ce 100644 --- a/src/core/server/ui_settings/settings/index.test.ts +++ b/src/core/server/ui_settings/settings/index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getAccessibilitySettings } from './accessibility'; import { getDateFormatSettings } from './date_formats'; import { getMiscUiSettings } from './misc'; diff --git a/src/core/server/ui_settings/settings/index.ts b/src/core/server/ui_settings/settings/index.ts index 12dbc0409a52..b284744fc818 100644 --- a/src/core/server/ui_settings/settings/index.ts +++ b/src/core/server/ui_settings/settings/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiSettingsParams } from '../../../types'; import { getAccessibilitySettings } from './accessibility'; import { getDateFormatSettings } from './date_formats'; diff --git a/src/core/server/ui_settings/settings/misc.test.ts b/src/core/server/ui_settings/settings/misc.test.ts index 229d53c31475..090dea8d5900 100644 --- a/src/core/server/ui_settings/settings/misc.test.ts +++ b/src/core/server/ui_settings/settings/misc.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiSettingsParams } from '../../../types'; import { getMiscUiSettings } from './misc'; diff --git a/src/core/server/ui_settings/settings/misc.ts b/src/core/server/ui_settings/settings/misc.ts index ab37af6c964b..11eaf519ca94 100644 --- a/src/core/server/ui_settings/settings/misc.ts +++ b/src/core/server/ui_settings/settings/misc.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { schema } from '@osd/config-schema'; import { UiSettingsParams } from '../types'; diff --git a/src/core/server/ui_settings/settings/navigation.test.ts b/src/core/server/ui_settings/settings/navigation.test.ts index 1f2032d5ba07..06081e451dd7 100644 --- a/src/core/server/ui_settings/settings/navigation.test.ts +++ b/src/core/server/ui_settings/settings/navigation.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiSettingsParams } from '../../../types'; import { getNavigationSettings } from './navigation'; diff --git a/src/core/server/ui_settings/settings/navigation.ts b/src/core/server/ui_settings/settings/navigation.ts index f97972a76693..966e6a58127a 100644 --- a/src/core/server/ui_settings/settings/navigation.ts +++ b/src/core/server/ui_settings/settings/navigation.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { i18n } from '@osd/i18n'; import { isRelativeUrl } from '@osd/std'; diff --git a/src/core/server/ui_settings/settings/notifications.test.ts b/src/core/server/ui_settings/settings/notifications.test.ts index b42a68b5d808..d00e0e005589 100644 --- a/src/core/server/ui_settings/settings/notifications.test.ts +++ b/src/core/server/ui_settings/settings/notifications.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiSettingsParams } from '../../../types'; import { getNotificationsSettings } from './notifications'; diff --git a/src/core/server/ui_settings/settings/notifications.ts b/src/core/server/ui_settings/settings/notifications.ts index dba59f1607ac..b7441ee6ed16 100644 --- a/src/core/server/ui_settings/settings/notifications.ts +++ b/src/core/server/ui_settings/settings/notifications.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { i18n } from '@osd/i18n'; import { UiSettingsParams } from '../../../types'; diff --git a/src/core/server/ui_settings/settings/state.test.ts b/src/core/server/ui_settings/settings/state.test.ts index 7a5402b2bfe4..d1feddfb20cf 100644 --- a/src/core/server/ui_settings/settings/state.test.ts +++ b/src/core/server/ui_settings/settings/state.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiSettingsParams } from '../../../types'; import { getStateSettings } from './state'; diff --git a/src/core/server/ui_settings/settings/state.ts b/src/core/server/ui_settings/settings/state.ts index a6c5d8b7d57d..77425030292c 100644 --- a/src/core/server/ui_settings/settings/state.ts +++ b/src/core/server/ui_settings/settings/state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { i18n } from '@osd/i18n'; import { UiSettingsParams } from '../../../types'; diff --git a/src/core/server/ui_settings/settings/theme.test.ts b/src/core/server/ui_settings/settings/theme.test.ts index 0f6697d11459..2cba8dff962c 100644 --- a/src/core/server/ui_settings/settings/theme.test.ts +++ b/src/core/server/ui_settings/settings/theme.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiSettingsParams } from '../../../types'; import { getThemeSettings } from './theme'; diff --git a/src/core/server/ui_settings/settings/theme.ts b/src/core/server/ui_settings/settings/theme.ts index 2be97825d9c5..5079375fb37a 100644 --- a/src/core/server/ui_settings/settings/theme.ts +++ b/src/core/server/ui_settings/settings/theme.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { i18n } from '@osd/i18n'; import { UiSettingsParams } from '../../../types'; diff --git a/src/core/server/ui_settings/types.ts b/src/core/server/ui_settings/types.ts index 5467e0334bcb..9086fb37697e 100644 --- a/src/core/server/ui_settings/types.ts +++ b/src/core/server/ui_settings/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SavedObjectsClientContract } from '../saved_objects/types'; import { UiSettingsParams, UserProvidedValues, PublicUiSettingsParams } from '../../types'; export { diff --git a/src/core/server/ui_settings/ui_settings_client.test.ts b/src/core/server/ui_settings/ui_settings_client.test.ts index 9e66b700f0ab..72461653d652 100644 --- a/src/core/server/ui_settings/ui_settings_client.test.ts +++ b/src/core/server/ui_settings/ui_settings_client.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Chance from 'chance'; import { schema } from '@osd/config-schema'; diff --git a/src/core/server/ui_settings/ui_settings_client.ts b/src/core/server/ui_settings/ui_settings_client.ts index 59af348160c4..e7e5030035b8 100644 --- a/src/core/server/ui_settings/ui_settings_client.ts +++ b/src/core/server/ui_settings/ui_settings_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { defaultsDeep, omit } from 'lodash'; import { SavedObjectsErrorHelpers } from '../saved_objects'; diff --git a/src/core/server/ui_settings/ui_settings_config.ts b/src/core/server/ui_settings/ui_settings_config.ts index d899e3ec815b..4c3dd0e4dcf5 100644 --- a/src/core/server/ui_settings/ui_settings_config.ts +++ b/src/core/server/ui_settings/ui_settings_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; import { ConfigDeprecationProvider } from 'src/core/server'; import { ServiceConfigDescriptor } from '../internal_types'; diff --git a/src/core/server/ui_settings/ui_settings_errors.ts b/src/core/server/ui_settings/ui_settings_errors.ts index a7945a93d662..0e38e168200a 100644 --- a/src/core/server/ui_settings/ui_settings_errors.ts +++ b/src/core/server/ui_settings/ui_settings_errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export class CannotOverrideError extends Error { public cause?: Error; diff --git a/src/core/server/ui_settings/ui_settings_service.mock.ts b/src/core/server/ui_settings/ui_settings_service.mock.ts index 1a7e3c696049..ac52042bb71c 100644 --- a/src/core/server/ui_settings/ui_settings_service.mock.ts +++ b/src/core/server/ui_settings/ui_settings_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import type { PublicMethodsOf } from '@osd/utility-types'; import { IUiSettingsClient, diff --git a/src/core/server/ui_settings/ui_settings_service.test.mock.ts b/src/core/server/ui_settings/ui_settings_service.test.mock.ts index e22d30cdd4c0..153703f9ada6 100644 --- a/src/core/server/ui_settings/ui_settings_service.test.mock.ts +++ b/src/core/server/ui_settings/ui_settings_service.test.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const MockUiSettingsClientConstructor = jest.fn(); jest.doMock('./ui_settings_client', () => ({ UiSettingsClient: MockUiSettingsClientConstructor, diff --git a/src/core/server/ui_settings/ui_settings_service.test.ts b/src/core/server/ui_settings/ui_settings_service.test.ts index 8a53e0c60ced..ae881363e63f 100644 --- a/src/core/server/ui_settings/ui_settings_service.test.ts +++ b/src/core/server/ui_settings/ui_settings_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { BehaviorSubject } from 'rxjs'; import { schema } from '@osd/config-schema'; diff --git a/src/core/server/ui_settings/ui_settings_service.ts b/src/core/server/ui_settings/ui_settings_service.ts index dc7f65f4646a..5543485b25e8 100644 --- a/src/core/server/ui_settings/ui_settings_service.ts +++ b/src/core/server/ui_settings/ui_settings_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { first } from 'rxjs/operators'; import { mapToObject } from '@osd/std'; diff --git a/src/core/server/utils/crypto/__fixtures__/index.ts b/src/core/server/utils/crypto/__fixtures__/index.ts index 7d38e1ec40fe..b870fa3454d4 100644 --- a/src/core/server/utils/crypto/__fixtures__/index.ts +++ b/src/core/server/utils/crypto/__fixtures__/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; export const NO_CA_PATH = resolve(__dirname, './no_ca.p12'); diff --git a/src/core/server/utils/crypto/index.ts b/src/core/server/utils/crypto/index.ts index 972f58f24b5b..c1aac02f969b 100644 --- a/src/core/server/utils/crypto/index.ts +++ b/src/core/server/utils/crypto/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Pkcs12ReadResult, readPkcs12Keystore, readPkcs12Truststore } from './pkcs12'; diff --git a/src/core/server/utils/crypto/pkcs12.test.ts b/src/core/server/utils/crypto/pkcs12.test.ts index 3bcd021f5d74..629b05119236 100644 --- a/src/core/server/utils/crypto/pkcs12.test.ts +++ b/src/core/server/utils/crypto/pkcs12.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CA_CERT_PATH, OPENSEARCH_KEY_PATH, diff --git a/src/core/server/utils/crypto/pkcs12.ts b/src/core/server/utils/crypto/pkcs12.ts index 2c75d53d9e55..394c9664f5dc 100644 --- a/src/core/server/utils/crypto/pkcs12.ts +++ b/src/core/server/utils/crypto/pkcs12.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { util, asn1, pkcs12, pki } from 'node-forge'; import { readFileSync } from 'fs'; diff --git a/src/core/server/utils/from_root.ts b/src/core/server/utils/from_root.ts index bd2a4557f3fa..4fc06a7b4f03 100644 --- a/src/core/server/utils/from_root.ts +++ b/src/core/server/utils/from_root.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { pkg } from './package_json'; diff --git a/src/core/server/utils/index.ts b/src/core/server/utils/index.ts index a67de95e4f6b..d2c9e0086ad7 100644 --- a/src/core/server/utils/index.ts +++ b/src/core/server/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './crypto'; export * from './from_root'; export * from './package_json'; diff --git a/src/core/server/utils/package_json.ts b/src/core/server/utils/package_json.ts index 96cc804cc3a6..ad494045af27 100644 --- a/src/core/server/utils/package_json.ts +++ b/src/core/server/utils/package_json.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { dirname } from 'path'; export const pkg = { diff --git a/src/core/server/utils/streams/concat_stream.test.ts b/src/core/server/utils/streams/concat_stream.test.ts index e6ba7216d7c0..350fc84f0376 100644 --- a/src/core/server/utils/streams/concat_stream.test.ts +++ b/src/core/server/utils/streams/concat_stream.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createListStream, createPromiseFromStreams, createConcatStream } from './index'; describe('concatStream', () => { diff --git a/src/core/server/utils/streams/concat_stream.ts b/src/core/server/utils/streams/concat_stream.ts index 6c96ffff1a49..84f9cb0dd54f 100644 --- a/src/core/server/utils/streams/concat_stream.ts +++ b/src/core/server/utils/streams/concat_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createReduceStream } from './reduce_stream'; /** diff --git a/src/core/server/utils/streams/concat_stream_providers.test.ts b/src/core/server/utils/streams/concat_stream_providers.test.ts index 7350fc6752ab..168061f28c50 100644 --- a/src/core/server/utils/streams/concat_stream_providers.test.ts +++ b/src/core/server/utils/streams/concat_stream_providers.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Readable } from 'stream'; import { concatStreamProviders } from './concat_stream_providers'; diff --git a/src/core/server/utils/streams/concat_stream_providers.ts b/src/core/server/utils/streams/concat_stream_providers.ts index b0508f7ac866..b91c3411db65 100644 --- a/src/core/server/utils/streams/concat_stream_providers.ts +++ b/src/core/server/utils/streams/concat_stream_providers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Readable, PassThrough, TransformOptions } from 'stream'; /** diff --git a/src/core/server/utils/streams/filter_stream.test.ts b/src/core/server/utils/streams/filter_stream.test.ts index 5f993bd30f5c..83ed887cf3d0 100644 --- a/src/core/server/utils/streams/filter_stream.test.ts +++ b/src/core/server/utils/streams/filter_stream.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createConcatStream, createFilterStream, diff --git a/src/core/server/utils/streams/filter_stream.ts b/src/core/server/utils/streams/filter_stream.ts index b62309ab43f3..3d2b8935dab1 100644 --- a/src/core/server/utils/streams/filter_stream.ts +++ b/src/core/server/utils/streams/filter_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; export function createFilterStream(fn: (obj: T) => boolean) { diff --git a/src/core/server/utils/streams/index.ts b/src/core/server/utils/streams/index.ts index f8dfb135db23..513a141dad5d 100644 --- a/src/core/server/utils/streams/index.ts +++ b/src/core/server/utils/streams/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { concatStreamProviders } from './concat_stream_providers'; export { createIntersperseStream } from './intersperse_stream'; export { createSplitStream } from './split_stream'; diff --git a/src/core/server/utils/streams/intersperse_stream.test.ts b/src/core/server/utils/streams/intersperse_stream.test.ts index 18dd6b6de706..e92a08f72b87 100644 --- a/src/core/server/utils/streams/intersperse_stream.test.ts +++ b/src/core/server/utils/streams/intersperse_stream.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createPromiseFromStreams, createListStream, diff --git a/src/core/server/utils/streams/intersperse_stream.ts b/src/core/server/utils/streams/intersperse_stream.ts index 525b8221aecb..7207d66dfd22 100644 --- a/src/core/server/utils/streams/intersperse_stream.ts +++ b/src/core/server/utils/streams/intersperse_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; /** diff --git a/src/core/server/utils/streams/list_stream.test.ts b/src/core/server/utils/streams/list_stream.test.ts index 812011d7a218..563879105b15 100644 --- a/src/core/server/utils/streams/list_stream.test.ts +++ b/src/core/server/utils/streams/list_stream.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createListStream } from './index'; describe('listStream', () => { diff --git a/src/core/server/utils/streams/list_stream.ts b/src/core/server/utils/streams/list_stream.ts index 30d24ee0a151..4027b04cb2dc 100644 --- a/src/core/server/utils/streams/list_stream.ts +++ b/src/core/server/utils/streams/list_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Readable } from 'stream'; /** diff --git a/src/core/server/utils/streams/map_stream.test.ts b/src/core/server/utils/streams/map_stream.test.ts index 7b8519ffb4d4..6fa15b0ac5d0 100644 --- a/src/core/server/utils/streams/map_stream.test.ts +++ b/src/core/server/utils/streams/map_stream.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { delay } from 'bluebird'; import { createPromiseFromStreams } from './promise_from_streams'; diff --git a/src/core/server/utils/streams/map_stream.ts b/src/core/server/utils/streams/map_stream.ts index c263bb4f703a..228bac1989df 100644 --- a/src/core/server/utils/streams/map_stream.ts +++ b/src/core/server/utils/streams/map_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; export function createMapStream(fn: (value: T, i: number) => void) { diff --git a/src/core/server/utils/streams/promise_from_streams.test.ts b/src/core/server/utils/streams/promise_from_streams.test.ts index 4ca8c75a8296..907aab52b761 100644 --- a/src/core/server/utils/streams/promise_from_streams.test.ts +++ b/src/core/server/utils/streams/promise_from_streams.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Readable, Writable, Duplex, Transform } from 'stream'; import { createListStream, createPromiseFromStreams, createReduceStream } from './index'; diff --git a/src/core/server/utils/streams/promise_from_streams.ts b/src/core/server/utils/streams/promise_from_streams.ts index 09cf61965221..9551ee336b79 100644 --- a/src/core/server/utils/streams/promise_from_streams.ts +++ b/src/core/server/utils/streams/promise_from_streams.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Take an array of streams, pipe the output * from each one into the next, listening for diff --git a/src/core/server/utils/streams/reduce_stream.test.ts b/src/core/server/utils/streams/reduce_stream.test.ts index 7c3f89534b6d..c734d768c505 100644 --- a/src/core/server/utils/streams/reduce_stream.test.ts +++ b/src/core/server/utils/streams/reduce_stream.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Transform } from 'stream'; import { createReduceStream, createPromiseFromStreams, createListStream } from './index'; diff --git a/src/core/server/utils/streams/reduce_stream.ts b/src/core/server/utils/streams/reduce_stream.ts index a1b5b8f79cfe..232c0d5585b7 100644 --- a/src/core/server/utils/streams/reduce_stream.ts +++ b/src/core/server/utils/streams/reduce_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; /** diff --git a/src/core/server/utils/streams/replace_stream.test.ts b/src/core/server/utils/streams/replace_stream.test.ts index a6d4e42df3e9..98383a5e0cc5 100644 --- a/src/core/server/utils/streams/replace_stream.test.ts +++ b/src/core/server/utils/streams/replace_stream.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Writable, Readable } from 'stream'; import { diff --git a/src/core/server/utils/streams/replace_stream.ts b/src/core/server/utils/streams/replace_stream.ts index 73a14dc5a6b6..9da36eb59932 100644 --- a/src/core/server/utils/streams/replace_stream.ts +++ b/src/core/server/utils/streams/replace_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; export function createReplaceStream(toReplace: string, replacement: string | Buffer) { diff --git a/src/core/server/utils/streams/split_stream.test.ts b/src/core/server/utils/streams/split_stream.test.ts index b6cc434cb32c..6d1cba699986 100644 --- a/src/core/server/utils/streams/split_stream.test.ts +++ b/src/core/server/utils/streams/split_stream.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Transform } from 'stream'; import { createSplitStream, createConcatStream, createPromiseFromStreams } from './index'; diff --git a/src/core/server/utils/streams/split_stream.ts b/src/core/server/utils/streams/split_stream.ts index 868d4c245c7f..be65ced66c09 100644 --- a/src/core/server/utils/streams/split_stream.ts +++ b/src/core/server/utils/streams/split_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Transform } from 'stream'; /** diff --git a/src/core/test_helpers/http_test_setup.ts b/src/core/test_helpers/http_test_setup.ts index 037a300529e6..68bd53bf82a5 100644 --- a/src/core/test_helpers/http_test_setup.ts +++ b/src/core/test_helpers/http_test_setup.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpService } from '../public/http'; import { fatalErrorsServiceMock } from '../public/fatal_errors/fatal_errors_service.mock'; import { injectedMetadataServiceMock } from '../public/injected_metadata/injected_metadata_service.mock'; diff --git a/src/core/test_helpers/osd_server.ts b/src/core/test_helpers/osd_server.ts index c69d89cceb6f..d8ffe3b0824d 100644 --- a/src/core/test_helpers/osd_server.ts +++ b/src/core/test_helpers/osd_server.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Client } from 'elasticsearch'; import { ToolingLog, REPO_ROOT } from '@osd/dev-utils'; import { diff --git a/src/core/test_helpers/strip_ansi_snapshot_serializer.ts b/src/core/test_helpers/strip_ansi_snapshot_serializer.ts index 228f1442fcca..b97b5bd0cc65 100644 --- a/src/core/test_helpers/strip_ansi_snapshot_serializer.ts +++ b/src/core/test_helpers/strip_ansi_snapshot_serializer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import hasAnsi from 'has-ansi'; import stripAnsi from 'strip-ansi'; diff --git a/src/core/types/app_category.ts b/src/core/types/app_category.ts index afa6e661199e..79854ce45c0a 100644 --- a/src/core/types/app_category.ts +++ b/src/core/types/app_category.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** @public */ /** diff --git a/src/core/types/capabilities.ts b/src/core/types/capabilities.ts index fda565c1127d..a4d4b59b2a4e 100644 --- a/src/core/types/capabilities.ts +++ b/src/core/types/capabilities.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * The read-only set of capabilities available for the current UI session. * Capabilities are simple key-value pairs of (string, boolean), where the string denotes the capability ID, diff --git a/src/core/types/core_service.ts b/src/core/types/core_service.ts index ba59e49446a4..6f07b07c6791 100644 --- a/src/core/types/core_service.ts +++ b/src/core/types/core_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** @internal */ export interface CoreService { setup(...params: any[]): TSetup | Promise; diff --git a/src/core/types/custom_branding.ts b/src/core/types/custom_branding.ts index 23618512349e..3e2b52c3c8e0 100644 --- a/src/core/types/custom_branding.ts +++ b/src/core/types/custom_branding.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * A type definition for custom branding configurations from yml file * @public diff --git a/src/core/types/index.ts b/src/core/types/index.ts index 9cafdb5d686e..9f620273e3b2 100644 --- a/src/core/types/index.ts +++ b/src/core/types/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Use * syntax so that these exports do not break when internal * types are stripped. diff --git a/src/core/types/saved_objects.ts b/src/core/types/saved_objects.ts index 8dbb21165ced..81e1ed029ddc 100644 --- a/src/core/types/saved_objects.ts +++ b/src/core/types/saved_objects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Don't use this type, it's simply a helper type for {@link SavedObjectAttribute} * diff --git a/src/core/types/serializable.ts b/src/core/types/serializable.ts index 78a7da7afd27..27523c932925 100644 --- a/src/core/types/serializable.ts +++ b/src/core/types/serializable.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export type Serializable = | string | number diff --git a/src/core/types/status.ts b/src/core/types/status.ts index 58b2a8c32ea2..c9e0499a4473 100644 --- a/src/core/types/status.ts +++ b/src/core/types/status.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import type { OpsMetrics } from '../server/metrics'; export interface ServerStatus { diff --git a/src/core/types/ui_settings.ts b/src/core/types/ui_settings.ts index 4ff9aa482e08..010288166e2d 100644 --- a/src/core/types/ui_settings.ts +++ b/src/core/types/ui_settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Type } from '@osd/config-schema'; /** diff --git a/src/core/typings.ts b/src/core/typings.ts index 2aafeafecdc0..97b83c91e031 100644 --- a/src/core/typings.ts +++ b/src/core/typings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - type DeeplyMockedKeys = { [P in keyof T]: T[P] extends (...args: any[]) => any ? jest.MockInstance, Parameters> diff --git a/src/core/utils/context.mock.ts b/src/core/utils/context.mock.ts index 864ab7e80f13..81f88574f694 100644 --- a/src/core/utils/context.mock.ts +++ b/src/core/utils/context.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IContextContainer } from './context'; export type ContextContainerMock = jest.Mocked>; diff --git a/src/core/utils/context.test.ts b/src/core/utils/context.test.ts index 2a2c5090a5f2..0f95cc368a6f 100644 --- a/src/core/utils/context.test.ts +++ b/src/core/utils/context.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ContextContainer } from './context'; import { PluginOpaqueId } from '../server'; diff --git a/src/core/utils/context.ts b/src/core/utils/context.ts index 7db20bd6f8e7..6109cb70eafc 100644 --- a/src/core/utils/context.ts +++ b/src/core/utils/context.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { flatten } from 'lodash'; import { ShallowPromise } from '@osd/utility-types'; import { pick } from '@osd/std'; diff --git a/src/core/utils/default_app_categories.ts b/src/core/utils/default_app_categories.ts index 100d1e7a627a..3c0920624e1b 100644 --- a/src/core/utils/default_app_categories.ts +++ b/src/core/utils/default_app_categories.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { AppCategory } from '../types'; diff --git a/src/core/utils/index.ts b/src/core/utils/index.ts index 5fc6ffd57372..b3b6ce4aab02 100644 --- a/src/core/utils/index.ts +++ b/src/core/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ContextContainer, HandlerContextType, diff --git a/src/dev/__tests__/file.js b/src/dev/__tests__/file.js index 3ebdab4a317b..2ed904d53822 100644 --- a/src/dev/__tests__/file.js +++ b/src/dev/__tests__/file.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve, sep } from 'path'; import expect from '@osd/expect'; diff --git a/src/dev/__tests__/node_versions_must_match.js b/src/dev/__tests__/node_versions_must_match.js index c4463fb27b68..1008afb50752 100644 --- a/src/dev/__tests__/node_versions_must_match.js +++ b/src/dev/__tests__/node_versions_must_match.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fs from 'fs'; import { engines } from '../../../package.json'; import { promisify } from 'util'; diff --git a/src/dev/build/args.test.ts b/src/dev/build/args.test.ts index 5eedbfade448..262305f62250 100644 --- a/src/dev/build/args.test.ts +++ b/src/dev/build/args.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/args.ts b/src/dev/build/args.ts index c00ccec07e4d..7c16b6de5393 100644 --- a/src/dev/build/args.ts +++ b/src/dev/build/args.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/build_distributables.ts b/src/dev/build/build_distributables.ts index 8429c5aa16bd..d764c5df280b 100644 --- a/src/dev/build/build_distributables.ts +++ b/src/dev/build/build_distributables.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/cli.ts b/src/dev/build/cli.ts index 6ae03c0cab43..0153a1768c9b 100644 --- a/src/dev/build/cli.ts +++ b/src/dev/build/cli.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/__fixtures__/log_on_sigint.js b/src/dev/build/lib/__fixtures__/log_on_sigint.js index a7a6232d6c57..bb166203a845 100644 --- a/src/dev/build/lib/__fixtures__/log_on_sigint.js +++ b/src/dev/build/lib/__fixtures__/log_on_sigint.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/__mocks__/get_build_number.ts b/src/dev/build/lib/__mocks__/get_build_number.ts index b7150167263c..792dbc3755ed 100644 --- a/src/dev/build/lib/__mocks__/get_build_number.ts +++ b/src/dev/build/lib/__mocks__/get_build_number.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/build.test.ts b/src/dev/build/lib/build.test.ts index bbadd2cc0cff..140237437ad1 100644 --- a/src/dev/build/lib/build.test.ts +++ b/src/dev/build/lib/build.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/build.ts b/src/dev/build/lib/build.ts index 4a00c6751f62..a7531becab72 100644 --- a/src/dev/build/lib/build.ts +++ b/src/dev/build/lib/build.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/config.test.ts b/src/dev/build/lib/config.test.ts index 077076b58c01..57b9775bf3f2 100644 --- a/src/dev/build/lib/config.test.ts +++ b/src/dev/build/lib/config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/config.ts b/src/dev/build/lib/config.ts index 1abaad734140..2804a702be42 100644 --- a/src/dev/build/lib/config.ts +++ b/src/dev/build/lib/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/download.ts b/src/dev/build/lib/download.ts index 95fbd0a4f6e0..cf5c0f675f82 100644 --- a/src/dev/build/lib/download.ts +++ b/src/dev/build/lib/download.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/errors.test.ts b/src/dev/build/lib/errors.test.ts index c0516f0391b5..6860b1a6036e 100644 --- a/src/dev/build/lib/errors.test.ts +++ b/src/dev/build/lib/errors.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/errors.ts b/src/dev/build/lib/errors.ts index 93cceaac3e82..6964284049b7 100644 --- a/src/dev/build/lib/errors.ts +++ b/src/dev/build/lib/errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/exec.test.ts b/src/dev/build/lib/exec.test.ts index 67830ffe48a4..2dc75b3a311c 100644 --- a/src/dev/build/lib/exec.test.ts +++ b/src/dev/build/lib/exec.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/exec.ts b/src/dev/build/lib/exec.ts index 941df50f27cf..4a98935de980 100644 --- a/src/dev/build/lib/exec.ts +++ b/src/dev/build/lib/exec.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/fs.ts b/src/dev/build/lib/fs.ts index 16b682b53f17..ae846ef7d670 100644 --- a/src/dev/build/lib/fs.ts +++ b/src/dev/build/lib/fs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/get_build_number.test.ts b/src/dev/build/lib/get_build_number.test.ts index 438235b89362..3dc5d9d72766 100644 --- a/src/dev/build/lib/get_build_number.test.ts +++ b/src/dev/build/lib/get_build_number.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ import { getBuildNumber } from './get_build_number'; diff --git a/src/dev/build/lib/get_build_number.ts b/src/dev/build/lib/get_build_number.ts index 99b846b3cc5f..fd44fb634624 100644 --- a/src/dev/build/lib/get_build_number.ts +++ b/src/dev/build/lib/get_build_number.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/index.ts b/src/dev/build/lib/index.ts index f7de3bbd2cc5..5395fb0056db 100644 --- a/src/dev/build/lib/index.ts +++ b/src/dev/build/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/integration_tests/download.test.ts b/src/dev/build/lib/integration_tests/download.test.ts index 593543845e6f..51b300513c99 100644 --- a/src/dev/build/lib/integration_tests/download.test.ts +++ b/src/dev/build/lib/integration_tests/download.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/integration_tests/fs.test.ts b/src/dev/build/lib/integration_tests/fs.test.ts index 17afe861ab75..0cf777cce662 100644 --- a/src/dev/build/lib/integration_tests/fs.test.ts +++ b/src/dev/build/lib/integration_tests/fs.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/integration_tests/scan_copy.test.ts b/src/dev/build/lib/integration_tests/scan_copy.test.ts index fffd13981e24..9ed5aaa1d484 100644 --- a/src/dev/build/lib/integration_tests/scan_copy.test.ts +++ b/src/dev/build/lib/integration_tests/scan_copy.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/integration_tests/watch_stdio_for_line.test.ts b/src/dev/build/lib/integration_tests/watch_stdio_for_line.test.ts index 5ae2877be3a2..cf202b02669a 100644 --- a/src/dev/build/lib/integration_tests/watch_stdio_for_line.test.ts +++ b/src/dev/build/lib/integration_tests/watch_stdio_for_line.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/platform.test.ts b/src/dev/build/lib/platform.test.ts index 6e35212bb67a..b2d499dae551 100644 --- a/src/dev/build/lib/platform.test.ts +++ b/src/dev/build/lib/platform.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/platform.ts b/src/dev/build/lib/platform.ts index 349cb094fdba..6553bcd3b11b 100644 --- a/src/dev/build/lib/platform.ts +++ b/src/dev/build/lib/platform.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/runner.test.ts b/src/dev/build/lib/runner.test.ts index 4cb6b6c38d7f..6678a15fff5a 100644 --- a/src/dev/build/lib/runner.test.ts +++ b/src/dev/build/lib/runner.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/runner.ts b/src/dev/build/lib/runner.ts index 95445fad599b..5a404423d23d 100644 --- a/src/dev/build/lib/runner.ts +++ b/src/dev/build/lib/runner.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/scan.ts b/src/dev/build/lib/scan.ts index f2791b590ae7..998ee3829906 100644 --- a/src/dev/build/lib/scan.ts +++ b/src/dev/build/lib/scan.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/scan_copy.ts b/src/dev/build/lib/scan_copy.ts index 71d486fad0b2..f467c0fca257 100644 --- a/src/dev/build/lib/scan_copy.ts +++ b/src/dev/build/lib/scan_copy.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/scan_delete.test.ts b/src/dev/build/lib/scan_delete.test.ts index 0abc171aea01..2f8f5473ad04 100644 --- a/src/dev/build/lib/scan_delete.test.ts +++ b/src/dev/build/lib/scan_delete.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/scan_delete.ts b/src/dev/build/lib/scan_delete.ts index 55e4aa0bc68e..242459166e4f 100644 --- a/src/dev/build/lib/scan_delete.ts +++ b/src/dev/build/lib/scan_delete.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/version_info.test.ts b/src/dev/build/lib/version_info.test.ts index f6ef775c28f9..2c1d3b470503 100644 --- a/src/dev/build/lib/version_info.test.ts +++ b/src/dev/build/lib/version_info.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/version_info.ts b/src/dev/build/lib/version_info.ts index 862f004ef6d5..218397e5bfd7 100644 --- a/src/dev/build/lib/version_info.ts +++ b/src/dev/build/lib/version_info.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/lib/watch_stdio_for_line.ts b/src/dev/build/lib/watch_stdio_for_line.ts index 1eb7ea5653d9..1e372a6c8a9e 100644 --- a/src/dev/build/lib/watch_stdio_for_line.ts +++ b/src/dev/build/lib/watch_stdio_for_line.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/bin/copy_bin_scripts_task.ts b/src/dev/build/tasks/bin/copy_bin_scripts_task.ts index bb25a97e8b2d..5e9a2c546b79 100644 --- a/src/dev/build/tasks/bin/copy_bin_scripts_task.ts +++ b/src/dev/build/tasks/bin/copy_bin_scripts_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/bin/index.ts b/src/dev/build/tasks/bin/index.ts index 5e6e291be75f..ba70c0a26bcb 100644 --- a/src/dev/build/tasks/bin/index.ts +++ b/src/dev/build/tasks/bin/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/bin/scripts/opensearch-dashboards b/src/dev/build/tasks/bin/scripts/opensearch-dashboards index d81555a18c33..645dc3638b4a 100755 --- a/src/dev/build/tasks/bin/scripts/opensearch-dashboards +++ b/src/dev/build/tasks/bin/scripts/opensearch-dashboards @@ -1,4 +1,16 @@ #!/bin/sh + +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + SCRIPT=$0 # SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path. diff --git a/src/dev/build/tasks/bin/scripts/opensearch-dashboards-keystore b/src/dev/build/tasks/bin/scripts/opensearch-dashboards-keystore index 9285aa79aa38..7453ce995039 100755 --- a/src/dev/build/tasks/bin/scripts/opensearch-dashboards-keystore +++ b/src/dev/build/tasks/bin/scripts/opensearch-dashboards-keystore @@ -1,4 +1,16 @@ #!/bin/sh + +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + SCRIPT=$0 # SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path. diff --git a/src/dev/build/tasks/bin/scripts/opensearch-dashboards-plugin b/src/dev/build/tasks/bin/scripts/opensearch-dashboards-plugin index 7a7e99588401..c489d02e89b9 100755 --- a/src/dev/build/tasks/bin/scripts/opensearch-dashboards-plugin +++ b/src/dev/build/tasks/bin/scripts/opensearch-dashboards-plugin @@ -1,4 +1,16 @@ #!/bin/sh + +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + SCRIPT=$0 # SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path. diff --git a/src/dev/build/tasks/build_opensearch_dashboards_platform_plugins.ts b/src/dev/build/tasks/build_opensearch_dashboards_platform_plugins.ts index aa02026c9f4a..f9c102310239 100644 --- a/src/dev/build/tasks/build_opensearch_dashboards_platform_plugins.ts +++ b/src/dev/build/tasks/build_opensearch_dashboards_platform_plugins.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/build_packages_task.ts b/src/dev/build/tasks/build_packages_task.ts index 5a57d668f3e9..f847bef3d681 100644 --- a/src/dev/build/tasks/build_packages_task.ts +++ b/src/dev/build/tasks/build_packages_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/clean_tasks.ts b/src/dev/build/tasks/clean_tasks.ts index 11c6188821bc..8b1d635cdde6 100644 --- a/src/dev/build/tasks/clean_tasks.ts +++ b/src/dev/build/tasks/clean_tasks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/copy_source_task.ts b/src/dev/build/tasks/copy_source_task.ts index cb48cf4067a4..10a1aea61e41 100644 --- a/src/dev/build/tasks/copy_source_task.ts +++ b/src/dev/build/tasks/copy_source_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/create_archives_sources_task.ts b/src/dev/build/tasks/create_archives_sources_task.ts index e35666103848..0409c4067088 100644 --- a/src/dev/build/tasks/create_archives_sources_task.ts +++ b/src/dev/build/tasks/create_archives_sources_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/create_archives_task.ts b/src/dev/build/tasks/create_archives_task.ts index 1bf38936bb2b..476d6daf2ef0 100644 --- a/src/dev/build/tasks/create_archives_task.ts +++ b/src/dev/build/tasks/create_archives_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/create_empty_dirs_and_files_task.ts b/src/dev/build/tasks/create_empty_dirs_and_files_task.ts index 5fdc8e2d7a8d..25bc77303d25 100644 --- a/src/dev/build/tasks/create_empty_dirs_and_files_task.ts +++ b/src/dev/build/tasks/create_empty_dirs_and_files_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/create_package_json_task.ts b/src/dev/build/tasks/create_package_json_task.ts index ef1968a96abb..8f9b41738eea 100644 --- a/src/dev/build/tasks/create_package_json_task.ts +++ b/src/dev/build/tasks/create_package_json_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/create_readme_task.ts b/src/dev/build/tasks/create_readme_task.ts index 311fad297695..54c88405af7a 100644 --- a/src/dev/build/tasks/create_readme_task.ts +++ b/src/dev/build/tasks/create_readme_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/index.ts b/src/dev/build/tasks/index.ts index 87a755c0764f..f6b7a2d6726d 100644 --- a/src/dev/build/tasks/index.ts +++ b/src/dev/build/tasks/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/install_chromium.js b/src/dev/build/tasks/install_chromium.js index bfa563db2e89..507f888030ad 100644 --- a/src/dev/build/tasks/install_chromium.js +++ b/src/dev/build/tasks/install_chromium.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/install_dependencies_task.ts b/src/dev/build/tasks/install_dependencies_task.ts index 9d71962addf2..bc2c0862756f 100644 --- a/src/dev/build/tasks/install_dependencies_task.ts +++ b/src/dev/build/tasks/install_dependencies_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/license_file_task.ts b/src/dev/build/tasks/license_file_task.ts index 9a7cc4f138a7..8a4b2b6452c6 100644 --- a/src/dev/build/tasks/license_file_task.ts +++ b/src/dev/build/tasks/license_file_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/nodejs/clean_node_builds_task.ts b/src/dev/build/tasks/nodejs/clean_node_builds_task.ts index 871f61d51402..490d71e6d70d 100644 --- a/src/dev/build/tasks/nodejs/clean_node_builds_task.ts +++ b/src/dev/build/tasks/nodejs/clean_node_builds_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/nodejs/download_node_builds_task.test.ts b/src/dev/build/tasks/nodejs/download_node_builds_task.test.ts index a96bcd86a4dd..3aff61e7cf4f 100644 --- a/src/dev/build/tasks/nodejs/download_node_builds_task.test.ts +++ b/src/dev/build/tasks/nodejs/download_node_builds_task.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/nodejs/download_node_builds_task.ts b/src/dev/build/tasks/nodejs/download_node_builds_task.ts index 08e83e0dea3e..91331184ce76 100644 --- a/src/dev/build/tasks/nodejs/download_node_builds_task.ts +++ b/src/dev/build/tasks/nodejs/download_node_builds_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/nodejs/extract_node_builds_task.test.ts b/src/dev/build/tasks/nodejs/extract_node_builds_task.test.ts index 4ba942f9fb18..73e23ecdf270 100644 --- a/src/dev/build/tasks/nodejs/extract_node_builds_task.test.ts +++ b/src/dev/build/tasks/nodejs/extract_node_builds_task.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/nodejs/extract_node_builds_task.ts b/src/dev/build/tasks/nodejs/extract_node_builds_task.ts index 6bb5fef4ec0e..8e915a8b4e4b 100644 --- a/src/dev/build/tasks/nodejs/extract_node_builds_task.ts +++ b/src/dev/build/tasks/nodejs/extract_node_builds_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/nodejs/index.ts b/src/dev/build/tasks/nodejs/index.ts index c2d98a806dfd..85b0cdabf869 100644 --- a/src/dev/build/tasks/nodejs/index.ts +++ b/src/dev/build/tasks/nodejs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/nodejs/node_download_info.ts b/src/dev/build/tasks/nodejs/node_download_info.ts index 52f2d140f875..5b9006e89f70 100644 --- a/src/dev/build/tasks/nodejs/node_download_info.ts +++ b/src/dev/build/tasks/nodejs/node_download_info.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/nodejs/node_shasums.test.ts b/src/dev/build/tasks/nodejs/node_shasums.test.ts index c13ea6c91763..b42262849c7d 100644 --- a/src/dev/build/tasks/nodejs/node_shasums.test.ts +++ b/src/dev/build/tasks/nodejs/node_shasums.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/nodejs/node_shasums.ts b/src/dev/build/tasks/nodejs/node_shasums.ts index fb422c6e5b78..bb4c206aff88 100644 --- a/src/dev/build/tasks/nodejs/node_shasums.ts +++ b/src/dev/build/tasks/nodejs/node_shasums.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/nodejs/verify_existing_node_builds_task.test.ts b/src/dev/build/tasks/nodejs/verify_existing_node_builds_task.test.ts index 44c26b20faef..ccb75897ccfd 100644 --- a/src/dev/build/tasks/nodejs/verify_existing_node_builds_task.test.ts +++ b/src/dev/build/tasks/nodejs/verify_existing_node_builds_task.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/nodejs/verify_existing_node_builds_task.ts b/src/dev/build/tasks/nodejs/verify_existing_node_builds_task.ts index d873201c12f1..665774bf5bc7 100644 --- a/src/dev/build/tasks/nodejs/verify_existing_node_builds_task.ts +++ b/src/dev/build/tasks/nodejs/verify_existing_node_builds_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/notice_file_task.ts b/src/dev/build/tasks/notice_file_task.ts index 75602776ff4e..869829644ddd 100644 --- a/src/dev/build/tasks/notice_file_task.ts +++ b/src/dev/build/tasks/notice_file_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/os_packages/create_os_package_tasks.test.ts b/src/dev/build/tasks/os_packages/create_os_package_tasks.test.ts index 0f9b57b4c753..2093c7875191 100644 --- a/src/dev/build/tasks/os_packages/create_os_package_tasks.test.ts +++ b/src/dev/build/tasks/os_packages/create_os_package_tasks.test.ts @@ -1,9 +1,6 @@ /* + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 - * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. */ import { diff --git a/src/dev/build/tasks/os_packages/create_os_package_tasks.ts b/src/dev/build/tasks/os_packages/create_os_package_tasks.ts index d7ac5eb39798..900f8aa961e6 100644 --- a/src/dev/build/tasks/os_packages/create_os_package_tasks.ts +++ b/src/dev/build/tasks/os_packages/create_os_package_tasks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/os_packages/docker_generator/bundle_dockerfiles.ts b/src/dev/build/tasks/os_packages/docker_generator/bundle_dockerfiles.ts index 8a252db7b9e7..e1b653561f75 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/bundle_dockerfiles.ts +++ b/src/dev/build/tasks/os_packages/docker_generator/bundle_dockerfiles.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/os_packages/docker_generator/index.ts b/src/dev/build/tasks/os_packages/docker_generator/index.ts index d6b9a37a2b46..d4781ca2ac54 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/index.ts +++ b/src/dev/build/tasks/os_packages/docker_generator/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/os_packages/docker_generator/run.ts b/src/dev/build/tasks/os_packages/docker_generator/run.ts index 37dd425ad732..ab190b110129 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/run.ts +++ b/src/dev/build/tasks/os_packages/docker_generator/run.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/os_packages/docker_generator/template_context.ts b/src/dev/build/tasks/os_packages/docker_generator/template_context.ts index 2436f90087ff..d4b28812ed75 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/template_context.ts +++ b/src/dev/build/tasks/os_packages/docker_generator/template_context.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/os_packages/docker_generator/templates/build_docker_sh.template.ts b/src/dev/build/tasks/os_packages/docker_generator/templates/build_docker_sh.template.ts index e9dc5ce58ed3..15a51362d603 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/templates/build_docker_sh.template.ts +++ b/src/dev/build/tasks/os_packages/docker_generator/templates/build_docker_sh.template.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/os_packages/docker_generator/templates/dockerfile.template.ts b/src/dev/build/tasks/os_packages/docker_generator/templates/dockerfile.template.ts index 5414fbed56db..fb809ae268f7 100755 --- a/src/dev/build/tasks/os_packages/docker_generator/templates/dockerfile.template.ts +++ b/src/dev/build/tasks/os_packages/docker_generator/templates/dockerfile.template.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/os_packages/docker_generator/templates/index.ts b/src/dev/build/tasks/os_packages/docker_generator/templates/index.ts index bd00aec5ecca..7c96b902e73a 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/templates/index.ts +++ b/src/dev/build/tasks/os_packages/docker_generator/templates/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/os_packages/docker_generator/templates/opensearch_dashboards_yml.template.ts b/src/dev/build/tasks/os_packages/docker_generator/templates/opensearch_dashboards_yml.template.ts index 2b29a2700b71..a617071618fb 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/templates/opensearch_dashboards_yml.template.ts +++ b/src/dev/build/tasks/os_packages/docker_generator/templates/opensearch_dashboards_yml.template.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/os_packages/index.ts b/src/dev/build/tasks/os_packages/index.ts index b1f80c3ba2b5..8e84715a10c7 100644 --- a/src/dev/build/tasks/os_packages/index.ts +++ b/src/dev/build/tasks/os_packages/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/os_packages/package_scripts/post_install.sh b/src/dev/build/tasks/os_packages/package_scripts/post_install.sh index fa551dc2c8cd..263ec9be2f14 100644 --- a/src/dev/build/tasks/os_packages/package_scripts/post_install.sh +++ b/src/dev/build/tasks/os_packages/package_scripts/post_install.sh @@ -1,4 +1,16 @@ #!/bin/sh + +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + set -e export OSD_PATH_CONF=${OSD_PATH_CONF:-<%= configDir %>} diff --git a/src/dev/build/tasks/os_packages/package_scripts/post_remove.sh b/src/dev/build/tasks/os_packages/package_scripts/post_remove.sh index 25c46a54a222..f941a38c7916 100644 --- a/src/dev/build/tasks/os_packages/package_scripts/post_remove.sh +++ b/src/dev/build/tasks/os_packages/package_scripts/post_remove.sh @@ -1,4 +1,16 @@ #!/bin/sh + +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + set -e REMOVE_USER_AND_GROUP=false diff --git a/src/dev/build/tasks/os_packages/package_scripts/pre_install.sh b/src/dev/build/tasks/os_packages/package_scripts/pre_install.sh index d019b40d492d..3776a5bd5da8 100644 --- a/src/dev/build/tasks/os_packages/package_scripts/pre_install.sh +++ b/src/dev/build/tasks/os_packages/package_scripts/pre_install.sh @@ -1,4 +1,16 @@ #!/bin/sh + +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + set -e if command -v systemctl >/dev/null && systemctl is-active opensearch-dashboards.service >/dev/null; then diff --git a/src/dev/build/tasks/os_packages/package_scripts/pre_remove.sh b/src/dev/build/tasks/os_packages/package_scripts/pre_remove.sh index d359f1159282..b197e0dd2dbc 100644 --- a/src/dev/build/tasks/os_packages/package_scripts/pre_remove.sh +++ b/src/dev/build/tasks/os_packages/package_scripts/pre_remove.sh @@ -1,4 +1,16 @@ #!/bin/sh + +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + set -e echo -n "Stopping OpenSearch Dashboards service..." diff --git a/src/dev/build/tasks/os_packages/run_fpm.ts b/src/dev/build/tasks/os_packages/run_fpm.ts index 8cb68fedc812..f9191218569d 100644 --- a/src/dev/build/tasks/os_packages/run_fpm.ts +++ b/src/dev/build/tasks/os_packages/run_fpm.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/patch_native_modules_task.ts b/src/dev/build/tasks/patch_native_modules_task.ts index 76faaceffcdb..66533e2dadee 100644 --- a/src/dev/build/tasks/patch_native_modules_task.ts +++ b/src/dev/build/tasks/patch_native_modules_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/path_length_task.ts b/src/dev/build/tasks/path_length_task.ts index c9dcf0e52acc..260e1e0302d4 100644 --- a/src/dev/build/tasks/path_length_task.ts +++ b/src/dev/build/tasks/path_length_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/transpile_babel_task.ts b/src/dev/build/tasks/transpile_babel_task.ts index 2e57a8404c72..4eb122a8936d 100644 --- a/src/dev/build/tasks/transpile_babel_task.ts +++ b/src/dev/build/tasks/transpile_babel_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/uuid_verification_task.ts b/src/dev/build/tasks/uuid_verification_task.ts index 7e004c903bf2..403dbf9b7104 100644 --- a/src/dev/build/tasks/uuid_verification_task.ts +++ b/src/dev/build/tasks/uuid_verification_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/verify_env_task.ts b/src/dev/build/tasks/verify_env_task.ts index a73199e999ba..a6b3bd885576 100644 --- a/src/dev/build/tasks/verify_env_task.ts +++ b/src/dev/build/tasks/verify_env_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/build/tasks/write_sha_sums_task.ts b/src/dev/build/tasks/write_sha_sums_task.ts index 93c52bf439ae..3aa319d89d03 100644 --- a/src/dev/build/tasks/write_sha_sums_task.ts +++ b/src/dev/build/tasks/write_sha_sums_task.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/dev/ci_setup/checkout_sibling_opensearch.sh b/src/dev/ci_setup/checkout_sibling_opensearch.sh index 4978bbdde5cf..dcab2b356d43 100755 --- a/src/dev/ci_setup/checkout_sibling_opensearch.sh +++ b/src/dev/ci_setup/checkout_sibling_opensearch.sh @@ -1,5 +1,16 @@ #!/bin/bash +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + set -e function checkout_sibling { diff --git a/src/dev/ci_setup/extract_bootstrap_cache.sh b/src/dev/ci_setup/extract_bootstrap_cache.sh index fef6269a01fb..a729886ce380 100755 --- a/src/dev/ci_setup/extract_bootstrap_cache.sh +++ b/src/dev/ci_setup/extract_bootstrap_cache.sh @@ -1,5 +1,16 @@ #!/usr/bin/env bash +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + set -e targetBranch="${PR_TARGET_BRANCH:-$GIT_BRANCH}" diff --git a/src/dev/ci_setup/get_percy_env.js b/src/dev/ci_setup/get_percy_env.js index 1c61d9f63cb4..d5ce19f5f834 100644 --- a/src/dev/ci_setup/get_percy_env.js +++ b/src/dev/ci_setup/get_percy_env.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const execa = require('execa'); const pkg = require('../../../package.json'); diff --git a/src/dev/ci_setup/load_env_keys.sh b/src/dev/ci_setup/load_env_keys.sh index 833044348daf..399efe731ecb 100644 --- a/src/dev/ci_setup/load_env_keys.sh +++ b/src/dev/ci_setup/load_env_keys.sh @@ -1,5 +1,16 @@ #!/usr/bin/env bash +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + set -e if [ -z "$VAULT_SECRET_ID" ]; then diff --git a/src/dev/ci_setup/setup.sh b/src/dev/ci_setup/setup.sh index 6010fd70ce69..14548e0f0d4c 100755 --- a/src/dev/ci_setup/setup.sh +++ b/src/dev/ci_setup/setup.sh @@ -1,5 +1,16 @@ #!/usr/bin/env bash +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + set -e source src/dev/ci_setup/setup_env.sh true diff --git a/src/dev/ci_setup/setup_env.sh b/src/dev/ci_setup/setup_env.sh index 9e5daae23daa..e33de19284a0 100644 --- a/src/dev/ci_setup/setup_env.sh +++ b/src/dev/ci_setup/setup_env.sh @@ -1,5 +1,16 @@ #!/usr/bin/env bash +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + set -e if [[ "$CI_ENV_SETUP" ]]; then diff --git a/src/dev/ci_setup/setup_percy.sh b/src/dev/ci_setup/setup_percy.sh index ed6a15d056fe..c20c50eeb49e 100755 --- a/src/dev/ci_setup/setup_percy.sh +++ b/src/dev/ci_setup/setup_percy.sh @@ -1,5 +1,16 @@ #!/usr/bin/env bash +# +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. +# +# Any modifications Copyright OpenSearch Contributors. See +# GitHub history for details. +# + set -e ### diff --git a/src/dev/constants.ts b/src/dev/constants.ts index 998ffff401d4..87b65a519710 100644 --- a/src/dev/constants.ts +++ b/src/dev/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // Files in directories of this name will be treated as Jest integration tests with instances of // OpenSearch and the OpenSearch Dashboards server. export const RESERVED_DIR_JEST_INTEGRATION_TESTS = 'integration_tests'; diff --git a/src/dev/eslint/index.ts b/src/dev/eslint/index.ts index c92c19098ff2..da442a2b4af7 100644 --- a/src/dev/eslint/index.ts +++ b/src/dev/eslint/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { pickFilesToLint } from './pick_files_to_lint'; export { lintFiles } from './lint_files'; diff --git a/src/dev/eslint/lint_files.ts b/src/dev/eslint/lint_files.ts index 84425c2312fe..6fcbfc80f9eb 100644 --- a/src/dev/eslint/lint_files.ts +++ b/src/dev/eslint/lint_files.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CLIEngine } from 'eslint'; import { REPO_ROOT } from '@osd/utils'; diff --git a/src/dev/eslint/pick_files_to_lint.ts b/src/dev/eslint/pick_files_to_lint.ts index 0a72549b3efd..a1d1a77d779a 100644 --- a/src/dev/eslint/pick_files_to_lint.ts +++ b/src/dev/eslint/pick_files_to_lint.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CLIEngine } from 'eslint'; import { ToolingLog } from '@osd/dev-utils'; diff --git a/src/dev/file.ts b/src/dev/file.ts index 8536ade18f97..7d959387995c 100644 --- a/src/dev/file.ts +++ b/src/dev/file.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { dirname, extname, join, relative, resolve, sep, basename } from 'path'; export class File { diff --git a/src/dev/globs.js b/src/dev/globs.js index 667cc0104ae5..796cd043e3c7 100644 --- a/src/dev/globs.js +++ b/src/dev/globs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import minimatch from 'minimatch'; export function matchesAnyGlob(path, globs) { diff --git a/src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_1/test_file_1.jsx b/src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_1/test_file_1.jsx index f929f6836393..5219e5b6ddaf 100644 --- a/src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_1/test_file_1.jsx +++ b/src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_1/test_file_1.jsx @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ // Angular service diff --git a/src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_3/test_file.jsx b/src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_3/test_file.jsx index 7fa370dec5eb..915b166939a2 100644 --- a/src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_3/test_file.jsx +++ b/src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_3/test_file.jsx @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ i18n('plugin_3.duplicate_id', { defaultMessage: 'Message 1' }); diff --git a/src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_3_additional_path/test_file.jsx b/src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_3_additional_path/test_file.jsx index 7fa370dec5eb..915b166939a2 100644 --- a/src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_3_additional_path/test_file.jsx +++ b/src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_3_additional_path/test_file.jsx @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ i18n('plugin_3.duplicate_id', { defaultMessage: 'Message 1' }); diff --git a/src/dev/i18n/config.ts b/src/dev/i18n/config.ts index f0689e477599..03b41ca7886f 100644 --- a/src/dev/i18n/config.ts +++ b/src/dev/i18n/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; // @ts-ignore diff --git a/src/dev/i18n/constants.ts b/src/dev/i18n/constants.ts index 7792b7bc6062..adbf5cde98e1 100644 --- a/src/dev/i18n/constants.ts +++ b/src/dev/i18n/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const DEFAULT_MESSAGE_KEY = 'defaultMessage'; export const DESCRIPTION_KEY = 'description'; export const VALUES_KEY = 'values'; diff --git a/src/dev/i18n/extract_default_translations.js b/src/dev/i18n/extract_default_translations.js index 21a80bf47bde..e99c733bcb98 100644 --- a/src/dev/i18n/extract_default_translations.js +++ b/src/dev/i18n/extract_default_translations.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import path from 'path'; import { extractHtmlMessages, extractCodeMessages } from './extractors'; diff --git a/src/dev/i18n/extract_default_translations.test.js b/src/dev/i18n/extract_default_translations.test.js index f9f433d6d214..ea4754f3645e 100644 --- a/src/dev/i18n/extract_default_translations.test.js +++ b/src/dev/i18n/extract_default_translations.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import path from 'path'; import { diff --git a/src/dev/i18n/extractors/code.js b/src/dev/i18n/extractors/code.js index e3fba2bb4286..da5f97f0dcc8 100644 --- a/src/dev/i18n/extractors/code.js +++ b/src/dev/i18n/extractors/code.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parse } from '@babel/parser'; import { isCallExpression, diff --git a/src/dev/i18n/extractors/code.test.js b/src/dev/i18n/extractors/code.test.js index d8467d590039..e3f833afe997 100644 --- a/src/dev/i18n/extractors/code.test.js +++ b/src/dev/i18n/extractors/code.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parse } from '@babel/parser'; import { isCallExpression, isJSXOpeningElement } from '@babel/types'; diff --git a/src/dev/i18n/extractors/html.js b/src/dev/i18n/extractors/html.js index 81b5f1aacf8a..a145b2feaf1a 100644 --- a/src/dev/i18n/extractors/html.js +++ b/src/dev/i18n/extractors/html.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import cheerio from 'cheerio'; import { parse } from '@babel/parser'; import { isObjectExpression, isStringLiteral } from '@babel/types'; diff --git a/src/dev/i18n/extractors/html.test.js b/src/dev/i18n/extractors/html.test.js index 9143723c2d54..ffb00207f193 100644 --- a/src/dev/i18n/extractors/html.test.js +++ b/src/dev/i18n/extractors/html.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { extractHtmlMessages } from './html'; const htmlSourceBuffer = Buffer.from(` diff --git a/src/dev/i18n/extractors/i18n_call.js b/src/dev/i18n/extractors/i18n_call.js index 2366211a67bb..0a0655e8805a 100644 --- a/src/dev/i18n/extractors/i18n_call.js +++ b/src/dev/i18n/extractors/i18n_call.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isObjectExpression } from '@babel/types'; import { diff --git a/src/dev/i18n/extractors/i18n_call.test.js b/src/dev/i18n/extractors/i18n_call.test.js index 66d154c6761a..c716e484afb9 100644 --- a/src/dev/i18n/extractors/i18n_call.test.js +++ b/src/dev/i18n/extractors/i18n_call.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parse } from '@babel/parser'; import { isCallExpression } from '@babel/types'; diff --git a/src/dev/i18n/extractors/index.js b/src/dev/i18n/extractors/index.js index a13bc2d5e032..6e7601aa6599 100644 --- a/src/dev/i18n/extractors/index.js +++ b/src/dev/i18n/extractors/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { extractCodeMessages } from './code'; export { extractHtmlMessages } from './html'; diff --git a/src/dev/i18n/extractors/react.js b/src/dev/i18n/extractors/react.js index fe561c77fa8b..e071f407676e 100644 --- a/src/dev/i18n/extractors/react.js +++ b/src/dev/i18n/extractors/react.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isJSXIdentifier, isObjectExpression, isJSXExpressionContainer } from '@babel/types'; import { diff --git a/src/dev/i18n/extractors/react.test.js b/src/dev/i18n/extractors/react.test.js index c652db9af4d3..dc177bfa91f3 100644 --- a/src/dev/i18n/extractors/react.test.js +++ b/src/dev/i18n/extractors/react.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parse } from '@babel/parser'; import { isCallExpression, isJSXOpeningElement, isJSXIdentifier } from '@babel/types'; diff --git a/src/dev/i18n/index.ts b/src/dev/i18n/index.ts index bd1d4798215c..8b5f67d03e81 100644 --- a/src/dev/i18n/index.ts +++ b/src/dev/i18n/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore export { extractMessagesFromPathToMap } from './extract_default_translations'; // @ts-ignore diff --git a/src/dev/i18n/integrate_locale_files.test.mocks.ts b/src/dev/i18n/integrate_locale_files.test.mocks.ts index 65552f441586..004ca9259fb3 100644 --- a/src/dev/i18n/integrate_locale_files.test.mocks.ts +++ b/src/dev/i18n/integrate_locale_files.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const mockWriteFileAsync = jest.fn(); export const mockMakeDirAsync = jest.fn(); jest.mock('./utils', () => ({ diff --git a/src/dev/i18n/integrate_locale_files.test.ts b/src/dev/i18n/integrate_locale_files.test.ts index dd5d97c162bc..8bec5b7e740a 100644 --- a/src/dev/i18n/integrate_locale_files.test.ts +++ b/src/dev/i18n/integrate_locale_files.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockMakeDirAsync, mockWriteFileAsync } from './integrate_locale_files.test.mocks'; import path from 'path'; diff --git a/src/dev/i18n/integrate_locale_files.ts b/src/dev/i18n/integrate_locale_files.ts index 90a40c0f4ddb..2a362214d6d8 100644 --- a/src/dev/i18n/integrate_locale_files.ts +++ b/src/dev/i18n/integrate_locale_files.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '@osd/dev-utils'; import { i18n } from '@osd/i18n'; import path from 'path'; diff --git a/src/dev/i18n/serializers/index.ts b/src/dev/i18n/serializers/index.ts index b86097e61004..ea375db18bdb 100644 --- a/src/dev/i18n/serializers/index.ts +++ b/src/dev/i18n/serializers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; export { serializeToJson } from './json'; diff --git a/src/dev/i18n/serializers/json.test.ts b/src/dev/i18n/serializers/json.test.ts index fcc74ab5b007..743ea661b6d7 100644 --- a/src/dev/i18n/serializers/json.test.ts +++ b/src/dev/i18n/serializers/json.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { serializeToJson } from './json'; describe('dev/i18n/serializers/json', () => { diff --git a/src/dev/i18n/serializers/json.ts b/src/dev/i18n/serializers/json.ts index 453263adf225..b14772bb5b7b 100644 --- a/src/dev/i18n/serializers/json.ts +++ b/src/dev/i18n/serializers/json.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Serializer } from '.'; diff --git a/src/dev/i18n/serializers/json5.test.ts b/src/dev/i18n/serializers/json5.test.ts index efe3c15b9007..41c084764e69 100644 --- a/src/dev/i18n/serializers/json5.test.ts +++ b/src/dev/i18n/serializers/json5.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { serializeToJson5 } from './json5'; describe('dev/i18n/serializers/json5', () => { diff --git a/src/dev/i18n/serializers/json5.ts b/src/dev/i18n/serializers/json5.ts index 04ee1c93bf42..40b31a0f0c23 100644 --- a/src/dev/i18n/serializers/json5.ts +++ b/src/dev/i18n/serializers/json5.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import JSON5 from 'json5'; import { Serializer } from '.'; diff --git a/src/dev/i18n/tasks/check_compatibility.ts b/src/dev/i18n/tasks/check_compatibility.ts index aac892224e40..fed6e00a11de 100644 --- a/src/dev/i18n/tasks/check_compatibility.ts +++ b/src/dev/i18n/tasks/check_compatibility.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '@osd/dev-utils'; import { integrateLocaleFiles, I18nConfig } from '..'; diff --git a/src/dev/i18n/tasks/check_configs.ts b/src/dev/i18n/tasks/check_configs.ts index d73f06bd8f04..df57c874f258 100644 --- a/src/dev/i18n/tasks/check_configs.ts +++ b/src/dev/i18n/tasks/check_configs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve, join } from 'path'; import { I18N_RC } from '../constants'; import { ErrorReporter, checkConfigNamespacePrefix, arrayify } from '..'; diff --git a/src/dev/i18n/tasks/extract_default_translations.ts b/src/dev/i18n/tasks/extract_default_translations.ts index b9ca65c285a2..42eda5726eef 100644 --- a/src/dev/i18n/tasks/extract_default_translations.ts +++ b/src/dev/i18n/tasks/extract_default_translations.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import chalk from 'chalk'; import { createFailError } from '@osd/dev-utils'; import { ErrorReporter, extractMessagesFromPathToMap, filterConfigPaths, I18nConfig } from '..'; diff --git a/src/dev/i18n/tasks/extract_untracked_translations.ts b/src/dev/i18n/tasks/extract_untracked_translations.ts index ef34d6ede7b1..a30e28fa41d3 100644 --- a/src/dev/i18n/tasks/extract_untracked_translations.ts +++ b/src/dev/i18n/tasks/extract_untracked_translations.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createFailError } from '@osd/dev-utils'; import { I18nConfig, diff --git a/src/dev/i18n/tasks/index.ts b/src/dev/i18n/tasks/index.ts index cf4a0a7dd97a..53038e7da605 100644 --- a/src/dev/i18n/tasks/index.ts +++ b/src/dev/i18n/tasks/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { extractDefaultMessages } from './extract_default_translations'; export { extractUntrackedMessages } from './extract_untracked_translations'; export { checkCompatibility } from './check_compatibility'; diff --git a/src/dev/i18n/tasks/merge_configs.ts b/src/dev/i18n/tasks/merge_configs.ts index cc065b9b1f54..83e94d4da6f6 100644 --- a/src/dev/i18n/tasks/merge_configs.ts +++ b/src/dev/i18n/tasks/merge_configs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve, join } from 'path'; import { ErrorReporter, I18nConfig, assignConfigFromPath, arrayify } from '..'; diff --git a/src/dev/i18n/utils/index.ts b/src/dev/i18n/utils/index.ts index 5c06b85a27d5..fa057c6a8d67 100644 --- a/src/dev/i18n/utils/index.ts +++ b/src/dev/i18n/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { // constants readFileAsync, diff --git a/src/dev/i18n/utils/intl_types.ts b/src/dev/i18n/utils/intl_types.ts index c0b99a55748b..1b27ab77143b 100644 --- a/src/dev/i18n/utils/intl_types.ts +++ b/src/dev/i18n/utils/intl_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface OptionalFormatPatternNode { type: 'optionalFormatPattern'; selector: string; diff --git a/src/dev/i18n/utils/utils.js b/src/dev/i18n/utils/utils.js index 743a6142b79a..370a49e466f5 100644 --- a/src/dev/i18n/utils/utils.js +++ b/src/dev/i18n/utils/utils.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isCallExpression, isIdentifier, diff --git a/src/dev/i18n/utils/utils.test.js b/src/dev/i18n/utils/utils.test.js index e56f8cba7f8e..13799f8a5cba 100644 --- a/src/dev/i18n/utils/utils.test.js +++ b/src/dev/i18n/utils/utils.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parse } from '@babel/parser'; import { isExpressionStatement, isObjectExpression, isObjectProperty } from '@babel/types'; diff --git a/src/dev/i18n/utils/verify_icu_message.test.ts b/src/dev/i18n/utils/verify_icu_message.test.ts index e1c15ca7f3e5..c77887b2db51 100644 --- a/src/dev/i18n/utils/verify_icu_message.test.ts +++ b/src/dev/i18n/utils/verify_icu_message.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { verifyICUMessage, checkEnglishOnly } from './verify_icu_message'; describe('verifyICUMessage', () => { diff --git a/src/dev/i18n/utils/verify_icu_message.ts b/src/dev/i18n/utils/verify_icu_message.ts index 33a26b66b3d1..0470cac4ea1f 100644 --- a/src/dev/i18n/utils/verify_icu_message.ts +++ b/src/dev/i18n/utils/verify_icu_message.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore import parser from 'intl-messageformat-parser'; // @ts-ignore diff --git a/src/dev/index.js b/src/dev/index.js index ed202dd45fec..4a8c72d9f61c 100644 --- a/src/dev/index.js +++ b/src/dev/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createAutoJUnitReporter, setupJUnitReportGeneration } from './mocha'; export { generateNoticeFromSource } from './notice'; diff --git a/src/dev/index.ts b/src/dev/index.ts index e83661e5c1f1..d47c3eed5795 100644 --- a/src/dev/index.ts +++ b/src/dev/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore not typed yet export { createAutoJUnitReporter } from './auto_junit_reporter'; // @ts-ignore not typed yet diff --git a/src/dev/jest/babel_transform.js b/src/dev/jest/babel_transform.js index 27299fc56c8f..83e90decb3a6 100644 --- a/src/dev/jest/babel_transform.js +++ b/src/dev/jest/babel_transform.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = require('babel-jest').default.createTransformer({ presets: [ [ diff --git a/src/dev/jest/cli.js b/src/dev/jest/cli.js index dcbf428ede2a..d5e8226329f7 100644 --- a/src/dev/jest/cli.js +++ b/src/dev/jest/cli.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { run } from 'jest'; run(process.argv.slice(2)); diff --git a/src/dev/jest/config.integration.js b/src/dev/jest/config.integration.js index bbfdf2d6cdee..383620fdf8e2 100644 --- a/src/dev/jest/config.integration.js +++ b/src/dev/jest/config.integration.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import config from './config'; export default { diff --git a/src/dev/jest/config.js b/src/dev/jest/config.js index 3f82435ba51c..7c635e24e018 100644 --- a/src/dev/jest/config.js +++ b/src/dev/jest/config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { RESERVED_DIR_JEST_INTEGRATION_TESTS } from '../constants'; export default { diff --git a/src/dev/jest/integration_tests/__fixtures__/test.js b/src/dev/jest/integration_tests/__fixtures__/test.js index cec71e2c38f3..e1afb6f96436 100644 --- a/src/dev/jest/integration_tests/__fixtures__/test.js +++ b/src/dev/jest/integration_tests/__fixtures__/test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - it('fails', (done) => { setTimeout(() => { done(); diff --git a/src/dev/jest/integration_tests/junit_reporter.test.js b/src/dev/jest/integration_tests/junit_reporter.test.js index 25abcfb2c3b6..e3f46c40eb16 100644 --- a/src/dev/jest/integration_tests/junit_reporter.test.js +++ b/src/dev/jest/integration_tests/junit_reporter.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { promisify } from 'util'; import { readFileSync } from 'fs'; diff --git a/src/dev/jest/junit_reporter.js b/src/dev/jest/junit_reporter.js index 082d9bc9a1b0..35b8a5a39608 100644 --- a/src/dev/jest/junit_reporter.js +++ b/src/dev/jest/junit_reporter.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve, dirname, relative } from 'path'; import { writeFileSync, mkdirSync } from 'fs'; diff --git a/src/dev/jest/mocks/css_module_mock.js b/src/dev/jest/mocks/css_module_mock.js index 0164af6f94e1..ee45e11eb95b 100644 --- a/src/dev/jest/mocks/css_module_mock.js +++ b/src/dev/jest/mocks/css_module_mock.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * This proxy allows for CSS Modules to be interpreted properly by * Jest. Given a CSS Module class `thisClass`, we'd expect it to diff --git a/src/dev/jest/mocks/file_mock.js b/src/dev/jest/mocks/file_mock.js index b4debd1ce852..b08e833bfd17 100644 --- a/src/dev/jest/mocks/file_mock.js +++ b/src/dev/jest/mocks/file_mock.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = 'test-file-stub'; diff --git a/src/dev/jest/mocks/style_mock.js b/src/dev/jest/mocks/style_mock.js index 179496890ec1..ae072264f852 100644 --- a/src/dev/jest/mocks/style_mock.js +++ b/src/dev/jest/mocks/style_mock.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = {}; diff --git a/src/dev/jest/mocks/worker_module_mock.js b/src/dev/jest/mocks/worker_module_mock.js index 1c30e8adf405..c78ebad8f4f4 100644 --- a/src/dev/jest/mocks/worker_module_mock.js +++ b/src/dev/jest/mocks/worker_module_mock.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = ''; diff --git a/src/dev/jest/setup/after_env.integration.js b/src/dev/jest/setup/after_env.integration.js index 44aa6942e3ab..c81cae906aca 100644 --- a/src/dev/jest/setup/after_env.integration.js +++ b/src/dev/jest/setup/after_env.integration.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-env jest */ /** diff --git a/src/dev/jest/setup/babel_polyfill.js b/src/dev/jest/setup/babel_polyfill.js index 90baa48eb0a8..6dda9fa571ce 100644 --- a/src/dev/jest/setup/babel_polyfill.js +++ b/src/dev/jest/setup/babel_polyfill.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // Note: In theory importing the polyfill should not be needed, as Babel should // include the necessary polyfills when using `@babel/preset-env`, but for some // reason it did not work. See https://github.com/elastic/kibana/issues/14506 diff --git a/src/dev/jest/setup/enzyme.js b/src/dev/jest/setup/enzyme.js index afbb21d5b48c..e76d93b30eca 100644 --- a/src/dev/jest/setup/enzyme.js +++ b/src/dev/jest/setup/enzyme.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { configure } from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; diff --git a/src/dev/jest/setup/mocks.js b/src/dev/jest/setup/mocks.js index 47f2cbfc63bf..cc5568e4bc08 100644 --- a/src/dev/jest/setup/mocks.js +++ b/src/dev/jest/setup/mocks.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-env jest */ /** diff --git a/src/dev/jest/setup/polyfills.js b/src/dev/jest/setup/polyfills.js index 54ffbeeb86bd..b5c707519e94 100644 --- a/src/dev/jest/setup/polyfills.js +++ b/src/dev/jest/setup/polyfills.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // bluebird < v3.3.5 does not work with MutationObserver polyfill // when MutationObserver exists, bluebird avoids using node's builtin async schedulers const bluebird = require('bluebird'); diff --git a/src/dev/jest/setup/react_testing_library.js b/src/dev/jest/setup/react_testing_library.js index ec0b56d42ec9..9accfe515a34 100644 --- a/src/dev/jest/setup/react_testing_library.js +++ b/src/dev/jest/setup/react_testing_library.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import '@testing-library/jest-dom'; /** * PLEASE NOTE: diff --git a/src/dev/license_checker/__tests__/valid.js b/src/dev/license_checker/__tests__/valid.js index 07ff2ccdd5e8..80caf230b50d 100644 --- a/src/dev/license_checker/__tests__/valid.js +++ b/src/dev/license_checker/__tests__/valid.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import expect from '@osd/expect'; diff --git a/src/dev/license_checker/config.ts b/src/dev/license_checker/config.ts index efbeaa4dc3e5..c3dc1a07a94f 100644 --- a/src/dev/license_checker/config.ts +++ b/src/dev/license_checker/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // The following list applies to packages both // used as dependencies or dev dependencies export const LICENSE_WHITELIST = [ diff --git a/src/dev/license_checker/index.ts b/src/dev/license_checker/index.ts index e8113827ff59..19450a7840ef 100644 --- a/src/dev/license_checker/index.ts +++ b/src/dev/license_checker/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { LICENSE_WHITELIST, DEV_ONLY_LICENSE_WHITELIST, LICENSE_OVERRIDES } from './config'; export { assertLicensesValid } from './valid'; diff --git a/src/dev/license_checker/run_check_licenses_cli.ts b/src/dev/license_checker/run_check_licenses_cli.ts index b5326a06e603..db7a9e9cbaa9 100644 --- a/src/dev/license_checker/run_check_licenses_cli.ts +++ b/src/dev/license_checker/run_check_licenses_cli.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { REPO_ROOT } from '@osd/utils'; import { run } from '@osd/dev-utils'; import { getInstalledPackages } from '../npm'; diff --git a/src/dev/license_checker/valid.ts b/src/dev/license_checker/valid.ts index 409bd8f526ae..7745bb47b208 100644 --- a/src/dev/license_checker/valid.ts +++ b/src/dev/license_checker/valid.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import dedent from 'dedent'; import { createFailError } from '@osd/dev-utils'; diff --git a/src/dev/mocha/__tests__/fixtures/project/test.js b/src/dev/mocha/__tests__/fixtures/project/test.js index 26cbe97c73d9..3bd5ebf63879 100644 --- a/src/dev/mocha/__tests__/fixtures/project/test.js +++ b/src/dev/mocha/__tests__/fixtures/project/test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - describe('SUITE', () => { it('works', () => {}); it('fails', () => { diff --git a/src/dev/mocha/__tests__/junit_report_generation.js b/src/dev/mocha/__tests__/junit_report_generation.js index 9ed4ab207389..e1e5e81e3ad1 100644 --- a/src/dev/mocha/__tests__/junit_report_generation.js +++ b/src/dev/mocha/__tests__/junit_report_generation.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { readFileSync } from 'fs'; diff --git a/src/dev/mocha/auto_junit_reporter.js b/src/dev/mocha/auto_junit_reporter.js index 3dd6a76e82a1..119f3807a691 100644 --- a/src/dev/mocha/auto_junit_reporter.js +++ b/src/dev/mocha/auto_junit_reporter.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import mocha from 'mocha'; import { setupJUnitReportGeneration } from './junit_report_generation'; diff --git a/src/dev/mocha/index.js b/src/dev/mocha/index.js index e83661e5c1f1..d47c3eed5795 100644 --- a/src/dev/mocha/index.js +++ b/src/dev/mocha/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore not typed yet export { createAutoJUnitReporter } from './auto_junit_reporter'; // @ts-ignore not typed yet diff --git a/src/dev/mocha/junit_report_generation.js b/src/dev/mocha/junit_report_generation.js index 1e675e09dbc8..50b6ba9f6fe0 100644 --- a/src/dev/mocha/junit_report_generation.js +++ b/src/dev/mocha/junit_report_generation.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { dirname, relative } from 'path'; import { writeFileSync, mkdirSync } from 'fs'; import { inspect } from 'util'; diff --git a/src/dev/mocha/log_cache.js b/src/dev/mocha/log_cache.js index c5f67979bc6f..bb908dddd7cc 100644 --- a/src/dev/mocha/log_cache.js +++ b/src/dev/mocha/log_cache.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const cachedSuiteLogs = new WeakMap(); const cachesRunnableLogs = new WeakMap(); diff --git a/src/dev/mocha/run_mocha_cli.js b/src/dev/mocha/run_mocha_cli.js index 2e64d9d1ae02..94f00a66167f 100644 --- a/src/dev/mocha/run_mocha_cli.js +++ b/src/dev/mocha/run_mocha_cli.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { REPO_ROOT } from '@osd/utils'; import getopts from 'getopts'; import globby from 'globby'; diff --git a/src/dev/mocha/server_junit_reporter.js b/src/dev/mocha/server_junit_reporter.js index b1b330f73075..923e50b97e25 100644 --- a/src/dev/mocha/server_junit_reporter.js +++ b/src/dev/mocha/server_junit_reporter.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // when the reporter is loaded by mocha in child process it might be before setup_node_env require('../../setup_node_env'); diff --git a/src/dev/notice/bundled_notices.js b/src/dev/notice/bundled_notices.js index a36645f32b5a..4c8ede4da587 100644 --- a/src/dev/notice/bundled_notices.js +++ b/src/dev/notice/bundled_notices.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { readFile } from 'fs'; diff --git a/src/dev/notice/cli.js b/src/dev/notice/cli.js index fd47fc31ddfa..f176d53c8fb1 100644 --- a/src/dev/notice/cli.js +++ b/src/dev/notice/cli.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { readFileSync, writeFileSync } from 'fs'; import { resolve } from 'path'; diff --git a/src/dev/notice/generate_build_notice_text.js b/src/dev/notice/generate_build_notice_text.js index 4fda26dbf2fc..b32e20091500 100644 --- a/src/dev/notice/generate_build_notice_text.js +++ b/src/dev/notice/generate_build_notice_text.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { generatePackageNoticeText } from './generate_package_notice_text'; import { generateNodeNoticeText } from './generate_node_notice_text'; diff --git a/src/dev/notice/generate_build_notice_text.test.js b/src/dev/notice/generate_build_notice_text.test.js index ff20efbc363f..1976609db862 100644 --- a/src/dev/notice/generate_build_notice_text.test.js +++ b/src/dev/notice/generate_build_notice_text.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { readFileSync } from 'fs'; diff --git a/src/dev/notice/generate_node_notice_text.js b/src/dev/notice/generate_node_notice_text.js index c8a333562e73..74d6de514cb8 100644 --- a/src/dev/notice/generate_node_notice_text.js +++ b/src/dev/notice/generate_node_notice_text.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { readFileSync } from 'fs'; diff --git a/src/dev/notice/generate_notice_from_source.ts b/src/dev/notice/generate_notice_from_source.ts index 5c08e127868c..48dc147bfbe6 100644 --- a/src/dev/notice/generate_notice_from_source.ts +++ b/src/dev/notice/generate_notice_from_source.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import vfs from 'vinyl-fs'; import { ToolingLog } from '@osd/dev-utils'; diff --git a/src/dev/notice/generate_package_notice_text.js b/src/dev/notice/generate_package_notice_text.js index a0dc398fcdc2..fd6b9d6a8cd2 100644 --- a/src/dev/notice/generate_package_notice_text.js +++ b/src/dev/notice/generate_package_notice_text.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getBundledNotices } from './bundled_notices'; const concatNotices = (notices) => notices.map((notice) => notice.text).join('\n'); diff --git a/src/dev/notice/index.ts b/src/dev/notice/index.ts index 180ec62942f7..8ce4a83581c9 100644 --- a/src/dev/notice/index.ts +++ b/src/dev/notice/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { generateNoticeFromSource } from './generate_notice_from_source'; // @ts-ignore not typed yet export { generateBuildNoticeText } from './generate_build_notice_text'; diff --git a/src/dev/npm/index.ts b/src/dev/npm/index.ts index 376d3edebf6d..f8ef5f4dc972 100644 --- a/src/dev/npm/index.ts +++ b/src/dev/npm/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getInstalledPackages } from './installed_packages'; diff --git a/src/dev/npm/installed_packages.ts b/src/dev/npm/installed_packages.ts index 09a948d2a914..d00ed9c8b0af 100644 --- a/src/dev/npm/installed_packages.ts +++ b/src/dev/npm/installed_packages.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { relative, resolve } from 'path'; import { readFileSync } from 'fs'; import { promisify } from 'util'; diff --git a/src/dev/npm/integration_tests/__fixtures__/fixture1/index.js b/src/dev/npm/integration_tests/__fixtures__/fixture1/index.js index e89150e98d93..752d8065211a 100644 --- a/src/dev/npm/integration_tests/__fixtures__/fixture1/index.js +++ b/src/dev/npm/integration_tests/__fixtures__/fixture1/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - console.log('I am fixture 1'); diff --git a/src/dev/npm/integration_tests/installed_packages.test.ts b/src/dev/npm/integration_tests/installed_packages.test.ts index a776e108cf30..973595d3b1b1 100644 --- a/src/dev/npm/integration_tests/installed_packages.test.ts +++ b/src/dev/npm/integration_tests/installed_packages.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve, sep } from 'path'; import { uniq } from 'lodash'; diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js index 167c6ef7e753..55892410ea7f 100644 --- a/src/dev/precommit_hook/casing_check_config.js +++ b/src/dev/precommit_hook/casing_check_config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * These patterns are used to identify files that are not supposed * to be snake_case because their names are determined by other diff --git a/src/dev/precommit_hook/check_file_casing.js b/src/dev/precommit_hook/check_file_casing.js index d1271269bef5..e31194deff45 100644 --- a/src/dev/precommit_hook/check_file_casing.js +++ b/src/dev/precommit_hook/check_file_casing.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { relative, basename } from 'path'; import { dim } from 'chalk'; diff --git a/src/dev/precommit_hook/get_files_for_commit.js b/src/dev/precommit_hook/get_files_for_commit.js index d0f889e18211..b0a18f650f70 100644 --- a/src/dev/precommit_hook/get_files_for_commit.js +++ b/src/dev/precommit_hook/get_files_for_commit.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import SimpleGit from 'simple-git'; import { fromNode as fcb } from 'bluebird'; diff --git a/src/dev/precommit_hook/index.js b/src/dev/precommit_hook/index.js index 9858e2efb508..14bf1af2a34b 100644 --- a/src/dev/precommit_hook/index.js +++ b/src/dev/precommit_hook/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { checkFileCasing } from './check_file_casing'; export { getFilesForCommit } from './get_files_for_commit'; diff --git a/src/dev/prs/github_api.ts b/src/dev/prs/github_api.ts index a04cba770eb1..425c9a9461a7 100644 --- a/src/dev/prs/github_api.ts +++ b/src/dev/prs/github_api.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import axios, { AxiosError, AxiosResponse } from 'axios'; import { createFailError } from '@osd/dev-utils'; diff --git a/src/dev/prs/helpers.ts b/src/dev/prs/helpers.ts index 50e423e46274..6b1cc9419f15 100644 --- a/src/dev/prs/helpers.ts +++ b/src/dev/prs/helpers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Readable } from 'stream'; import * as Rx from 'rxjs'; import { takeUntil } from 'rxjs/operators'; diff --git a/src/dev/prs/pr.ts b/src/dev/prs/pr.ts index 1353ec697ea2..bf5ea272d95c 100644 --- a/src/dev/prs/pr.ts +++ b/src/dev/prs/pr.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createFlagError } from '@osd/dev-utils'; const isNum = (input: string) => { diff --git a/src/dev/prs/run_update_prs_cli.ts b/src/dev/prs/run_update_prs_cli.ts index 29d30ae66265..2e5f14c04b7b 100644 --- a/src/dev/prs/run_update_prs_cli.ts +++ b/src/dev/prs/run_update_prs_cli.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import * as Rx from 'rxjs'; diff --git a/src/dev/run_check_file_casing.js b/src/dev/run_check_file_casing.js index 06e6469d93b4..0f989bed6ace 100644 --- a/src/dev/run_check_file_casing.js +++ b/src/dev/run_check_file_casing.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import globby from 'globby'; import { REPO_ROOT } from '@osd/utils'; diff --git a/src/dev/run_check_lockfile_symlinks.js b/src/dev/run_check_lockfile_symlinks.js index d03032bfc133..235d745e860e 100644 --- a/src/dev/run_check_lockfile_symlinks.js +++ b/src/dev/run_check_lockfile_symlinks.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { existsSync, lstatSync, readFileSync, readlinkSync } from 'fs'; import globby from 'globby'; import { dirname } from 'path'; diff --git a/src/dev/run_check_published_api_changes.ts b/src/dev/run_check_published_api_changes.ts index 7e350f18ed3c..f17df85422b2 100644 --- a/src/dev/run_check_published_api_changes.ts +++ b/src/dev/run_check_published_api_changes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '@osd/dev-utils'; import { Extractor, diff --git a/src/dev/run_eslint.js b/src/dev/run_eslint.js index 980f5a85a1cb..e6b4f31f8ed7 100644 --- a/src/dev/run_eslint.js +++ b/src/dev/run_eslint.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parse } from 'eslint/lib/options'; const options = parse(process.argv); diff --git a/src/dev/run_i18n_check.ts b/src/dev/run_i18n_check.ts index f8b1ad6b114b..fb0d9d3a3f01 100644 --- a/src/dev/run_i18n_check.ts +++ b/src/dev/run_i18n_check.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import chalk from 'chalk'; import Listr from 'listr'; diff --git a/src/dev/run_i18n_extract.ts b/src/dev/run_i18n_extract.ts index c9e08ba5f58e..28c49c3ab868 100644 --- a/src/dev/run_i18n_extract.ts +++ b/src/dev/run_i18n_extract.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import chalk from 'chalk'; import Listr from 'listr'; import { resolve } from 'path'; diff --git a/src/dev/run_i18n_integrate.ts b/src/dev/run_i18n_integrate.ts index b0589af7b24e..70c5d82422d2 100644 --- a/src/dev/run_i18n_integrate.ts +++ b/src/dev/run_i18n_integrate.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import chalk from 'chalk'; import Listr from 'listr'; diff --git a/src/dev/run_precommit_hook.js b/src/dev/run_precommit_hook.js index 4205b1059ade..3c6ea215a63f 100644 --- a/src/dev/run_precommit_hook.js +++ b/src/dev/run_precommit_hook.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { run, combineErrors } from '@osd/dev-utils'; import * as Eslint from './eslint'; import * as Sasslint from './sasslint'; diff --git a/src/dev/run_sasslint.js b/src/dev/run_sasslint.js index 484c74696858..ef4d30690574 100644 --- a/src/dev/run_sasslint.js +++ b/src/dev/run_sasslint.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; process.argv.push('--no-exit'); // don't exit after encountering a rule error diff --git a/src/dev/sasslint/index.js b/src/dev/sasslint/index.js index c92c19098ff2..da442a2b4af7 100644 --- a/src/dev/sasslint/index.js +++ b/src/dev/sasslint/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { pickFilesToLint } from './pick_files_to_lint'; export { lintFiles } from './lint_files'; diff --git a/src/dev/sasslint/lint_files.js b/src/dev/sasslint/lint_files.js index efce635fb6ec..2e1b568b8864 100644 --- a/src/dev/sasslint/lint_files.js +++ b/src/dev/sasslint/lint_files.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sassLint from 'sass-lint'; import path from 'path'; import { createFailError } from '@osd/dev-utils'; diff --git a/src/dev/sasslint/pick_files_to_lint.js b/src/dev/sasslint/pick_files_to_lint.js index 96de10a61638..fbeeb1ad9640 100644 --- a/src/dev/sasslint/pick_files_to_lint.js +++ b/src/dev/sasslint/pick_files_to_lint.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fs from 'fs'; import { safeLoad } from 'js-yaml'; import { makeRe } from 'minimatch'; diff --git a/src/dev/typescript/build_refs.ts b/src/dev/typescript/build_refs.ts index e0ff5fa30cfe..1a7601be04ce 100644 --- a/src/dev/typescript/build_refs.ts +++ b/src/dev/typescript/build_refs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import execa from 'execa'; import { run, ToolingLog } from '@osd/dev-utils'; diff --git a/src/dev/typescript/exec_in_projects.ts b/src/dev/typescript/exec_in_projects.ts index 6899ad2edea8..c3f009e0c77c 100644 --- a/src/dev/typescript/exec_in_projects.ts +++ b/src/dev/typescript/exec_in_projects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import os from 'os'; import { ToolingLog } from '@osd/dev-utils'; diff --git a/src/dev/typescript/get_ts_project_for_absolute_path.ts b/src/dev/typescript/get_ts_project_for_absolute_path.ts index ffc4fa3fad31..2076fa91bcfa 100644 --- a/src/dev/typescript/get_ts_project_for_absolute_path.ts +++ b/src/dev/typescript/get_ts_project_for_absolute_path.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { relative, resolve } from 'path'; import { REPO_ROOT } from '@osd/utils'; import { File } from '../file'; diff --git a/src/dev/typescript/index.ts b/src/dev/typescript/index.ts index 5596733fb78e..5a16ddb0e4f9 100644 --- a/src/dev/typescript/index.ts +++ b/src/dev/typescript/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Project } from './project'; export { filterProjectsByFlag } from './projects'; export { getTsProjectForAbsolutePath } from './get_ts_project_for_absolute_path'; diff --git a/src/dev/typescript/project.ts b/src/dev/typescript/project.ts index 6036b49ee697..5ea40d6d48f4 100644 --- a/src/dev/typescript/project.ts +++ b/src/dev/typescript/project.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { readFileSync } from 'fs'; import { basename, dirname, relative, resolve } from 'path'; diff --git a/src/dev/typescript/projects.ts b/src/dev/typescript/projects.ts index 96d1ddf9ef6b..5eb478619494 100644 --- a/src/dev/typescript/projects.ts +++ b/src/dev/typescript/projects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import glob from 'glob'; import { resolve } from 'path'; import { REPO_ROOT } from '@osd/utils'; diff --git a/src/dev/typescript/run_check_ts_projects_cli.ts b/src/dev/typescript/run_check_ts_projects_cli.ts index 5ccab1643e83..c66d61aa9aeb 100644 --- a/src/dev/typescript/run_check_ts_projects_cli.ts +++ b/src/dev/typescript/run_check_ts_projects_cli.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve, relative } from 'path'; import execa from 'execa'; diff --git a/src/dev/typescript/run_type_check_cli.ts b/src/dev/typescript/run_type_check_cli.ts index a62262b82a8d..7c110d637c6a 100644 --- a/src/dev/typescript/run_type_check_cli.ts +++ b/src/dev/typescript/run_type_check_cli.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '@osd/dev-utils'; import chalk from 'chalk'; import dedent from 'dedent'; diff --git a/src/dev/xml.ts b/src/dev/xml.ts index 1f3ca3ce4bb4..97852349ef70 100644 --- a/src/dev/xml.ts +++ b/src/dev/xml.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore import regenerate from 'regenerate'; import stripAnsi from 'strip-ansi'; diff --git a/src/docs/cli.js b/src/docs/cli.js index e8b0adf11633..0c03e917c45c 100644 --- a/src/docs/cli.js +++ b/src/docs/cli.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { execFileSync } from 'child_process'; import { Command } from 'commander'; diff --git a/src/docs/docs_repo.js b/src/docs/docs_repo.js index d738e61271b6..fc68b61f2c53 100644 --- a/src/docs/docs_repo.js +++ b/src/docs/docs_repo.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; const opensearchDashboardsDir = resolve(__dirname, '..', '..'); diff --git a/src/fixtures/agg_resp/date_histogram.js b/src/fixtures/agg_resp/date_histogram.js index 5c35b46fb90b..07976f271410 100644 --- a/src/fixtures/agg_resp/date_histogram.js +++ b/src/fixtures/agg_resp/date_histogram.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default { took: 35, timed_out: false, diff --git a/src/fixtures/agg_resp/geohash_grid.js b/src/fixtures/agg_resp/geohash_grid.js index 5cead48f6a85..7069be4c4462 100644 --- a/src/fixtures/agg_resp/geohash_grid.js +++ b/src/fixtures/agg_resp/geohash_grid.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default function GeoHashGridAggResponseFixture() { // for vis: diff --git a/src/fixtures/agg_resp/range.js b/src/fixtures/agg_resp/range.js index 0819d10a3ea6..f2aa9548f2f0 100644 --- a/src/fixtures/agg_resp/range.js +++ b/src/fixtures/agg_resp/range.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default { took: 35, timed_out: false, diff --git a/src/fixtures/fake_chart_events.js b/src/fixtures/fake_chart_events.js index 26e1caa92ed8..0e025a060be9 100644 --- a/src/fixtures/fake_chart_events.js +++ b/src/fixtures/fake_chart_events.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const results = {}; results.timeSeries = { diff --git a/src/fixtures/fake_hierarchical_data.ts b/src/fixtures/fake_hierarchical_data.ts index fc7c6c6a1229..388106cfa087 100644 --- a/src/fixtures/fake_hierarchical_data.ts +++ b/src/fixtures/fake_hierarchical_data.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const metricOnly = { hits: { total: 1000, hits: [], max_score: 0 }, aggregations: { diff --git a/src/fixtures/fake_row.js b/src/fixtures/fake_row.js index 8c7bff895912..08fdfb49bfd2 100644 --- a/src/fixtures/fake_row.js +++ b/src/fixtures/fake_row.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const longString = Array(200).join('_'); export function getFakeRowVals(type, id, mapping) { diff --git a/src/fixtures/field_mapping.js b/src/fixtures/field_mapping.js index 2f1c9da5893e..b90e17210e71 100644 --- a/src/fixtures/field_mapping.js +++ b/src/fixtures/field_mapping.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default { test: { mappings: { diff --git a/src/fixtures/hits.js b/src/fixtures/hits.js index c4bff0540d03..4431a1700f12 100644 --- a/src/fixtures/hits.js +++ b/src/fixtures/hits.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function fitsFixture() { return [ // extension diff --git a/src/fixtures/logstash_fields.js b/src/fixtures/logstash_fields.js index 94c5fbc8f125..f9923a0ae9cd 100644 --- a/src/fixtures/logstash_fields.js +++ b/src/fixtures/logstash_fields.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { shouldReadFieldFromDocValues, castOpenSearchToOsdFieldTypeName, diff --git a/src/fixtures/mapping_with_dupes.js b/src/fixtures/mapping_with_dupes.js index 8a9624eabc9c..f16cde87bd8c 100644 --- a/src/fixtures/mapping_with_dupes.js +++ b/src/fixtures/mapping_with_dupes.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default { test: { mappings: { diff --git a/src/fixtures/mock_index_patterns.js b/src/fixtures/mock_index_patterns.js index 303b72a87989..94648a550a0a 100644 --- a/src/fixtures/mock_index_patterns.js +++ b/src/fixtures/mock_index_patterns.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon from 'sinon'; import FixturesStubbedLogstashIndexPatternProvider from 'fixtures/stubbed_logstash_index_pattern'; diff --git a/src/fixtures/mock_state.js b/src/fixtures/mock_state.js index 69035fd073c7..6dc7bd760dc0 100644 --- a/src/fixtures/mock_state.js +++ b/src/fixtures/mock_state.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import sinon from 'sinon'; diff --git a/src/fixtures/mock_ui_state.js b/src/fixtures/mock_ui_state.js index cf2685d85027..5430ee0cd801 100644 --- a/src/fixtures/mock_ui_state.js +++ b/src/fixtures/mock_ui_state.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { set } from '@elastic/safer-lodash-set'; import _ from 'lodash'; let values = {}; diff --git a/src/fixtures/real_hits.js b/src/fixtures/real_hits.js index a78eda522fce..82b29446e34a 100644 --- a/src/fixtures/real_hits.js +++ b/src/fixtures/real_hits.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* Extensions: gif: 5 diff --git a/src/fixtures/search_response.js b/src/fixtures/search_response.js index 1e164965a973..e33f60e5e542 100644 --- a/src/fixtures/search_response.js +++ b/src/fixtures/search_response.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import hits from 'fixtures/real_hits'; export default { diff --git a/src/fixtures/stubbed_logstash_index_pattern.js b/src/fixtures/stubbed_logstash_index_pattern.js index b6907d12f5c8..82978b5b7fe5 100644 --- a/src/fixtures/stubbed_logstash_index_pattern.js +++ b/src/fixtures/stubbed_logstash_index_pattern.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import stubbedLogstashFields from 'fixtures/logstash_fields'; import { getOsdFieldType } from '../plugins/data/common'; diff --git a/src/fixtures/stubbed_saved_object_index_pattern.ts b/src/fixtures/stubbed_saved_object_index_pattern.ts index 805c6c2df87d..20a0474e1bd7 100644 --- a/src/fixtures/stubbed_saved_object_index_pattern.ts +++ b/src/fixtures/stubbed_saved_object_index_pattern.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-expect-error import stubbedLogstashFields from './logstash_fields'; diff --git a/src/fixtures/stubbed_search_source.js b/src/fixtures/stubbed_search_source.js index 21ca14cbcff2..35b175597088 100644 --- a/src/fixtures/stubbed_search_source.js +++ b/src/fixtures/stubbed_search_source.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon from 'sinon'; import searchResponse from 'fixtures/search_response'; import FixturesStubbedLogstashIndexPatternProvider from 'fixtures/stubbed_logstash_index_pattern'; diff --git a/src/fixtures/telemetry_collectors/constants.ts b/src/fixtures/telemetry_collectors/constants.ts index 883e382779c2..4d5db9c4c9e2 100644 --- a/src/fixtures/telemetry_collectors/constants.ts +++ b/src/fixtures/telemetry_collectors/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import moment, { Moment } from 'moment'; import { MakeSchemaFrom } from '../../plugins/usage_collection/server'; diff --git a/src/fixtures/telemetry_collectors/externally_defined_collector.ts b/src/fixtures/telemetry_collectors/externally_defined_collector.ts index 4d240267b2f9..377928fa54ff 100644 --- a/src/fixtures/telemetry_collectors/externally_defined_collector.ts +++ b/src/fixtures/telemetry_collectors/externally_defined_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CollectorSet, CollectorOptions } from '../../plugins/usage_collection/server/collector'; import { loggerMock } from '../../core/server/logging/logger.mock'; diff --git a/src/fixtures/telemetry_collectors/file_with_no_collector.ts b/src/fixtures/telemetry_collectors/file_with_no_collector.ts index 7ee3cd608833..13378b483777 100644 --- a/src/fixtures/telemetry_collectors/file_with_no_collector.ts +++ b/src/fixtures/telemetry_collectors/file_with_no_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const SOME_CONST: number = 123; diff --git a/src/fixtures/telemetry_collectors/imported_schema.ts b/src/fixtures/telemetry_collectors/imported_schema.ts index b3cdf77561ad..273f10a53bee 100644 --- a/src/fixtures/telemetry_collectors/imported_schema.ts +++ b/src/fixtures/telemetry_collectors/imported_schema.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CollectorSet } from '../../plugins/usage_collection/server/collector'; import { loggerMock } from '../../core/server/logging/logger.mock'; import { externallyDefinedSchema } from './constants'; diff --git a/src/fixtures/telemetry_collectors/imported_usage_interface.ts b/src/fixtures/telemetry_collectors/imported_usage_interface.ts index c5ff870c1a0d..bc30bcc5600f 100644 --- a/src/fixtures/telemetry_collectors/imported_usage_interface.ts +++ b/src/fixtures/telemetry_collectors/imported_usage_interface.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CollectorSet } from '../../plugins/usage_collection/server/collector'; import { loggerMock } from '../../core/server/logging/logger.mock'; import { Usage } from './constants'; diff --git a/src/fixtures/telemetry_collectors/indexed_interface_with_not_matching_schema.ts b/src/fixtures/telemetry_collectors/indexed_interface_with_not_matching_schema.ts index db4905174b26..4787311a8acd 100644 --- a/src/fixtures/telemetry_collectors/indexed_interface_with_not_matching_schema.ts +++ b/src/fixtures/telemetry_collectors/indexed_interface_with_not_matching_schema.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CollectorSet } from '../../plugins/usage_collection/server/collector'; import { loggerMock } from '../../core/server/logging/logger.mock'; diff --git a/src/fixtures/telemetry_collectors/nested_collector.ts b/src/fixtures/telemetry_collectors/nested_collector.ts index 8e5dcd0f2ca0..1c6efbe4bbeb 100644 --- a/src/fixtures/telemetry_collectors/nested_collector.ts +++ b/src/fixtures/telemetry_collectors/nested_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CollectorSet, UsageCollector } from '../../plugins/usage_collection/server/collector'; import { loggerMock } from '../../core/server/logging/logger.mock'; diff --git a/src/fixtures/telemetry_collectors/schema_defined_with_spreads_collector.ts b/src/fixtures/telemetry_collectors/schema_defined_with_spreads_collector.ts index 3b5c6f38564e..4d68141ca562 100644 --- a/src/fixtures/telemetry_collectors/schema_defined_with_spreads_collector.ts +++ b/src/fixtures/telemetry_collectors/schema_defined_with_spreads_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CollectorSet, MakeSchemaFrom } from '../../plugins/usage_collection/server/collector'; import { loggerMock } from '../../core/server/logging/logger.mock'; diff --git a/src/fixtures/telemetry_collectors/unmapped_collector.ts b/src/fixtures/telemetry_collectors/unmapped_collector.ts index 0cbcc0c6e03c..b1fcdacd71b7 100644 --- a/src/fixtures/telemetry_collectors/unmapped_collector.ts +++ b/src/fixtures/telemetry_collectors/unmapped_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CollectorSet } from '../../plugins/usage_collection/server/collector'; import { loggerMock } from '../../core/server/logging/logger.mock'; diff --git a/src/fixtures/telemetry_collectors/working_collector.ts b/src/fixtures/telemetry_collectors/working_collector.ts index 877e900a5f62..f021db623ae7 100644 --- a/src/fixtures/telemetry_collectors/working_collector.ts +++ b/src/fixtures/telemetry_collectors/working_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CollectorSet } from '../../plugins/usage_collection/server/collector'; import { loggerMock } from '../../core/server/logging/logger.mock'; diff --git a/src/legacy/core_plugins/opensearch-dashboards/public/context/query_parameters/state.js b/src/legacy/core_plugins/opensearch-dashboards/public/context/query_parameters/state.js index 77e1a65dc0d8..7677f785e8d4 100644 --- a/src/legacy/core_plugins/opensearch-dashboards/public/context/query_parameters/state.js +++ b/src/legacy/core_plugins/opensearch-dashboards/public/context/query_parameters/state.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function createInitialQueryParametersState(defaultStepSize, tieBreakerField) { return { anchorId: null, diff --git a/src/legacy/server/config/complete.js b/src/legacy/server/config/complete.js index 364854cf0980..b195e810ca75 100644 --- a/src/legacy/server/config/complete.js +++ b/src/legacy/server/config/complete.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function (osdServer, server) { server.decorate('server', 'config', function () { return osdServer.config; diff --git a/src/legacy/server/config/complete.test.js b/src/legacy/server/config/complete.test.js index fae2b578e788..9b39975c0507 100644 --- a/src/legacy/server/config/complete.test.js +++ b/src/legacy/server/config/complete.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import completeMixin from './complete'; import sinon from 'sinon'; diff --git a/src/legacy/server/config/config.js b/src/legacy/server/config/config.js index 234d36e50e42..7f26719ed55a 100644 --- a/src/legacy/server/config/config.js +++ b/src/legacy/server/config/config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Joi from 'joi'; import { set } from '@elastic/safer-lodash-set'; import _ from 'lodash'; diff --git a/src/legacy/server/config/config.test.js b/src/legacy/server/config/config.test.js index deced847f63c..28d18808b37d 100644 --- a/src/legacy/server/config/config.test.js +++ b/src/legacy/server/config/config.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Config } from './config'; import _ from 'lodash'; import Joi from 'joi'; diff --git a/src/legacy/server/config/index.js b/src/legacy/server/config/index.js index 3c5274396c89..e71119b356eb 100644 --- a/src/legacy/server/config/index.js +++ b/src/legacy/server/config/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Config } from './config'; diff --git a/src/legacy/server/config/override.test.ts b/src/legacy/server/config/override.test.ts index 1b704d3c73f0..3860d1cee582 100644 --- a/src/legacy/server/config/override.test.ts +++ b/src/legacy/server/config/override.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { override } from './override'; describe('override(target, source)', function () { diff --git a/src/legacy/server/config/override.ts b/src/legacy/server/config/override.ts index 41bdc86eeb38..b9293753e270 100644 --- a/src/legacy/server/config/override.ts +++ b/src/legacy/server/config/override.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const isObject = (v: any): v is Record => typeof v === 'object' && v !== null && !Array.isArray(v); diff --git a/src/legacy/server/config/schema.js b/src/legacy/server/config/schema.js index 6c59761c9295..d1d1a9337f05 100644 --- a/src/legacy/server/config/schema.js +++ b/src/legacy/server/config/schema.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Joi from 'joi'; import os from 'os'; diff --git a/src/legacy/server/config/schema.test.js b/src/legacy/server/config/schema.test.js index 4b19b5dfd165..e392408dc1d9 100644 --- a/src/legacy/server/config/schema.test.js +++ b/src/legacy/server/config/schema.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import schemaProvider from './schema'; import Joi from 'joi'; diff --git a/src/legacy/server/core/index.ts b/src/legacy/server/core/index.ts index 1fcb99aaafb2..1c9e1dd1a091 100644 --- a/src/legacy/server/core/index.ts +++ b/src/legacy/server/core/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Server } from '@hapi/hapi'; import OsdServer from '../osd_server'; diff --git a/src/legacy/server/http/index.js b/src/legacy/server/http/index.js index dd063b482524..0e9e2b853ac4 100644 --- a/src/legacy/server/http/index.js +++ b/src/legacy/server/http/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { format } from 'url'; import Boom from '@hapi/boom'; diff --git a/src/legacy/server/http/integration_tests/max_payload_size.test.js b/src/legacy/server/http/integration_tests/max_payload_size.test.js index 5e4650eae955..48113f596f77 100644 --- a/src/legacy/server/http/integration_tests/max_payload_size.test.js +++ b/src/legacy/server/http/integration_tests/max_payload_size.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as osdTestServer from '../../../../core/test_helpers/osd_server'; let root; diff --git a/src/legacy/server/http/register_hapi_plugins.js b/src/legacy/server/http/register_hapi_plugins.js index 9965c72265c4..d147e4c4b97d 100644 --- a/src/legacy/server/http/register_hapi_plugins.js +++ b/src/legacy/server/http/register_hapi_plugins.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import HapiTemplates from '@hapi/vision'; import HapiStaticFiles from '@hapi/inert'; import HapiProxy from '@hapi/h2o2'; diff --git a/src/legacy/server/http/setup_base_path_provider.js b/src/legacy/server/http/setup_base_path_provider.js index 6e6617acf29d..2699052875b7 100644 --- a/src/legacy/server/http/setup_base_path_provider.js +++ b/src/legacy/server/http/setup_base_path_provider.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function setupBasePathProvider(osdServer) { osdServer.server.decorate('request', 'getBasePath', function () { const request = this; diff --git a/src/legacy/server/i18n/constants.ts b/src/legacy/server/i18n/constants.ts index 78d85bf649fd..9f23b568925b 100644 --- a/src/legacy/server/i18n/constants.ts +++ b/src/legacy/server/i18n/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const I18N_RC = '.i18nrc.json'; /** diff --git a/src/legacy/server/i18n/get_translations_path.ts b/src/legacy/server/i18n/get_translations_path.ts index 5dd89ccf1a23..e06e3a9b675a 100644 --- a/src/legacy/server/i18n/get_translations_path.ts +++ b/src/legacy/server/i18n/get_translations_path.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { promisify } from 'util'; import { readFile } from 'fs'; import { resolve, dirname } from 'path'; diff --git a/src/legacy/server/i18n/index.ts b/src/legacy/server/i18n/index.ts index c44adb8cbe49..e30f9bf7d72b 100644 --- a/src/legacy/server/i18n/index.ts +++ b/src/legacy/server/i18n/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n, i18nLoader } from '@osd/i18n'; import { basename } from 'path'; import { Server } from '@hapi/hapi'; diff --git a/src/legacy/server/i18n/localization/file_integrity.test.mocks.ts b/src/legacy/server/i18n/localization/file_integrity.test.mocks.ts index 606d6f28c52e..840cacee02fb 100644 --- a/src/legacy/server/i18n/localization/file_integrity.test.mocks.ts +++ b/src/legacy/server/i18n/localization/file_integrity.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Readable } from 'stream'; jest.doMock('fs', () => ({ diff --git a/src/legacy/server/i18n/localization/file_integrity.test.ts b/src/legacy/server/i18n/localization/file_integrity.test.ts index dc6e5e9f350e..012689a47396 100644 --- a/src/legacy/server/i18n/localization/file_integrity.test.ts +++ b/src/legacy/server/i18n/localization/file_integrity.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './file_integrity.test.mocks'; import { getIntegrityHash, getIntegrityHashes } from './file_integrity'; diff --git a/src/legacy/server/i18n/localization/file_integrity.ts b/src/legacy/server/i18n/localization/file_integrity.ts index 6647f8f9e2eb..dbacd74f25d6 100644 --- a/src/legacy/server/i18n/localization/file_integrity.ts +++ b/src/legacy/server/i18n/localization/file_integrity.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createHash } from 'crypto'; import * as fs from 'fs'; import { zipObject } from 'lodash'; diff --git a/src/legacy/server/i18n/localization/index.ts b/src/legacy/server/i18n/localization/index.ts index 36b6d0c12fc8..75aa3e974cf6 100644 --- a/src/legacy/server/i18n/localization/index.ts +++ b/src/legacy/server/i18n/localization/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { registerLocalizationUsageCollector } from './telemetry_localization_collector'; diff --git a/src/legacy/server/i18n/localization/telemetry_localization_collector.test.ts b/src/legacy/server/i18n/localization/telemetry_localization_collector.test.ts index f2c00de81834..bdf611be7d21 100644 --- a/src/legacy/server/i18n/localization/telemetry_localization_collector.test.ts +++ b/src/legacy/server/i18n/localization/telemetry_localization_collector.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - interface TranslationsMock { [title: string]: string; } diff --git a/src/legacy/server/i18n/localization/telemetry_localization_collector.ts b/src/legacy/server/i18n/localization/telemetry_localization_collector.ts index cecdbda1c498..a4fbacb5d16c 100644 --- a/src/legacy/server/i18n/localization/telemetry_localization_collector.ts +++ b/src/legacy/server/i18n/localization/telemetry_localization_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18nLoader } from '@osd/i18n'; import { size } from 'lodash'; import { UsageCollectionSetup } from 'src/plugins/usage_collection/server'; diff --git a/src/legacy/server/keystore/errors.js b/src/legacy/server/keystore/errors.js index 18ca83417bda..8d663b906a3f 100644 --- a/src/legacy/server/keystore/errors.js +++ b/src/legacy/server/keystore/errors.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - class KeystoreError extends Error { constructor(message) { super(message); diff --git a/src/legacy/server/keystore/index.js b/src/legacy/server/keystore/index.js index 3f96614500c6..a555c3998bba 100644 --- a/src/legacy/server/keystore/index.js +++ b/src/legacy/server/keystore/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Keystore } from './keystore'; diff --git a/src/legacy/server/keystore/keystore.js b/src/legacy/server/keystore/keystore.js index 161238c3de4b..cb5b6505ddd7 100644 --- a/src/legacy/server/keystore/keystore.js +++ b/src/legacy/server/keystore/keystore.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { writeFileSync, readFileSync, existsSync } from 'fs'; import { createCipheriv, createDecipheriv, randomBytes, pbkdf2Sync } from 'crypto'; import * as errors from './errors'; diff --git a/src/legacy/server/keystore/keystore.test.js b/src/legacy/server/keystore/keystore.test.js index 664c07a5665c..3b14f786ac02 100644 --- a/src/legacy/server/keystore/keystore.test.js +++ b/src/legacy/server/keystore/keystore.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const mockProtectedKeystoreData = '1:4BnWfydL8NwFIQJg+VQKe0jlIs7uXtty6+++yaWPbSB' + 'KIX3d9nPfQ20K1C6Xh26E/gMJAQ9jh7BxK0+W3lt/iDJBJn44wqX3pQ0189iGkNBL0ibDCc' + diff --git a/src/legacy/server/logging/apply_filters_to_keys.js b/src/legacy/server/logging/apply_filters_to_keys.js index 5aaeb3d61e93..d613350ef53d 100644 --- a/src/legacy/server/logging/apply_filters_to_keys.js +++ b/src/legacy/server/logging/apply_filters_to_keys.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - function toPojo(obj) { return JSON.parse(JSON.stringify(obj)); } diff --git a/src/legacy/server/logging/apply_filters_to_keys.test.js b/src/legacy/server/logging/apply_filters_to_keys.test.js index c8e6e8127a39..674187b1b736 100644 --- a/src/legacy/server/logging/apply_filters_to_keys.test.js +++ b/src/legacy/server/logging/apply_filters_to_keys.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import applyFiltersToKeys from './apply_filters_to_keys'; describe('applyFiltersToKeys(obj, actionsByKey)', function () { diff --git a/src/legacy/server/logging/configuration.js b/src/legacy/server/logging/configuration.js index 740f955598d6..93103b3e5067 100644 --- a/src/legacy/server/logging/configuration.js +++ b/src/legacy/server/logging/configuration.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { getLoggerStream } from './log_reporter'; diff --git a/src/legacy/server/logging/index.js b/src/legacy/server/logging/index.js index 180c416a7291..05f2c0d9144c 100644 --- a/src/legacy/server/logging/index.js +++ b/src/legacy/server/logging/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { plugin as good } from '@elastic/good'; import loggingConfiguration from './configuration'; import { logWithMetadata } from './log_with_metadata'; diff --git a/src/legacy/server/logging/log_format.js b/src/legacy/server/logging/log_format.js index 8ec4fb00c9a3..c47d3c4b366a 100644 --- a/src/legacy/server/logging/log_format.js +++ b/src/legacy/server/logging/log_format.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Stream from 'stream'; import moment from 'moment-timezone'; import { get, _ } from 'lodash'; diff --git a/src/legacy/server/logging/log_format_json.js b/src/legacy/server/logging/log_format_json.js index ad3b60bebd3f..2254971c1805 100644 --- a/src/legacy/server/logging/log_format_json.js +++ b/src/legacy/server/logging/log_format_json.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import LogFormat from './log_format'; import stringify from 'json-stringify-safe'; diff --git a/src/legacy/server/logging/log_format_json.test.js b/src/legacy/server/logging/log_format_json.test.js index b7ca4b795241..6ae29eb0ad46 100644 --- a/src/legacy/server/logging/log_format_json.test.js +++ b/src/legacy/server/logging/log_format_json.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; // eslint-disable-next-line @osd/eslint/no-restricted-paths diff --git a/src/legacy/server/logging/log_format_string.js b/src/legacy/server/logging/log_format_string.js index 1e6b1a34dd66..6465f655bdea 100644 --- a/src/legacy/server/logging/log_format_string.js +++ b/src/legacy/server/logging/log_format_string.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import chalk from 'chalk'; diff --git a/src/legacy/server/logging/log_format_string.test.js b/src/legacy/server/logging/log_format_string.test.js index 9845b7211c24..195dc9aa5c0a 100644 --- a/src/legacy/server/logging/log_format_string.test.js +++ b/src/legacy/server/logging/log_format_string.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; // eslint-disable-next-line @osd/eslint/no-restricted-paths import { attachMetaData } from '../../../../src/core/server/legacy/logging/legacy_logging_server'; diff --git a/src/legacy/server/logging/log_interceptor.js b/src/legacy/server/logging/log_interceptor.js index 9567fcee419d..ceedc7c9213e 100644 --- a/src/legacy/server/logging/log_interceptor.js +++ b/src/legacy/server/logging/log_interceptor.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Stream from 'stream'; import { get, isEqual } from 'lodash'; diff --git a/src/legacy/server/logging/log_interceptor.test.js b/src/legacy/server/logging/log_interceptor.test.js index 0aec52dbfcaf..dd58ad671fd4 100644 --- a/src/legacy/server/logging/log_interceptor.test.js +++ b/src/legacy/server/logging/log_interceptor.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LogInterceptor } from './log_interceptor'; function stubClientErrorEvent(errorMeta) { diff --git a/src/legacy/server/logging/log_reporter.js b/src/legacy/server/logging/log_reporter.js index 732b0d4d053c..228c83129802 100644 --- a/src/legacy/server/logging/log_reporter.js +++ b/src/legacy/server/logging/log_reporter.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Squeeze } from '@hapi/good-squeeze'; import { createWriteStream as writeStr } from 'fs'; diff --git a/src/legacy/server/logging/log_with_metadata.js b/src/legacy/server/logging/log_with_metadata.js index abe8ded2cfb9..0d6fcc55be5a 100644 --- a/src/legacy/server/logging/log_with_metadata.js +++ b/src/legacy/server/logging/log_with_metadata.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { isPlainObject } from 'lodash'; import { diff --git a/src/legacy/server/logging/rotate/index.ts b/src/legacy/server/logging/rotate/index.ts index 8ba120f158d2..b2820f1c8f85 100644 --- a/src/legacy/server/logging/rotate/index.ts +++ b/src/legacy/server/logging/rotate/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isMaster, isWorker } from 'cluster'; import { Server } from '@hapi/hapi'; import { LogRotator } from './log_rotator'; diff --git a/src/legacy/server/logging/rotate/log_rotator.test.ts b/src/legacy/server/logging/rotate/log_rotator.test.ts index c9218e49a2a0..9dbe960d405d 100644 --- a/src/legacy/server/logging/rotate/log_rotator.test.ts +++ b/src/legacy/server/logging/rotate/log_rotator.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import del from 'del'; import fs, { existsSync, mkdirSync, statSync, writeFileSync } from 'fs'; import { LogRotator } from './log_rotator'; diff --git a/src/legacy/server/logging/rotate/log_rotator.ts b/src/legacy/server/logging/rotate/log_rotator.ts index a31e419531de..f1710cb5775e 100644 --- a/src/legacy/server/logging/rotate/log_rotator.ts +++ b/src/legacy/server/logging/rotate/log_rotator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as chokidar from 'chokidar'; import { isMaster } from 'cluster'; import fs from 'fs'; diff --git a/src/legacy/server/osd_server.d.ts b/src/legacy/server/osd_server.d.ts index efd40b218ea7..1f8535b59e87 100644 --- a/src/legacy/server/osd_server.d.ts +++ b/src/legacy/server/osd_server.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Server } from '@hapi/hapi'; import { diff --git a/src/legacy/server/osd_server.js b/src/legacy/server/osd_server.js index a5d741233da9..36c7f3043e77 100644 --- a/src/legacy/server/osd_server.js +++ b/src/legacy/server/osd_server.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { constant, once, compact, flatten } from 'lodash'; import { isWorker } from 'cluster'; diff --git a/src/legacy/server/warnings/index.js b/src/legacy/server/warnings/index.js index 54ccd34e3329..292e8adb7aac 100644 --- a/src/legacy/server/warnings/index.js +++ b/src/legacy/server/warnings/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function (osdServer, server) { process.on('warning', (warning) => { // deprecation warnings do no reflect a current problem for diff --git a/src/legacy/ui/apm/index.js b/src/legacy/ui/apm/index.js index 06c151a23d38..c1f544f58409 100644 --- a/src/legacy/ui/apm/index.js +++ b/src/legacy/ui/apm/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getConfig } from '../../../apm'; import agent from 'elastic-apm-node'; diff --git a/src/legacy/ui/index.js b/src/legacy/ui/index.js index 5ee61181adea..354f7069f219 100644 --- a/src/legacy/ui/index.js +++ b/src/legacy/ui/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { uiMixin } from './ui_mixin'; diff --git a/src/legacy/ui/public/documentation_links/documentation_links.ts b/src/legacy/ui/public/documentation_links/documentation_links.ts index aba872d69a9f..a3a186dd1819 100644 --- a/src/legacy/ui/public/documentation_links/documentation_links.ts +++ b/src/legacy/ui/public/documentation_links/documentation_links.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* WARNING: The links in this file are validated during the docs build. This is accomplished with some regex magic that looks for these particular constants. As a result, we should not add new constants or change the existing ones. diff --git a/src/legacy/ui/ui_mixin.js b/src/legacy/ui/ui_mixin.js index b93a87d0ef02..6ce640e373bc 100644 --- a/src/legacy/ui/ui_mixin.js +++ b/src/legacy/ui/ui_mixin.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { uiRenderMixin } from './ui_render'; export async function uiMixin(osdServer) { diff --git a/src/legacy/ui/ui_render/bootstrap/app_bootstrap.js b/src/legacy/ui/ui_render/bootstrap/app_bootstrap.js index 13452533986a..fec5d1cb8d3d 100644 --- a/src/legacy/ui/ui_render/bootstrap/app_bootstrap.js +++ b/src/legacy/ui/ui_render/bootstrap/app_bootstrap.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Handlebars from 'handlebars'; import { createHash } from 'crypto'; import { readFile } from 'fs'; diff --git a/src/legacy/ui/ui_render/bootstrap/app_bootstrap.test.js b/src/legacy/ui/ui_render/bootstrap/app_bootstrap.test.js index fa57ee4cb57f..9b65855e5082 100644 --- a/src/legacy/ui/ui_render/bootstrap/app_bootstrap.test.js +++ b/src/legacy/ui/ui_render/bootstrap/app_bootstrap.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const mockTemplate = ` {{appId}} {{regularBundlePath}} diff --git a/src/legacy/ui/ui_render/bootstrap/index.js b/src/legacy/ui/ui_render/bootstrap/index.js index 006e31eb149c..c86c1a23eca8 100644 --- a/src/legacy/ui/ui_render/bootstrap/index.js +++ b/src/legacy/ui/ui_render/bootstrap/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { AppBootstrap } from './app_bootstrap'; diff --git a/src/legacy/ui/ui_render/bootstrap/osd_bundles_loader_source.js b/src/legacy/ui/ui_render/bootstrap/osd_bundles_loader_source.js index a1fd1c16f7b2..de3903027e35 100644 --- a/src/legacy/ui/ui_render/bootstrap/osd_bundles_loader_source.js +++ b/src/legacy/ui/ui_render/bootstrap/osd_bundles_loader_source.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = { osdBundlesLoaderSource: `(${osdBundlesLoader.toString()})();`, }; diff --git a/src/legacy/ui/ui_render/index.js b/src/legacy/ui/ui_render/index.js index e88e12e26c1b..a262536f279f 100644 --- a/src/legacy/ui/ui_render/index.js +++ b/src/legacy/ui/ui_render/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { uiRenderMixin } from './ui_render_mixin'; diff --git a/src/legacy/ui/ui_render/ui_render_mixin.js b/src/legacy/ui/ui_render/ui_render_mixin.js index e6c96a76cdb6..673d3483e78b 100644 --- a/src/legacy/ui/ui_render/ui_render_mixin.js +++ b/src/legacy/ui/ui_render/ui_render_mixin.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createHash } from 'crypto'; import Boom from '@hapi/boom'; import { i18n } from '@osd/i18n'; diff --git a/src/legacy/utils/__tests__/unset.js b/src/legacy/utils/__tests__/unset.js index 2a040c3066ee..8214800a8cc7 100644 --- a/src/legacy/utils/__tests__/unset.js +++ b/src/legacy/utils/__tests__/unset.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { unset } from '../unset'; import expect from '@osd/expect'; diff --git a/src/legacy/utils/artifact_type.ts b/src/legacy/utils/artifact_type.ts index b4d28b3d5078..c30f19a9fd37 100644 --- a/src/legacy/utils/artifact_type.ts +++ b/src/legacy/utils/artifact_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { pkg } from '../../core/server/utils'; export const IS_OPENSEARCH_DASHBOARDS_DISTRIBUTABLE = pkg.build && pkg.build.distributable === true; export const IS_OPENSEARCH_DASHBOARDS_RELEASE = pkg.build && pkg.build.release === true; diff --git a/src/legacy/utils/deep_clone_with_buffers.test.ts b/src/legacy/utils/deep_clone_with_buffers.test.ts index 08c2d1ee1683..bbdec0d0ded1 100644 --- a/src/legacy/utils/deep_clone_with_buffers.test.ts +++ b/src/legacy/utils/deep_clone_with_buffers.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { deepCloneWithBuffers } from './deep_clone_with_buffers'; describe('deepCloneWithBuffers()', () => { diff --git a/src/legacy/utils/deep_clone_with_buffers.ts b/src/legacy/utils/deep_clone_with_buffers.ts index 368be249db42..55bc29451207 100644 --- a/src/legacy/utils/deep_clone_with_buffers.ts +++ b/src/legacy/utils/deep_clone_with_buffers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeepWith } from 'lodash'; // We should add `any` return type to overcome bug in lodash types, customizer diff --git a/src/legacy/utils/index.d.ts b/src/legacy/utils/index.d.ts index e256a5d41a7a..b2fbbfce78a8 100644 --- a/src/legacy/utils/index.d.ts +++ b/src/legacy/utils/index.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function unset(object: object, rawPath: string): void; diff --git a/src/legacy/utils/index.js b/src/legacy/utils/index.js index 7277c26f13bd..41d81d569132 100644 --- a/src/legacy/utils/index.js +++ b/src/legacy/utils/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { deepCloneWithBuffers } from './deep_clone_with_buffers'; export { unset } from './unset'; export { IS_OPENSEARCH_DASHBOARDS_DISTRIBUTABLE } from './artifact_type'; diff --git a/src/legacy/utils/unset.js b/src/legacy/utils/unset.js index 59e13a2d925f..19b508838eb8 100644 --- a/src/legacy/utils/unset.js +++ b/src/legacy/utils/unset.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export function unset(object, rawPath) { diff --git a/src/legacy/utils/version.js b/src/legacy/utils/version.js index 0816e44d5e86..777b3b7d16f0 100644 --- a/src/legacy/utils/version.js +++ b/src/legacy/utils/version.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function versionSatisfies(cleanActual, cleanExpected) { try { return cleanActual === cleanExpected; diff --git a/src/optimize/bundles_route/__fixtures__/outside_output.js b/src/optimize/bundles_route/__fixtures__/outside_output.js index 98a727617d3e..b446f02c6022 100644 --- a/src/optimize/bundles_route/__fixtures__/outside_output.js +++ b/src/optimize/bundles_route/__fixtures__/outside_output.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - console.log('outside output'); diff --git a/src/optimize/bundles_route/__fixtures__/plugin/foo/plugin.js b/src/optimize/bundles_route/__fixtures__/plugin/foo/plugin.js index becbfd3f63be..27aa19e8b78b 100644 --- a/src/optimize/bundles_route/__fixtures__/plugin/foo/plugin.js +++ b/src/optimize/bundles_route/__fixtures__/plugin/foo/plugin.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = 'BAR'; diff --git a/src/optimize/bundles_route/bundles_route.test.ts b/src/optimize/bundles_route/bundles_route.test.ts index 3a560d43c6e0..320574a3f5a3 100644 --- a/src/optimize/bundles_route/bundles_route.test.ts +++ b/src/optimize/bundles_route/bundles_route.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { readFileSync } from 'fs'; import crypto from 'crypto'; diff --git a/src/optimize/bundles_route/bundles_route.ts b/src/optimize/bundles_route/bundles_route.ts index 11cb1d8391d1..c9cbe7616ea9 100644 --- a/src/optimize/bundles_route/bundles_route.ts +++ b/src/optimize/bundles_route/bundles_route.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { extname, join } from 'path'; import Hapi from '@hapi/hapi'; diff --git a/src/optimize/bundles_route/dynamic_asset_response.ts b/src/optimize/bundles_route/dynamic_asset_response.ts index 31b3aa1f8627..b201fe039b6d 100644 --- a/src/optimize/bundles_route/dynamic_asset_response.ts +++ b/src/optimize/bundles_route/dynamic_asset_response.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Fs from 'fs'; import { resolve } from 'path'; import { promisify } from 'util'; diff --git a/src/optimize/bundles_route/file_hash.ts b/src/optimize/bundles_route/file_hash.ts index 8451ae071f17..5db77c2b6e23 100644 --- a/src/optimize/bundles_route/file_hash.ts +++ b/src/optimize/bundles_route/file_hash.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createHash } from 'crypto'; import Fs from 'fs'; diff --git a/src/optimize/bundles_route/file_hash_cache.ts b/src/optimize/bundles_route/file_hash_cache.ts index b17ceecc39a3..9ea7f9b50505 100644 --- a/src/optimize/bundles_route/file_hash_cache.ts +++ b/src/optimize/bundles_route/file_hash_cache.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import LruCache from 'lru-cache'; export class FileHashCache { diff --git a/src/optimize/bundles_route/index.ts b/src/optimize/bundles_route/index.ts index ae16ed80031a..cf59e5b9de7e 100644 --- a/src/optimize/bundles_route/index.ts +++ b/src/optimize/bundles_route/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createBundlesRoute } from './bundles_route'; export { createProxyBundlesRoute } from './proxy_bundles_route'; diff --git a/src/optimize/bundles_route/proxy_bundles_route.ts b/src/optimize/bundles_route/proxy_bundles_route.ts index 664053605a1a..0b286f6934ee 100644 --- a/src/optimize/bundles_route/proxy_bundles_route.ts +++ b/src/optimize/bundles_route/proxy_bundles_route.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function createProxyBundlesRoute({ host, port, diff --git a/src/optimize/index.ts b/src/optimize/index.ts index 2b0a4b9fab5c..b4fbe361cf95 100644 --- a/src/optimize/index.ts +++ b/src/optimize/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { optimizeMixin } from './optimize_mixin'; diff --git a/src/optimize/np_ui_plugin_public_dirs.ts b/src/optimize/np_ui_plugin_public_dirs.ts index 43f9616c19d2..cc89343cc704 100644 --- a/src/optimize/np_ui_plugin_public_dirs.ts +++ b/src/optimize/np_ui_plugin_public_dirs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import OsdServer from '../legacy/server/osd_server'; export type NpUiPluginPublicDirs = Array<{ diff --git a/src/optimize/optimize_mixin.ts b/src/optimize/optimize_mixin.ts index be5c19873d36..4d6382965c23 100644 --- a/src/optimize/optimize_mixin.ts +++ b/src/optimize/optimize_mixin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Hapi from '@hapi/hapi'; import { createBundlesRoute } from './bundles_route'; diff --git a/src/plugins/advanced_settings/public/component_registry/component_registry.test.tsx b/src/plugins/advanced_settings/public/component_registry/component_registry.test.tsx index 02ede7b9e050..e1fef3c5f3fd 100644 --- a/src/plugins/advanced_settings/public/component_registry/component_registry.test.tsx +++ b/src/plugins/advanced_settings/public/component_registry/component_registry.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { ComponentRegistry } from './component_registry'; diff --git a/src/plugins/advanced_settings/public/component_registry/component_registry.ts b/src/plugins/advanced_settings/public/component_registry/component_registry.ts index 5bee78ca7ea2..858045d70991 100644 --- a/src/plugins/advanced_settings/public/component_registry/component_registry.ts +++ b/src/plugins/advanced_settings/public/component_registry/component_registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ComponentType } from 'react'; import { PageTitle } from './page_title'; import { PageSubtitle } from './page_subtitle'; diff --git a/src/plugins/advanced_settings/public/component_registry/index.ts b/src/plugins/advanced_settings/public/component_registry/index.ts index 4bf05024b97c..9fe9a082624c 100644 --- a/src/plugins/advanced_settings/public/component_registry/index.ts +++ b/src/plugins/advanced_settings/public/component_registry/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ComponentRegistry } from './component_registry'; diff --git a/src/plugins/advanced_settings/public/component_registry/page_footer/index.ts b/src/plugins/advanced_settings/public/component_registry/page_footer/index.ts index a136e61e6980..b3f9ccda2efc 100644 --- a/src/plugins/advanced_settings/public/component_registry/page_footer/index.ts +++ b/src/plugins/advanced_settings/public/component_registry/page_footer/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { PageFooter } from './page_footer'; diff --git a/src/plugins/advanced_settings/public/component_registry/page_footer/page_footer.test.tsx b/src/plugins/advanced_settings/public/component_registry/page_footer/page_footer.test.tsx index 5265b5c439bb..42c4e2b41b31 100644 --- a/src/plugins/advanced_settings/public/component_registry/page_footer/page_footer.test.tsx +++ b/src/plugins/advanced_settings/public/component_registry/page_footer/page_footer.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { shallowWithI18nProvider } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/advanced_settings/public/component_registry/page_footer/page_footer.ts b/src/plugins/advanced_settings/public/component_registry/page_footer/page_footer.ts index 1c9a1e3fe4f6..18a1a2a69587 100644 --- a/src/plugins/advanced_settings/public/component_registry/page_footer/page_footer.ts +++ b/src/plugins/advanced_settings/public/component_registry/page_footer/page_footer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const PageFooter = () => null; diff --git a/src/plugins/advanced_settings/public/component_registry/page_subtitle/index.ts b/src/plugins/advanced_settings/public/component_registry/page_subtitle/index.ts index 5ff9917595ce..44660e512e0b 100644 --- a/src/plugins/advanced_settings/public/component_registry/page_subtitle/index.ts +++ b/src/plugins/advanced_settings/public/component_registry/page_subtitle/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { PageSubtitle } from './page_subtitle'; diff --git a/src/plugins/advanced_settings/public/component_registry/page_subtitle/page_subtitle.test.tsx b/src/plugins/advanced_settings/public/component_registry/page_subtitle/page_subtitle.test.tsx index be4aa59a681e..4d0cbbbc1519 100644 --- a/src/plugins/advanced_settings/public/component_registry/page_subtitle/page_subtitle.test.tsx +++ b/src/plugins/advanced_settings/public/component_registry/page_subtitle/page_subtitle.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { shallowWithI18nProvider } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/advanced_settings/public/component_registry/page_subtitle/page_subtitle.ts b/src/plugins/advanced_settings/public/component_registry/page_subtitle/page_subtitle.ts index b3be4d7470f1..1ee2a457e060 100644 --- a/src/plugins/advanced_settings/public/component_registry/page_subtitle/page_subtitle.ts +++ b/src/plugins/advanced_settings/public/component_registry/page_subtitle/page_subtitle.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const PageSubtitle = () => null; diff --git a/src/plugins/advanced_settings/public/component_registry/page_title/index.ts b/src/plugins/advanced_settings/public/component_registry/page_title/index.ts index 7ff749d77a08..35b6ba79cdb8 100644 --- a/src/plugins/advanced_settings/public/component_registry/page_title/index.ts +++ b/src/plugins/advanced_settings/public/component_registry/page_title/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { PageTitle } from './page_title'; diff --git a/src/plugins/advanced_settings/public/component_registry/page_title/page_title.test.tsx b/src/plugins/advanced_settings/public/component_registry/page_title/page_title.test.tsx index 69aa97a875c9..46fe75ec859e 100644 --- a/src/plugins/advanced_settings/public/component_registry/page_title/page_title.test.tsx +++ b/src/plugins/advanced_settings/public/component_registry/page_title/page_title.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { shallowWithI18nProvider } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/advanced_settings/public/component_registry/page_title/page_title.tsx b/src/plugins/advanced_settings/public/component_registry/page_title/page_title.tsx index bf3f4f815674..6f5bc57cd703 100644 --- a/src/plugins/advanced_settings/public/component_registry/page_title/page_title.tsx +++ b/src/plugins/advanced_settings/public/component_registry/page_title/page_title.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiText } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/advanced_settings/public/index.ts b/src/plugins/advanced_settings/public/index.ts index a083f76bb548..ab446492e6d2 100644 --- a/src/plugins/advanced_settings/public/index.ts +++ b/src/plugins/advanced_settings/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { AdvancedSettingsPlugin } from './plugin'; diff --git a/src/plugins/advanced_settings/public/management_app/_advanced_settings.scss b/src/plugins/advanced_settings/public/management_app/_advanced_settings.scss index 42c054a96349..af45088fa053 100644 --- a/src/plugins/advanced_settings/public/management_app/_advanced_settings.scss +++ b/src/plugins/advanced_settings/public/management_app/_advanced_settings.scss @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - .mgtAdvancedSettings__field { + * { margin-top: $euiSize; diff --git a/src/plugins/advanced_settings/public/management_app/advanced_settings.test.tsx b/src/plugins/advanced_settings/public/management_app/advanced_settings.test.tsx index dd43e8f7faa0..d1de7a7b4691 100644 --- a/src/plugins/advanced_settings/public/management_app/advanced_settings.test.tsx +++ b/src/plugins/advanced_settings/public/management_app/advanced_settings.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { Observable } from 'rxjs'; import { ReactWrapper } from 'enzyme'; diff --git a/src/plugins/advanced_settings/public/management_app/advanced_settings.tsx b/src/plugins/advanced_settings/public/management_app/advanced_settings.tsx index 73290d21116e..7a5c4d1d7fed 100644 --- a/src/plugins/advanced_settings/public/management_app/advanced_settings.tsx +++ b/src/plugins/advanced_settings/public/management_app/advanced_settings.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { Subscription } from 'rxjs'; import { Comparators, EuiFlexGroup, EuiFlexItem, EuiSpacer, Query } from '@elastic/eui'; diff --git a/src/plugins/advanced_settings/public/management_app/components/advanced_settings_voice_announcement/advanced_settings_voice_announcement.test.tsx b/src/plugins/advanced_settings/public/management_app/components/advanced_settings_voice_announcement/advanced_settings_voice_announcement.test.tsx index 7a75c185f675..285cc2fa0765 100644 --- a/src/plugins/advanced_settings/public/management_app/components/advanced_settings_voice_announcement/advanced_settings_voice_announcement.test.tsx +++ b/src/plugins/advanced_settings/public/management_app/components/advanced_settings_voice_announcement/advanced_settings_voice_announcement.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { UiSettingsType } from '../../../../../../core/public'; diff --git a/src/plugins/advanced_settings/public/management_app/components/advanced_settings_voice_announcement/advanced_settings_voice_announcement.tsx b/src/plugins/advanced_settings/public/management_app/components/advanced_settings_voice_announcement/advanced_settings_voice_announcement.tsx index 2fa59e4d8107..7a899456fb17 100644 --- a/src/plugins/advanced_settings/public/management_app/components/advanced_settings_voice_announcement/advanced_settings_voice_announcement.tsx +++ b/src/plugins/advanced_settings/public/management_app/components/advanced_settings_voice_announcement/advanced_settings_voice_announcement.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* This component aims to insert assertive live region on the page, to make sure that a screen reader announces layout changes. diff --git a/src/plugins/advanced_settings/public/management_app/components/advanced_settings_voice_announcement/index.ts b/src/plugins/advanced_settings/public/management_app/components/advanced_settings_voice_announcement/index.ts index b5d06092ef9b..2e7b9c564f51 100644 --- a/src/plugins/advanced_settings/public/management_app/components/advanced_settings_voice_announcement/index.ts +++ b/src/plugins/advanced_settings/public/management_app/components/advanced_settings_voice_announcement/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { AdvancedSettingsVoiceAnnouncement } from './advanced_settings_voice_announcement'; diff --git a/src/plugins/advanced_settings/public/management_app/components/call_outs/call_outs.test.tsx b/src/plugins/advanced_settings/public/management_app/components/call_outs/call_outs.test.tsx index 5f88c0cbe34e..f1e80ed0d191 100644 --- a/src/plugins/advanced_settings/public/management_app/components/call_outs/call_outs.test.tsx +++ b/src/plugins/advanced_settings/public/management_app/components/call_outs/call_outs.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/advanced_settings/public/management_app/components/call_outs/call_outs.tsx b/src/plugins/advanced_settings/public/management_app/components/call_outs/call_outs.tsx index 0481e10d266d..c2a0d93612f2 100644 --- a/src/plugins/advanced_settings/public/management_app/components/call_outs/call_outs.tsx +++ b/src/plugins/advanced_settings/public/management_app/components/call_outs/call_outs.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiCallOut } from '@elastic/eui'; diff --git a/src/plugins/advanced_settings/public/management_app/components/call_outs/index.ts b/src/plugins/advanced_settings/public/management_app/components/call_outs/index.ts index d3d264b8d275..a62c11874af8 100644 --- a/src/plugins/advanced_settings/public/management_app/components/call_outs/index.ts +++ b/src/plugins/advanced_settings/public/management_app/components/call_outs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { CallOuts } from './call_outs'; diff --git a/src/plugins/advanced_settings/public/management_app/components/field/field.test.tsx b/src/plugins/advanced_settings/public/management_app/components/field/field.test.tsx index 0522b889e868..c5a8a89157fe 100644 --- a/src/plugins/advanced_settings/public/management_app/components/field/field.test.tsx +++ b/src/plugins/advanced_settings/public/management_app/components/field/field.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { I18nProvider } from '@osd/i18n/react'; import { shallowWithI18nProvider, mountWithI18nProvider } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/advanced_settings/public/management_app/components/field/field.tsx b/src/plugins/advanced_settings/public/management_app/components/field/field.tsx index f1e4280a6ebd..c21c81cafa28 100644 --- a/src/plugins/advanced_settings/public/management_app/components/field/field.tsx +++ b/src/plugins/advanced_settings/public/management_app/components/field/field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { PureComponent, Fragment } from 'react'; import classNames from 'classnames'; diff --git a/src/plugins/advanced_settings/public/management_app/components/field/index.ts b/src/plugins/advanced_settings/public/management_app/components/field/index.ts index efbd76d5419b..dd49a3fe6929 100644 --- a/src/plugins/advanced_settings/public/management_app/components/field/index.ts +++ b/src/plugins/advanced_settings/public/management_app/components/field/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Field, getEditableValue } from './field'; // eslint-disable-next-line import/no-default-export diff --git a/src/plugins/advanced_settings/public/management_app/components/form/form.test.tsx b/src/plugins/advanced_settings/public/management_app/components/form/form.test.tsx index 500a58ab7d4f..650d8b259f0c 100644 --- a/src/plugins/advanced_settings/public/management_app/components/form/form.test.tsx +++ b/src/plugins/advanced_settings/public/management_app/components/form/form.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithI18nProvider, mountWithI18nProvider } from 'test_utils/enzyme_helpers'; import { UiSettingsType } from '../../../../../../core/public'; diff --git a/src/plugins/advanced_settings/public/management_app/components/form/form.tsx b/src/plugins/advanced_settings/public/management_app/components/form/form.tsx index e01ef7baa51c..92b7a792d2d2 100644 --- a/src/plugins/advanced_settings/public/management_app/components/form/form.tsx +++ b/src/plugins/advanced_settings/public/management_app/components/form/form.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { PureComponent, Fragment } from 'react'; import { diff --git a/src/plugins/advanced_settings/public/management_app/components/form/index.ts b/src/plugins/advanced_settings/public/management_app/components/form/index.ts index 2672f819bd64..21bbe4c0fdba 100644 --- a/src/plugins/advanced_settings/public/management_app/components/form/index.ts +++ b/src/plugins/advanced_settings/public/management_app/components/form/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Form } from './form'; diff --git a/src/plugins/advanced_settings/public/management_app/components/search/index.ts b/src/plugins/advanced_settings/public/management_app/components/search/index.ts index 31eadac722d3..09b117a07ec8 100644 --- a/src/plugins/advanced_settings/public/management_app/components/search/index.ts +++ b/src/plugins/advanced_settings/public/management_app/components/search/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Search } from './search'; diff --git a/src/plugins/advanced_settings/public/management_app/components/search/search.test.tsx b/src/plugins/advanced_settings/public/management_app/components/search/search.test.tsx index e15a63961ddb..34b69888b3be 100644 --- a/src/plugins/advanced_settings/public/management_app/components/search/search.test.tsx +++ b/src/plugins/advanced_settings/public/management_app/components/search/search.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithI18nProvider, mountWithI18nProvider } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/advanced_settings/public/management_app/components/search/search.tsx b/src/plugins/advanced_settings/public/management_app/components/search/search.tsx index a6bbaaa12320..a957fa793f8f 100644 --- a/src/plugins/advanced_settings/public/management_app/components/search/search.tsx +++ b/src/plugins/advanced_settings/public/management_app/components/search/search.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment, PureComponent } from 'react'; import { i18n } from '@osd/i18n'; import { EuiSearchBar, EuiFormErrorText, Query } from '@elastic/eui'; diff --git a/src/plugins/advanced_settings/public/management_app/lib/default_category.ts b/src/plugins/advanced_settings/public/management_app/lib/default_category.ts index d4779e2bb54f..b6c56cee6156 100644 --- a/src/plugins/advanced_settings/public/management_app/lib/default_category.ts +++ b/src/plugins/advanced_settings/public/management_app/lib/default_category.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const DEFAULT_CATEGORY = 'general'; diff --git a/src/plugins/advanced_settings/public/management_app/lib/get_aria_name.test.ts b/src/plugins/advanced_settings/public/management_app/lib/get_aria_name.test.ts index 9d7464e2831a..81820412280c 100644 --- a/src/plugins/advanced_settings/public/management_app/lib/get_aria_name.test.ts +++ b/src/plugins/advanced_settings/public/management_app/lib/get_aria_name.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { getAriaName } from './get_aria_name'; diff --git a/src/plugins/advanced_settings/public/management_app/lib/get_aria_name.ts b/src/plugins/advanced_settings/public/management_app/lib/get_aria_name.ts index 569b7954ec4e..e7194bb262e5 100644 --- a/src/plugins/advanced_settings/public/management_app/lib/get_aria_name.ts +++ b/src/plugins/advanced_settings/public/management_app/lib/get_aria_name.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { words } from 'lodash'; /** diff --git a/src/plugins/advanced_settings/public/management_app/lib/get_category_name.test.ts b/src/plugins/advanced_settings/public/management_app/lib/get_category_name.test.ts index a6e7dbb2a785..5a570582b050 100644 --- a/src/plugins/advanced_settings/public/management_app/lib/get_category_name.test.ts +++ b/src/plugins/advanced_settings/public/management_app/lib/get_category_name.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { getCategoryName } from './get_category_name'; diff --git a/src/plugins/advanced_settings/public/management_app/lib/get_category_name.ts b/src/plugins/advanced_settings/public/management_app/lib/get_category_name.ts index 268986786338..fbc473ffdbf5 100644 --- a/src/plugins/advanced_settings/public/management_app/lib/get_category_name.ts +++ b/src/plugins/advanced_settings/public/management_app/lib/get_category_name.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; const upperFirst = (str = '') => str.replace(/^./, (strng) => strng.toUpperCase()); diff --git a/src/plugins/advanced_settings/public/management_app/lib/get_val_type.test.ts b/src/plugins/advanced_settings/public/management_app/lib/get_val_type.test.ts index 8316bc0c87e5..3c07ecbf7e74 100644 --- a/src/plugins/advanced_settings/public/management_app/lib/get_val_type.test.ts +++ b/src/plugins/advanced_settings/public/management_app/lib/get_val_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { getValType } from './get_val_type'; diff --git a/src/plugins/advanced_settings/public/management_app/lib/get_val_type.ts b/src/plugins/advanced_settings/public/management_app/lib/get_val_type.ts index d2deb05c70b7..def9f9dd91f9 100644 --- a/src/plugins/advanced_settings/public/management_app/lib/get_val_type.ts +++ b/src/plugins/advanced_settings/public/management_app/lib/get_val_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * @param {object} advanced setting definition object * @param {?} current value of the setting diff --git a/src/plugins/advanced_settings/public/management_app/lib/index.ts b/src/plugins/advanced_settings/public/management_app/lib/index.ts index 443eb655e90e..81be1f87fb03 100644 --- a/src/plugins/advanced_settings/public/management_app/lib/index.ts +++ b/src/plugins/advanced_settings/public/management_app/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { isDefaultValue } from './is_default_value'; export { toEditableConfig } from './to_editable_config'; export { getCategoryName } from './get_category_name'; diff --git a/src/plugins/advanced_settings/public/management_app/lib/is_default_value.test.ts b/src/plugins/advanced_settings/public/management_app/lib/is_default_value.test.ts index c5c2f505ec62..fc0bf3c8cf88 100644 --- a/src/plugins/advanced_settings/public/management_app/lib/is_default_value.test.ts +++ b/src/plugins/advanced_settings/public/management_app/lib/is_default_value.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { isDefaultValue } from './is_default_value'; import { UiSettingsType } from '../../../../../core/public'; diff --git a/src/plugins/advanced_settings/public/management_app/lib/is_default_value.ts b/src/plugins/advanced_settings/public/management_app/lib/is_default_value.ts index 949bca453ffd..cf8771dccc61 100644 --- a/src/plugins/advanced_settings/public/management_app/lib/is_default_value.ts +++ b/src/plugins/advanced_settings/public/management_app/lib/is_default_value.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { FieldSetting } from '../types'; export function isDefaultValue(setting: FieldSetting) { diff --git a/src/plugins/advanced_settings/public/management_app/lib/to_editable_config.test.ts b/src/plugins/advanced_settings/public/management_app/lib/to_editable_config.test.ts index f6dee2419814..8551f451a3da 100644 --- a/src/plugins/advanced_settings/public/management_app/lib/to_editable_config.test.ts +++ b/src/plugins/advanced_settings/public/management_app/lib/to_editable_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PublicUiSettingsParams, StringValidationRegex } from 'src/core/public'; import expect from '@osd/expect'; import { toEditableConfig } from './to_editable_config'; diff --git a/src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts b/src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts index 8a41a542f766..cf69c1225311 100644 --- a/src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts +++ b/src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PublicUiSettingsParams, UserProvidedValues, diff --git a/src/plugins/advanced_settings/public/management_app/mount_management_section.tsx b/src/plugins/advanced_settings/public/management_app/mount_management_section.tsx index 249b472b2046..a8e4595b2cff 100644 --- a/src/plugins/advanced_settings/public/management_app/mount_management_section.tsx +++ b/src/plugins/advanced_settings/public/management_app/mount_management_section.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { Router, Switch, Route } from 'react-router-dom'; diff --git a/src/plugins/advanced_settings/public/management_app/types.ts b/src/plugins/advanced_settings/public/management_app/types.ts index c97a77736531..d8e4cfa4f5a9 100644 --- a/src/plugins/advanced_settings/public/management_app/types.ts +++ b/src/plugins/advanced_settings/public/management_app/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiSettingsType, StringValidation, ImageValidation } from '../../../../core/public'; export interface FieldSetting { diff --git a/src/plugins/advanced_settings/public/mocks.ts b/src/plugins/advanced_settings/public/mocks.ts index ef902804d998..660375edd81a 100644 --- a/src/plugins/advanced_settings/public/mocks.ts +++ b/src/plugins/advanced_settings/public/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ComponentRegistry } from './component_registry'; const register = jest.fn(); diff --git a/src/plugins/advanced_settings/public/plugin.ts b/src/plugins/advanced_settings/public/plugin.ts index 105b4902eb4b..43e959e88557 100644 --- a/src/plugins/advanced_settings/public/plugin.ts +++ b/src/plugins/advanced_settings/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; import { CoreSetup, Plugin } from 'opensearch-dashboards/public'; import { FeatureCatalogueCategory } from '../../home/public'; diff --git a/src/plugins/advanced_settings/public/types.ts b/src/plugins/advanced_settings/public/types.ts index f731d26cc447..24a297ad4d83 100644 --- a/src/plugins/advanced_settings/public/types.ts +++ b/src/plugins/advanced_settings/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ComponentRegistry } from './component_registry'; import { HomePublicPluginSetup } from '../../home/public'; diff --git a/src/plugins/advanced_settings/server/capabilities_provider.ts b/src/plugins/advanced_settings/server/capabilities_provider.ts index ae9b13cc1c2c..be87d687d4b9 100644 --- a/src/plugins/advanced_settings/server/capabilities_provider.ts +++ b/src/plugins/advanced_settings/server/capabilities_provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const capabilitiesProvider = () => ({ advancedSettings: { show: true, diff --git a/src/plugins/advanced_settings/server/index.ts b/src/plugins/advanced_settings/server/index.ts index 30c9c50014b7..fd0dc658fe3e 100644 --- a/src/plugins/advanced_settings/server/index.ts +++ b/src/plugins/advanced_settings/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/server'; import { AdvancedSettingsServerPlugin } from './plugin'; diff --git a/src/plugins/advanced_settings/server/plugin.ts b/src/plugins/advanced_settings/server/plugin.ts index 1746c322eb11..46ea4b3f8961 100644 --- a/src/plugins/advanced_settings/server/plugin.ts +++ b/src/plugins/advanced_settings/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, CoreSetup, diff --git a/src/plugins/apm_oss/common/index_pattern_constants.ts b/src/plugins/apm_oss/common/index_pattern_constants.ts index 07e22a599a5e..f4e14a80e2dd 100644 --- a/src/plugins/apm_oss/common/index_pattern_constants.ts +++ b/src/plugins/apm_oss/common/index_pattern_constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const APM_STATIC_INDEX_PATTERN_ID = 'apm_static_index_pattern_id'; diff --git a/src/plugins/apm_oss/public/index.ts b/src/plugins/apm_oss/public/index.ts index b3915e0b1efb..9d8554b2a0af 100644 --- a/src/plugins/apm_oss/public/index.ts +++ b/src/plugins/apm_oss/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ApmOssPlugin } from './plugin'; // This exports static code and TypeScript types, diff --git a/src/plugins/apm_oss/public/plugin.ts b/src/plugins/apm_oss/public/plugin.ts index 0b3c6ac2378b..c275a4acb98a 100644 --- a/src/plugins/apm_oss/public/plugin.ts +++ b/src/plugins/apm_oss/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, CoreStart, Plugin } from 'opensearch-dashboards/public'; import { ApmOssPluginSetup, ApmOssPluginStart } from './types'; diff --git a/src/plugins/apm_oss/public/types.ts b/src/plugins/apm_oss/public/types.ts index 9a532441070d..96568ed818f0 100644 --- a/src/plugins/apm_oss/public/types.ts +++ b/src/plugins/apm_oss/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface ApmOssPluginSetup {} diff --git a/src/plugins/apm_oss/server/index.ts b/src/plugins/apm_oss/server/index.ts index 7fb58c97252b..8919afc17f15 100644 --- a/src/plugins/apm_oss/server/index.ts +++ b/src/plugins/apm_oss/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; import apmIndexPattern from './tutorial/index_pattern.json'; import { PluginInitializerContext } from '../../../core/server'; diff --git a/src/plugins/apm_oss/server/mocks.ts b/src/plugins/apm_oss/server/mocks.ts index 7957c2aff489..e38bd2a7c4f3 100644 --- a/src/plugins/apm_oss/server/mocks.ts +++ b/src/plugins/apm_oss/server/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { of } from 'rxjs'; import { APMOSSConfig } from '.'; import { APMOSSPluginSetup } from './plugin'; diff --git a/src/plugins/apm_oss/server/plugin.ts b/src/plugins/apm_oss/server/plugin.ts index 6755938ffae5..a24649da1faa 100644 --- a/src/plugins/apm_oss/server/plugin.ts +++ b/src/plugins/apm_oss/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Plugin, CoreSetup, PluginInitializerContext } from 'src/core/server'; import { Observable } from 'rxjs'; import { take } from 'rxjs/operators'; diff --git a/src/plugins/apm_oss/server/tutorial/envs/on_prem.ts b/src/plugins/apm_oss/server/tutorial/envs/on_prem.ts index f042a851ddd6..4b135c9385e0 100644 --- a/src/plugins/apm_oss/server/tutorial/envs/on_prem.ts +++ b/src/plugins/apm_oss/server/tutorial/envs/on_prem.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { INSTRUCTION_VARIANT } from '../../../../../../src/plugins/home/server'; import { diff --git a/src/plugins/apm_oss/server/tutorial/index.ts b/src/plugins/apm_oss/server/tutorial/index.ts index 2a70b5914d55..451763ab1866 100644 --- a/src/plugins/apm_oss/server/tutorial/index.ts +++ b/src/plugins/apm_oss/server/tutorial/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { onPremInstructions } from './envs/on_prem'; import apmIndexPattern from './index_pattern.json'; diff --git a/src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts b/src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts index aa5afc315577..2a8edbb4604b 100644 --- a/src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts +++ b/src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; export const createNodeAgentInstructions = (apmServerUrl = '', secretToken = '') => [ diff --git a/src/plugins/apm_oss/server/tutorial/instructions/apm_server_instructions.ts b/src/plugins/apm_oss/server/tutorial/instructions/apm_server_instructions.ts index 4372d79bae77..3b95625e7063 100644 --- a/src/plugins/apm_oss/server/tutorial/instructions/apm_server_instructions.ts +++ b/src/plugins/apm_oss/server/tutorial/instructions/apm_server_instructions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; export const createEditConfig = () => ({ diff --git a/src/plugins/bfetch/common/batch.ts b/src/plugins/bfetch/common/batch.ts index e0cce3450b57..06b29807ece0 100644 --- a/src/plugins/bfetch/common/batch.ts +++ b/src/plugins/bfetch/common/batch.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface ErrorLike { message: string; } diff --git a/src/plugins/bfetch/common/buffer/create_batched_function.ts b/src/plugins/bfetch/common/buffer/create_batched_function.ts index be7d33fce0ad..8dc523214fe6 100644 --- a/src/plugins/bfetch/common/buffer/create_batched_function.ts +++ b/src/plugins/bfetch/common/buffer/create_batched_function.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ItemBufferParams } from './item_buffer'; import { TimedItemBufferParams, TimedItemBuffer } from './timed_item_buffer'; diff --git a/src/plugins/bfetch/common/buffer/index.ts b/src/plugins/bfetch/common/buffer/index.ts index 23319fbe5f7c..ee90d4e48728 100644 --- a/src/plugins/bfetch/common/buffer/index.ts +++ b/src/plugins/bfetch/common/buffer/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './item_buffer'; export * from './timed_item_buffer'; export * from './create_batched_function'; diff --git a/src/plugins/bfetch/common/buffer/item_buffer.ts b/src/plugins/bfetch/common/buffer/item_buffer.ts index b8b205573fc6..17db77a71648 100644 --- a/src/plugins/bfetch/common/buffer/item_buffer.ts +++ b/src/plugins/bfetch/common/buffer/item_buffer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface ItemBufferParams { /** * Flushes buffer automatically if number of items in the buffer reaches diff --git a/src/plugins/bfetch/common/buffer/tests/create_batched_function.test.ts b/src/plugins/bfetch/common/buffer/tests/create_batched_function.test.ts index 539dcfbee567..5a3618fa1bcd 100644 --- a/src/plugins/bfetch/common/buffer/tests/create_batched_function.test.ts +++ b/src/plugins/bfetch/common/buffer/tests/create_batched_function.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createBatchedFunction } from '../create_batched_function'; describe('createBatchedFunction', () => { diff --git a/src/plugins/bfetch/common/buffer/tests/item_buffer.test.ts b/src/plugins/bfetch/common/buffer/tests/item_buffer.test.ts index b36b64af3a19..c3aaee4947bd 100644 --- a/src/plugins/bfetch/common/buffer/tests/item_buffer.test.ts +++ b/src/plugins/bfetch/common/buffer/tests/item_buffer.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ItemBuffer } from '../item_buffer'; import { runItemBufferTests } from './run_item_buffer_tests'; diff --git a/src/plugins/bfetch/common/buffer/tests/run_item_buffer_tests.ts b/src/plugins/bfetch/common/buffer/tests/run_item_buffer_tests.ts index 3e593235e46c..9f807a3a660a 100644 --- a/src/plugins/bfetch/common/buffer/tests/run_item_buffer_tests.ts +++ b/src/plugins/bfetch/common/buffer/tests/run_item_buffer_tests.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ItemBuffer, ItemBufferParams } from '../item_buffer'; export const runItemBufferTests = ( diff --git a/src/plugins/bfetch/common/buffer/tests/timed_item_buffer.test.ts b/src/plugins/bfetch/common/buffer/tests/timed_item_buffer.test.ts index 33bbe6db738d..f04ab9941f12 100644 --- a/src/plugins/bfetch/common/buffer/tests/timed_item_buffer.test.ts +++ b/src/plugins/bfetch/common/buffer/tests/timed_item_buffer.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TimedItemBuffer } from '../timed_item_buffer'; import { runItemBufferTests } from './run_item_buffer_tests'; diff --git a/src/plugins/bfetch/common/buffer/timed_item_buffer.ts b/src/plugins/bfetch/common/buffer/timed_item_buffer.ts index 210e7420db8c..b36c0d4bc904 100644 --- a/src/plugins/bfetch/common/buffer/timed_item_buffer.ts +++ b/src/plugins/bfetch/common/buffer/timed_item_buffer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ItemBuffer, ItemBufferParams } from './item_buffer'; export interface TimedItemBufferParams extends ItemBufferParams { diff --git a/src/plugins/bfetch/common/index.ts b/src/plugins/bfetch/common/index.ts index 4889b1768ff4..e4cabedb4adb 100644 --- a/src/plugins/bfetch/common/index.ts +++ b/src/plugins/bfetch/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './util'; export * from './streaming'; export * from './buffer'; diff --git a/src/plugins/bfetch/common/streaming/index.ts b/src/plugins/bfetch/common/streaming/index.ts index f03106dcffff..bb81e769ae20 100644 --- a/src/plugins/bfetch/common/streaming/index.ts +++ b/src/plugins/bfetch/common/streaming/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './types'; diff --git a/src/plugins/bfetch/common/streaming/types.ts b/src/plugins/bfetch/common/streaming/types.ts index 8c13f0817f34..d674f6001a82 100644 --- a/src/plugins/bfetch/common/streaming/types.ts +++ b/src/plugins/bfetch/common/streaming/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; export interface StreamingResponseHandler { diff --git a/src/plugins/bfetch/common/types.ts b/src/plugins/bfetch/common/types.ts index f63b18234440..9d3a576d2e00 100644 --- a/src/plugins/bfetch/common/types.ts +++ b/src/plugins/bfetch/common/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './streaming/types'; diff --git a/src/plugins/bfetch/common/util/index.ts b/src/plugins/bfetch/common/util/index.ts index cb40c68ed8b1..34e7d0bf408b 100644 --- a/src/plugins/bfetch/common/util/index.ts +++ b/src/plugins/bfetch/common/util/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './normalize_error'; export * from './remove_leading_slash'; diff --git a/src/plugins/bfetch/common/util/normalize_error.ts b/src/plugins/bfetch/common/util/normalize_error.ts index e8a3dfafb0e6..108ace7e619e 100644 --- a/src/plugins/bfetch/common/util/normalize_error.ts +++ b/src/plugins/bfetch/common/util/normalize_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ErrorLike } from '../batch'; export const normalizeError = (err: any): E => { diff --git a/src/plugins/bfetch/common/util/remove_leading_slash.ts b/src/plugins/bfetch/common/util/remove_leading_slash.ts index b39e3be1da5c..fc4ad8aa7350 100644 --- a/src/plugins/bfetch/common/util/remove_leading_slash.ts +++ b/src/plugins/bfetch/common/util/remove_leading_slash.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const removeLeadingSlash = (text: string) => (text[0] === '/' ? text.substr(1) : text); diff --git a/src/plugins/bfetch/public/batching/create_streaming_batched_function.test.ts b/src/plugins/bfetch/public/batching/create_streaming_batched_function.test.ts index 467d86f62341..2e80bc4048c5 100644 --- a/src/plugins/bfetch/public/batching/create_streaming_batched_function.test.ts +++ b/src/plugins/bfetch/public/batching/create_streaming_batched_function.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createStreamingBatchedFunction } from './create_streaming_batched_function'; import { fetchStreaming as fetchStreamingReal } from '../streaming/fetch_streaming'; import { defer, of } from '../../../opensearch_dashboards_utils/public'; diff --git a/src/plugins/bfetch/public/batching/create_streaming_batched_function.ts b/src/plugins/bfetch/public/batching/create_streaming_batched_function.ts index acf0a3ec7f5f..67d938e1eb22 100644 --- a/src/plugins/bfetch/public/batching/create_streaming_batched_function.ts +++ b/src/plugins/bfetch/public/batching/create_streaming_batched_function.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { defer, Defer } from '../../../opensearch_dashboards_utils/public'; import { ItemBufferParams, diff --git a/src/plugins/bfetch/public/index.ts b/src/plugins/bfetch/public/index.ts index 0b81c9892194..ff88407865fa 100644 --- a/src/plugins/bfetch/public/index.ts +++ b/src/plugins/bfetch/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from '../../../core/public'; import { BfetchPublicPlugin } from './plugin'; diff --git a/src/plugins/bfetch/public/mocks.ts b/src/plugins/bfetch/public/mocks.ts index 9438bad2b732..9d6de9f13aaf 100644 --- a/src/plugins/bfetch/public/mocks.ts +++ b/src/plugins/bfetch/public/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BfetchPublicSetup, BfetchPublicStart } from '.'; import { plugin as pluginInitializer } from '.'; import { coreMock } from '../../../core/public/mocks'; diff --git a/src/plugins/bfetch/public/plugin.ts b/src/plugins/bfetch/public/plugin.ts index 0dc532c519e9..1a3a0bffc821 100644 --- a/src/plugins/bfetch/public/plugin.ts +++ b/src/plugins/bfetch/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreStart, PluginInitializerContext, CoreSetup, Plugin } from 'src/core/public'; import { fetchStreaming as fetchStreamingStatic, FetchStreamingParams } from './streaming'; import { removeLeadingSlash } from '../common'; diff --git a/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts b/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts index 685564566afe..678ca4bcca1f 100644 --- a/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts +++ b/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fetchStreaming } from './fetch_streaming'; import { mockXMLHttpRequest } from '../test_helpers/xhr'; diff --git a/src/plugins/bfetch/public/streaming/fetch_streaming.ts b/src/plugins/bfetch/public/streaming/fetch_streaming.ts index 82b6879b65c0..5ad33d466e8b 100644 --- a/src/plugins/bfetch/public/streaming/fetch_streaming.ts +++ b/src/plugins/bfetch/public/streaming/fetch_streaming.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fromStreamingXhr } from './from_streaming_xhr'; export interface FetchStreamingParams { diff --git a/src/plugins/bfetch/public/streaming/from_streaming_xhr.test.ts b/src/plugins/bfetch/public/streaming/from_streaming_xhr.test.ts index 9ff29219fb7d..3f41a96e7beb 100644 --- a/src/plugins/bfetch/public/streaming/from_streaming_xhr.test.ts +++ b/src/plugins/bfetch/public/streaming/from_streaming_xhr.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fromStreamingXhr } from './from_streaming_xhr'; const createXhr = (): XMLHttpRequest => diff --git a/src/plugins/bfetch/public/streaming/from_streaming_xhr.ts b/src/plugins/bfetch/public/streaming/from_streaming_xhr.ts index 5b02067b6b0f..0b16913027d8 100644 --- a/src/plugins/bfetch/public/streaming/from_streaming_xhr.ts +++ b/src/plugins/bfetch/public/streaming/from_streaming_xhr.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable, Subject } from 'rxjs'; /** diff --git a/src/plugins/bfetch/public/streaming/index.ts b/src/plugins/bfetch/public/streaming/index.ts index 46000e02f78d..6974cb838163 100644 --- a/src/plugins/bfetch/public/streaming/index.ts +++ b/src/plugins/bfetch/public/streaming/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './split'; export * from './from_streaming_xhr'; export * from './fetch_streaming'; diff --git a/src/plugins/bfetch/public/streaming/split.test.ts b/src/plugins/bfetch/public/streaming/split.test.ts index e4b963871714..1867cdbe06f8 100644 --- a/src/plugins/bfetch/public/streaming/split.test.ts +++ b/src/plugins/bfetch/public/streaming/split.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { split } from './split'; import { Subject } from 'rxjs'; diff --git a/src/plugins/bfetch/public/streaming/split.ts b/src/plugins/bfetch/public/streaming/split.ts index 1b32c740ae5d..fd75459bfe5a 100644 --- a/src/plugins/bfetch/public/streaming/split.ts +++ b/src/plugins/bfetch/public/streaming/split.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable, Subject } from 'rxjs'; import { filter } from 'rxjs/operators'; diff --git a/src/plugins/bfetch/public/test_helpers/xhr.ts b/src/plugins/bfetch/public/test_helpers/xhr.ts index 05f7b642095e..6ac37105c794 100644 --- a/src/plugins/bfetch/public/test_helpers/xhr.ts +++ b/src/plugins/bfetch/public/test_helpers/xhr.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable max-classes-per-file */ export const mockXMLHttpRequest = (): { diff --git a/src/plugins/bfetch/public/types.ts b/src/plugins/bfetch/public/types.ts index f8984f3cc269..574c11e1c7a7 100644 --- a/src/plugins/bfetch/public/types.ts +++ b/src/plugins/bfetch/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -24,8 +27,3 @@ * specific language governing permissions and limitations * under the License. */ - -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ diff --git a/src/plugins/bfetch/server/index.ts b/src/plugins/bfetch/server/index.ts index 9393140cc38d..a4a8dbd9f1f6 100644 --- a/src/plugins/bfetch/server/index.ts +++ b/src/plugins/bfetch/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from '../../../core/server'; import { BfetchServerPlugin } from './plugin'; diff --git a/src/plugins/bfetch/server/mocks.ts b/src/plugins/bfetch/server/mocks.ts index 115a9409f54f..03379ba28c48 100644 --- a/src/plugins/bfetch/server/mocks.ts +++ b/src/plugins/bfetch/server/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BfetchServerSetup, BfetchServerStart } from '.'; import { plugin as pluginInitializer } from '.'; import { coreMock } from '../../../core/server/mocks'; diff --git a/src/plugins/bfetch/server/plugin.ts b/src/plugins/bfetch/server/plugin.ts index 6c9c299af110..1e34d146b27f 100644 --- a/src/plugins/bfetch/server/plugin.ts +++ b/src/plugins/bfetch/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreStart, PluginInitializerContext, diff --git a/src/plugins/bfetch/server/streaming/create_ndjson_stream.ts b/src/plugins/bfetch/server/streaming/create_ndjson_stream.ts index caa9bc9cb0ac..6c7c29ae0047 100644 --- a/src/plugins/bfetch/server/streaming/create_ndjson_stream.ts +++ b/src/plugins/bfetch/server/streaming/create_ndjson_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { Logger } from 'src/core/server'; import { Stream, PassThrough } from 'stream'; diff --git a/src/plugins/bfetch/server/streaming/index.ts b/src/plugins/bfetch/server/streaming/index.ts index 23b538f40a60..500523ab383e 100644 --- a/src/plugins/bfetch/server/streaming/index.ts +++ b/src/plugins/bfetch/server/streaming/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './create_ndjson_stream'; diff --git a/src/plugins/bfetch/server/types.ts b/src/plugins/bfetch/server/types.ts index 35a4d7adb703..ed534d5632b7 100644 --- a/src/plugins/bfetch/server/types.ts +++ b/src/plugins/bfetch/server/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { OpenSearchDashboardsRequest, diff --git a/src/plugins/charts/common/index.ts b/src/plugins/charts/common/index.ts index a0374943b56c..9e7183a956f9 100644 --- a/src/plugins/charts/common/index.ts +++ b/src/plugins/charts/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const COLOR_MAPPING_SETTING = 'visualization:colorMapping'; diff --git a/src/plugins/charts/public/index.ts b/src/plugins/charts/public/index.ts index 9779008a7f9d..3c52e6637418 100644 --- a/src/plugins/charts/public/index.ts +++ b/src/plugins/charts/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ChartsPlugin } from './plugin'; export const plugin = () => new ChartsPlugin(); diff --git a/src/plugins/charts/public/mocks.ts b/src/plugins/charts/public/mocks.ts index eaafdde21ba3..dc1c4474f60f 100644 --- a/src/plugins/charts/public/mocks.ts +++ b/src/plugins/charts/public/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ChartsPlugin } from './plugin'; import { themeServiceMock } from './services/theme/mock'; import { colorsServiceMock } from './services/colors/mock'; diff --git a/src/plugins/charts/public/plugin.ts b/src/plugins/charts/public/plugin.ts index 3862e27e3e7f..fcb08702d3a9 100644 --- a/src/plugins/charts/public/plugin.ts +++ b/src/plugins/charts/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreSetup } from 'opensearch-dashboards/public'; import { ThemeService, ColorsService } from './services'; diff --git a/src/plugins/charts/public/services/colors/color_palette.ts b/src/plugins/charts/public/services/colors/color_palette.ts index b36e53b0b624..ac59a3c85f0d 100644 --- a/src/plugins/charts/public/services/colors/color_palette.ts +++ b/src/plugins/charts/public/services/colors/color_palette.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { hsl } from 'color'; diff --git a/src/plugins/charts/public/services/colors/colors.test.ts b/src/plugins/charts/public/services/colors/colors.test.ts index 2127b831f3dc..f25a1d7c476d 100644 --- a/src/plugins/charts/public/services/colors/colors.test.ts +++ b/src/plugins/charts/public/services/colors/colors.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { coreMock } from '../../../../../core/public/mocks'; import { COLOR_MAPPING_SETTING } from '../../../common'; import { seedColors } from './seed_colors'; diff --git a/src/plugins/charts/public/services/colors/colors.ts b/src/plugins/charts/public/services/colors/colors.ts index 537d513630e4..8f60e3bc29f1 100644 --- a/src/plugins/charts/public/services/colors/colors.ts +++ b/src/plugins/charts/public/services/colors/colors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { CoreSetup } from 'opensearch-dashboards/public'; diff --git a/src/plugins/charts/public/services/colors/colors_palette.test.ts b/src/plugins/charts/public/services/colors/colors_palette.test.ts index 95c2101e3fb7..ca9d2f2654e1 100644 --- a/src/plugins/charts/public/services/colors/colors_palette.test.ts +++ b/src/plugins/charts/public/services/colors/colors_palette.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { seedColors } from './seed_colors'; import { createColorPalette } from './color_palette'; diff --git a/src/plugins/charts/public/services/colors/index.ts b/src/plugins/charts/public/services/colors/index.ts index ad2869d99de3..de121ce08ec0 100644 --- a/src/plugins/charts/public/services/colors/index.ts +++ b/src/plugins/charts/public/services/colors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ColorsService } from './colors'; diff --git a/src/plugins/charts/public/services/colors/mapped_colors.test.ts b/src/plugins/charts/public/services/colors/mapped_colors.test.ts index 8173c0b2c8ef..3db2db01dcbd 100644 --- a/src/plugins/charts/public/services/colors/mapped_colors.test.ts +++ b/src/plugins/charts/public/services/colors/mapped_colors.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import Color from 'color'; diff --git a/src/plugins/charts/public/services/colors/mapped_colors.ts b/src/plugins/charts/public/services/colors/mapped_colors.ts index c23cd9930e8e..c4ce91dce1aa 100644 --- a/src/plugins/charts/public/services/colors/mapped_colors.ts +++ b/src/plugins/charts/public/services/colors/mapped_colors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import Color from 'color'; diff --git a/src/plugins/charts/public/services/colors/mock.ts b/src/plugins/charts/public/services/colors/mock.ts index 20e725742ef2..b7c8eff86287 100644 --- a/src/plugins/charts/public/services/colors/mock.ts +++ b/src/plugins/charts/public/services/colors/mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ColorsService } from './colors'; import { coreMock } from '../../../../../core/public/mocks'; diff --git a/src/plugins/charts/public/services/colors/seed_colors.test.ts b/src/plugins/charts/public/services/colors/seed_colors.test.ts index a652d9138b15..ef13065554e4 100644 --- a/src/plugins/charts/public/services/colors/seed_colors.test.ts +++ b/src/plugins/charts/public/services/colors/seed_colors.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { seedColors } from './seed_colors'; describe('Seed Colors', function () { diff --git a/src/plugins/charts/public/services/colors/seed_colors.ts b/src/plugins/charts/public/services/colors/seed_colors.ts index 078f1387e58f..c7527f7768b1 100644 --- a/src/plugins/charts/public/services/colors/seed_colors.ts +++ b/src/plugins/charts/public/services/colors/seed_colors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Using a random color generator presented awful colors and unpredictable color schemes. * So we needed to come up with a color scheme of our own that creates consistent, pleasing color patterns. diff --git a/src/plugins/charts/public/services/index.ts b/src/plugins/charts/public/services/index.ts index cb907a1dfce4..9ff0e7390eed 100644 --- a/src/plugins/charts/public/services/index.ts +++ b/src/plugins/charts/public/services/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ColorsService } from './colors'; export { ThemeService } from './theme'; diff --git a/src/plugins/charts/public/services/theme/index.ts b/src/plugins/charts/public/services/theme/index.ts index dbe5bbc7dc22..422b8446b5d2 100644 --- a/src/plugins/charts/public/services/theme/index.ts +++ b/src/plugins/charts/public/services/theme/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ThemeService } from './theme'; diff --git a/src/plugins/charts/public/services/theme/mock.ts b/src/plugins/charts/public/services/theme/mock.ts index 87df18e0fff6..d7121881de2f 100644 --- a/src/plugins/charts/public/services/theme/mock.ts +++ b/src/plugins/charts/public/services/theme/mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EUI_CHARTS_THEME_LIGHT } from '@elastic/eui/dist/eui_charts_theme'; import { ThemeService } from './theme'; diff --git a/src/plugins/charts/public/services/theme/theme.test.tsx b/src/plugins/charts/public/services/theme/theme.test.tsx index 70133929f2fd..b61af21027c5 100644 --- a/src/plugins/charts/public/services/theme/theme.test.tsx +++ b/src/plugins/charts/public/services/theme/theme.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { take } from 'rxjs/operators'; import { renderHook, act } from '@testing-library/react-hooks'; diff --git a/src/plugins/charts/public/services/theme/theme.ts b/src/plugins/charts/public/services/theme/theme.ts index 3107d60ec2e7..23b643733a56 100644 --- a/src/plugins/charts/public/services/theme/theme.ts +++ b/src/plugins/charts/public/services/theme/theme.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useEffect, useState } from 'react'; import { Observable, BehaviorSubject } from 'rxjs'; diff --git a/src/plugins/charts/public/static/color_maps/color_maps.ts b/src/plugins/charts/public/static/color_maps/color_maps.ts index 4236cd450bb3..c5e844d97b4e 100644 --- a/src/plugins/charts/public/static/color_maps/color_maps.ts +++ b/src/plugins/charts/public/static/color_maps/color_maps.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; export enum ColorSchemas { diff --git a/src/plugins/charts/public/static/color_maps/heatmap_color.test.ts b/src/plugins/charts/public/static/color_maps/heatmap_color.test.ts index a5640a7e43d6..9d1bcacd0237 100644 --- a/src/plugins/charts/public/static/color_maps/heatmap_color.test.ts +++ b/src/plugins/charts/public/static/color_maps/heatmap_color.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getHeatmapColors } from './heatmap_color'; describe('Vislib Heatmap Color Module Test Suite', () => { diff --git a/src/plugins/charts/public/static/color_maps/heatmap_color.ts b/src/plugins/charts/public/static/color_maps/heatmap_color.ts index ab5f852595fe..4effa6125561 100644 --- a/src/plugins/charts/public/static/color_maps/heatmap_color.ts +++ b/src/plugins/charts/public/static/color_maps/heatmap_color.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { vislibColorMaps, RawColorSchema } from './color_maps'; diff --git a/src/plugins/charts/public/static/color_maps/index.ts b/src/plugins/charts/public/static/color_maps/index.ts index 36f067e6227a..348a56ff1358 100644 --- a/src/plugins/charts/public/static/color_maps/index.ts +++ b/src/plugins/charts/public/static/color_maps/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ColorSchemas, ColorSchema, diff --git a/src/plugins/charts/public/static/color_maps/mock.ts b/src/plugins/charts/public/static/color_maps/mock.ts index 8590638f2f26..b302f5b02520 100644 --- a/src/plugins/charts/public/static/color_maps/mock.ts +++ b/src/plugins/charts/public/static/color_maps/mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { colorSchemas, vislibColorMaps } from './color_maps'; import { getHeatmapColors } from './heatmap_color'; import { truncatedColorMaps, truncatedColorSchemas } from './truncated_color_maps'; diff --git a/src/plugins/charts/public/static/color_maps/truncated_color_maps.ts b/src/plugins/charts/public/static/color_maps/truncated_color_maps.ts index c2c45d4e07ad..2ce0c4751b6c 100644 --- a/src/plugins/charts/public/static/color_maps/truncated_color_maps.ts +++ b/src/plugins/charts/public/static/color_maps/truncated_color_maps.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { vislibColorMaps, ColorMap, ColorSchema } from './color_maps'; export const truncatedColorMaps: ColorMap = {}; diff --git a/src/plugins/charts/public/static/components/basic_options.tsx b/src/plugins/charts/public/static/components/basic_options.tsx index 287629d9d242..aa995a961f0c 100644 --- a/src/plugins/charts/public/static/components/basic_options.tsx +++ b/src/plugins/charts/public/static/components/basic_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/charts/public/static/components/collections.ts b/src/plugins/charts/public/static/components/collections.ts index 60b1ee2569fc..c6e1f8279d55 100644 --- a/src/plugins/charts/public/static/components/collections.ts +++ b/src/plugins/charts/public/static/components/collections.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { $Values } from '@osd/utility-types'; export const ColorModes = Object.freeze({ diff --git a/src/plugins/charts/public/static/components/color_ranges.tsx b/src/plugins/charts/public/static/components/color_ranges.tsx index 148371ac72c0..dd7da81d8c8a 100644 --- a/src/plugins/charts/public/static/components/color_ranges.tsx +++ b/src/plugins/charts/public/static/components/color_ranges.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { last } from 'lodash'; diff --git a/src/plugins/charts/public/static/components/color_schema.tsx b/src/plugins/charts/public/static/components/color_schema.tsx index e2f7fc454e52..eed360aaedd4 100644 --- a/src/plugins/charts/public/static/components/color_schema.tsx +++ b/src/plugins/charts/public/static/components/color_schema.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useState } from 'react'; import { i18n } from '@osd/i18n'; import { EuiLink, EuiText } from '@elastic/eui'; diff --git a/src/plugins/charts/public/static/components/index.ts b/src/plugins/charts/public/static/components/index.ts index ea996be5a68c..4bc166aa663f 100644 --- a/src/plugins/charts/public/static/components/index.ts +++ b/src/plugins/charts/public/static/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { BasicOptions } from './basic_options'; export { ColorModes, Rotates } from './collections'; export { ColorRanges, SetColorRangeValue } from './color_ranges'; diff --git a/src/plugins/charts/public/static/components/number_input.tsx b/src/plugins/charts/public/static/components/number_input.tsx index b08fd459c185..a6249b2d7969 100644 --- a/src/plugins/charts/public/static/components/number_input.tsx +++ b/src/plugins/charts/public/static/components/number_input.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ReactNode } from 'react'; import { EuiFormRow, EuiFieldNumber } from '@elastic/eui'; diff --git a/src/plugins/charts/public/static/components/range.tsx b/src/plugins/charts/public/static/components/range.tsx index fc58379ce021..886b587a52d8 100644 --- a/src/plugins/charts/public/static/components/range.tsx +++ b/src/plugins/charts/public/static/components/range.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState } from 'react'; import { EuiFormRow, EuiRange, EuiRangeProps } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/charts/public/static/components/required_number_input.tsx b/src/plugins/charts/public/static/components/required_number_input.tsx index 5409c810b74b..1f5b733e466c 100644 --- a/src/plugins/charts/public/static/components/required_number_input.tsx +++ b/src/plugins/charts/public/static/components/required_number_input.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ReactNode, useCallback, ChangeEvent, useEffect } from 'react'; import { EuiFormRow, EuiFieldNumber } from '@elastic/eui'; diff --git a/src/plugins/charts/public/static/components/select.tsx b/src/plugins/charts/public/static/components/select.tsx index caf92492f13e..396e57729f6c 100644 --- a/src/plugins/charts/public/static/components/select.tsx +++ b/src/plugins/charts/public/static/components/select.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useMemo } from 'react'; import { EuiFormRow, EuiSelect } from '@elastic/eui'; diff --git a/src/plugins/charts/public/static/components/switch.tsx b/src/plugins/charts/public/static/components/switch.tsx index 0c8c82465150..bac30738b7c6 100644 --- a/src/plugins/charts/public/static/components/switch.tsx +++ b/src/plugins/charts/public/static/components/switch.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFormRow, EuiSwitch, EuiToolTip } from '@elastic/eui'; diff --git a/src/plugins/charts/public/static/components/text_input.tsx b/src/plugins/charts/public/static/components/text_input.tsx index f306c8da906b..335f3fd7f3a3 100644 --- a/src/plugins/charts/public/static/components/text_input.tsx +++ b/src/plugins/charts/public/static/components/text_input.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFormRow, EuiFieldText } from '@elastic/eui'; diff --git a/src/plugins/charts/public/static/components/types.ts b/src/plugins/charts/public/static/components/types.ts index 18ec4802e306..175584764308 100644 --- a/src/plugins/charts/public/static/components/types.ts +++ b/src/plugins/charts/public/static/components/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ColorSchemas } from '../color_maps'; import { Rotates } from './collections'; diff --git a/src/plugins/charts/public/static/index.ts b/src/plugins/charts/public/static/index.ts index b2a0aa7d167a..476d7c42c215 100644 --- a/src/plugins/charts/public/static/index.ts +++ b/src/plugins/charts/public/static/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './color_maps'; export * from './components'; diff --git a/src/plugins/charts/server/index.ts b/src/plugins/charts/server/index.ts index 08b15b0bea06..ae2f7670e975 100644 --- a/src/plugins/charts/server/index.ts +++ b/src/plugins/charts/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ChartsServerPlugin } from './plugin'; export const plugin = () => new ChartsServerPlugin(); diff --git a/src/plugins/charts/server/plugin.ts b/src/plugins/charts/server/plugin.ts index b751bd94af3c..7e733c0120f3 100644 --- a/src/plugins/charts/server/plugin.ts +++ b/src/plugins/charts/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { schema } from '@osd/config-schema'; import { CoreSetup, Plugin } from 'opensearch-dashboards/server'; diff --git a/src/plugins/console/common/text_object.ts b/src/plugins/console/common/text_object.ts index fdae8338c876..68145cb4b90e 100644 --- a/src/plugins/console/common/text_object.ts +++ b/src/plugins/console/common/text_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const textObjectTypeName = 'text-object'; /** diff --git a/src/plugins/console/common/types/api_responses.ts b/src/plugins/console/common/types/api_responses.ts index b811e0400827..ee466ebbac39 100644 --- a/src/plugins/console/common/types/api_responses.ts +++ b/src/plugins/console/common/types/api_responses.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface OpenSearchConfigApiResponse { /** * This is the first host in the hosts array that OpenSearch Dashboards is configured to use diff --git a/src/plugins/console/common/types/index.ts b/src/plugins/console/common/types/index.ts index a5b125b17a0d..5119a57b5bca 100644 --- a/src/plugins/console/common/types/index.ts +++ b/src/plugins/console/common/types/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './models'; export * from './plugin_config'; diff --git a/src/plugins/console/common/types/models.ts b/src/plugins/console/common/types/models.ts index 4df6c94d8c28..546ce5bd2041 100644 --- a/src/plugins/console/common/types/models.ts +++ b/src/plugins/console/common/types/models.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TextObject } from '../text_object'; export interface IdObject { diff --git a/src/plugins/console/common/types/plugin_config.ts b/src/plugins/console/common/types/plugin_config.ts index 5a0a68f840ff..1ef70350dc39 100644 --- a/src/plugins/console/common/types/plugin_config.ts +++ b/src/plugins/console/common/types/plugin_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface PluginServerConfig { opensearchUrl: string; } diff --git a/src/plugins/console/public/application/components/console_menu.tsx b/src/plugins/console/public/application/components/console_menu.tsx index 30624051b4e7..efe8a8937978 100644 --- a/src/plugins/console/public/application/components/console_menu.tsx +++ b/src/plugins/console/public/application/components/console_menu.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { EuiIcon, EuiContextMenuPanel, EuiContextMenuItem, EuiPopover } from '@elastic/eui'; diff --git a/src/plugins/console/public/application/components/editor_content_spinner.tsx b/src/plugins/console/public/application/components/editor_content_spinner.tsx index 34fadc7c02e3..3f92ea1481bd 100644 --- a/src/plugins/console/public/application/components/editor_content_spinner.tsx +++ b/src/plugins/console/public/application/components/editor_content_spinner.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FunctionComponent } from 'react'; import { EuiLoadingContent, EuiPageContent } from '@elastic/eui'; diff --git a/src/plugins/console/public/application/components/editor_example.tsx b/src/plugins/console/public/application/components/editor_example.tsx index b287c5326812..0f3e36f65fd8 100644 --- a/src/plugins/console/public/application/components/editor_example.tsx +++ b/src/plugins/console/public/application/components/editor_example.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { EuiScreenReaderOnly } from '@elastic/eui'; import { i18n } from '@osd/i18n'; import React, { useEffect } from 'react'; diff --git a/src/plugins/console/public/application/components/help_panel.tsx b/src/plugins/console/public/application/components/help_panel.tsx index 2f164c3cf2b8..1f0fce03bf14 100644 --- a/src/plugins/console/public/application/components/help_panel.tsx +++ b/src/plugins/console/public/application/components/help_panel.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; import { diff --git a/src/plugins/console/public/application/components/index.ts b/src/plugins/console/public/application/components/index.ts index 6a549772c810..d6cceb7c7ca8 100644 --- a/src/plugins/console/public/application/components/index.ts +++ b/src/plugins/console/public/application/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { NetworkRequestStatusBar } from './network_request_status_bar'; export { SomethingWentWrongCallout } from './something_went_wrong_callout'; export { TopNavMenuItem, TopNavMenu } from './top_nav_menu'; diff --git a/src/plugins/console/public/application/components/network_request_status_bar/index.ts b/src/plugins/console/public/application/components/network_request_status_bar/index.ts index 9eeedfc157be..c58f4db686a0 100644 --- a/src/plugins/console/public/application/components/network_request_status_bar/index.ts +++ b/src/plugins/console/public/application/components/network_request_status_bar/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { NetworkRequestStatusBar } from './network_request_status_bar'; diff --git a/src/plugins/console/public/application/components/network_request_status_bar/network_request_status_bar.tsx b/src/plugins/console/public/application/components/network_request_status_bar/network_request_status_bar.tsx index 7ad2de7a3467..7b6bc7fa8bdf 100644 --- a/src/plugins/console/public/application/components/network_request_status_bar/network_request_status_bar.tsx +++ b/src/plugins/console/public/application/components/network_request_status_bar/network_request_status_bar.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import React, { FunctionComponent } from 'react'; import { EuiFlexGroup, EuiFlexItem, EuiBadge, EuiText, EuiToolTip } from '@elastic/eui'; diff --git a/src/plugins/console/public/application/components/settings_modal.tsx b/src/plugins/console/public/application/components/settings_modal.tsx index ebb078004532..8a0cb036d2e2 100644 --- a/src/plugins/console/public/application/components/settings_modal.tsx +++ b/src/plugins/console/public/application/components/settings_modal.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import React, { Fragment, useState } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/console/public/application/components/something_went_wrong_callout.tsx b/src/plugins/console/public/application/components/something_went_wrong_callout.tsx index 4e7cb7efcfaf..c69d14b0f8c6 100644 --- a/src/plugins/console/public/application/components/something_went_wrong_callout.tsx +++ b/src/plugins/console/public/application/components/something_went_wrong_callout.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FunctionComponent, useEffect } from 'react'; import { FormattedMessage } from '@osd/i18n/react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/console/public/application/components/top_nav_menu.tsx b/src/plugins/console/public/application/components/top_nav_menu.tsx index ef13589ec5ad..bd99098ec21a 100644 --- a/src/plugins/console/public/application/components/top_nav_menu.tsx +++ b/src/plugins/console/public/application/components/top_nav_menu.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FunctionComponent } from 'react'; import { EuiTabs, EuiTab } from '@elastic/eui'; diff --git a/src/plugins/console/public/application/components/welcome_panel.tsx b/src/plugins/console/public/application/components/welcome_panel.tsx index 15d78474d1ed..7002e99c4c99 100644 --- a/src/plugins/console/public/application/components/welcome_panel.tsx +++ b/src/plugins/console/public/application/components/welcome_panel.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/console/public/application/containers/console_history/console_history.tsx b/src/plugins/console/public/application/containers/console_history/console_history.tsx index fcde580439fd..08704c442bbc 100644 --- a/src/plugins/console/public/application/containers/console_history/console_history.tsx +++ b/src/plugins/console/public/application/containers/console_history/console_history.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback, useEffect, useMemo, useState, useRef } from 'react'; import { i18n } from '@osd/i18n'; import { memoize } from 'lodash'; diff --git a/src/plugins/console/public/application/containers/console_history/history_viewer.tsx b/src/plugins/console/public/application/containers/console_history/history_viewer.tsx index b36e046beb4b..db954afed8a4 100644 --- a/src/plugins/console/public/application/containers/console_history/history_viewer.tsx +++ b/src/plugins/console/public/application/containers/console_history/history_viewer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useRef } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/console/public/application/containers/console_history/index.ts b/src/plugins/console/public/application/containers/console_history/index.ts index 6a354bb6162f..b03bac7cb283 100644 --- a/src/plugins/console/public/application/containers/console_history/index.ts +++ b/src/plugins/console/public/application/containers/console_history/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ConsoleHistory } from './console_history'; diff --git a/src/plugins/console/public/application/containers/editor/editor.tsx b/src/plugins/console/public/application/containers/editor/editor.tsx index 83919637c228..c4cb5c542635 100644 --- a/src/plugins/console/public/application/containers/editor/editor.tsx +++ b/src/plugins/console/public/application/containers/editor/editor.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback, memo } from 'react'; import { debounce } from 'lodash'; import { EuiProgress } from '@elastic/eui'; diff --git a/src/plugins/console/public/application/containers/editor/index.ts b/src/plugins/console/public/application/containers/editor/index.ts index 89df6dde9dd8..ccf3a5d67377 100644 --- a/src/plugins/console/public/application/containers/editor/index.ts +++ b/src/plugins/console/public/application/containers/editor/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { autoIndent, getDocumentation } from './legacy'; export { Editor } from './editor'; diff --git a/src/plugins/console/public/application/containers/editor/legacy/console_editor/apply_editor_settings.ts b/src/plugins/console/public/application/containers/editor/legacy/console_editor/apply_editor_settings.ts index 9860f248410e..286e78a73809 100644 --- a/src/plugins/console/public/application/containers/editor/legacy/console_editor/apply_editor_settings.ts +++ b/src/plugins/console/public/application/containers/editor/legacy/console_editor/apply_editor_settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DevToolsSettings } from '../../../../../services'; import { CoreEditor } from '../../../../../types'; import { CustomAceEditor } from '../../../../models/legacy_core_editor'; diff --git a/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.test.mock.tsx b/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.test.mock.tsx index 559e2c706a1c..7121de8d9073 100644 --- a/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.test.mock.tsx +++ b/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.test.mock.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('../../../../contexts/editor_context/editor_registry.ts', () => ({ instance: { setInputEditor: () => {}, diff --git a/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.test.tsx b/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.test.tsx index 4562eef33b95..0cbe7f929fe3 100644 --- a/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.test.tsx +++ b/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './editor.test.mock'; import React from 'react'; diff --git a/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.tsx b/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.tsx index 8bc85ce0c81d..35fc2fc60a2e 100644 --- a/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.tsx +++ b/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiFlexGroup, EuiFlexItem, EuiIcon, EuiScreenReaderOnly, EuiToolTip } from '@elastic/eui'; import { i18n } from '@osd/i18n'; import { debounce } from 'lodash'; diff --git a/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor_output.tsx b/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor_output.tsx index e2fb5c48a486..4467f5028d68 100644 --- a/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor_output.tsx +++ b/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor_output.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiScreenReaderOnly } from '@elastic/eui'; import { i18n } from '@osd/i18n'; import React, { useEffect, useRef } from 'react'; diff --git a/src/plugins/console/public/application/containers/editor/legacy/console_editor/index.ts b/src/plugins/console/public/application/containers/editor/legacy/console_editor/index.ts index d0e3421969ef..76c4b9f9cc03 100644 --- a/src/plugins/console/public/application/containers/editor/legacy/console_editor/index.ts +++ b/src/plugins/console/public/application/containers/editor/legacy/console_editor/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Editor } from './editor'; export { EditorOutput } from './editor_output'; diff --git a/src/plugins/console/public/application/containers/editor/legacy/console_editor/keyboard_shortcuts.ts b/src/plugins/console/public/application/containers/editor/legacy/console_editor/keyboard_shortcuts.ts index ab75707b619a..e3d2e4ccf630 100644 --- a/src/plugins/console/public/application/containers/editor/legacy/console_editor/keyboard_shortcuts.ts +++ b/src/plugins/console/public/application/containers/editor/legacy/console_editor/keyboard_shortcuts.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { throttle } from 'lodash'; import { SenseEditor } from '../../../../models/sense_editor'; diff --git a/src/plugins/console/public/application/containers/editor/legacy/console_menu_actions.ts b/src/plugins/console/public/application/containers/editor/legacy/console_menu_actions.ts index aaab82ca1483..b93eeb8e4dce 100644 --- a/src/plugins/console/public/application/containers/editor/legacy/console_menu_actions.ts +++ b/src/plugins/console/public/application/containers/editor/legacy/console_menu_actions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getEndpointFromPosition } from '../../../../lib/autocomplete/get_endpoint_from_position'; import { SenseEditor } from '../../../models/sense_editor'; diff --git a/src/plugins/console/public/application/containers/editor/legacy/index.ts b/src/plugins/console/public/application/containers/editor/legacy/index.ts index 2ce1990a01a2..08396c1942fa 100644 --- a/src/plugins/console/public/application/containers/editor/legacy/index.ts +++ b/src/plugins/console/public/application/containers/editor/legacy/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { EditorOutput, Editor } from './console_editor'; export { getDocumentation, autoIndent } from './console_menu_actions'; diff --git a/src/plugins/console/public/application/containers/editor/legacy/subscribe_console_resize_checker.ts b/src/plugins/console/public/application/containers/editor/legacy/subscribe_console_resize_checker.ts index e9d8405bd69d..64f77b39ffc5 100644 --- a/src/plugins/console/public/application/containers/editor/legacy/subscribe_console_resize_checker.ts +++ b/src/plugins/console/public/application/containers/editor/legacy/subscribe_console_resize_checker.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ResizeChecker } from '../../../../../../opensearch_dashboards_utils/public'; export function subscribeResizeChecker(el: HTMLElement, ...editors: any[]) { diff --git a/src/plugins/console/public/application/containers/index.ts b/src/plugins/console/public/application/containers/index.ts index b07f43d3b9bf..dc48dd521cbf 100644 --- a/src/plugins/console/public/application/containers/index.ts +++ b/src/plugins/console/public/application/containers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Main } from './main'; diff --git a/src/plugins/console/public/application/containers/main/get_top_nav.ts b/src/plugins/console/public/application/containers/main/get_top_nav.ts index 7983f701fff6..e7eba5c580ac 100644 --- a/src/plugins/console/public/application/containers/main/get_top_nav.ts +++ b/src/plugins/console/public/application/containers/main/get_top_nav.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; interface Props { diff --git a/src/plugins/console/public/application/containers/main/index.ts b/src/plugins/console/public/application/containers/main/index.ts index b07f43d3b9bf..dc48dd521cbf 100644 --- a/src/plugins/console/public/application/containers/main/index.ts +++ b/src/plugins/console/public/application/containers/main/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Main } from './main'; diff --git a/src/plugins/console/public/application/containers/main/main.tsx b/src/plugins/console/public/application/containers/main/main.tsx index 1211c0e03f3c..19104cd8d318 100644 --- a/src/plugins/console/public/application/containers/main/main.tsx +++ b/src/plugins/console/public/application/containers/main/main.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState } from 'react'; import { i18n } from '@osd/i18n'; import { EuiFlexGroup, EuiFlexItem, EuiTitle, EuiPageContent } from '@elastic/eui'; diff --git a/src/plugins/console/public/application/containers/settings.tsx b/src/plugins/console/public/application/containers/settings.tsx index 037b842606c3..25a03eaa507a 100644 --- a/src/plugins/console/public/application/containers/settings.tsx +++ b/src/plugins/console/public/application/containers/settings.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { AutocompleteOptions, DevToolsSettingsModal } from '../components'; diff --git a/src/plugins/console/public/application/contexts/create_use_context.ts b/src/plugins/console/public/application/contexts/create_use_context.ts index 8477842c5475..72d43c1e58b7 100644 --- a/src/plugins/console/public/application/contexts/create_use_context.ts +++ b/src/plugins/console/public/application/contexts/create_use_context.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Context, useContext } from 'react'; export const createUseContext = (Ctx: Context, name: string) => { diff --git a/src/plugins/console/public/application/contexts/editor_context/editor_context.tsx b/src/plugins/console/public/application/contexts/editor_context/editor_context.tsx index cdab241eb951..2ae38d9d56a5 100644 --- a/src/plugins/console/public/application/contexts/editor_context/editor_context.tsx +++ b/src/plugins/console/public/application/contexts/editor_context/editor_context.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { createContext, Dispatch, useReducer } from 'react'; import * as editor from '../../stores/editor'; import { DevToolsSettings } from '../../../services'; diff --git a/src/plugins/console/public/application/contexts/editor_context/editor_registry.ts b/src/plugins/console/public/application/contexts/editor_context/editor_registry.ts index 6e2820dea014..9da9646f7d58 100644 --- a/src/plugins/console/public/application/contexts/editor_context/editor_registry.ts +++ b/src/plugins/console/public/application/contexts/editor_context/editor_registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SenseEditor } from '../../models/sense_editor'; export class EditorRegistry { diff --git a/src/plugins/console/public/application/contexts/editor_context/index.ts b/src/plugins/console/public/application/contexts/editor_context/index.ts index bafd1fb184be..40b5e908f650 100644 --- a/src/plugins/console/public/application/contexts/editor_context/index.ts +++ b/src/plugins/console/public/application/contexts/editor_context/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { EditorContextProvider, useEditorReadContext, diff --git a/src/plugins/console/public/application/contexts/index.ts b/src/plugins/console/public/application/contexts/index.ts index 0ee99a36760c..d1983b5d81e9 100644 --- a/src/plugins/console/public/application/contexts/index.ts +++ b/src/plugins/console/public/application/contexts/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { useServicesContext, ServicesContextProvider, ContextValue } from './services_context'; export { diff --git a/src/plugins/console/public/application/contexts/request_context.tsx b/src/plugins/console/public/application/contexts/request_context.tsx index 728ec43453be..959e164fb8fe 100644 --- a/src/plugins/console/public/application/contexts/request_context.tsx +++ b/src/plugins/console/public/application/contexts/request_context.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { createContext, useReducer, Dispatch } from 'react'; import { createUseContext } from './create_use_context'; import * as store from '../stores/request'; diff --git a/src/plugins/console/public/application/contexts/services_context.mock.ts b/src/plugins/console/public/application/contexts/services_context.mock.ts index 9c2ed333eeec..5e39565aca8a 100644 --- a/src/plugins/console/public/application/contexts/services_context.mock.ts +++ b/src/plugins/console/public/application/contexts/services_context.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { notificationServiceMock } from '../../../../../core/public/mocks'; import { httpServiceMock } from '../../../../../core/public/mocks'; diff --git a/src/plugins/console/public/application/contexts/services_context.tsx b/src/plugins/console/public/application/contexts/services_context.tsx index a59107e66abc..9e926eef9730 100644 --- a/src/plugins/console/public/application/contexts/services_context.tsx +++ b/src/plugins/console/public/application/contexts/services_context.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { createContext, useContext, useEffect } from 'react'; import { NotificationsSetup } from 'opensearch-dashboards/public'; import { History, Settings, Storage } from '../../services'; diff --git a/src/plugins/console/public/application/factories/index.ts b/src/plugins/console/public/application/factories/index.ts index ba6897403999..ee1d58b3ec1f 100644 --- a/src/plugins/console/public/application/factories/index.ts +++ b/src/plugins/console/public/application/factories/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './token_iterator'; diff --git a/src/plugins/console/public/application/factories/token_iterator.ts b/src/plugins/console/public/application/factories/token_iterator.ts index b3df436cf3c6..c77152561868 100644 --- a/src/plugins/console/public/application/factories/token_iterator.ts +++ b/src/plugins/console/public/application/factories/token_iterator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CoreEditor, Position } from '../../types'; import { TokenIterator } from '../../lib/token_iterator'; diff --git a/src/plugins/console/public/application/hooks/index.ts b/src/plugins/console/public/application/hooks/index.ts index 631324fb8b5a..cf0a7e9431da 100644 --- a/src/plugins/console/public/application/hooks/index.ts +++ b/src/plugins/console/public/application/hooks/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { useSetInputEditor } from './use_set_input_editor'; export { useRestoreRequestFromHistory } from './use_restore_request_from_history'; export { useSendCurrentRequestToOpenSearch } from './use_send_current_request_to_opensearch'; diff --git a/src/plugins/console/public/application/hooks/use_data_init/data_migration.ts b/src/plugins/console/public/application/hooks/use_data_init/data_migration.ts index fb69a48f3d05..ae9f5f5ec69d 100644 --- a/src/plugins/console/public/application/hooks/use_data_init/data_migration.ts +++ b/src/plugins/console/public/application/hooks/use_data_init/data_migration.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { History } from '../../../services'; import { ObjectStorageClient } from '../../../../common/types'; diff --git a/src/plugins/console/public/application/hooks/use_data_init/index.ts b/src/plugins/console/public/application/hooks/use_data_init/index.ts index 3f1148e0c78e..2afe977bf61d 100644 --- a/src/plugins/console/public/application/hooks/use_data_init/index.ts +++ b/src/plugins/console/public/application/hooks/use_data_init/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,8 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { useDataInit } from './use_data_init'; diff --git a/src/plugins/console/public/application/hooks/use_data_init/use_data_init.ts b/src/plugins/console/public/application/hooks/use_data_init/use_data_init.ts index c7964f1611ce..b9be1c56d912 100644 --- a/src/plugins/console/public/application/hooks/use_data_init/use_data_init.ts +++ b/src/plugins/console/public/application/hooks/use_data_init/use_data_init.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useCallback, useEffect, useState } from 'react'; import { migrateToTextObjects } from './data_migration'; import { useEditorActionContext, useServicesContext } from '../../contexts'; diff --git a/src/plugins/console/public/application/hooks/use_restore_request_from_history/index.ts b/src/plugins/console/public/application/hooks/use_restore_request_from_history/index.ts index bb474c2612ef..aa3bcc094421 100644 --- a/src/plugins/console/public/application/hooks/use_restore_request_from_history/index.ts +++ b/src/plugins/console/public/application/hooks/use_restore_request_from_history/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { useRestoreRequestFromHistory } from './use_restore_request_from_history'; diff --git a/src/plugins/console/public/application/hooks/use_restore_request_from_history/restore_request_from_history.ts b/src/plugins/console/public/application/hooks/use_restore_request_from_history/restore_request_from_history.ts index 473f381d1635..b1becd7430be 100644 --- a/src/plugins/console/public/application/hooks/use_restore_request_from_history/restore_request_from_history.ts +++ b/src/plugins/console/public/application/hooks/use_restore_request_from_history/restore_request_from_history.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import RowParser from '../../../lib/row_parser'; import { SenseEditor } from '../../models/sense_editor'; /** diff --git a/src/plugins/console/public/application/hooks/use_restore_request_from_history/use_restore_request_from_history.ts b/src/plugins/console/public/application/hooks/use_restore_request_from_history/use_restore_request_from_history.ts index 44927fd724be..4edfad7bd4a8 100644 --- a/src/plugins/console/public/application/hooks/use_restore_request_from_history/use_restore_request_from_history.ts +++ b/src/plugins/console/public/application/hooks/use_restore_request_from_history/use_restore_request_from_history.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { useCallback } from 'react'; import { instance as registry } from '../../contexts/editor_context/editor_registry'; import { restoreRequestFromHistory } from './restore_request_from_history'; diff --git a/src/plugins/console/public/application/hooks/use_save_current_text_object.ts b/src/plugins/console/public/application/hooks/use_save_current_text_object.ts index 40f10fe3a98e..8252a8bc9279 100644 --- a/src/plugins/console/public/application/hooks/use_save_current_text_object.ts +++ b/src/plugins/console/public/application/hooks/use_save_current_text_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useRef, useCallback } from 'react'; import { throttle } from 'lodash'; import { useEditorReadContext, useServicesContext } from '../contexts'; diff --git a/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/index.ts b/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/index.ts index e26fbca11922..a4df3545f134 100644 --- a/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/index.ts +++ b/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { useSendCurrentRequestToOpenSearch } from './use_send_current_request_to_opensearch'; diff --git a/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/send_request_to_opensearch.ts b/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/send_request_to_opensearch.ts index 309b36d13634..a74ab610a67c 100644 --- a/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/send_request_to_opensearch.ts +++ b/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/send_request_to_opensearch.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { extractDeprecationMessages } from '../../../lib/utils'; import { XJson } from '../../../../../opensearch_ui_shared/public'; const { collapseLiteralStrings } = XJson; diff --git a/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/track.ts b/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/track.ts index aaceb2626636..e10c82b4f7c6 100644 --- a/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/track.ts +++ b/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/track.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SenseEditor } from '../../models/sense_editor'; import { getEndpointFromPosition } from '../../../lib/autocomplete/get_endpoint_from_position'; import { MetricsTracker } from '../../../types'; diff --git a/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/use_send_current_request_to_opensearch.test.tsx b/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/use_send_current_request_to_opensearch.test.tsx index 2a47ea0a17b7..cc7be7e444f0 100644 --- a/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/use_send_current_request_to_opensearch.test.tsx +++ b/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/use_send_current_request_to_opensearch.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('./send_request_to_opensearch', () => ({ sendRequestToOpenSearch: jest.fn() })); jest.mock('../../contexts/editor_context/editor_registry', () => ({ instance: { getInputEditor: jest.fn() }, diff --git a/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/use_send_current_request_to_opensearch.ts b/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/use_send_current_request_to_opensearch.ts index bd57095e08f9..e5c9e7f2d2d1 100644 --- a/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/use_send_current_request_to_opensearch.ts +++ b/src/plugins/console/public/application/hooks/use_send_current_request_to_opensearch/use_send_current_request_to_opensearch.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; import { useCallback } from 'react'; import { instance as registry } from '../../contexts/editor_context/editor_registry'; diff --git a/src/plugins/console/public/application/hooks/use_set_input_editor.ts b/src/plugins/console/public/application/hooks/use_set_input_editor.ts index 9f2f889507cb..fe62d4604d55 100644 --- a/src/plugins/console/public/application/hooks/use_set_input_editor.ts +++ b/src/plugins/console/public/application/hooks/use_set_input_editor.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { useCallback } from 'react'; import { useEditorActionContext } from '../contexts/editor_context'; import { instance as registry } from '../contexts/editor_context/editor_registry'; diff --git a/src/plugins/console/public/application/index.tsx b/src/plugins/console/public/application/index.tsx index 1b86c950e248..51136c7805d9 100644 --- a/src/plugins/console/public/application/index.tsx +++ b/src/plugins/console/public/application/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { HttpSetup, NotificationsSetup } from 'src/core/public'; diff --git a/src/plugins/console/public/application/lib/api.ts b/src/plugins/console/public/application/lib/api.ts index 6ecf1a0d45ad..3d505015655c 100644 --- a/src/plugins/console/public/application/lib/api.ts +++ b/src/plugins/console/public/application/lib/api.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpSetup } from 'opensearch-dashboards/public'; import { OpenSearchConfigApiResponse } from '../../../common/types/api_responses'; import { sendRequest } from '../../shared_imports'; diff --git a/src/plugins/console/public/application/lib/index.ts b/src/plugins/console/public/application/lib/index.ts index ed1f7baab041..dc744ace8d33 100644 --- a/src/plugins/console/public/application/lib/index.ts +++ b/src/plugins/console/public/application/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createApi, Api } from './api'; export { createOpenSearchHostService, OpenSearchHostService } from './opensearch_host_service'; diff --git a/src/plugins/console/public/application/lib/opensearch_host_service.ts b/src/plugins/console/public/application/lib/opensearch_host_service.ts index bacffd148130..0cca109cfe6d 100644 --- a/src/plugins/console/public/application/lib/opensearch_host_service.ts +++ b/src/plugins/console/public/application/lib/opensearch_host_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Api } from './api'; /** diff --git a/src/plugins/console/public/application/models/index.ts b/src/plugins/console/public/application/models/index.ts index fb30ae052721..0f4d135310bc 100644 --- a/src/plugins/console/public/application/models/index.ts +++ b/src/plugins/console/public/application/models/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './legacy_core_editor/legacy_core_editor'; export * from './sense_editor'; diff --git a/src/plugins/console/public/application/models/legacy_core_editor/__tests__/input.test.js b/src/plugins/console/public/application/models/legacy_core_editor/__tests__/input.test.js index 9f898236408a..7accc948e6cd 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/__tests__/input.test.js +++ b/src/plugins/console/public/application/models/legacy_core_editor/__tests__/input.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import '../legacy_core_editor.test.mocks'; import RowParser from '../../../../lib/row_parser'; import { createTokenIterator } from '../../../factories'; diff --git a/src/plugins/console/public/application/models/legacy_core_editor/__tests__/output_tokenization.test.js b/src/plugins/console/public/application/models/legacy_core_editor/__tests__/output_tokenization.test.js index 5014c24a6323..4973011a2aaa 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/__tests__/output_tokenization.test.js +++ b/src/plugins/console/public/application/models/legacy_core_editor/__tests__/output_tokenization.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import '../legacy_core_editor.test.mocks'; import $ from 'jquery'; import RowParser from '../../../../lib/row_parser'; diff --git a/src/plugins/console/public/application/models/legacy_core_editor/create.ts b/src/plugins/console/public/application/models/legacy_core_editor/create.ts index e81594be797a..351cb1a683b3 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/create.ts +++ b/src/plugins/console/public/application/models/legacy_core_editor/create.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import ace from 'brace'; import { LegacyCoreEditor } from './legacy_core_editor'; diff --git a/src/plugins/console/public/application/models/legacy_core_editor/create_readonly.ts b/src/plugins/console/public/application/models/legacy_core_editor/create_readonly.ts index 5552d3afc34c..aa3d9a26fd16 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/create_readonly.ts +++ b/src/plugins/console/public/application/models/legacy_core_editor/create_readonly.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import ace from 'brace'; // @ts-ignore diff --git a/src/plugins/console/public/application/models/legacy_core_editor/index.ts b/src/plugins/console/public/application/models/legacy_core_editor/index.ts index 965f72a8033d..e028108d904f 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/index.ts +++ b/src/plugins/console/public/application/models/legacy_core_editor/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import 'brace'; import 'brace/ext/language_tools'; import 'brace/ext/searchbox'; diff --git a/src/plugins/console/public/application/models/legacy_core_editor/legacy_core_editor.test.mocks.ts b/src/plugins/console/public/application/models/legacy_core_editor/legacy_core_editor.test.mocks.ts index 321f081048dc..6322c66dadec 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/legacy_core_editor.test.mocks.ts +++ b/src/plugins/console/public/application/models/legacy_core_editor/legacy_core_editor.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('./mode/worker', () => { return { workerModule: { id: 'sense_editor/mode/worker', src: '' } }; }); diff --git a/src/plugins/console/public/application/models/legacy_core_editor/legacy_core_editor.ts b/src/plugins/console/public/application/models/legacy_core_editor/legacy_core_editor.ts index 5b0b6ef7bb24..55ee5fe2a343 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/legacy_core_editor.ts +++ b/src/plugins/console/public/application/models/legacy_core_editor/legacy_core_editor.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import ace from 'brace'; import { Editor as IAceEditor, IEditSession as IAceEditSession } from 'brace'; import $ from 'jquery'; diff --git a/src/plugins/console/public/application/models/legacy_core_editor/mode/input.js b/src/plugins/console/public/application/models/legacy_core_editor/mode/input.js index 31a4ef0be54d..2da41f5e6eed 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/mode/input.js +++ b/src/plugins/console/public/application/models/legacy_core_editor/mode/input.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import ace from 'brace'; import { workerModule } from './worker'; import { ScriptMode } from './script'; diff --git a/src/plugins/console/public/application/models/legacy_core_editor/mode/input_highlight_rules.js b/src/plugins/console/public/application/models/legacy_core_editor/mode/input_highlight_rules.js index 49305428be20..a93ed0e4f434 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/mode/input_highlight_rules.js +++ b/src/plugins/console/public/application/models/legacy_core_editor/mode/input_highlight_rules.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import ace from 'brace'; import { addXJsonToRules } from '@osd/ace'; diff --git a/src/plugins/console/public/application/models/legacy_core_editor/mode/output.js b/src/plugins/console/public/application/models/legacy_core_editor/mode/output.js index 38d115c017f3..3828f75e5120 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/mode/output.js +++ b/src/plugins/console/public/application/models/legacy_core_editor/mode/output.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import ace from 'brace'; import { OutputJsonHighlightRules } from './output_highlight_rules'; diff --git a/src/plugins/console/public/application/models/legacy_core_editor/mode/output_highlight_rules.js b/src/plugins/console/public/application/models/legacy_core_editor/mode/output_highlight_rules.js index 657a76f1668b..f339cadb7396 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/mode/output_highlight_rules.js +++ b/src/plugins/console/public/application/models/legacy_core_editor/mode/output_highlight_rules.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import ace from 'brace'; import 'brace/mode/json'; import { addXJsonToRules } from '@osd/ace'; diff --git a/src/plugins/console/public/application/models/legacy_core_editor/mode/script.js b/src/plugins/console/public/application/models/legacy_core_editor/mode/script.js index 590fea2f9d40..d3aa7a3a03fb 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/mode/script.js +++ b/src/plugins/console/public/application/models/legacy_core_editor/mode/script.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import ace from 'brace'; import { ScriptHighlightRules } from '@osd/ace'; diff --git a/src/plugins/console/public/application/models/legacy_core_editor/mode/worker/index.d.ts b/src/plugins/console/public/application/models/legacy_core_editor/mode/worker/index.d.ts index 990bf6734554..4be14874b80b 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/mode/worker/index.d.ts +++ b/src/plugins/console/public/application/models/legacy_core_editor/mode/worker/index.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export declare const workerModule: { id: string; src: string }; diff --git a/src/plugins/console/public/application/models/legacy_core_editor/mode/worker/index.js b/src/plugins/console/public/application/models/legacy_core_editor/mode/worker/index.js index 3ce16dba1208..ff7932a05ca3 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/mode/worker/index.js +++ b/src/plugins/console/public/application/models/legacy_core_editor/mode/worker/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import src from '!!raw-loader!./worker.js'; export const workerModule = { diff --git a/src/plugins/console/public/application/models/legacy_core_editor/mode/worker/worker.js b/src/plugins/console/public/application/models/legacy_core_editor/mode/worker/worker.js index 2d8484823c45..1f4633ab2a15 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/mode/worker/worker.js +++ b/src/plugins/console/public/application/models/legacy_core_editor/mode/worker/worker.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* @notice * * This product includes code that is based on Ace editor, which was available diff --git a/src/plugins/console/public/application/models/legacy_core_editor/smart_resize.ts b/src/plugins/console/public/application/models/legacy_core_editor/smart_resize.ts index c604532c399a..4217fcb40cc2 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/smart_resize.ts +++ b/src/plugins/console/public/application/models/legacy_core_editor/smart_resize.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, throttle } from 'lodash'; // eslint-disable-next-line import/no-default-export diff --git a/src/plugins/console/public/application/models/legacy_core_editor/theme_sense_dark.js b/src/plugins/console/public/application/models/legacy_core_editor/theme_sense_dark.js index 6ac9255d3a60..6303e616a788 100644 --- a/src/plugins/console/public/application/models/legacy_core_editor/theme_sense_dark.js +++ b/src/plugins/console/public/application/models/legacy_core_editor/theme_sense_dark.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint import/no-unresolved: 0 */ import ace from 'brace'; diff --git a/src/plugins/console/public/application/models/sense_editor/__tests__/integration.test.js b/src/plugins/console/public/application/models/sense_editor/__tests__/integration.test.js index 51cf20ca794b..cf6df4d31b06 100644 --- a/src/plugins/console/public/application/models/sense_editor/__tests__/integration.test.js +++ b/src/plugins/console/public/application/models/sense_editor/__tests__/integration.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import '../sense_editor.test.mocks'; import { create } from '../create'; import _ from 'lodash'; diff --git a/src/plugins/console/public/application/models/sense_editor/__tests__/sense_editor.test.js b/src/plugins/console/public/application/models/sense_editor/__tests__/sense_editor.test.js index edf7b9a643e8..18d798c28c94 100644 --- a/src/plugins/console/public/application/models/sense_editor/__tests__/sense_editor.test.js +++ b/src/plugins/console/public/application/models/sense_editor/__tests__/sense_editor.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import '../sense_editor.test.mocks'; import $ from 'jquery'; diff --git a/src/plugins/console/public/application/models/sense_editor/create.ts b/src/plugins/console/public/application/models/sense_editor/create.ts index 56de4fcc8425..9e2509c2ef25 100644 --- a/src/plugins/console/public/application/models/sense_editor/create.ts +++ b/src/plugins/console/public/application/models/sense_editor/create.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SenseEditor } from './sense_editor'; import * as core from '../legacy_core_editor'; diff --git a/src/plugins/console/public/application/models/sense_editor/curl.ts b/src/plugins/console/public/application/models/sense_editor/curl.ts index aa62b9a25876..a2e0366758f2 100644 --- a/src/plugins/console/public/application/models/sense_editor/curl.ts +++ b/src/plugins/console/public/application/models/sense_editor/curl.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - function detectCURLinLine(line: string) { // returns true if text matches a curl request return line.match(/^\s*?curl\s+(-X[A-Z]+)?\s*['"]?.*?['"]?(\s*$|\s+?-d\s*?['"])/); diff --git a/src/plugins/console/public/application/models/sense_editor/index.ts b/src/plugins/console/public/application/models/sense_editor/index.ts index 40c2a30674f7..bd4b87e87466 100644 --- a/src/plugins/console/public/application/models/sense_editor/index.ts +++ b/src/plugins/console/public/application/models/sense_editor/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './create'; export * from '../legacy_core_editor/create_readonly'; export { MODE } from '../../../lib/row_parser'; diff --git a/src/plugins/console/public/application/models/sense_editor/sense_editor.test.mocks.ts b/src/plugins/console/public/application/models/sense_editor/sense_editor.test.mocks.ts index bb7b3eec8949..6474fcb0ec9d 100644 --- a/src/plugins/console/public/application/models/sense_editor/sense_editor.test.mocks.ts +++ b/src/plugins/console/public/application/models/sense_editor/sense_editor.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ /* eslint no-undef: 0 */ import '../legacy_core_editor/legacy_core_editor.test.mocks'; diff --git a/src/plugins/console/public/application/models/sense_editor/sense_editor.ts b/src/plugins/console/public/application/models/sense_editor/sense_editor.ts index 890795bbf22a..6ea51d25f78e 100644 --- a/src/plugins/console/public/application/models/sense_editor/sense_editor.ts +++ b/src/plugins/console/public/application/models/sense_editor/sense_editor.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import RowParser from '../../../lib/row_parser'; import { XJson } from '../../../../../opensearch_ui_shared/public'; diff --git a/src/plugins/console/public/application/stores/editor.ts b/src/plugins/console/public/application/stores/editor.ts index 23d25f21444b..4d81cb4745ae 100644 --- a/src/plugins/console/public/application/stores/editor.ts +++ b/src/plugins/console/public/application/stores/editor.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Reducer } from 'react'; import { produce } from 'immer'; import { identity } from 'fp-ts/lib/function'; diff --git a/src/plugins/console/public/application/stores/request.ts b/src/plugins/console/public/application/stores/request.ts index 1bd34f4106fa..fc7752cbd757 100644 --- a/src/plugins/console/public/application/stores/request.ts +++ b/src/plugins/console/public/application/stores/request.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Reducer } from 'react'; import { produce } from 'immer'; import { identity } from 'fp-ts/lib/function'; diff --git a/src/plugins/console/public/index.ts b/src/plugins/console/public/index.ts index 135d127dd652..10ec5a72769a 100644 --- a/src/plugins/console/public/index.ts +++ b/src/plugins/console/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index.scss'; import { ConsoleUIPlugin } from './plugin'; diff --git a/src/plugins/console/public/lib/ace_token_provider/index.ts b/src/plugins/console/public/lib/ace_token_provider/index.ts index 9f52bba520ae..3a02f67562b8 100644 --- a/src/plugins/console/public/lib/ace_token_provider/index.ts +++ b/src/plugins/console/public/lib/ace_token_provider/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './token_provider'; diff --git a/src/plugins/console/public/lib/ace_token_provider/token_provider.test.ts b/src/plugins/console/public/lib/ace_token_provider/token_provider.test.ts index f3204ee86fa0..55c18381cb9c 100644 --- a/src/plugins/console/public/lib/ace_token_provider/token_provider.test.ts +++ b/src/plugins/console/public/lib/ace_token_provider/token_provider.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import '../../application/models/sense_editor/sense_editor.test.mocks'; import $ from 'jquery'; diff --git a/src/plugins/console/public/lib/ace_token_provider/token_provider.ts b/src/plugins/console/public/lib/ace_token_provider/token_provider.ts index 84e4811d660d..65254d49d95e 100644 --- a/src/plugins/console/public/lib/ace_token_provider/token_provider.ts +++ b/src/plugins/console/public/lib/ace_token_provider/token_provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IEditSession, TokenInfo as BraceTokenInfo } from 'brace'; import { TokensProvider, Token, Position } from '../../types'; diff --git a/src/plugins/console/public/lib/autocomplete/__jest__/url_autocomplete.test.js b/src/plugins/console/public/lib/autocomplete/__jest__/url_autocomplete.test.js index d2482a73f6f7..111954917140 100644 --- a/src/plugins/console/public/lib/autocomplete/__jest__/url_autocomplete.test.js +++ b/src/plugins/console/public/lib/autocomplete/__jest__/url_autocomplete.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { URL_PATH_END_MARKER, diff --git a/src/plugins/console/public/lib/autocomplete/__jest__/url_params.test.js b/src/plugins/console/public/lib/autocomplete/__jest__/url_params.test.js index b270d1a3c551..d7ddc622a9b1 100644 --- a/src/plugins/console/public/lib/autocomplete/__jest__/url_params.test.js +++ b/src/plugins/console/public/lib/autocomplete/__jest__/url_params.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import _ from 'lodash'; import { UrlParams } from '../../autocomplete/url_params'; import { populateContext } from '../../autocomplete/engine'; diff --git a/src/plugins/console/public/lib/autocomplete/autocomplete.ts b/src/plugins/console/public/lib/autocomplete/autocomplete.ts index 43fb6a031b2b..427578b0f8e0 100644 --- a/src/plugins/console/public/lib/autocomplete/autocomplete.ts +++ b/src/plugins/console/public/lib/autocomplete/autocomplete.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/console/public/lib/autocomplete/body_completer.js b/src/plugins/console/public/lib/autocomplete/body_completer.js index c6683f7821e8..1fc899033d4c 100644 --- a/src/plugins/console/public/lib/autocomplete/body_completer.js +++ b/src/plugins/console/public/lib/autocomplete/body_completer.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { WalkingState, walkTokenPath, wrapComponentWithDefaults } from './engine'; import { diff --git a/src/plugins/console/public/lib/autocomplete/components/accept_endpoint_component.js b/src/plugins/console/public/lib/autocomplete/components/accept_endpoint_component.js index e8d6827ca617..1584e2e3ce00 100644 --- a/src/plugins/console/public/lib/autocomplete/components/accept_endpoint_component.js +++ b/src/plugins/console/public/lib/autocomplete/components/accept_endpoint_component.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import _ from 'lodash'; import { SharedComponent } from './shared_component'; export const URL_PATH_END_MARKER = '__url_path_end__'; diff --git a/src/plugins/console/public/lib/autocomplete/components/autocomplete_component.js b/src/plugins/console/public/lib/autocomplete/components/autocomplete_component.js index 82fc895b660d..8febcc9f6b5c 100644 --- a/src/plugins/console/public/lib/autocomplete/components/autocomplete_component.js +++ b/src/plugins/console/public/lib/autocomplete/components/autocomplete_component.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export class AutocompleteComponent { constructor(name) { this.name = name; diff --git a/src/plugins/console/public/lib/autocomplete/components/conditional_proxy.js b/src/plugins/console/public/lib/autocomplete/components/conditional_proxy.js index 15f7194c452d..ca5202c1b96f 100644 --- a/src/plugins/console/public/lib/autocomplete/components/conditional_proxy.js +++ b/src/plugins/console/public/lib/autocomplete/components/conditional_proxy.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SharedComponent } from './shared_component'; export class ConditionalProxy extends SharedComponent { constructor(predicate, delegate) { diff --git a/src/plugins/console/public/lib/autocomplete/components/constant_component.js b/src/plugins/console/public/lib/autocomplete/components/constant_component.js index 0af9b713748b..54be1a91ae3d 100644 --- a/src/plugins/console/public/lib/autocomplete/components/constant_component.js +++ b/src/plugins/console/public/lib/autocomplete/components/constant_component.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { SharedComponent } from './shared_component'; export class ConstantComponent extends SharedComponent { diff --git a/src/plugins/console/public/lib/autocomplete/components/field_autocomplete_component.js b/src/plugins/console/public/lib/autocomplete/components/field_autocomplete_component.js index 3479ed4edfdd..f29229aae7a3 100644 --- a/src/plugins/console/public/lib/autocomplete/components/field_autocomplete_component.js +++ b/src/plugins/console/public/lib/autocomplete/components/field_autocomplete_component.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import _ from 'lodash'; import { getFields } from '../../mappings/mappings'; import { ListComponent } from './list_component'; diff --git a/src/plugins/console/public/lib/autocomplete/components/full_request_component.ts b/src/plugins/console/public/lib/autocomplete/components/full_request_component.ts index 401126146307..cc44fc3360b7 100644 --- a/src/plugins/console/public/lib/autocomplete/components/full_request_component.ts +++ b/src/plugins/console/public/lib/autocomplete/components/full_request_component.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore import { ConstantComponent } from './constant_component'; diff --git a/src/plugins/console/public/lib/autocomplete/components/global_only_component.js b/src/plugins/console/public/lib/autocomplete/components/global_only_component.js index 79d787d60554..b65cbfaa699a 100644 --- a/src/plugins/console/public/lib/autocomplete/components/global_only_component.js +++ b/src/plugins/console/public/lib/autocomplete/components/global_only_component.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SharedComponent } from './shared_component'; export class GlobalOnlyComponent extends SharedComponent { getTerms() { diff --git a/src/plugins/console/public/lib/autocomplete/components/id_autocomplete_component.js b/src/plugins/console/public/lib/autocomplete/components/id_autocomplete_component.js index b8e6f739ac14..18527d89dde4 100644 --- a/src/plugins/console/public/lib/autocomplete/components/id_autocomplete_component.js +++ b/src/plugins/console/public/lib/autocomplete/components/id_autocomplete_component.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { SharedComponent } from './shared_component'; export class IdAutocompleteComponent extends SharedComponent { diff --git a/src/plugins/console/public/lib/autocomplete/components/index.js b/src/plugins/console/public/lib/autocomplete/components/index.js index e67b276827f5..55d70609eea8 100644 --- a/src/plugins/console/public/lib/autocomplete/components/index.js +++ b/src/plugins/console/public/lib/autocomplete/components/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { AutocompleteComponent } from './autocomplete_component'; export { SharedComponent } from './shared_component'; export { ConstantComponent } from './constant_component'; diff --git a/src/plugins/console/public/lib/autocomplete/components/index_autocomplete_component.js b/src/plugins/console/public/lib/autocomplete/components/index_autocomplete_component.js index 5384b30ec365..dffa5003f11d 100644 --- a/src/plugins/console/public/lib/autocomplete/components/index_autocomplete_component.js +++ b/src/plugins/console/public/lib/autocomplete/components/index_autocomplete_component.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import _ from 'lodash'; import { getIndices } from '../../mappings/mappings'; import { ListComponent } from './list_component'; diff --git a/src/plugins/console/public/lib/autocomplete/components/list_component.js b/src/plugins/console/public/lib/autocomplete/components/list_component.js index c38a669e8267..c3eb08226ee3 100644 --- a/src/plugins/console/public/lib/autocomplete/components/list_component.js +++ b/src/plugins/console/public/lib/autocomplete/components/list_component.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { SharedComponent } from './shared_component'; /** A component that suggests one of the give options, but accepts anything */ diff --git a/src/plugins/console/public/lib/autocomplete/components/object_component.js b/src/plugins/console/public/lib/autocomplete/components/object_component.js index c590ca3ded37..f979767ab244 100644 --- a/src/plugins/console/public/lib/autocomplete/components/object_component.js +++ b/src/plugins/console/public/lib/autocomplete/components/object_component.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { SharedComponent } from './index'; /** diff --git a/src/plugins/console/public/lib/autocomplete/components/shared_component.js b/src/plugins/console/public/lib/autocomplete/components/shared_component.js index 800188acd156..f974e0d84ecb 100644 --- a/src/plugins/console/public/lib/autocomplete/components/shared_component.js +++ b/src/plugins/console/public/lib/autocomplete/components/shared_component.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import _ from 'lodash'; import { AutocompleteComponent } from './autocomplete_component'; export class SharedComponent extends AutocompleteComponent { diff --git a/src/plugins/console/public/lib/autocomplete/components/simple_param_component.js b/src/plugins/console/public/lib/autocomplete/components/simple_param_component.js index aaf6b837dd9a..46853466a51d 100644 --- a/src/plugins/console/public/lib/autocomplete/components/simple_param_component.js +++ b/src/plugins/console/public/lib/autocomplete/components/simple_param_component.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SharedComponent } from './shared_component'; export class SimpleParamComponent extends SharedComponent { constructor(name, parent) { diff --git a/src/plugins/console/public/lib/autocomplete/components/template_autocomplete_component.js b/src/plugins/console/public/lib/autocomplete/components/template_autocomplete_component.js index 4b42bbeabd6a..b258e6a259b5 100644 --- a/src/plugins/console/public/lib/autocomplete/components/template_autocomplete_component.js +++ b/src/plugins/console/public/lib/autocomplete/components/template_autocomplete_component.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { getTemplates } from '../../mappings/mappings'; import { ListComponent } from './list_component'; diff --git a/src/plugins/console/public/lib/autocomplete/components/type_autocomplete_component.js b/src/plugins/console/public/lib/autocomplete/components/type_autocomplete_component.js index 2f0f8b52fe14..8a70b6af5fd3 100644 --- a/src/plugins/console/public/lib/autocomplete/components/type_autocomplete_component.js +++ b/src/plugins/console/public/lib/autocomplete/components/type_autocomplete_component.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import _ from 'lodash'; import { ListComponent } from './list_component'; import { getTypes } from '../../mappings/mappings'; diff --git a/src/plugins/console/public/lib/autocomplete/components/url_pattern_matcher.js b/src/plugins/console/public/lib/autocomplete/components/url_pattern_matcher.js index 6d04439c1ee3..0c7b52eb23e7 100644 --- a/src/plugins/console/public/lib/autocomplete/components/url_pattern_matcher.js +++ b/src/plugins/console/public/lib/autocomplete/components/url_pattern_matcher.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import _ from 'lodash'; import { SharedComponent, diff --git a/src/plugins/console/public/lib/autocomplete/components/username_autocomplete_component.js b/src/plugins/console/public/lib/autocomplete/components/username_autocomplete_component.js index a0d4d58991ff..80e89fbeaeeb 100644 --- a/src/plugins/console/public/lib/autocomplete/components/username_autocomplete_component.js +++ b/src/plugins/console/public/lib/autocomplete/components/username_autocomplete_component.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import _ from 'lodash'; import { getIndices } from '../../mappings/mappings'; import { ListComponent } from './list_component'; diff --git a/src/plugins/console/public/lib/autocomplete/engine.js b/src/plugins/console/public/lib/autocomplete/engine.js index e60a80724be3..5c4cb8088512 100644 --- a/src/plugins/console/public/lib/autocomplete/engine.js +++ b/src/plugins/console/public/lib/autocomplete/engine.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export function wrapComponentWithDefaults(component, defaults) { diff --git a/src/plugins/console/public/lib/autocomplete/get_endpoint_from_position.ts b/src/plugins/console/public/lib/autocomplete/get_endpoint_from_position.ts index dcd5d6876083..b3271600ebae 100644 --- a/src/plugins/console/public/lib/autocomplete/get_endpoint_from_position.ts +++ b/src/plugins/console/public/lib/autocomplete/get_endpoint_from_position.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreEditor, Position } from '../../types'; import { getCurrentMethodAndTokenPaths } from './autocomplete'; diff --git a/src/plugins/console/public/lib/autocomplete/url_params.js b/src/plugins/console/public/lib/autocomplete/url_params.js index 09414a93da2e..4d16148db483 100644 --- a/src/plugins/console/public/lib/autocomplete/url_params.js +++ b/src/plugins/console/public/lib/autocomplete/url_params.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { ConstantComponent, ListComponent, SharedComponent } from './components'; diff --git a/src/plugins/console/public/lib/curl_parsing/__tests__/curl_parsing.test.js b/src/plugins/console/public/lib/curl_parsing/__tests__/curl_parsing.test.js index 7483d51e77ac..dca1b4e3ace7 100644 --- a/src/plugins/console/public/lib/curl_parsing/__tests__/curl_parsing.test.js +++ b/src/plugins/console/public/lib/curl_parsing/__tests__/curl_parsing.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { detectCURL, parseCURL } from '../curl'; import curlTests from './curl_parsing.txt'; diff --git a/src/plugins/console/public/lib/curl_parsing/curl.js b/src/plugins/console/public/lib/curl_parsing/curl.js index 664970dd0d7f..0f5f4c597c6b 100644 --- a/src/plugins/console/public/lib/curl_parsing/curl.js +++ b/src/plugins/console/public/lib/curl_parsing/curl.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - function detectCURLinLine(line) { // returns true if text matches a curl request return line.match(/^\s*?curl\s+(-X[A-Z]+)?\s*['"]?.*?['"]?(\s*$|\s+?-d\s*?['"])/); diff --git a/src/plugins/console/public/lib/local_storage_object_client/create.ts b/src/plugins/console/public/lib/local_storage_object_client/create.ts index 5c0565b89983..36d8d1248c1b 100644 --- a/src/plugins/console/public/lib/local_storage_object_client/create.ts +++ b/src/plugins/console/public/lib/local_storage_object_client/create.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Storage } from '../../services'; import { ObjectStorageClient } from '../../../common/types'; import { TextObject, textObjectTypeName } from '../../../common/text_object'; diff --git a/src/plugins/console/public/lib/local_storage_object_client/index.ts b/src/plugins/console/public/lib/local_storage_object_client/index.ts index c93bcf29f5b9..26eba7f970a9 100644 --- a/src/plugins/console/public/lib/local_storage_object_client/index.ts +++ b/src/plugins/console/public/lib/local_storage_object_client/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { create } from './create'; export { LocalObjectStorage } from './local_storage_object_client'; diff --git a/src/plugins/console/public/lib/local_storage_object_client/local_storage_object_client.ts b/src/plugins/console/public/lib/local_storage_object_client/local_storage_object_client.ts index b614a035fee4..f451ba3b338e 100644 --- a/src/plugins/console/public/lib/local_storage_object_client/local_storage_object_client.ts +++ b/src/plugins/console/public/lib/local_storage_object_client/local_storage_object_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import uuid from 'uuid'; import { ObjectStorage, IdObject } from '../../../common/types'; import { Storage } from '../../services'; diff --git a/src/plugins/console/public/lib/mappings/__tests__/mapping.test.js b/src/plugins/console/public/lib/mappings/__tests__/mapping.test.js index 208bbdbf32af..4c0b88d21c0b 100644 --- a/src/plugins/console/public/lib/mappings/__tests__/mapping.test.js +++ b/src/plugins/console/public/lib/mappings/__tests__/mapping.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import '../../../application/models/sense_editor/sense_editor.test.mocks'; import * as mappings from '../mappings'; diff --git a/src/plugins/console/public/lib/mappings/mappings.js b/src/plugins/console/public/lib/mappings/mappings.js index af5cd696b848..4d445651b0cd 100644 --- a/src/plugins/console/public/lib/mappings/mappings.js +++ b/src/plugins/console/public/lib/mappings/mappings.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; import _ from 'lodash'; import * as opensearch from '../opensearch/opensearch'; diff --git a/src/plugins/console/public/lib/opensearch/__tests__/content_type.test.js b/src/plugins/console/public/lib/opensearch/__tests__/content_type.test.js index fbbc2b2ce878..324d9477a302 100644 --- a/src/plugins/console/public/lib/opensearch/__tests__/content_type.test.js +++ b/src/plugins/console/public/lib/opensearch/__tests__/content_type.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getContentType } from '../opensearch'; const APPLICATION_JSON = 'application/json'; diff --git a/src/plugins/console/public/lib/opensearch/index.ts b/src/plugins/console/public/lib/opensearch/index.ts index fc985cd6f81f..57ecb9bf87b6 100644 --- a/src/plugins/console/public/lib/opensearch/index.ts +++ b/src/plugins/console/public/lib/opensearch/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { send, constructOpenSearchUrl, getContentType, getVersion } from './opensearch'; diff --git a/src/plugins/console/public/lib/opensearch/opensearch.ts b/src/plugins/console/public/lib/opensearch/opensearch.ts index 5f5726446fdc..3360d0108c12 100644 --- a/src/plugins/console/public/lib/opensearch/opensearch.ts +++ b/src/plugins/console/public/lib/opensearch/opensearch.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; import { stringify } from 'query-string'; diff --git a/src/plugins/console/public/lib/osd/__tests__/kb.test.js b/src/plugins/console/public/lib/osd/__tests__/kb.test.js index 2a9a150601dd..ea26de73386c 100644 --- a/src/plugins/console/public/lib/osd/__tests__/kb.test.js +++ b/src/plugins/console/public/lib/osd/__tests__/kb.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { populateContext } from '../../autocomplete/engine'; diff --git a/src/plugins/console/public/lib/osd/api.js b/src/plugins/console/public/lib/osd/api.js index 3e4d67c09a80..7e0bc2749b75 100644 --- a/src/plugins/console/public/lib/osd/api.js +++ b/src/plugins/console/public/lib/osd/api.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { UrlPatternMatcher } from '../autocomplete/components'; import { UrlParams } from '../autocomplete/url_params'; diff --git a/src/plugins/console/public/lib/osd/index.js b/src/plugins/console/public/lib/osd/index.js index 169630a13868..4c2226240ebc 100644 --- a/src/plugins/console/public/lib/osd/index.js +++ b/src/plugins/console/public/lib/osd/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './osd'; diff --git a/src/plugins/console/public/lib/osd/osd.js b/src/plugins/console/public/lib/osd/osd.js index 51be62451d0d..cf6d2e03ad1c 100644 --- a/src/plugins/console/public/lib/osd/osd.js +++ b/src/plugins/console/public/lib/osd/osd.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { TypeAutocompleteComponent, IdAutocompleteComponent, diff --git a/src/plugins/console/public/lib/row_parser.ts b/src/plugins/console/public/lib/row_parser.ts index eb0c6e4c0125..a9d0ab9c9a88 100644 --- a/src/plugins/console/public/lib/row_parser.ts +++ b/src/plugins/console/public/lib/row_parser.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreEditor, Token } from '../types'; import { TokenIterator } from './token_iterator'; diff --git a/src/plugins/console/public/lib/token_iterator/index.ts b/src/plugins/console/public/lib/token_iterator/index.ts index 88c9c88d769a..91493ae9a977 100644 --- a/src/plugins/console/public/lib/token_iterator/index.ts +++ b/src/plugins/console/public/lib/token_iterator/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { TokenIterator } from './token_iterator'; diff --git a/src/plugins/console/public/lib/token_iterator/token_iterator.test.ts b/src/plugins/console/public/lib/token_iterator/token_iterator.test.ts index 5a80a22b0c06..0463ad354138 100644 --- a/src/plugins/console/public/lib/token_iterator/token_iterator.test.ts +++ b/src/plugins/console/public/lib/token_iterator/token_iterator.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TokenIterator } from './token_iterator'; import { Position, Token, TokensProvider } from '../../types'; diff --git a/src/plugins/console/public/lib/token_iterator/token_iterator.ts b/src/plugins/console/public/lib/token_iterator/token_iterator.ts index a6adf6880bf2..9d2bde5b324f 100644 --- a/src/plugins/console/public/lib/token_iterator/token_iterator.ts +++ b/src/plugins/console/public/lib/token_iterator/token_iterator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Position, Token, TokensProvider } from '../../types'; function isColumnInTokenRange(column: number, token: Token) { diff --git a/src/plugins/console/public/lib/utils/__tests__/utils.test.js b/src/plugins/console/public/lib/utils/__tests__/utils.test.js index b9bcaf547bd8..7f5f0c0de53f 100644 --- a/src/plugins/console/public/lib/utils/__tests__/utils.test.js +++ b/src/plugins/console/public/lib/utils/__tests__/utils.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as utils from '../'; describe('Utils class', () => { diff --git a/src/plugins/console/public/lib/utils/index.ts b/src/plugins/console/public/lib/utils/index.ts index 6c5567075281..93a0688ae725 100644 --- a/src/plugins/console/public/lib/utils/index.ts +++ b/src/plugins/console/public/lib/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { XJson } from '../../../../opensearch_ui_shared/public'; diff --git a/src/plugins/console/public/plugin.ts b/src/plugins/console/public/plugin.ts index 3cd4d9d57c8c..8e8e532eae84 100644 --- a/src/plugins/console/public/plugin.ts +++ b/src/plugins/console/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Plugin, CoreSetup } from 'src/core/public'; diff --git a/src/plugins/console/public/services/history.mock.ts b/src/plugins/console/public/services/history.mock.ts index 271f85112002..5b05c72f0f5f 100644 --- a/src/plugins/console/public/services/history.mock.ts +++ b/src/plugins/console/public/services/history.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { History } from './history'; export class HistoryMock extends History { diff --git a/src/plugins/console/public/services/history.ts b/src/plugins/console/public/services/history.ts index 42060f1040c7..cabb27d2e0db 100644 --- a/src/plugins/console/public/services/history.ts +++ b/src/plugins/console/public/services/history.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { Storage } from './index'; diff --git a/src/plugins/console/public/services/index.ts b/src/plugins/console/public/services/index.ts index 63e82a6eee38..7b3e71f10188 100644 --- a/src/plugins/console/public/services/index.ts +++ b/src/plugins/console/public/services/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createHistory, History } from './history'; export { createStorage, Storage, StorageKeys } from './storage'; export { createSettings, Settings, DevToolsSettings } from './settings'; diff --git a/src/plugins/console/public/services/settings.mock.ts b/src/plugins/console/public/services/settings.mock.ts index fa0f0236cd65..73fe51bcf3d5 100644 --- a/src/plugins/console/public/services/settings.mock.ts +++ b/src/plugins/console/public/services/settings.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Settings } from './settings'; export class SettingsMock extends Settings { diff --git a/src/plugins/console/public/services/settings.ts b/src/plugins/console/public/services/settings.ts index 7b55ae052444..2645efd603dc 100644 --- a/src/plugins/console/public/services/settings.ts +++ b/src/plugins/console/public/services/settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Storage } from './index'; export interface DevToolsSettings { diff --git a/src/plugins/console/public/services/storage.mock.ts b/src/plugins/console/public/services/storage.mock.ts index da5829d8d7f4..af62565958b2 100644 --- a/src/plugins/console/public/services/storage.mock.ts +++ b/src/plugins/console/public/services/storage.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Storage } from './storage'; export class StorageMock extends Storage { diff --git a/src/plugins/console/public/services/storage.ts b/src/plugins/console/public/services/storage.ts index 587064f3300a..f143b0cefcfe 100644 --- a/src/plugins/console/public/services/storage.ts +++ b/src/plugins/console/public/services/storage.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { transform, keys, startsWith } from 'lodash'; type IStorageEngine = typeof window.localStorage; diff --git a/src/plugins/console/public/services/tracker.ts b/src/plugins/console/public/services/tracker.ts index d0fca4b9eadd..508f3a89c860 100644 --- a/src/plugins/console/public/services/tracker.ts +++ b/src/plugins/console/public/services/tracker.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { METRIC_TYPE, UiStatsMetricType } from '@osd/analytics'; import { MetricsTracker } from '../types'; import { UsageCollectionSetup } from '../../../usage_collection/public'; diff --git a/src/plugins/console/public/shared_imports.ts b/src/plugins/console/public/shared_imports.ts index 3137f1b6785d..26d6157ec82e 100644 --- a/src/plugins/console/public/shared_imports.ts +++ b/src/plugins/console/public/shared_imports.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { sendRequest, XJson } from '../../opensearch_ui_shared/public'; const { collapseLiteralStrings, expandLiteralStrings } = XJson; diff --git a/src/plugins/console/public/types/common.ts b/src/plugins/console/public/types/common.ts index 671ec50ec57b..e6ac2544c710 100644 --- a/src/plugins/console/public/types/common.ts +++ b/src/plugins/console/public/types/common.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface MetricsTracker { count: (eventName: string) => void; load: (eventName: string) => void; diff --git a/src/plugins/console/public/types/core_editor.ts b/src/plugins/console/public/types/core_editor.ts index 60b3d7cd57bb..34cf49945a75 100644 --- a/src/plugins/console/public/types/core_editor.ts +++ b/src/plugins/console/public/types/core_editor.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TokensProvider } from './tokens_provider'; import { Token } from './token'; diff --git a/src/plugins/console/public/types/index.ts b/src/plugins/console/public/types/index.ts index 22f00a9adca6..17d3db7fea56 100644 --- a/src/plugins/console/public/types/index.ts +++ b/src/plugins/console/public/types/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './plugin_dependencies'; export * from './core_editor'; export * from './token'; diff --git a/src/plugins/console/public/types/plugin_dependencies.ts b/src/plugins/console/public/types/plugin_dependencies.ts index cd2cc82dafdd..ac99b4e21e10 100644 --- a/src/plugins/console/public/types/plugin_dependencies.ts +++ b/src/plugins/console/public/types/plugin_dependencies.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { HomePublicPluginSetup } from '../../../home/public'; import { DevToolsSetup } from '../../../dev_tools/public'; import { UsageCollectionSetup } from '../../../usage_collection/public'; diff --git a/src/plugins/console/public/types/token.ts b/src/plugins/console/public/types/token.ts index 4eda88fdb079..9ea70f291912 100644 --- a/src/plugins/console/public/types/token.ts +++ b/src/plugins/console/public/types/token.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Position } from './core_editor'; export interface Token { diff --git a/src/plugins/console/public/types/tokens_provider.ts b/src/plugins/console/public/types/tokens_provider.ts index 19149c8456ec..f588b48a1007 100644 --- a/src/plugins/console/public/types/tokens_provider.ts +++ b/src/plugins/console/public/types/tokens_provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Token } from './token'; import { Position } from './core_editor'; diff --git a/src/plugins/console/server/__tests__/opensearch_proxy_config.js b/src/plugins/console/server/__tests__/opensearch_proxy_config.js index c23612105a6f..7861412faad8 100644 --- a/src/plugins/console/server/__tests__/opensearch_proxy_config.js +++ b/src/plugins/console/server/__tests__/opensearch_proxy_config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import moment from 'moment'; import { getOpenSearchProxyConfig } from '../lib/opensearch_proxy_config'; diff --git a/src/plugins/console/server/__tests__/proxy_config.js b/src/plugins/console/server/__tests__/proxy_config.js index 24e545e434b5..9f0b9bbd87d9 100644 --- a/src/plugins/console/server/__tests__/proxy_config.js +++ b/src/plugins/console/server/__tests__/proxy_config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-env mocha */ import expect from '@osd/expect'; diff --git a/src/plugins/console/server/__tests__/proxy_config_collection.js b/src/plugins/console/server/__tests__/proxy_config_collection.js index 1ac351fad6c5..c102d525b749 100644 --- a/src/plugins/console/server/__tests__/proxy_config_collection.js +++ b/src/plugins/console/server/__tests__/proxy_config_collection.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-env mocha */ import expect from '@osd/expect'; diff --git a/src/plugins/console/server/__tests__/set_headers.js b/src/plugins/console/server/__tests__/set_headers.js index fff462c95d25..b4bb3ad46592 100644 --- a/src/plugins/console/server/__tests__/set_headers.js +++ b/src/plugins/console/server/__tests__/set_headers.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { setHeaders } from '../lib'; diff --git a/src/plugins/console/server/__tests__/wildcard_matcher.js b/src/plugins/console/server/__tests__/wildcard_matcher.js index 25ec3695c153..266d16acf1f5 100644 --- a/src/plugins/console/server/__tests__/wildcard_matcher.js +++ b/src/plugins/console/server/__tests__/wildcard_matcher.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-env mocha */ import { WildcardMatcher } from '../lib/wildcard_matcher'; diff --git a/src/plugins/console/server/config.ts b/src/plugins/console/server/config.ts index acad70758cc6..1d51d09d6d48 100644 --- a/src/plugins/console/server/config.ts +++ b/src/plugins/console/server/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export type ConfigType = TypeOf; diff --git a/src/plugins/console/server/index.ts b/src/plugins/console/server/index.ts index e642c6dcab64..436d21b28b6e 100644 --- a/src/plugins/console/server/index.ts +++ b/src/plugins/console/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { PluginConfigDescriptor, PluginInitializerContext } from 'opensearch-dashboards/server'; import { ConfigType, config as configSchema } from './config'; diff --git a/src/plugins/console/server/lib/index.ts b/src/plugins/console/server/lib/index.ts index 95099d2fabc7..4d0cd45f5fa7 100644 --- a/src/plugins/console/server/lib/index.ts +++ b/src/plugins/console/server/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ProxyConfig } from './proxy_config'; export { ProxyConfigCollection } from './proxy_config_collection'; export { proxyRequest } from './proxy_request'; diff --git a/src/plugins/console/server/lib/opensearch_proxy_config.ts b/src/plugins/console/server/lib/opensearch_proxy_config.ts index 6333b3658d50..1f733ce978ea 100644 --- a/src/plugins/console/server/lib/opensearch_proxy_config.ts +++ b/src/plugins/console/server/lib/opensearch_proxy_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import http from 'http'; import https from 'https'; diff --git a/src/plugins/console/server/lib/proxy_config.ts b/src/plugins/console/server/lib/proxy_config.ts index 50f5f9648174..311046d398fb 100644 --- a/src/plugins/console/server/lib/proxy_config.ts +++ b/src/plugins/console/server/lib/proxy_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { values } from 'lodash'; import { format as formatUrl } from 'url'; import { Agent as HttpsAgent, AgentOptions } from 'https'; diff --git a/src/plugins/console/server/lib/proxy_config_collection.ts b/src/plugins/console/server/lib/proxy_config_collection.ts index a7783ab9d5f1..f288562fb19d 100644 --- a/src/plugins/console/server/lib/proxy_config_collection.ts +++ b/src/plugins/console/server/lib/proxy_config_collection.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { defaultsDeep } from 'lodash'; import { parse as parseUrl } from 'url'; diff --git a/src/plugins/console/server/lib/proxy_request.test.ts b/src/plugins/console/server/lib/proxy_request.test.ts index bd23b6b8d796..36a5eb6ac8f0 100644 --- a/src/plugins/console/server/lib/proxy_request.test.ts +++ b/src/plugins/console/server/lib/proxy_request.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import http, { ClientRequest } from 'http'; import * as sinon from 'sinon'; import { proxyRequest } from './proxy_request'; diff --git a/src/plugins/console/server/lib/proxy_request.ts b/src/plugins/console/server/lib/proxy_request.ts index 1b65af649751..e78263571c37 100644 --- a/src/plugins/console/server/lib/proxy_request.ts +++ b/src/plugins/console/server/lib/proxy_request.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import http from 'http'; import https from 'https'; import net from 'net'; diff --git a/src/plugins/console/server/lib/set_headers.ts b/src/plugins/console/server/lib/set_headers.ts index 900f65f9a248..346e9f01fffe 100644 --- a/src/plugins/console/server/lib/set_headers.ts +++ b/src/plugins/console/server/lib/set_headers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isPlainObject } from 'lodash'; export function setHeaders(originalHeaders: object, newHeaders: object) { diff --git a/src/plugins/console/server/lib/spec_definitions/index.ts b/src/plugins/console/server/lib/spec_definitions/index.ts index b6bfd680ba0d..2627850ae597 100644 --- a/src/plugins/console/server/lib/spec_definitions/index.ts +++ b/src/plugins/console/server/lib/spec_definitions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { jsSpecLoaders } from './js'; diff --git a/src/plugins/console/server/lib/spec_definitions/js/aggregations.ts b/src/plugins/console/server/lib/spec_definitions/js/aggregations.ts index 5b51fae0c739..8a719c1a3da4 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/aggregations.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/aggregations.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SpecDefinitionsService } from '../../../services'; /* eslint-disable @typescript-eslint/naming-convention */ diff --git a/src/plugins/console/server/lib/spec_definitions/js/aliases.ts b/src/plugins/console/server/lib/spec_definitions/js/aliases.ts index 4e2f3624d50c..f9f8afe1c40c 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/aliases.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/aliases.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SpecDefinitionsService } from '../../../services'; export const aliases = (specService: SpecDefinitionsService) => { diff --git a/src/plugins/console/server/lib/spec_definitions/js/document.ts b/src/plugins/console/server/lib/spec_definitions/js/document.ts index b2581970e419..8ac55337d330 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/document.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/document.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SpecDefinitionsService } from '../../../services'; export const document = (specService: SpecDefinitionsService) => { diff --git a/src/plugins/console/server/lib/spec_definitions/js/filter.ts b/src/plugins/console/server/lib/spec_definitions/js/filter.ts index faed43c75e29..7422be2a4b10 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/filter.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SpecDefinitionsService } from '../../../services'; const filters: Record = {}; diff --git a/src/plugins/console/server/lib/spec_definitions/js/globals.ts b/src/plugins/console/server/lib/spec_definitions/js/globals.ts index 440a22473f62..7bff1a4f8f61 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/globals.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/globals.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SpecDefinitionsService } from '../../../services'; const highlightOptions = { diff --git a/src/plugins/console/server/lib/spec_definitions/js/index.ts b/src/plugins/console/server/lib/spec_definitions/js/index.ts index 6e33b2c2ba92..4482e2462f67 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/index.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SpecDefinitionsService } from '../../../services'; import { aggs } from './aggregations'; diff --git a/src/plugins/console/server/lib/spec_definitions/js/ingest.ts b/src/plugins/console/server/lib/spec_definitions/js/ingest.ts index 8ecb7e164954..17bd930bbd6b 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/ingest.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/ingest.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SpecDefinitionsService } from '../../../services'; const commonPipelineParams = { diff --git a/src/plugins/console/server/lib/spec_definitions/js/mappings.ts b/src/plugins/console/server/lib/spec_definitions/js/mappings.ts index 164804cd099a..66b67e6ccc2e 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/mappings.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/mappings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SpecDefinitionsService } from '../../../services'; import { BOOLEAN } from './shared'; diff --git a/src/plugins/console/server/lib/spec_definitions/js/query/dsl.ts b/src/plugins/console/server/lib/spec_definitions/js/query/dsl.ts index 0c4db63ccb57..0a35d3fd1651 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/query/dsl.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/query/dsl.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { SpecDefinitionsService } from '../../../../services'; diff --git a/src/plugins/console/server/lib/spec_definitions/js/query/index.ts b/src/plugins/console/server/lib/spec_definitions/js/query/index.ts index a4f09961760f..685b7db61dff 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/query/index.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/query/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { query } from './dsl'; diff --git a/src/plugins/console/server/lib/spec_definitions/js/query/templates.ts b/src/plugins/console/server/lib/spec_definitions/js/query/templates.ts index f825499567ea..e11a23231bf3 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/query/templates.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/query/templates.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const regexpTemplate = { FIELD: 'REGEXP', }; diff --git a/src/plugins/console/server/lib/spec_definitions/js/reindex.ts b/src/plugins/console/server/lib/spec_definitions/js/reindex.ts index bbdc2c199962..bb0b738a2c67 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/reindex.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/reindex.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SpecDefinitionsService } from '../../../services'; export const reindex = (specService: SpecDefinitionsService) => { diff --git a/src/plugins/console/server/lib/spec_definitions/js/search.ts b/src/plugins/console/server/lib/spec_definitions/js/search.ts index 4bdc4e6192e6..430291703b1b 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/search.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/search.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SpecDefinitionsService } from '../../../services'; export const search = (specService: SpecDefinitionsService) => { diff --git a/src/plugins/console/server/lib/spec_definitions/js/settings.ts b/src/plugins/console/server/lib/spec_definitions/js/settings.ts index 3abfb66ffac1..99cbc177225f 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/settings.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SpecDefinitionsService } from '../../../services'; import { BOOLEAN } from './shared'; diff --git a/src/plugins/console/server/lib/spec_definitions/js/shared.ts b/src/plugins/console/server/lib/spec_definitions/js/shared.ts index 995822d08163..165020015a67 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/shared.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/shared.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const BOOLEAN = Object.freeze({ __one_of: [true, false], }); diff --git a/src/plugins/console/server/lib/wildcard_matcher.ts b/src/plugins/console/server/lib/wildcard_matcher.ts index c5530eb2a34e..c38f8c47b8af 100644 --- a/src/plugins/console/server/lib/wildcard_matcher.ts +++ b/src/plugins/console/server/lib/wildcard_matcher.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Minimatch, IMinimatch } from 'minimatch'; export class WildcardMatcher { diff --git a/src/plugins/console/server/plugin.ts b/src/plugins/console/server/plugin.ts index 045beab3cee4..4c33bc1d6060 100644 --- a/src/plugins/console/server/plugin.ts +++ b/src/plugins/console/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { first } from 'rxjs/operators'; import { CoreSetup, Logger, Plugin, PluginInitializerContext } from 'opensearch-dashboards/server'; diff --git a/src/plugins/console/server/routes/api/console/opensearch_config/index.ts b/src/plugins/console/server/routes/api/console/opensearch_config/index.ts index 60e0bde9b915..a2b5f3b3e7ec 100644 --- a/src/plugins/console/server/routes/api/console/opensearch_config/index.ts +++ b/src/plugins/console/server/routes/api/console/opensearch_config/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchConfigApiResponse } from '../../../../../common/types/api_responses'; import { RouteDependencies } from '../../..'; diff --git a/src/plugins/console/server/routes/api/console/proxy/create_handler.ts b/src/plugins/console/server/routes/api/console/proxy/create_handler.ts index fa632afc010d..9f564d9c8b81 100644 --- a/src/plugins/console/server/routes/api/console/proxy/create_handler.ts +++ b/src/plugins/console/server/routes/api/console/proxy/create_handler.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Agent, IncomingMessage } from 'http'; import * as url from 'url'; import { pick, trimStart, trimEnd } from 'lodash'; diff --git a/src/plugins/console/server/routes/api/console/proxy/index.ts b/src/plugins/console/server/routes/api/console/proxy/index.ts index f35f28c81078..946033875fc4 100644 --- a/src/plugins/console/server/routes/api/console/proxy/index.ts +++ b/src/plugins/console/server/routes/api/console/proxy/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { routeValidationConfig } from './validation_config'; import { createHandler } from './create_handler'; diff --git a/src/plugins/console/server/routes/api/console/proxy/tests/body.test.ts b/src/plugins/console/server/routes/api/console/proxy/tests/body.test.ts index 506c30d1cb20..92349984dade 100644 --- a/src/plugins/console/server/routes/api/console/proxy/tests/body.test.ts +++ b/src/plugins/console/server/routes/api/console/proxy/tests/body.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { getProxyRouteHandlerDeps } from './mocks'; import expect from '@osd/expect'; diff --git a/src/plugins/console/server/routes/api/console/proxy/tests/headers.test.ts b/src/plugins/console/server/routes/api/console/proxy/tests/headers.test.ts index 39187765d50a..488d52a4fc8b 100644 --- a/src/plugins/console/server/routes/api/console/proxy/tests/headers.test.ts +++ b/src/plugins/console/server/routes/api/console/proxy/tests/headers.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ jest.mock('../../../../../../../../core/server/http/router/request', () => ({ ensureRawRequest: jest.fn(), })); diff --git a/src/plugins/console/server/routes/api/console/proxy/tests/mocks.ts b/src/plugins/console/server/routes/api/console/proxy/tests/mocks.ts index be95fe7762c9..057fa178e543 100644 --- a/src/plugins/console/server/routes/api/console/proxy/tests/mocks.ts +++ b/src/plugins/console/server/routes/api/console/proxy/tests/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('../../../../../lib/proxy_request', () => ({ proxyRequest: jest.fn(), })); diff --git a/src/plugins/console/server/routes/api/console/proxy/tests/params.test.ts b/src/plugins/console/server/routes/api/console/proxy/tests/params.test.ts index 7eb2c09ec137..da6b83f54dab 100644 --- a/src/plugins/console/server/routes/api/console/proxy/tests/params.test.ts +++ b/src/plugins/console/server/routes/api/console/proxy/tests/params.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { opensearchDashboardsResponseFactory } from '../../../../../../../../core/server'; import { getProxyRouteHandlerDeps } from './mocks'; import { createResponseStub } from './stubs'; diff --git a/src/plugins/console/server/routes/api/console/proxy/tests/proxy_fallback.test.ts b/src/plugins/console/server/routes/api/console/proxy/tests/proxy_fallback.test.ts index 7322a7e1e482..585f76066fad 100644 --- a/src/plugins/console/server/routes/api/console/proxy/tests/proxy_fallback.test.ts +++ b/src/plugins/console/server/routes/api/console/proxy/tests/proxy_fallback.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { duration } from 'moment'; import { getProxyRouteHandlerDeps } from './mocks'; diff --git a/src/plugins/console/server/routes/api/console/proxy/tests/query_string.test.ts b/src/plugins/console/server/routes/api/console/proxy/tests/query_string.test.ts index 755891ecc24d..9b73457f3f89 100644 --- a/src/plugins/console/server/routes/api/console/proxy/tests/query_string.test.ts +++ b/src/plugins/console/server/routes/api/console/proxy/tests/query_string.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { opensearchDashboardsResponseFactory } from '../../../../../../../../core/server'; import { getProxyRouteHandlerDeps } from './mocks'; import { createResponseStub } from './stubs'; diff --git a/src/plugins/console/server/routes/api/console/proxy/tests/route_validation.test.ts b/src/plugins/console/server/routes/api/console/proxy/tests/route_validation.test.ts index 6b60847a1677..3118fcd587e9 100644 --- a/src/plugins/console/server/routes/api/console/proxy/tests/route_validation.test.ts +++ b/src/plugins/console/server/routes/api/console/proxy/tests/route_validation.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { routeValidationConfig } from '../validation_config'; const { query } = routeValidationConfig; diff --git a/src/plugins/console/server/routes/api/console/proxy/tests/stubs.ts b/src/plugins/console/server/routes/api/console/proxy/tests/stubs.ts index d5d2de1d75c2..61874b1738ff 100644 --- a/src/plugins/console/server/routes/api/console/proxy/tests/stubs.ts +++ b/src/plugins/console/server/routes/api/console/proxy/tests/stubs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { IncomingMessage } from 'http'; import { Readable } from 'stream'; diff --git a/src/plugins/console/server/routes/api/console/proxy/validation_config.ts b/src/plugins/console/server/routes/api/console/proxy/validation_config.ts index 66f4806586b1..135aa947f7c8 100644 --- a/src/plugins/console/server/routes/api/console/proxy/validation_config.ts +++ b/src/plugins/console/server/routes/api/console/proxy/validation_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { schema, TypeOf } from '@osd/config-schema'; export type Query = TypeOf; diff --git a/src/plugins/console/server/routes/api/console/spec_definitions/index.ts b/src/plugins/console/server/routes/api/console/spec_definitions/index.ts index 467fae09e858..6af9757d29ed 100644 --- a/src/plugins/console/server/routes/api/console/spec_definitions/index.ts +++ b/src/plugins/console/server/routes/api/console/spec_definitions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { RequestHandler } from 'opensearch-dashboards/server'; import { RouteDependencies } from '../../../'; diff --git a/src/plugins/console/server/routes/index.ts b/src/plugins/console/server/routes/index.ts index 55165f9bed4f..ee7656c050f0 100644 --- a/src/plugins/console/server/routes/index.ts +++ b/src/plugins/console/server/routes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IRouter, Logger } from 'opensearch-dashboards/server'; import { OpenSearchLegacyConfigService, SpecDefinitionsService } from '../services'; diff --git a/src/plugins/console/server/services/index.ts b/src/plugins/console/server/services/index.ts index 892d2a12291e..21c2ab37d4ce 100644 --- a/src/plugins/console/server/services/index.ts +++ b/src/plugins/console/server/services/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { OpenSearchLegacyConfigService } from './opensearch_legacy_config_service'; export { SpecDefinitionsService } from './spec_definitions_service'; diff --git a/src/plugins/console/server/services/opensearch_legacy_config_service.ts b/src/plugins/console/server/services/opensearch_legacy_config_service.ts index b8920fe4f8b2..9502216b90cd 100644 --- a/src/plugins/console/server/services/opensearch_legacy_config_service.ts +++ b/src/plugins/console/server/services/opensearch_legacy_config_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable, Subscription } from 'rxjs'; import { first } from 'rxjs/operators'; import { OpenSearchConfig } from 'opensearch-dashboards/server'; diff --git a/src/plugins/console/server/services/spec_definitions_service.ts b/src/plugins/console/server/services/spec_definitions_service.ts index 00c9417b90e4..9cac2d0da8c7 100644 --- a/src/plugins/console/server/services/spec_definitions_service.ts +++ b/src/plugins/console/server/services/spec_definitions_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _, { merge } from 'lodash'; import glob from 'glob'; import { basename, join, resolve } from 'path'; diff --git a/src/plugins/console/server/types.ts b/src/plugins/console/server/types.ts index d124ef2df06b..57dca126bde2 100644 --- a/src/plugins/console/server/types.ts +++ b/src/plugins/console/server/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Duration } from 'moment'; import { ConsoleServerPlugin } from './plugin'; diff --git a/src/plugins/dashboard/common/bwc/types.ts b/src/plugins/dashboard/common/bwc/types.ts index 5ddee23242ec..5f463041647c 100644 --- a/src/plugins/dashboard/common/bwc/types.ts +++ b/src/plugins/dashboard/common/bwc/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectReference } from 'opensearch-dashboards/public'; import { GridData } from '../'; diff --git a/src/plugins/dashboard/common/embeddable/types.ts b/src/plugins/dashboard/common/embeddable/types.ts index 751809dc9017..bb4ddedfbb8d 100644 --- a/src/plugins/dashboard/common/embeddable/types.ts +++ b/src/plugins/dashboard/common/embeddable/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface GridData { w: number; h: number; diff --git a/src/plugins/dashboard/common/index.ts b/src/plugins/dashboard/common/index.ts index 03bb4d365c72..e419cafe54c6 100644 --- a/src/plugins/dashboard/common/index.ts +++ b/src/plugins/dashboard/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { GridData } from './embeddable/types'; export { RawSavedDashboardPanel730ToLatest, diff --git a/src/plugins/dashboard/common/migrate_to_730_panels.test.ts b/src/plugins/dashboard/common/migrate_to_730_panels.test.ts index be1154248dd4..997729c9c083 100644 --- a/src/plugins/dashboard/common/migrate_to_730_panels.test.ts +++ b/src/plugins/dashboard/common/migrate_to_730_panels.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { migratePanelsTo730 } from './migrate_to_730_panels'; import { RawSavedDashboardPanelTo60, diff --git a/src/plugins/dashboard/common/migrate_to_730_panels.ts b/src/plugins/dashboard/common/migrate_to_730_panels.ts index 7f45030288a8..875e39c0fcb6 100644 --- a/src/plugins/dashboard/common/migrate_to_730_panels.ts +++ b/src/plugins/dashboard/common/migrate_to_730_panels.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; import semver from 'semver'; import uuid from 'uuid'; diff --git a/src/plugins/dashboard/common/types.ts b/src/plugins/dashboard/common/types.ts index b8d2ae7fad7d..03fff50519d9 100644 --- a/src/plugins/dashboard/common/types.ts +++ b/src/plugins/dashboard/common/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { RawSavedDashboardPanelTo60, RawSavedDashboardPanel610, diff --git a/src/plugins/dashboard/config.ts b/src/plugins/dashboard/config.ts index 48ef8b23ecd2..14125fe69333 100644 --- a/src/plugins/dashboard/config.ts +++ b/src/plugins/dashboard/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export const configSchema = schema.object({ diff --git a/src/plugins/dashboard/public/application/actions/add_to_library_action.test.tsx b/src/plugins/dashboard/public/application/actions/add_to_library_action.test.tsx index 9e1a91fa0f4d..58523582a501 100644 --- a/src/plugins/dashboard/public/application/actions/add_to_library_action.test.tsx +++ b/src/plugins/dashboard/public/application/actions/add_to_library_action.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { isErrorEmbeddable, IContainer, diff --git a/src/plugins/dashboard/public/application/actions/add_to_library_action.tsx b/src/plugins/dashboard/public/application/actions/add_to_library_action.tsx index 27e1a0635cc5..c2df06499c0a 100644 --- a/src/plugins/dashboard/public/application/actions/add_to_library_action.tsx +++ b/src/plugins/dashboard/public/application/actions/add_to_library_action.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import _ from 'lodash'; import uuid from 'uuid'; diff --git a/src/plugins/dashboard/public/application/actions/clone_panel_action.test.tsx b/src/plugins/dashboard/public/application/actions/clone_panel_action.test.tsx index bfe9d62cc3c7..6675d478eec5 100644 --- a/src/plugins/dashboard/public/application/actions/clone_panel_action.test.tsx +++ b/src/plugins/dashboard/public/application/actions/clone_panel_action.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { isErrorEmbeddable, IContainer, ErrorEmbeddable } from '../../embeddable_plugin'; import { DashboardContainer, DashboardPanelState } from '../embeddable'; import { getSampleDashboardInput, getSampleDashboardPanel } from '../test_helpers'; diff --git a/src/plugins/dashboard/public/application/actions/clone_panel_action.tsx b/src/plugins/dashboard/public/application/actions/clone_panel_action.tsx index 0e7692a6c169..47c284e1cc35 100644 --- a/src/plugins/dashboard/public/application/actions/clone_panel_action.tsx +++ b/src/plugins/dashboard/public/application/actions/clone_panel_action.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { CoreStart } from 'src/core/public'; import uuid from 'uuid'; diff --git a/src/plugins/dashboard/public/application/actions/expand_panel_action.test.tsx b/src/plugins/dashboard/public/application/actions/expand_panel_action.test.tsx index 968b58c1facc..73c57496c79f 100644 --- a/src/plugins/dashboard/public/application/actions/expand_panel_action.test.tsx +++ b/src/plugins/dashboard/public/application/actions/expand_panel_action.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isErrorEmbeddable } from '../../embeddable_plugin'; import { ExpandPanelAction } from './expand_panel_action'; import { DashboardContainer } from '../embeddable'; diff --git a/src/plugins/dashboard/public/application/actions/expand_panel_action.tsx b/src/plugins/dashboard/public/application/actions/expand_panel_action.tsx index 26f723f06ba0..9a8f2af88605 100644 --- a/src/plugins/dashboard/public/application/actions/expand_panel_action.tsx +++ b/src/plugins/dashboard/public/application/actions/expand_panel_action.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { IEmbeddable } from '../../embeddable_plugin'; import { ActionByType, IncompatibleActionError } from '../../ui_actions_plugin'; diff --git a/src/plugins/dashboard/public/application/actions/index.ts b/src/plugins/dashboard/public/application/actions/index.ts index 8d8cd8c146d5..0fec02562ddf 100644 --- a/src/plugins/dashboard/public/application/actions/index.ts +++ b/src/plugins/dashboard/public/application/actions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ExpandPanelAction, ExpandPanelActionContext, diff --git a/src/plugins/dashboard/public/application/actions/library_notification_action.test.tsx b/src/plugins/dashboard/public/application/actions/library_notification_action.test.tsx index 41a8ac0e1c97..d9a45871e798 100644 --- a/src/plugins/dashboard/public/application/actions/library_notification_action.test.tsx +++ b/src/plugins/dashboard/public/application/actions/library_notification_action.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { isErrorEmbeddable, ReferenceOrValueEmbeddable } from '../../embeddable_plugin'; import { DashboardContainer } from '../embeddable'; import { getSampleDashboardInput } from '../test_helpers'; diff --git a/src/plugins/dashboard/public/application/actions/library_notification_action.tsx b/src/plugins/dashboard/public/application/actions/library_notification_action.tsx index f0024590df12..e64cda774f29 100644 --- a/src/plugins/dashboard/public/application/actions/library_notification_action.tsx +++ b/src/plugins/dashboard/public/application/actions/library_notification_action.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; import { EuiBadge } from '@elastic/eui'; diff --git a/src/plugins/dashboard/public/application/actions/open_replace_panel_flyout.tsx b/src/plugins/dashboard/public/application/actions/open_replace_panel_flyout.tsx index cd0500c191a3..66f5dc214719 100644 --- a/src/plugins/dashboard/public/application/actions/open_replace_panel_flyout.tsx +++ b/src/plugins/dashboard/public/application/actions/open_replace_panel_flyout.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { CoreStart } from 'src/core/public'; import { toMountPoint } from '../../../../../plugins/opensearch_dashboards_react/public'; diff --git a/src/plugins/dashboard/public/application/actions/replace_panel_action.test.tsx b/src/plugins/dashboard/public/application/actions/replace_panel_action.test.tsx index 3ce46f9b2e91..b3ac183a6ee0 100644 --- a/src/plugins/dashboard/public/application/actions/replace_panel_action.test.tsx +++ b/src/plugins/dashboard/public/application/actions/replace_panel_action.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { isErrorEmbeddable } from '../../embeddable_plugin'; import { ReplacePanelAction } from './replace_panel_action'; import { DashboardContainer } from '../embeddable'; diff --git a/src/plugins/dashboard/public/application/actions/replace_panel_action.tsx b/src/plugins/dashboard/public/application/actions/replace_panel_action.tsx index 4ed2ce461ea2..aa65e2c96084 100644 --- a/src/plugins/dashboard/public/application/actions/replace_panel_action.tsx +++ b/src/plugins/dashboard/public/application/actions/replace_panel_action.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { CoreStart } from 'src/core/public'; import { IEmbeddable, ViewMode, EmbeddableStart } from '../../embeddable_plugin'; diff --git a/src/plugins/dashboard/public/application/actions/replace_panel_flyout.tsx b/src/plugins/dashboard/public/application/actions/replace_panel_flyout.tsx index 0a5b40685483..2ec1db3f42fc 100644 --- a/src/plugins/dashboard/public/application/actions/replace_panel_flyout.tsx +++ b/src/plugins/dashboard/public/application/actions/replace_panel_flyout.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import React from 'react'; import { EuiFlyoutBody, EuiFlyoutHeader, EuiTitle } from '@elastic/eui'; diff --git a/src/plugins/dashboard/public/application/actions/unlink_from_library_action.test.tsx b/src/plugins/dashboard/public/application/actions/unlink_from_library_action.test.tsx index 8230c9fd4eaa..11601b40200a 100644 --- a/src/plugins/dashboard/public/application/actions/unlink_from_library_action.test.tsx +++ b/src/plugins/dashboard/public/application/actions/unlink_from_library_action.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { isErrorEmbeddable, IContainer, ReferenceOrValueEmbeddable } from '../../embeddable_plugin'; import { DashboardContainer } from '../embeddable'; import { getSampleDashboardInput } from '../test_helpers'; diff --git a/src/plugins/dashboard/public/application/actions/unlink_from_library_action.tsx b/src/plugins/dashboard/public/application/actions/unlink_from_library_action.tsx index 0d7818c219e6..4e3a40695d18 100644 --- a/src/plugins/dashboard/public/application/actions/unlink_from_library_action.tsx +++ b/src/plugins/dashboard/public/application/actions/unlink_from_library_action.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import _ from 'lodash'; import uuid from 'uuid'; diff --git a/src/plugins/dashboard/public/application/application.ts b/src/plugins/dashboard/public/application/application.ts index 581a980b2334..6ac626ac7eb5 100644 --- a/src/plugins/dashboard/public/application/application.ts +++ b/src/plugins/dashboard/public/application/application.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index.scss'; import { EuiIcon } from '@elastic/eui'; diff --git a/src/plugins/dashboard/public/application/dashboard_app.tsx b/src/plugins/dashboard/public/application/dashboard_app.tsx index fce7373356e3..6141329c5a53 100644 --- a/src/plugins/dashboard/public/application/dashboard_app.tsx +++ b/src/plugins/dashboard/public/application/dashboard_app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { Subscription } from 'rxjs'; import { History } from 'history'; diff --git a/src/plugins/dashboard/public/application/dashboard_app_controller.tsx b/src/plugins/dashboard/public/application/dashboard_app_controller.tsx index 82d36d1b0eb6..414860e348a6 100644 --- a/src/plugins/dashboard/public/application/dashboard_app_controller.tsx +++ b/src/plugins/dashboard/public/application/dashboard_app_controller.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _, { uniqBy } from 'lodash'; import { i18n } from '@osd/i18n'; import { EUI_MODAL_CANCEL_BUTTON, EuiCheckboxGroup } from '@elastic/eui'; diff --git a/src/plugins/dashboard/public/application/dashboard_empty_screen.test.tsx b/src/plugins/dashboard/public/application/dashboard_empty_screen.test.tsx index 61f771e37ab3..fd4291b29455 100644 --- a/src/plugins/dashboard/public/application/dashboard_empty_screen.test.tsx +++ b/src/plugins/dashboard/public/application/dashboard_empty_screen.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { DashboardEmptyScreen, DashboardEmptyScreenProps } from './dashboard_empty_screen'; diff --git a/src/plugins/dashboard/public/application/dashboard_empty_screen.tsx b/src/plugins/dashboard/public/application/dashboard_empty_screen.tsx index 02faa6a2cb6b..ba4b988a7093 100644 --- a/src/plugins/dashboard/public/application/dashboard_empty_screen.tsx +++ b/src/plugins/dashboard/public/application/dashboard_empty_screen.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { I18nProvider } from '@osd/i18n/react'; import { diff --git a/src/plugins/dashboard/public/application/dashboard_empty_screen_constants.tsx b/src/plugins/dashboard/public/application/dashboard_empty_screen_constants.tsx index 4bf80ebd4b5f..c588c3ee3d99 100644 --- a/src/plugins/dashboard/public/application/dashboard_empty_screen_constants.tsx +++ b/src/plugins/dashboard/public/application/dashboard_empty_screen_constants.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; /** READONLY VIEW CONSTANTS **/ diff --git a/src/plugins/dashboard/public/application/dashboard_state.test.ts b/src/plugins/dashboard/public/application/dashboard_state.test.ts index 2273d8a1cd50..ac531c0190f2 100644 --- a/src/plugins/dashboard/public/application/dashboard_state.test.ts +++ b/src/plugins/dashboard/public/application/dashboard_state.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createBrowserHistory } from 'history'; import { DashboardStateManager } from './dashboard_state_manager'; import { getSavedDashboardMock } from './test_helpers'; diff --git a/src/plugins/dashboard/public/application/dashboard_state_manager.ts b/src/plugins/dashboard/public/application/dashboard_state_manager.ts index 356e5aa42938..ff8d7664f917 100644 --- a/src/plugins/dashboard/public/application/dashboard_state_manager.ts +++ b/src/plugins/dashboard/public/application/dashboard_state_manager.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import _ from 'lodash'; import { Observable, Subscription } from 'rxjs'; diff --git a/src/plugins/dashboard/public/application/dashboard_strings.ts b/src/plugins/dashboard/public/application/dashboard_strings.ts index b7f791201785..ead76e48da74 100644 --- a/src/plugins/dashboard/public/application/dashboard_strings.ts +++ b/src/plugins/dashboard/public/application/dashboard_strings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ViewMode } from '../embeddable_plugin'; diff --git a/src/plugins/dashboard/public/application/embeddable/dashboard_constants.ts b/src/plugins/dashboard/public/application/embeddable/dashboard_constants.ts index da03d0d79f9e..4c409b11e9b8 100644 --- a/src/plugins/dashboard/public/application/embeddable/dashboard_constants.ts +++ b/src/plugins/dashboard/public/application/embeddable/dashboard_constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const DASHBOARD_GRID_COLUMN_COUNT = 48; export const DASHBOARD_GRID_HEIGHT = 20; export const DEFAULT_PANEL_WIDTH = DASHBOARD_GRID_COLUMN_COUNT / 2; diff --git a/src/plugins/dashboard/public/application/embeddable/dashboard_container.test.tsx b/src/plugins/dashboard/public/application/embeddable/dashboard_container.test.tsx index 0a6bb452ec69..4daeb2767170 100644 --- a/src/plugins/dashboard/public/application/embeddable/dashboard_container.test.tsx +++ b/src/plugins/dashboard/public/application/embeddable/dashboard_container.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { nextTick } from 'test_utils/enzyme_helpers'; import { isErrorEmbeddable, ViewMode } from '../../embeddable_plugin'; import { DashboardContainer, DashboardContainerOptions } from './dashboard_container'; diff --git a/src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx b/src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx index 96b534196c4d..ffd50edbe119 100644 --- a/src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx +++ b/src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/dashboard/public/application/embeddable/dashboard_container_by_value_renderer.tsx b/src/plugins/dashboard/public/application/embeddable/dashboard_container_by_value_renderer.tsx index ad736986885e..025de6d733d6 100644 --- a/src/plugins/dashboard/public/application/embeddable/dashboard_container_by_value_renderer.tsx +++ b/src/plugins/dashboard/public/application/embeddable/dashboard_container_by_value_renderer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { DashboardContainerInput } from './dashboard_container'; import { DashboardContainerFactory } from './dashboard_container_factory'; diff --git a/src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx b/src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx index 580992e0ceff..bbfd0f30dd34 100644 --- a/src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx +++ b/src/plugins/dashboard/public/application/embeddable/dashboard_container_factory.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { UiActionsStart } from 'src/plugins/ui_actions/public'; import { CoreStart, ScopedHistory } from 'src/core/public'; diff --git a/src/plugins/dashboard/public/application/embeddable/grid/dashboard_grid.test.tsx b/src/plugins/dashboard/public/application/embeddable/grid/dashboard_grid.test.tsx index ae92d1c71ab0..48d1a4adc512 100644 --- a/src/plugins/dashboard/public/application/embeddable/grid/dashboard_grid.test.tsx +++ b/src/plugins/dashboard/public/application/embeddable/grid/dashboard_grid.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore import sizeMe from 'react-sizeme'; diff --git a/src/plugins/dashboard/public/application/embeddable/grid/dashboard_grid.tsx b/src/plugins/dashboard/public/application/embeddable/grid/dashboard_grid.tsx index 23247512be64..e49999383712 100644 --- a/src/plugins/dashboard/public/application/embeddable/grid/dashboard_grid.tsx +++ b/src/plugins/dashboard/public/application/embeddable/grid/dashboard_grid.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import 'react-grid-layout/css/styles.css'; import 'react-resizable/css/styles.css'; diff --git a/src/plugins/dashboard/public/application/embeddable/grid/index.ts b/src/plugins/dashboard/public/application/embeddable/grid/index.ts index 409346284586..61ab89bebce6 100644 --- a/src/plugins/dashboard/public/application/embeddable/grid/index.ts +++ b/src/plugins/dashboard/public/application/embeddable/grid/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DashboardGrid } from './dashboard_grid'; diff --git a/src/plugins/dashboard/public/application/embeddable/index.ts b/src/plugins/dashboard/public/application/embeddable/index.ts index d62259446e6c..1b5017bee941 100644 --- a/src/plugins/dashboard/public/application/embeddable/index.ts +++ b/src/plugins/dashboard/public/application/embeddable/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DashboardContainerFactoryDefinition, DashboardContainerFactory, diff --git a/src/plugins/dashboard/public/application/embeddable/panel/create_panel_state.test.ts b/src/plugins/dashboard/public/application/embeddable/panel/create_panel_state.test.ts index 1ae1c9e2148b..43d15e2d3774 100644 --- a/src/plugins/dashboard/public/application/embeddable/panel/create_panel_state.test.ts +++ b/src/plugins/dashboard/public/application/embeddable/panel/create_panel_state.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DEFAULT_PANEL_HEIGHT, DEFAULT_PANEL_WIDTH } from '../dashboard_constants'; import { DashboardPanelState } from '../types'; import { createPanelState } from './create_panel_state'; diff --git a/src/plugins/dashboard/public/application/embeddable/panel/create_panel_state.ts b/src/plugins/dashboard/public/application/embeddable/panel/create_panel_state.ts index bc320392b68c..b99548a3e89c 100644 --- a/src/plugins/dashboard/public/application/embeddable/panel/create_panel_state.ts +++ b/src/plugins/dashboard/public/application/embeddable/panel/create_panel_state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PanelState, EmbeddableInput } from '../../../embeddable_plugin'; import { DEFAULT_PANEL_HEIGHT, DEFAULT_PANEL_WIDTH } from '../dashboard_constants'; import { DashboardPanelState } from '../types'; diff --git a/src/plugins/dashboard/public/application/embeddable/panel/dashboard_panel_placement.ts b/src/plugins/dashboard/public/application/embeddable/panel/dashboard_panel_placement.ts index 58ea3618e5ed..8cf277890cb1 100644 --- a/src/plugins/dashboard/public/application/embeddable/panel/dashboard_panel_placement.ts +++ b/src/plugins/dashboard/public/application/embeddable/panel/dashboard_panel_placement.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { PanelNotFoundError } from '../../../embeddable_plugin'; import { GridData } from '../../../../common'; diff --git a/src/plugins/dashboard/public/application/embeddable/panel/index.ts b/src/plugins/dashboard/public/application/embeddable/panel/index.ts index 745ba316f4c1..1e5a1c6be677 100644 --- a/src/plugins/dashboard/public/application/embeddable/panel/index.ts +++ b/src/plugins/dashboard/public/application/embeddable/panel/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createPanelState } from './create_panel_state'; diff --git a/src/plugins/dashboard/public/application/embeddable/placeholder/index.ts b/src/plugins/dashboard/public/application/embeddable/placeholder/index.ts index 6d1a120da912..08420a64b072 100644 --- a/src/plugins/dashboard/public/application/embeddable/placeholder/index.ts +++ b/src/plugins/dashboard/public/application/embeddable/placeholder/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './placeholder_embeddable'; export * from './placeholder_embeddable_factory'; diff --git a/src/plugins/dashboard/public/application/embeddable/placeholder/placeholder_embeddable.tsx b/src/plugins/dashboard/public/application/embeddable/placeholder/placeholder_embeddable.tsx index 129e8bf17d58..57ecde6b5ceb 100644 --- a/src/plugins/dashboard/public/application/embeddable/placeholder/placeholder_embeddable.tsx +++ b/src/plugins/dashboard/public/application/embeddable/placeholder/placeholder_embeddable.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { EuiLoadingChart } from '@elastic/eui'; diff --git a/src/plugins/dashboard/public/application/embeddable/placeholder/placeholder_embeddable_factory.ts b/src/plugins/dashboard/public/application/embeddable/placeholder/placeholder_embeddable_factory.ts index 23f75a4c1bf8..9cf936443072 100644 --- a/src/plugins/dashboard/public/application/embeddable/placeholder/placeholder_embeddable_factory.ts +++ b/src/plugins/dashboard/public/application/embeddable/placeholder/placeholder_embeddable_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { diff --git a/src/plugins/dashboard/public/application/embeddable/types.ts b/src/plugins/dashboard/public/application/embeddable/types.ts index 38de0fbbb4d9..ed4f90bc6eb6 100644 --- a/src/plugins/dashboard/public/application/embeddable/types.ts +++ b/src/plugins/dashboard/public/application/embeddable/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SavedObjectEmbeddableInput } from 'src/plugins/embeddable/public'; import { GridData } from '../../../common'; import { PanelState, EmbeddableInput } from '../../embeddable_plugin'; diff --git a/src/plugins/dashboard/public/application/embeddable/viewport/dashboard_viewport.test.tsx b/src/plugins/dashboard/public/application/embeddable/viewport/dashboard_viewport.test.tsx index 7682c0d79454..bbc8031d86a7 100644 --- a/src/plugins/dashboard/public/application/embeddable/viewport/dashboard_viewport.test.tsx +++ b/src/plugins/dashboard/public/application/embeddable/viewport/dashboard_viewport.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { findTestSubject } from '@elastic/eui/lib/test'; import React from 'react'; import { skip } from 'rxjs/operators'; diff --git a/src/plugins/dashboard/public/application/embeddable/viewport/dashboard_viewport.tsx b/src/plugins/dashboard/public/application/embeddable/viewport/dashboard_viewport.tsx index c8f1e4353952..2a98046b4d2c 100644 --- a/src/plugins/dashboard/public/application/embeddable/viewport/dashboard_viewport.tsx +++ b/src/plugins/dashboard/public/application/embeddable/viewport/dashboard_viewport.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { Subscription } from 'rxjs'; import { PanelState, EmbeddableStart } from '../../../embeddable_plugin'; diff --git a/src/plugins/dashboard/public/application/help_menu/help_menu_util.ts b/src/plugins/dashboard/public/application/help_menu/help_menu_util.ts index 3465d1cb12fc..842cab8b03f0 100644 --- a/src/plugins/dashboard/public/application/help_menu/help_menu_util.ts +++ b/src/plugins/dashboard/public/application/help_menu/help_menu_util.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { CoreStart } from 'opensearch-dashboards/public'; diff --git a/src/plugins/dashboard/public/application/index.ts b/src/plugins/dashboard/public/application/index.ts index 5bd6ef1ccf86..131a8a1e9c10 100644 --- a/src/plugins/dashboard/public/application/index.ts +++ b/src/plugins/dashboard/public/application/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './embeddable'; export * from './actions'; export type { RenderDeps } from './application'; diff --git a/src/plugins/dashboard/public/application/legacy_app.js b/src/plugins/dashboard/public/application/legacy_app.js index cdebec003c4b..146567999469 100644 --- a/src/plugins/dashboard/public/application/legacy_app.js +++ b/src/plugins/dashboard/public/application/legacy_app.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { parse } from 'query-string'; diff --git a/src/plugins/dashboard/public/application/lib/embeddable_saved_object_converters.test.ts b/src/plugins/dashboard/public/application/lib/embeddable_saved_object_converters.test.ts index d30713989018..f97b79474b20 100644 --- a/src/plugins/dashboard/public/application/lib/embeddable_saved_object_converters.test.ts +++ b/src/plugins/dashboard/public/application/lib/embeddable_saved_object_converters.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { convertSavedDashboardPanelToPanelState, convertPanelStateToSavedDashboardPanel, diff --git a/src/plugins/dashboard/public/application/lib/embeddable_saved_object_converters.ts b/src/plugins/dashboard/public/application/lib/embeddable_saved_object_converters.ts index a5244b3267bb..70cd2addece2 100644 --- a/src/plugins/dashboard/public/application/lib/embeddable_saved_object_converters.ts +++ b/src/plugins/dashboard/public/application/lib/embeddable_saved_object_converters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { omit } from 'lodash'; import { SavedDashboardPanel } from '../../types'; import { DashboardPanelState } from '../embeddable'; diff --git a/src/plugins/dashboard/public/application/lib/filter_utils.ts b/src/plugins/dashboard/public/application/lib/filter_utils.ts index 0f6e1b7c4f59..dd7aae49bb7a 100644 --- a/src/plugins/dashboard/public/application/lib/filter_utils.ts +++ b/src/plugins/dashboard/public/application/lib/filter_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import moment, { Moment } from 'moment'; import { Filter } from '../../../../data/public'; diff --git a/src/plugins/dashboard/public/application/lib/get_app_state_defaults.ts b/src/plugins/dashboard/public/application/lib/get_app_state_defaults.ts index c7e746e7ad73..95e5d70be438 100644 --- a/src/plugins/dashboard/public/application/lib/get_app_state_defaults.ts +++ b/src/plugins/dashboard/public/application/lib/get_app_state_defaults.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ViewMode } from '../../embeddable_plugin'; import { SavedObjectDashboard } from '../../saved_dashboards'; import { DashboardAppStateDefaults } from '../../types'; diff --git a/src/plugins/dashboard/public/application/lib/index.ts b/src/plugins/dashboard/public/application/lib/index.ts index 79a975a4e995..e64b0d4c0c49 100644 --- a/src/plugins/dashboard/public/application/lib/index.ts +++ b/src/plugins/dashboard/public/application/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { saveDashboard } from './save_dashboard'; export { getAppStateDefaults } from './get_app_state_defaults'; export { migrateAppState } from './migrate_app_state'; diff --git a/src/plugins/dashboard/public/application/lib/migrate_app_state.test.ts b/src/plugins/dashboard/public/application/lib/migrate_app_state.test.ts index d17e01914b27..a3eec91bb6db 100644 --- a/src/plugins/dashboard/public/application/lib/migrate_app_state.test.ts +++ b/src/plugins/dashboard/public/application/lib/migrate_app_state.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedDashboardPanel } from '../../types'; import { migrateAppState } from './migrate_app_state'; diff --git a/src/plugins/dashboard/public/application/lib/migrate_app_state.ts b/src/plugins/dashboard/public/application/lib/migrate_app_state.ts index 66d070ccba19..65a132bba27d 100644 --- a/src/plugins/dashboard/public/application/lib/migrate_app_state.ts +++ b/src/plugins/dashboard/public/application/lib/migrate_app_state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import semver from 'semver'; import { i18n } from '@osd/i18n'; import { METRIC_TYPE } from '@osd/analytics'; diff --git a/src/plugins/dashboard/public/application/lib/migrate_legacy_query.ts b/src/plugins/dashboard/public/application/lib/migrate_legacy_query.ts index 0a41aa82a8ff..90458c135b98 100644 --- a/src/plugins/dashboard/public/application/lib/migrate_legacy_query.ts +++ b/src/plugins/dashboard/public/application/lib/migrate_legacy_query.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { has } from 'lodash'; import { Query } from 'src/plugins/data/public'; diff --git a/src/plugins/dashboard/public/application/lib/save_dashboard.ts b/src/plugins/dashboard/public/application/lib/save_dashboard.ts index 3d9836985a2a..21fcbf96f1ca 100644 --- a/src/plugins/dashboard/public/application/lib/save_dashboard.ts +++ b/src/plugins/dashboard/public/application/lib/save_dashboard.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TimefilterContract } from 'src/plugins/data/public'; import { SavedObjectSaveOpts } from 'src/plugins/saved_objects/public'; import { updateSavedDashboard } from './update_saved_dashboard'; diff --git a/src/plugins/dashboard/public/application/lib/update_saved_dashboard.ts b/src/plugins/dashboard/public/application/lib/update_saved_dashboard.ts index 4d0cf5135849..0a52e8fbb94f 100644 --- a/src/plugins/dashboard/public/application/lib/update_saved_dashboard.ts +++ b/src/plugins/dashboard/public/application/lib/update_saved_dashboard.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { RefreshInterval, TimefilterContract } from 'src/plugins/data/public'; import { FilterUtils } from './filter_utils'; diff --git a/src/plugins/dashboard/public/application/lib/url.test.ts b/src/plugins/dashboard/public/application/lib/url.test.ts index 9eae1bc0ecdf..fbb7e24b41ff 100644 --- a/src/plugins/dashboard/public/application/lib/url.test.ts +++ b/src/plugins/dashboard/public/application/lib/url.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getDashboardIdFromUrl } from './url'; test('getDashboardIdFromUrl', () => { diff --git a/src/plugins/dashboard/public/application/lib/url.ts b/src/plugins/dashboard/public/application/lib/url.ts index d7d90fb24867..dfc52d770739 100644 --- a/src/plugins/dashboard/public/application/lib/url.ts +++ b/src/plugins/dashboard/public/application/lib/url.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Returns dashboard id from URL * literally looks from id after `dashboard/` string and before `/`, `?` and end of string diff --git a/src/plugins/dashboard/public/application/listing/dashboard_listing.js b/src/plugins/dashboard/public/application/listing/dashboard_listing.js index 2a55c456e9ce..dc778be046b2 100644 --- a/src/plugins/dashboard/public/application/listing/dashboard_listing.js +++ b/src/plugins/dashboard/public/application/listing/dashboard_listing.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; diff --git a/src/plugins/dashboard/public/application/listing/dashboard_listing.test.js b/src/plugins/dashboard/public/application/listing/dashboard_listing.test.js index 4998f29ee03d..bb469003da05 100644 --- a/src/plugins/dashboard/public/application/listing/dashboard_listing.test.js +++ b/src/plugins/dashboard/public/application/listing/dashboard_listing.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock( 'lodash', () => ({ diff --git a/src/plugins/dashboard/public/application/test_helpers/get_sample_dashboard_input.ts b/src/plugins/dashboard/public/application/test_helpers/get_sample_dashboard_input.ts index d2c253615c28..931c2395cd50 100644 --- a/src/plugins/dashboard/public/application/test_helpers/get_sample_dashboard_input.ts +++ b/src/plugins/dashboard/public/application/test_helpers/get_sample_dashboard_input.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ViewMode, EmbeddableInput } from '../../embeddable_plugin'; import { DashboardContainerInput, DashboardPanelState } from '../embeddable'; diff --git a/src/plugins/dashboard/public/application/test_helpers/get_saved_dashboard_mock.ts b/src/plugins/dashboard/public/application/test_helpers/get_saved_dashboard_mock.ts index bc60c91da6a2..45dcc400e88e 100644 --- a/src/plugins/dashboard/public/application/test_helpers/get_saved_dashboard_mock.ts +++ b/src/plugins/dashboard/public/application/test_helpers/get_saved_dashboard_mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { dataPluginMock } from '../../../../data/public/mocks'; import { SavedObjectDashboard } from '../../saved_dashboards'; diff --git a/src/plugins/dashboard/public/application/test_helpers/index.ts b/src/plugins/dashboard/public/application/test_helpers/index.ts index f089308fe448..3a7abf089e32 100644 --- a/src/plugins/dashboard/public/application/test_helpers/index.ts +++ b/src/plugins/dashboard/public/application/test_helpers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getSampleDashboardInput, getSampleDashboardPanel } from './get_sample_dashboard_input'; export { getSavedDashboardMock } from './get_saved_dashboard_mock'; diff --git a/src/plugins/dashboard/public/application/tests/dashboard_container.test.tsx b/src/plugins/dashboard/public/application/tests/dashboard_container.test.tsx index d8206db5c3cc..d3198f6e1e31 100644 --- a/src/plugins/dashboard/public/application/tests/dashboard_container.test.tsx +++ b/src/plugins/dashboard/public/application/tests/dashboard_container.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { findTestSubject } from '@elastic/eui/lib/test'; import React from 'react'; import { mount } from 'enzyme'; diff --git a/src/plugins/dashboard/public/application/top_nav/clone_modal.test.js b/src/plugins/dashboard/public/application/top_nav/clone_modal.test.js index 1db9309bf0b9..2529f146e2b0 100644 --- a/src/plugins/dashboard/public/application/top_nav/clone_modal.test.js +++ b/src/plugins/dashboard/public/application/top_nav/clone_modal.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import sinon from 'sinon'; import { shallowWithI18nProvider, mountWithI18nProvider } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/dashboard/public/application/top_nav/clone_modal.tsx b/src/plugins/dashboard/public/application/top_nav/clone_modal.tsx index 04068edde16d..6268ce0ae95f 100644 --- a/src/plugins/dashboard/public/application/top_nav/clone_modal.tsx +++ b/src/plugins/dashboard/public/application/top_nav/clone_modal.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import { i18n } from '@osd/i18n'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/dashboard/public/application/top_nav/get_top_nav_config.ts b/src/plugins/dashboard/public/application/top_nav/get_top_nav_config.ts index eeb1ba21015b..e325a291c130 100644 --- a/src/plugins/dashboard/public/application/top_nav/get_top_nav_config.ts +++ b/src/plugins/dashboard/public/application/top_nav/get_top_nav_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { AppMountParameters } from 'opensearch-dashboards/public'; import { ViewMode } from '../../embeddable_plugin'; diff --git a/src/plugins/dashboard/public/application/top_nav/options.tsx b/src/plugins/dashboard/public/application/top_nav/options.tsx index 08ea00d840de..2ea2c6f841f6 100644 --- a/src/plugins/dashboard/public/application/top_nav/options.tsx +++ b/src/plugins/dashboard/public/application/top_nav/options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/dashboard/public/application/top_nav/save_modal.test.js b/src/plugins/dashboard/public/application/top_nav/save_modal.test.js index 967fca8aefd6..91bdaebe4dc1 100644 --- a/src/plugins/dashboard/public/application/top_nav/save_modal.test.js +++ b/src/plugins/dashboard/public/application/top_nav/save_modal.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithI18nProvider } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/dashboard/public/application/top_nav/save_modal.tsx b/src/plugins/dashboard/public/application/top_nav/save_modal.tsx index 5c1ada49fd23..205a8e2222fc 100644 --- a/src/plugins/dashboard/public/application/top_nav/save_modal.tsx +++ b/src/plugins/dashboard/public/application/top_nav/save_modal.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import { FormattedMessage } from '@osd/i18n/react'; import { EuiFormRow, EuiTextArea, EuiSwitch } from '@elastic/eui'; diff --git a/src/plugins/dashboard/public/application/top_nav/show_clone_modal.tsx b/src/plugins/dashboard/public/application/top_nav/show_clone_modal.tsx index 09ed0cae9cdd..42f07ebe1569 100644 --- a/src/plugins/dashboard/public/application/top_nav/show_clone_modal.tsx +++ b/src/plugins/dashboard/public/application/top_nav/show_clone_modal.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/dashboard/public/application/top_nav/show_options_popover.tsx b/src/plugins/dashboard/public/application/top_nav/show_options_popover.tsx index 5f67b3a44ead..930a79c7f242 100644 --- a/src/plugins/dashboard/public/application/top_nav/show_options_popover.tsx +++ b/src/plugins/dashboard/public/application/top_nav/show_options_popover.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/dashboard/public/application/top_nav/top_nav_ids.ts b/src/plugins/dashboard/public/application/top_nav/top_nav_ids.ts index f5d4416ad90b..0917f7632872 100644 --- a/src/plugins/dashboard/public/application/top_nav/top_nav_ids.ts +++ b/src/plugins/dashboard/public/application/top_nav/top_nav_ids.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const TopNavIds = { SHARE: 'share', OPTIONS: 'options', diff --git a/src/plugins/dashboard/public/attribute_service/attribute_service.mock.tsx b/src/plugins/dashboard/public/attribute_service/attribute_service.mock.tsx index 50040d971d95..6a5769f295a4 100644 --- a/src/plugins/dashboard/public/attribute_service/attribute_service.mock.tsx +++ b/src/plugins/dashboard/public/attribute_service/attribute_service.mock.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EmbeddableInput, SavedObjectEmbeddableInput } from '../embeddable_plugin'; import { coreMock } from '../../../../core/public/mocks'; import { AttributeServiceOptions } from './attribute_service'; diff --git a/src/plugins/dashboard/public/attribute_service/attribute_service.test.ts b/src/plugins/dashboard/public/attribute_service/attribute_service.test.ts index 52998979b9a2..47264a605c18 100644 --- a/src/plugins/dashboard/public/attribute_service/attribute_service.test.ts +++ b/src/plugins/dashboard/public/attribute_service/attribute_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ATTRIBUTE_SERVICE_KEY } from './attribute_service'; import { mockAttributeService } from './attribute_service.mock'; import { coreMock } from '../../../../core/public/mocks'; diff --git a/src/plugins/dashboard/public/attribute_service/attribute_service.tsx b/src/plugins/dashboard/public/attribute_service/attribute_service.tsx index 429740a894ed..2588793fe7f7 100644 --- a/src/plugins/dashboard/public/attribute_service/attribute_service.tsx +++ b/src/plugins/dashboard/public/attribute_service/attribute_service.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; import { get } from 'lodash'; diff --git a/src/plugins/dashboard/public/attribute_service/index.ts b/src/plugins/dashboard/public/attribute_service/index.ts index f9cc4b896837..a019deb944ee 100644 --- a/src/plugins/dashboard/public/attribute_service/index.ts +++ b/src/plugins/dashboard/public/attribute_service/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { AttributeService, ATTRIBUTE_SERVICE_KEY } from './attribute_service'; diff --git a/src/plugins/dashboard/public/dashboard_constants.ts b/src/plugins/dashboard/public/dashboard_constants.ts index 91d80b4d7b14..82da10e8f6b4 100644 --- a/src/plugins/dashboard/public/dashboard_constants.ts +++ b/src/plugins/dashboard/public/dashboard_constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const DashboardConstants = { LANDING_PAGE_PATH: '/list', CREATE_NEW_DASHBOARD_URL: '/create', diff --git a/src/plugins/dashboard/public/embeddable_plugin.ts b/src/plugins/dashboard/public/embeddable_plugin.ts index 06d014d784c6..3ede8156ee81 100644 --- a/src/plugins/dashboard/public/embeddable_plugin.ts +++ b/src/plugins/dashboard/public/embeddable_plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from '../../../plugins/embeddable/public'; diff --git a/src/plugins/dashboard/public/embeddable_plugin_test_samples.ts b/src/plugins/dashboard/public/embeddable_plugin_test_samples.ts index 011d7bd24ccd..a3fc916e8308 100644 --- a/src/plugins/dashboard/public/embeddable_plugin_test_samples.ts +++ b/src/plugins/dashboard/public/embeddable_plugin_test_samples.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from '../../../plugins/embeddable/public/lib/test_samples'; diff --git a/src/plugins/dashboard/public/index.ts b/src/plugins/dashboard/public/index.ts index 6a757954831b..7a7f1d4ffd2d 100644 --- a/src/plugins/dashboard/public/index.ts +++ b/src/plugins/dashboard/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from '../../../core/public'; import { DashboardPlugin } from './plugin'; diff --git a/src/plugins/dashboard/public/mocks.tsx b/src/plugins/dashboard/public/mocks.tsx index 32ff540173db..e2848f490012 100644 --- a/src/plugins/dashboard/public/mocks.tsx +++ b/src/plugins/dashboard/public/mocks.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DashboardStart } from './plugin'; export type Start = jest.Mocked; diff --git a/src/plugins/dashboard/public/plugin.tsx b/src/plugins/dashboard/public/plugin.tsx index f437e566b164..4ee9c18bf7d3 100644 --- a/src/plugins/dashboard/public/plugin.tsx +++ b/src/plugins/dashboard/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { BehaviorSubject } from 'rxjs'; import { filter, map } from 'rxjs/operators'; diff --git a/src/plugins/dashboard/public/saved_dashboards/index.ts b/src/plugins/dashboard/public/saved_dashboards/index.ts index 11d5fc356cc9..27a282ac879a 100644 --- a/src/plugins/dashboard/public/saved_dashboards/index.ts +++ b/src/plugins/dashboard/public/saved_dashboards/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export * from './saved_dashboard_references'; export * from './saved_dashboard'; export * from './saved_dashboards'; diff --git a/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts b/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts index 112e4dcb84f5..60a2a43c4ba2 100644 --- a/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts +++ b/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { createSavedObjectClass, SavedObject, diff --git a/src/plugins/dashboard/public/saved_dashboards/saved_dashboard_references.test.ts b/src/plugins/dashboard/public/saved_dashboards/saved_dashboard_references.test.ts index 9a4193be0776..0c4739346bf2 100644 --- a/src/plugins/dashboard/public/saved_dashboards/saved_dashboard_references.test.ts +++ b/src/plugins/dashboard/public/saved_dashboards/saved_dashboard_references.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { extractReferences, injectReferences } from './saved_dashboard_references'; import { SavedObjectDashboard } from './saved_dashboard'; diff --git a/src/plugins/dashboard/public/saved_dashboards/saved_dashboard_references.ts b/src/plugins/dashboard/public/saved_dashboards/saved_dashboard_references.ts index 0543680f5015..fb30ed8e87b9 100644 --- a/src/plugins/dashboard/public/saved_dashboards/saved_dashboard_references.ts +++ b/src/plugins/dashboard/public/saved_dashboards/saved_dashboard_references.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectAttributes, SavedObjectReference } from 'opensearch-dashboards/public'; import { SavedObjectDashboard } from './saved_dashboard'; diff --git a/src/plugins/dashboard/public/saved_dashboards/saved_dashboards.ts b/src/plugins/dashboard/public/saved_dashboards/saved_dashboards.ts index ef6d16cf529c..8e457c9f3f94 100644 --- a/src/plugins/dashboard/public/saved_dashboards/saved_dashboards.ts +++ b/src/plugins/dashboard/public/saved_dashboards/saved_dashboards.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsClientContract, ChromeStart, diff --git a/src/plugins/dashboard/public/types.ts b/src/plugins/dashboard/public/types.ts index 77f9d593d162..49705c8614db 100644 --- a/src/plugins/dashboard/public/types.ts +++ b/src/plugins/dashboard/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Query, Filter } from 'src/plugins/data/public'; import { SavedObject as SavedObjectType, SavedObjectAttributes } from 'src/core/public'; import { SavedDashboardPanel730ToLatest } from '../common'; diff --git a/src/plugins/dashboard/public/ui_actions_plugin.ts b/src/plugins/dashboard/public/ui_actions_plugin.ts index 8aa6cc570bc7..7e4578a641e5 100644 --- a/src/plugins/dashboard/public/ui_actions_plugin.ts +++ b/src/plugins/dashboard/public/ui_actions_plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from '../../../plugins/ui_actions/public'; diff --git a/src/plugins/dashboard/public/url_generator.test.ts b/src/plugins/dashboard/public/url_generator.test.ts index 443aa5fbcacc..5bbc3e5abd42 100644 --- a/src/plugins/dashboard/public/url_generator.test.ts +++ b/src/plugins/dashboard/public/url_generator.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createDashboardUrlGenerator } from './url_generator'; import { hashedItemStore } from '../../opensearch_dashboards_utils/public'; import { mockStorage } from '../../opensearch_dashboards_utils/public/storage/hashed_item_store/mock'; diff --git a/src/plugins/dashboard/public/url_generator.ts b/src/plugins/dashboard/public/url_generator.ts index 82a519989cff..969af33c9253 100644 --- a/src/plugins/dashboard/public/url_generator.ts +++ b/src/plugins/dashboard/public/url_generator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TimeRange, Filter, diff --git a/src/plugins/dashboard/public/url_utils/url_helper.test.ts b/src/plugins/dashboard/public/url_utils/url_helper.test.ts index d8f248250850..77fa477af5a9 100644 --- a/src/plugins/dashboard/public/url_utils/url_helper.test.ts +++ b/src/plugins/dashboard/public/url_utils/url_helper.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { addEmbeddableToDashboardUrl } from './url_helper'; describe('', () => { diff --git a/src/plugins/dashboard/public/url_utils/url_helper.ts b/src/plugins/dashboard/public/url_utils/url_helper.ts index f9744f739489..3ae808043e87 100644 --- a/src/plugins/dashboard/public/url_utils/url_helper.ts +++ b/src/plugins/dashboard/public/url_utils/url_helper.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parseUrl, stringifyUrl } from 'query-string'; import { DashboardConstants } from '../index'; diff --git a/src/plugins/dashboard/server/capabilities_provider.ts b/src/plugins/dashboard/server/capabilities_provider.ts index feded0702afe..e0ae2a183c47 100644 --- a/src/plugins/dashboard/server/capabilities_provider.ts +++ b/src/plugins/dashboard/server/capabilities_provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const capabilitiesProvider = () => ({ dashboard: { createNew: true, diff --git a/src/plugins/dashboard/server/index.ts b/src/plugins/dashboard/server/index.ts index 3339aabeabaa..7e2167fdc7fd 100644 --- a/src/plugins/dashboard/server/index.ts +++ b/src/plugins/dashboard/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, PluginConfigDescriptor } from '../../../core/server'; import { DashboardPlugin } from './plugin'; import { configSchema, ConfigSchema } from '../config'; diff --git a/src/plugins/dashboard/server/plugin.ts b/src/plugins/dashboard/server/plugin.ts index c775cdc0f7fc..49eb29706b04 100644 --- a/src/plugins/dashboard/server/plugin.ts +++ b/src/plugins/dashboard/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, CoreSetup, diff --git a/src/plugins/dashboard/server/saved_objects/dashboard.ts b/src/plugins/dashboard/server/saved_objects/dashboard.ts index c2beb39f9855..ee2c162733bc 100644 --- a/src/plugins/dashboard/server/saved_objects/dashboard.ts +++ b/src/plugins/dashboard/server/saved_objects/dashboard.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsType } from 'opensearch-dashboards/server'; import { dashboardSavedObjectTypeMigrations } from './dashboard_migrations'; diff --git a/src/plugins/dashboard/server/saved_objects/dashboard_migrations.test.ts b/src/plugins/dashboard/server/saved_objects/dashboard_migrations.test.ts index 2356ce369813..63684a4ccadb 100644 --- a/src/plugins/dashboard/server/saved_objects/dashboard_migrations.test.ts +++ b/src/plugins/dashboard/server/saved_objects/dashboard_migrations.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectUnsanitizedDoc } from 'opensearch-dashboards/server'; import { savedObjectsServiceMock } from '../../../../core/server/mocks'; import { dashboardSavedObjectTypeMigrations as migrations } from './dashboard_migrations'; diff --git a/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts b/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts index 58aede6b5d5e..0220fbe798f2 100644 --- a/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts +++ b/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, flow } from 'lodash'; import { SavedObjectMigrationFn } from 'opensearch-dashboards/server'; diff --git a/src/plugins/dashboard/server/saved_objects/index.ts b/src/plugins/dashboard/server/saved_objects/index.ts index 99f8ef5248e6..66d404210580 100644 --- a/src/plugins/dashboard/server/saved_objects/index.ts +++ b/src/plugins/dashboard/server/saved_objects/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { dashboardSavedObjectType } from './dashboard'; diff --git a/src/plugins/dashboard/server/saved_objects/is_dashboard_doc.ts b/src/plugins/dashboard/server/saved_objects/is_dashboard_doc.ts index e1e4ccad8e16..8ba71bcbb50f 100644 --- a/src/plugins/dashboard/server/saved_objects/is_dashboard_doc.ts +++ b/src/plugins/dashboard/server/saved_objects/is_dashboard_doc.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectUnsanitizedDoc } from 'opensearch-dashboards/server'; import { DashboardDoc730ToLatest } from '../../common'; diff --git a/src/plugins/dashboard/server/saved_objects/migrate_match_all_query.test.ts b/src/plugins/dashboard/server/saved_objects/migrate_match_all_query.test.ts index 0ead7a535fc9..8accfa8a60f8 100644 --- a/src/plugins/dashboard/server/saved_objects/migrate_match_all_query.test.ts +++ b/src/plugins/dashboard/server/saved_objects/migrate_match_all_query.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { migrateMatchAllQuery } from './migrate_match_all_query'; import { SavedObjectMigrationContext, SavedObjectMigrationFn } from 'opensearch-dashboards/server'; diff --git a/src/plugins/dashboard/server/saved_objects/migrate_match_all_query.ts b/src/plugins/dashboard/server/saved_objects/migrate_match_all_query.ts index 4ece4318e06a..8275d2206b0e 100644 --- a/src/plugins/dashboard/server/saved_objects/migrate_match_all_query.ts +++ b/src/plugins/dashboard/server/saved_objects/migrate_match_all_query.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectMigrationFn } from 'opensearch-dashboards/server'; import { get } from 'lodash'; import { DEFAULT_QUERY_LANGUAGE } from '../../../data/common'; diff --git a/src/plugins/dashboard/server/saved_objects/migrations_730.test.ts b/src/plugins/dashboard/server/saved_objects/migrations_730.test.ts index a51dff0b7866..330711c0e687 100644 --- a/src/plugins/dashboard/server/saved_objects/migrations_730.test.ts +++ b/src/plugins/dashboard/server/saved_objects/migrations_730.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { savedObjectsServiceMock } from '../../../../core/server/mocks'; import { dashboardSavedObjectTypeMigrations as migrations } from './dashboard_migrations'; import { migrations730 } from './migrations_730'; diff --git a/src/plugins/dashboard/server/saved_objects/migrations_730.ts b/src/plugins/dashboard/server/saved_objects/migrations_730.ts index f1b8e5e3176e..4d7000a13724 100644 --- a/src/plugins/dashboard/server/saved_objects/migrations_730.ts +++ b/src/plugins/dashboard/server/saved_objects/migrations_730.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { inspect } from 'util'; import { SavedObjectMigrationContext } from 'opensearch-dashboards/server'; import { DashboardDoc730ToLatest } from '../../common'; diff --git a/src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts b/src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts index 054f3a67c903..edb04feb1b55 100644 --- a/src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts +++ b/src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { opensearchFilters, Filter } from 'src/plugins/data/public'; import { moveFiltersToQuery, Pre600FilterQuery } from './move_filters_to_query'; diff --git a/src/plugins/dashboard/server/saved_objects/move_filters_to_query.ts b/src/plugins/dashboard/server/saved_objects/move_filters_to_query.ts index 31ff5e0c2225..7424f6820ef0 100644 --- a/src/plugins/dashboard/server/saved_objects/move_filters_to_query.ts +++ b/src/plugins/dashboard/server/saved_objects/move_filters_to_query.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, Query } from 'src/plugins/data/public'; export interface Pre600FilterQuery { diff --git a/src/plugins/dashboard/server/types.ts b/src/plugins/dashboard/server/types.ts index f68f6fe42213..03ae8120a30c 100644 --- a/src/plugins/dashboard/server/types.ts +++ b/src/plugins/dashboard/server/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface DashboardPluginSetup {} // eslint-disable-next-line @typescript-eslint/no-empty-interface diff --git a/src/plugins/data/common/constants.ts b/src/plugins/data/common/constants.ts index bfe003432fbd..43db1fe72b9e 100644 --- a/src/plugins/data/common/constants.ts +++ b/src/plugins/data/common/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const DEFAULT_QUERY_LANGUAGE = 'kuery'; export const UI_SETTINGS = { diff --git a/src/plugins/data/common/field_formats/constants/base_formatters.ts b/src/plugins/data/common/field_formats/constants/base_formatters.ts index 1ccac7ae8e1e..754e9dc99374 100644 --- a/src/plugins/data/common/field_formats/constants/base_formatters.ts +++ b/src/plugins/data/common/field_formats/constants/base_formatters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FieldFormatInstanceType } from '../types'; import { diff --git a/src/plugins/data/common/field_formats/constants/color_default.ts b/src/plugins/data/common/field_formats/constants/color_default.ts index f29a7b5a2581..753756ce1203 100644 --- a/src/plugins/data/common/field_formats/constants/color_default.ts +++ b/src/plugins/data/common/field_formats/constants/color_default.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const DEFAULT_CONVERTER_COLOR = { range: `${Number.NEGATIVE_INFINITY}:${Number.POSITIVE_INFINITY}`, regex: '', diff --git a/src/plugins/data/common/field_formats/content_types/html_content_type.ts b/src/plugins/data/common/field_formats/content_types/html_content_type.ts index a537857996c7..1e3195f256c1 100644 --- a/src/plugins/data/common/field_formats/content_types/html_content_type.ts +++ b/src/plugins/data/common/field_formats/content_types/html_content_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { escape, isFunction } from 'lodash'; import { IFieldFormat, HtmlContextTypeConvert, FieldFormatsContentType } from '../types'; import { asPrettyString, getHighlightHtml } from '../utils'; diff --git a/src/plugins/data/common/field_formats/content_types/index.ts b/src/plugins/data/common/field_formats/content_types/index.ts index f0ceabe9bd98..fcfab7444f2b 100644 --- a/src/plugins/data/common/field_formats/content_types/index.ts +++ b/src/plugins/data/common/field_formats/content_types/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { setup as textContentTypeSetup, TEXT_CONTEXT_TYPE } from './text_content_type'; export { setup as htmlContentTypeSetup, HTML_CONTEXT_TYPE } from './html_content_type'; diff --git a/src/plugins/data/common/field_formats/content_types/text_content_type.ts b/src/plugins/data/common/field_formats/content_types/text_content_type.ts index b932ae9bfe94..2ffd2080ea6b 100644 --- a/src/plugins/data/common/field_formats/content_types/text_content_type.ts +++ b/src/plugins/data/common/field_formats/content_types/text_content_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isFunction } from 'lodash'; import { IFieldFormat, TextContextTypeConvert, FieldFormatsContentType } from '../types'; import { asPrettyString } from '../utils'; diff --git a/src/plugins/data/common/field_formats/converters/boolean.test.ts b/src/plugins/data/common/field_formats/converters/boolean.test.ts index 2ae3943f0acd..32529c2f756b 100644 --- a/src/plugins/data/common/field_formats/converters/boolean.test.ts +++ b/src/plugins/data/common/field_formats/converters/boolean.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BoolFormat } from './boolean'; describe('Boolean Format', () => { diff --git a/src/plugins/data/common/field_formats/converters/boolean.ts b/src/plugins/data/common/field_formats/converters/boolean.ts index fa9fffa02dae..070b35d26c38 100644 --- a/src/plugins/data/common/field_formats/converters/boolean.ts +++ b/src/plugins/data/common/field_formats/converters/boolean.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { OSD_FIELD_TYPES } from '../../osd_field_types/types'; import { FieldFormat } from '../field_format'; diff --git a/src/plugins/data/common/field_formats/converters/bytes.test.ts b/src/plugins/data/common/field_formats/converters/bytes.test.ts index 3d8707c3cd2e..fe09abcad515 100644 --- a/src/plugins/data/common/field_formats/converters/bytes.test.ts +++ b/src/plugins/data/common/field_formats/converters/bytes.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BytesFormat } from './bytes'; import { UI_SETTINGS } from '../../constants'; diff --git a/src/plugins/data/common/field_formats/converters/bytes.ts b/src/plugins/data/common/field_formats/converters/bytes.ts index 2bfbac878734..ce51f51fa390 100644 --- a/src/plugins/data/common/field_formats/converters/bytes.ts +++ b/src/plugins/data/common/field_formats/converters/bytes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { NumeralFormat } from './numeral'; import { FIELD_FORMAT_IDS } from '../types'; diff --git a/src/plugins/data/common/field_formats/converters/color.test.ts b/src/plugins/data/common/field_formats/converters/color.test.ts index 663d414ccf46..689abf0e3daa 100644 --- a/src/plugins/data/common/field_formats/converters/color.test.ts +++ b/src/plugins/data/common/field_formats/converters/color.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ColorFormat } from './color'; import { HTML_CONTEXT_TYPE } from '../content_types'; diff --git a/src/plugins/data/common/field_formats/converters/color.ts b/src/plugins/data/common/field_formats/converters/color.ts index 159ab86addfa..e5a2449afeee 100644 --- a/src/plugins/data/common/field_formats/converters/color.ts +++ b/src/plugins/data/common/field_formats/converters/color.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { findLast, cloneDeep, template, escape } from 'lodash'; import { OSD_FIELD_TYPES } from '../../osd_field_types/types'; diff --git a/src/plugins/data/common/field_formats/converters/custom.ts b/src/plugins/data/common/field_formats/converters/custom.ts index 2e80e68de47b..c77be3626475 100644 --- a/src/plugins/data/common/field_formats/converters/custom.ts +++ b/src/plugins/data/common/field_formats/converters/custom.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FieldFormat } from '../field_format'; import { TextContextTypeConvert, FIELD_FORMAT_IDS, FieldFormatInstanceType } from '../types'; diff --git a/src/plugins/data/common/field_formats/converters/date_nanos_shared.test.ts b/src/plugins/data/common/field_formats/converters/date_nanos_shared.test.ts index 0e23be2fdcd9..b4d5aa2f2f5a 100644 --- a/src/plugins/data/common/field_formats/converters/date_nanos_shared.test.ts +++ b/src/plugins/data/common/field_formats/converters/date_nanos_shared.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment-timezone'; import { DateNanosFormat, analysePatternForFract, formatWithNanos } from './date_nanos_shared'; diff --git a/src/plugins/data/common/field_formats/converters/date_nanos_shared.ts b/src/plugins/data/common/field_formats/converters/date_nanos_shared.ts index 0aa8786b9385..37f7aef2b420 100644 --- a/src/plugins/data/common/field_formats/converters/date_nanos_shared.ts +++ b/src/plugins/data/common/field_formats/converters/date_nanos_shared.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { memoize, noop } from 'lodash'; import moment, { Moment } from 'moment'; diff --git a/src/plugins/data/common/field_formats/converters/duration.test.ts b/src/plugins/data/common/field_formats/converters/duration.test.ts index 9ab423598789..17cfb085ab01 100644 --- a/src/plugins/data/common/field_formats/converters/duration.test.ts +++ b/src/plugins/data/common/field_formats/converters/duration.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DurationFormat } from './duration'; describe('Duration Format', () => { diff --git a/src/plugins/data/common/field_formats/converters/duration.ts b/src/plugins/data/common/field_formats/converters/duration.ts index 5a11e90a554b..ec9ea72eea85 100644 --- a/src/plugins/data/common/field_formats/converters/duration.ts +++ b/src/plugins/data/common/field_formats/converters/duration.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import moment, { unitOfTime, Duration } from 'moment'; import { OSD_FIELD_TYPES } from '../../osd_field_types/types'; diff --git a/src/plugins/data/common/field_formats/converters/index.ts b/src/plugins/data/common/field_formats/converters/index.ts index f2ed8a8dad96..16196c8eff47 100644 --- a/src/plugins/data/common/field_formats/converters/index.ts +++ b/src/plugins/data/common/field_formats/converters/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { UrlFormat } from './url'; export { BytesFormat } from './bytes'; export { RelativeDateFormat } from './relative_date'; diff --git a/src/plugins/data/common/field_formats/converters/ip.test.ts b/src/plugins/data/common/field_formats/converters/ip.test.ts index 8ffeb8b08815..7f14fd08db4e 100644 --- a/src/plugins/data/common/field_formats/converters/ip.test.ts +++ b/src/plugins/data/common/field_formats/converters/ip.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IpFormat } from './ip'; describe('IP Address Format', () => { diff --git a/src/plugins/data/common/field_formats/converters/ip.ts b/src/plugins/data/common/field_formats/converters/ip.ts index 79c0312736ce..6588a696038d 100644 --- a/src/plugins/data/common/field_formats/converters/ip.ts +++ b/src/plugins/data/common/field_formats/converters/ip.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { OSD_FIELD_TYPES } from '../../osd_field_types/types'; import { FieldFormat } from '../field_format'; diff --git a/src/plugins/data/common/field_formats/converters/number.test.ts b/src/plugins/data/common/field_formats/converters/number.test.ts index d17711a79d68..45a0c72719c1 100644 --- a/src/plugins/data/common/field_formats/converters/number.test.ts +++ b/src/plugins/data/common/field_formats/converters/number.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { NumberFormat } from './number'; import { UI_SETTINGS } from '../../constants'; diff --git a/src/plugins/data/common/field_formats/converters/number.ts b/src/plugins/data/common/field_formats/converters/number.ts index 98e9d9196bc6..f9fa94d9c7d0 100644 --- a/src/plugins/data/common/field_formats/converters/number.ts +++ b/src/plugins/data/common/field_formats/converters/number.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { NumeralFormat } from './numeral'; import { FIELD_FORMAT_IDS } from '../types'; diff --git a/src/plugins/data/common/field_formats/converters/numeral.ts b/src/plugins/data/common/field_formats/converters/numeral.ts index 4a06558f9b13..ad0b9773823f 100644 --- a/src/plugins/data/common/field_formats/converters/numeral.ts +++ b/src/plugins/data/common/field_formats/converters/numeral.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore import numeral from '@elastic/numeral'; // @ts-ignore diff --git a/src/plugins/data/common/field_formats/converters/percent.test.ts b/src/plugins/data/common/field_formats/converters/percent.test.ts index ba53f9a6b729..b8410d15de41 100644 --- a/src/plugins/data/common/field_formats/converters/percent.test.ts +++ b/src/plugins/data/common/field_formats/converters/percent.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PercentFormat } from './percent'; import { UI_SETTINGS } from '../../constants'; diff --git a/src/plugins/data/common/field_formats/converters/percent.ts b/src/plugins/data/common/field_formats/converters/percent.ts index 6f6853805005..078ded19fed5 100644 --- a/src/plugins/data/common/field_formats/converters/percent.ts +++ b/src/plugins/data/common/field_formats/converters/percent.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { NumeralFormat } from './numeral'; import { TextContextTypeConvert, FIELD_FORMAT_IDS } from '../types'; diff --git a/src/plugins/data/common/field_formats/converters/relative_date.test.ts b/src/plugins/data/common/field_formats/converters/relative_date.test.ts index 984024d721a7..6f1ea87588c1 100644 --- a/src/plugins/data/common/field_formats/converters/relative_date.test.ts +++ b/src/plugins/data/common/field_formats/converters/relative_date.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment-timezone'; import { RelativeDateFormat } from './relative_date'; diff --git a/src/plugins/data/common/field_formats/converters/relative_date.ts b/src/plugins/data/common/field_formats/converters/relative_date.ts index b4e20be4ecfc..ddc59cae4b58 100644 --- a/src/plugins/data/common/field_formats/converters/relative_date.ts +++ b/src/plugins/data/common/field_formats/converters/relative_date.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import moment from 'moment'; import { OSD_FIELD_TYPES } from '../../osd_field_types/types'; diff --git a/src/plugins/data/common/field_formats/converters/source.test.ts b/src/plugins/data/common/field_formats/converters/source.test.ts index 1889cfdbdb9e..2b70e4f4f6a3 100644 --- a/src/plugins/data/common/field_formats/converters/source.test.ts +++ b/src/plugins/data/common/field_formats/converters/source.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SourceFormat } from './source'; import { HtmlContextTypeConvert } from '../types'; import { HTML_CONTEXT_TYPE } from '../content_types'; diff --git a/src/plugins/data/common/field_formats/converters/source.ts b/src/plugins/data/common/field_formats/converters/source.ts index dd7de3e1774f..67a5a0bfde40 100644 --- a/src/plugins/data/common/field_formats/converters/source.ts +++ b/src/plugins/data/common/field_formats/converters/source.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { template, escape, keys } from 'lodash'; import { shortenDottedString } from '../../utils'; import { OSD_FIELD_TYPES } from '../../osd_field_types/types'; diff --git a/src/plugins/data/common/field_formats/converters/static_lookup.ts b/src/plugins/data/common/field_formats/converters/static_lookup.ts index 52b1ea8e2c03..314ca8e04f19 100644 --- a/src/plugins/data/common/field_formats/converters/static_lookup.ts +++ b/src/plugins/data/common/field_formats/converters/static_lookup.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { OSD_FIELD_TYPES } from '../../osd_field_types/types'; import { FieldFormat } from '../field_format'; diff --git a/src/plugins/data/common/field_formats/converters/string.test.ts b/src/plugins/data/common/field_formats/converters/string.test.ts index b0ee24072284..bd9801a0a447 100644 --- a/src/plugins/data/common/field_formats/converters/string.test.ts +++ b/src/plugins/data/common/field_formats/converters/string.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { StringFormat } from './string'; describe('String Format', () => { diff --git a/src/plugins/data/common/field_formats/converters/string.ts b/src/plugins/data/common/field_formats/converters/string.ts index e476f2549cbf..3a3bf301b357 100644 --- a/src/plugins/data/common/field_formats/converters/string.ts +++ b/src/plugins/data/common/field_formats/converters/string.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { asPrettyString } from '../utils'; import { OSD_FIELD_TYPES } from '../../osd_field_types/types'; diff --git a/src/plugins/data/common/field_formats/converters/truncate.test.ts b/src/plugins/data/common/field_formats/converters/truncate.test.ts index 8e45f78e66de..b5f891d809b1 100644 --- a/src/plugins/data/common/field_formats/converters/truncate.test.ts +++ b/src/plugins/data/common/field_formats/converters/truncate.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TruncateFormat } from './truncate'; describe('String TruncateFormat', () => { diff --git a/src/plugins/data/common/field_formats/converters/truncate.ts b/src/plugins/data/common/field_formats/converters/truncate.ts index f39ebe035221..aca70532d31d 100644 --- a/src/plugins/data/common/field_formats/converters/truncate.ts +++ b/src/plugins/data/common/field_formats/converters/truncate.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { truncate } from 'lodash'; import { OSD_FIELD_TYPES } from '../../osd_field_types/types'; diff --git a/src/plugins/data/common/field_formats/converters/url.test.ts b/src/plugins/data/common/field_formats/converters/url.test.ts index cbe9ff3a18bd..f80dc4fd11b9 100644 --- a/src/plugins/data/common/field_formats/converters/url.test.ts +++ b/src/plugins/data/common/field_formats/converters/url.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UrlFormat } from './url'; import { TEXT_CONTEXT_TYPE, HTML_CONTEXT_TYPE } from '../content_types'; diff --git a/src/plugins/data/common/field_formats/converters/url.ts b/src/plugins/data/common/field_formats/converters/url.ts index f2515173f2ba..79c937e7ac45 100644 --- a/src/plugins/data/common/field_formats/converters/url.ts +++ b/src/plugins/data/common/field_formats/converters/url.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { escape, memoize } from 'lodash'; import { getHighlightHtml } from '../utils'; diff --git a/src/plugins/data/common/field_formats/errors.ts b/src/plugins/data/common/field_formats/errors.ts index 5675aee9143f..83ffb5324c96 100644 --- a/src/plugins/data/common/field_formats/errors.ts +++ b/src/plugins/data/common/field_formats/errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export class FieldFormatNotFoundError extends Error { public readonly formatId: string; constructor(message: string, formatId: string) { diff --git a/src/plugins/data/common/field_formats/field_format.test.ts b/src/plugins/data/common/field_formats/field_format.test.ts index d29a3a8d5345..4dadca841120 100644 --- a/src/plugins/data/common/field_formats/field_format.test.ts +++ b/src/plugins/data/common/field_formats/field_format.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { constant, trimEnd, trimStart, get } from 'lodash'; import { FieldFormat } from './field_format'; import { asPrettyString } from './utils'; diff --git a/src/plugins/data/common/field_formats/field_format.ts b/src/plugins/data/common/field_formats/field_format.ts index 2d53b5c56df9..8bff51d1f16c 100644 --- a/src/plugins/data/common/field_formats/field_format.ts +++ b/src/plugins/data/common/field_formats/field_format.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { transform, size, cloneDeep, get, defaults } from 'lodash'; import { createCustomFieldFormat } from './converters/custom'; import { diff --git a/src/plugins/data/common/field_formats/field_formats_registry.test.ts b/src/plugins/data/common/field_formats/field_formats_registry.test.ts index aec5d768b3aa..ebf12abb83d9 100644 --- a/src/plugins/data/common/field_formats/field_formats_registry.test.ts +++ b/src/plugins/data/common/field_formats/field_formats_registry.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { FieldFormatsRegistry } from './field_formats_registry'; import { BoolFormat, PercentFormat, StringFormat } from './converters'; import { FieldFormatsGetConfigFn, FieldFormatInstanceType } from './types'; diff --git a/src/plugins/data/common/field_formats/field_formats_registry.ts b/src/plugins/data/common/field_formats/field_formats_registry.ts index 07e59d2dd7e2..edf2301b7709 100644 --- a/src/plugins/data/common/field_formats/field_formats_registry.ts +++ b/src/plugins/data/common/field_formats/field_formats_registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // eslint-disable-next-line max-classes-per-file import { forOwn, isFunction, memoize, identity } from 'lodash'; diff --git a/src/plugins/data/common/field_formats/index.ts b/src/plugins/data/common/field_formats/index.ts index 75cfe9881bc2..099f01eb3296 100644 --- a/src/plugins/data/common/field_formats/index.ts +++ b/src/plugins/data/common/field_formats/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FieldFormatsRegistry } from './field_formats_registry'; type IFieldFormatsRegistry = PublicMethodsOf; diff --git a/src/plugins/data/common/field_formats/mocks.ts b/src/plugins/data/common/field_formats/mocks.ts index a4789e68a097..26682b85bab8 100644 --- a/src/plugins/data/common/field_formats/mocks.ts +++ b/src/plugins/data/common/field_formats/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { identity } from 'lodash'; import { FieldFormat, IFieldFormatsRegistry } from '.'; diff --git a/src/plugins/data/common/field_formats/types.ts b/src/plugins/data/common/field_formats/types.ts index 0700b7cdf18d..3ac381be6135 100644 --- a/src/plugins/data/common/field_formats/types.ts +++ b/src/plugins/data/common/field_formats/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { GetConfigFn } from '../types'; import { FieldFormat } from './field_format'; import { FieldFormatsRegistry } from './field_formats_registry'; diff --git a/src/plugins/data/common/field_formats/utils/as_pretty_string.test.ts b/src/plugins/data/common/field_formats/utils/as_pretty_string.test.ts index d2ec55e10bb6..dba46aa51315 100644 --- a/src/plugins/data/common/field_formats/utils/as_pretty_string.test.ts +++ b/src/plugins/data/common/field_formats/utils/as_pretty_string.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { asPrettyString } from './as_pretty_string'; describe('asPrettyString', () => { diff --git a/src/plugins/data/common/field_formats/utils/as_pretty_string.ts b/src/plugins/data/common/field_formats/utils/as_pretty_string.ts index 805c62aa45c7..9696130fda2f 100644 --- a/src/plugins/data/common/field_formats/utils/as_pretty_string.ts +++ b/src/plugins/data/common/field_formats/utils/as_pretty_string.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Convert a value to a presentable string */ diff --git a/src/plugins/data/common/field_formats/utils/highlight/highlight_html.test.ts b/src/plugins/data/common/field_formats/utils/highlight/highlight_html.test.ts index e9b7f3704156..e25fe8ba0dd8 100644 --- a/src/plugins/data/common/field_formats/utils/highlight/highlight_html.test.ts +++ b/src/plugins/data/common/field_formats/utils/highlight/highlight_html.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { highlightTags } from './highlight_tags'; import { htmlTags } from './html_tags'; import { getHighlightHtml } from './highlight_html'; diff --git a/src/plugins/data/common/field_formats/utils/highlight/highlight_html.ts b/src/plugins/data/common/field_formats/utils/highlight/highlight_html.ts index 49d10f42aaea..99eea7f9ac7e 100644 --- a/src/plugins/data/common/field_formats/utils/highlight/highlight_html.ts +++ b/src/plugins/data/common/field_formats/utils/highlight/highlight_html.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { highlightTags } from './highlight_tags'; import { htmlTags } from './html_tags'; diff --git a/src/plugins/data/common/field_formats/utils/highlight/highlight_request.test.ts b/src/plugins/data/common/field_formats/utils/highlight/highlight_request.test.ts index 6ccc3495d504..a911685fe39f 100644 --- a/src/plugins/data/common/field_formats/utils/highlight/highlight_request.test.ts +++ b/src/plugins/data/common/field_formats/utils/highlight/highlight_request.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getHighlightRequest } from './highlight_request'; describe('getHighlightRequest', () => { diff --git a/src/plugins/data/common/field_formats/utils/highlight/highlight_request.ts b/src/plugins/data/common/field_formats/utils/highlight/highlight_request.ts index 41baa47a0c51..fd766c143bfc 100644 --- a/src/plugins/data/common/field_formats/utils/highlight/highlight_request.ts +++ b/src/plugins/data/common/field_formats/utils/highlight/highlight_request.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { highlightTags } from './highlight_tags'; const FRAGMENT_SIZE = Math.pow(2, 31) - 1; // Max allowed value for fragment_size (limit of a java int) diff --git a/src/plugins/data/common/field_formats/utils/highlight/highlight_tags.ts b/src/plugins/data/common/field_formats/utils/highlight/highlight_tags.ts index c00ac83cfab0..3b638cbac87e 100644 --- a/src/plugins/data/common/field_formats/utils/highlight/highlight_tags.ts +++ b/src/plugins/data/common/field_formats/utils/highlight/highlight_tags.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // By default, OpenSearch surrounds matched values in . This is not ideal because it is possible that // the value could contain in the value. We define these custom tags that we would never expect to see // inside a field value. diff --git a/src/plugins/data/common/field_formats/utils/highlight/html_tags.ts b/src/plugins/data/common/field_formats/utils/highlight/html_tags.ts index 77eef710a96a..66d8b727d585 100644 --- a/src/plugins/data/common/field_formats/utils/highlight/html_tags.ts +++ b/src/plugins/data/common/field_formats/utils/highlight/html_tags.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // These are the html tags that will replace the highlight tags. export const htmlTags = { pre: '', diff --git a/src/plugins/data/common/field_formats/utils/highlight/index.ts b/src/plugins/data/common/field_formats/utils/highlight/index.ts index f78f5e84528a..e61148c620be 100644 --- a/src/plugins/data/common/field_formats/utils/highlight/index.ts +++ b/src/plugins/data/common/field_formats/utils/highlight/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getHighlightHtml } from './highlight_html'; export { getHighlightRequest } from './highlight_request'; diff --git a/src/plugins/data/common/field_formats/utils/index.ts b/src/plugins/data/common/field_formats/utils/index.ts index 442e4cae5d86..a13a97e9ea19 100644 --- a/src/plugins/data/common/field_formats/utils/index.ts +++ b/src/plugins/data/common/field_formats/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SerializedFieldFormat } from '../../../../expressions/common/types'; import { IFieldFormat } from '../index'; diff --git a/src/plugins/data/common/field_mapping/index.ts b/src/plugins/data/common/field_mapping/index.ts index 019737880ab6..2a38cba3a935 100644 --- a/src/plugins/data/common/field_mapping/index.ts +++ b/src/plugins/data/common/field_mapping/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { FieldMappingSpec, MappingObject } from './types'; export { expandShorthand } from './mapping_setup'; diff --git a/src/plugins/data/common/field_mapping/mapping_setup.test.ts b/src/plugins/data/common/field_mapping/mapping_setup.test.ts index 430ae4bf1628..39396308feed 100644 --- a/src/plugins/data/common/field_mapping/mapping_setup.test.ts +++ b/src/plugins/data/common/field_mapping/mapping_setup.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expandShorthand } from './mapping_setup'; import { OPENSEARCH_FIELD_TYPES } from '../../../data/common'; diff --git a/src/plugins/data/common/field_mapping/mapping_setup.ts b/src/plugins/data/common/field_mapping/mapping_setup.ts index 50b88432e3fa..7bcbb615ac62 100644 --- a/src/plugins/data/common/field_mapping/mapping_setup.ts +++ b/src/plugins/data/common/field_mapping/mapping_setup.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapValues, isString } from 'lodash'; import { FieldMappingSpec, MappingObject } from './types'; diff --git a/src/plugins/data/common/field_mapping/types.ts b/src/plugins/data/common/field_mapping/types.ts index d05c91618893..0424979063ec 100644 --- a/src/plugins/data/common/field_mapping/types.ts +++ b/src/plugins/data/common/field_mapping/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OPENSEARCH_FIELD_TYPES } from '../../../data/common'; /** @public */ diff --git a/src/plugins/data/common/index.ts b/src/plugins/data/common/index.ts index ce897d598e58..1eefb2383f8b 100644 --- a/src/plugins/data/common/index.ts +++ b/src/plugins/data/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './constants'; export * from './opensearch_query'; export * from './field_formats'; diff --git a/src/plugins/data/common/index_patterns/errors/duplicate_index_pattern.ts b/src/plugins/data/common/index_patterns/errors/duplicate_index_pattern.ts index f0fe03729826..e6ee76f7189e 100644 --- a/src/plugins/data/common/index_patterns/errors/duplicate_index_pattern.ts +++ b/src/plugins/data/common/index_patterns/errors/duplicate_index_pattern.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export class DuplicateIndexPatternError extends Error { constructor(message: string) { super(message); diff --git a/src/plugins/data/common/index_patterns/errors/index.ts b/src/plugins/data/common/index_patterns/errors/index.ts index 595e8996ee0e..9d2a1175dd3f 100644 --- a/src/plugins/data/common/index_patterns/errors/index.ts +++ b/src/plugins/data/common/index_patterns/errors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './duplicate_index_pattern'; diff --git a/src/plugins/data/common/index_patterns/field.stub.ts b/src/plugins/data/common/index_patterns/field.stub.ts index 99e346ea49a3..3d05b4f05347 100644 --- a/src/plugins/data/common/index_patterns/field.stub.ts +++ b/src/plugins/data/common/index_patterns/field.stub.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IFieldType } from '.'; export const stubFields: IFieldType[] = [ diff --git a/src/plugins/data/common/index_patterns/fields/field_list.ts b/src/plugins/data/common/index_patterns/fields/field_list.ts index c64ae99fe2b4..0fe3bc75cafb 100644 --- a/src/plugins/data/common/index_patterns/fields/field_list.ts +++ b/src/plugins/data/common/index_patterns/fields/field_list.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { findIndex } from 'lodash'; import { IFieldType } from './types'; import { IndexPatternField } from './index_pattern_field'; diff --git a/src/plugins/data/common/index_patterns/fields/fields.mocks.ts b/src/plugins/data/common/index_patterns/fields/fields.mocks.ts index 389dd9dcb029..6d57918cf3d1 100644 --- a/src/plugins/data/common/index_patterns/fields/fields.mocks.ts +++ b/src/plugins/data/common/index_patterns/fields/fields.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { IFieldType } from './types'; export const fields: IFieldType[] = [ diff --git a/src/plugins/data/common/index_patterns/fields/index.ts b/src/plugins/data/common/index_patterns/fields/index.ts index ed3ff54a088b..351c0d3b7593 100644 --- a/src/plugins/data/common/index_patterns/fields/index.ts +++ b/src/plugins/data/common/index_patterns/fields/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './types'; export { isFilterable, isNestedField } from './utils'; export * from './field_list'; diff --git a/src/plugins/data/common/index_patterns/fields/index_pattern_field.test.ts b/src/plugins/data/common/index_patterns/fields/index_pattern_field.test.ts index 2c710b172927..516264d51ad9 100644 --- a/src/plugins/data/common/index_patterns/fields/index_pattern_field.test.ts +++ b/src/plugins/data/common/index_patterns/fields/index_pattern_field.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IndexPatternField } from './index_pattern_field'; import { IndexPattern } from '../index_patterns'; import { OSD_FIELD_TYPES, FieldFormat } from '../../../common'; diff --git a/src/plugins/data/common/index_patterns/fields/index_pattern_field.ts b/src/plugins/data/common/index_patterns/fields/index_pattern_field.ts index 4a2b8ca661f8..e1882abb9722 100644 --- a/src/plugins/data/common/index_patterns/fields/index_pattern_field.ts +++ b/src/plugins/data/common/index_patterns/fields/index_pattern_field.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OsdFieldType, getOsdFieldType } from '../../osd_field_types'; import { OSD_FIELD_TYPES } from '../../osd_field_types/types'; import { IFieldType } from './types'; diff --git a/src/plugins/data/common/index_patterns/fields/types.ts b/src/plugins/data/common/index_patterns/fields/types.ts index 62c7d595eb36..727acd8a5b6b 100644 --- a/src/plugins/data/common/index_patterns/fields/types.ts +++ b/src/plugins/data/common/index_patterns/fields/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FieldSpec, IFieldSubType, IndexPattern } from '../..'; export interface IFieldType { diff --git a/src/plugins/data/common/index_patterns/fields/utils.ts b/src/plugins/data/common/index_patterns/fields/utils.ts index 40ae3ffd9896..5178568533d2 100644 --- a/src/plugins/data/common/index_patterns/fields/utils.ts +++ b/src/plugins/data/common/index_patterns/fields/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getFilterableOsdTypeNames } from '../../osd_field_types'; import { IFieldType } from './types'; diff --git a/src/plugins/data/common/index_patterns/index.ts b/src/plugins/data/common/index_patterns/index.ts index 347d06fd3147..29ed26283a7c 100644 --- a/src/plugins/data/common/index_patterns/index.ts +++ b/src/plugins/data/common/index_patterns/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './fields'; export * from './types'; export { IndexPatternsService } from './index_patterns'; diff --git a/src/plugins/data/common/index_patterns/index_pattern.stub.ts b/src/plugins/data/common/index_patterns/index_pattern.stub.ts index 74b7a3d7755c..0eb3fd373c95 100644 --- a/src/plugins/data/common/index_patterns/index_pattern.stub.ts +++ b/src/plugins/data/common/index_patterns/index_pattern.stub.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IIndexPattern } from '.'; import { stubFields } from './field.stub'; diff --git a/src/plugins/data/common/index_patterns/index_patterns/_pattern_cache.ts b/src/plugins/data/common/index_patterns/index_patterns/_pattern_cache.ts index dbff705f1b55..cc54e7b4cdde 100644 --- a/src/plugins/data/common/index_patterns/index_patterns/_pattern_cache.ts +++ b/src/plugins/data/common/index_patterns/index_patterns/_pattern_cache.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IndexPattern } from './index_pattern'; export interface PatternCache { diff --git a/src/plugins/data/common/index_patterns/index_patterns/ensure_default_index_pattern.ts b/src/plugins/data/common/index_patterns/index_patterns/ensure_default_index_pattern.ts index b3cc060d9852..e64b0bf33f63 100644 --- a/src/plugins/data/common/index_patterns/index_patterns/ensure_default_index_pattern.ts +++ b/src/plugins/data/common/index_patterns/index_patterns/ensure_default_index_pattern.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { includes } from 'lodash'; import { IndexPatternsContract } from './index_patterns'; import { UiSettingsCommon } from '../types'; diff --git a/src/plugins/data/common/index_patterns/index_patterns/flatten_hit.ts b/src/plugins/data/common/index_patterns/index_patterns/flatten_hit.ts index 89bc74236891..63dc3eb453dd 100644 --- a/src/plugins/data/common/index_patterns/index_patterns/flatten_hit.ts +++ b/src/plugins/data/common/index_patterns/index_patterns/flatten_hit.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { IndexPattern } from './index_pattern'; diff --git a/src/plugins/data/common/index_patterns/index_patterns/format_hit.ts b/src/plugins/data/common/index_patterns/index_patterns/format_hit.ts index fb163d1d276e..204fea175728 100644 --- a/src/plugins/data/common/index_patterns/index_patterns/format_hit.ts +++ b/src/plugins/data/common/index_patterns/index_patterns/format_hit.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { IndexPattern } from './index_pattern'; import { FieldFormatsContentType } from '../../../common'; diff --git a/src/plugins/data/common/index_patterns/index_patterns/index.ts b/src/plugins/data/common/index_patterns/index_patterns/index.ts index 0d548569641c..c2ca639b0ae5 100644 --- a/src/plugins/data/common/index_patterns/index_patterns/index.ts +++ b/src/plugins/data/common/index_patterns/index_patterns/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './_pattern_cache'; export * from './flatten_hit'; export * from './format_hit'; diff --git a/src/plugins/data/common/index_patterns/index_patterns/index_pattern.test.ts b/src/plugins/data/common/index_patterns/index_patterns/index_pattern.test.ts index 733fd7049ad1..a5ccece49943 100644 --- a/src/plugins/data/common/index_patterns/index_patterns/index_pattern.test.ts +++ b/src/plugins/data/common/index_patterns/index_patterns/index_pattern.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { map, last } from 'lodash'; import { IndexPattern } from './index_pattern'; diff --git a/src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts b/src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts index ce53461c1de7..ebe893479cf3 100644 --- a/src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts +++ b/src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _, { each, reject } from 'lodash'; import { SavedObjectsClientCommon } from '../..'; import { DuplicateField } from '../../../../opensearch_dashboards_utils/common'; diff --git a/src/plugins/data/common/index_patterns/index_patterns/index_patterns.test.ts b/src/plugins/data/common/index_patterns/index_patterns/index_patterns.test.ts index 8fb384a20ce0..fe39a05b6b71 100644 --- a/src/plugins/data/common/index_patterns/index_patterns/index_patterns.test.ts +++ b/src/plugins/data/common/index_patterns/index_patterns/index_patterns.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { defaults } from 'lodash'; import { IndexPatternsService, IndexPattern } from '.'; import { fieldFormatsMock } from '../../field_formats/mocks'; diff --git a/src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts b/src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts index 60514f2720fd..f3d605472b96 100644 --- a/src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts +++ b/src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { SavedObjectsClientCommon } from '../..'; diff --git a/src/plugins/data/common/index_patterns/lib/errors.ts b/src/plugins/data/common/index_patterns/lib/errors.ts index c1cb1baf5480..782e92dfa06c 100644 --- a/src/plugins/data/common/index_patterns/lib/errors.ts +++ b/src/plugins/data/common/index_patterns/lib/errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable */ import { OsdError } from '../../../../opensearch_dashboards_utils/common/'; diff --git a/src/plugins/data/common/index_patterns/lib/get_from_saved_object.ts b/src/plugins/data/common/index_patterns/lib/get_from_saved_object.ts index e74d459598c8..d3d412d6098d 100644 --- a/src/plugins/data/common/index_patterns/lib/get_from_saved_object.ts +++ b/src/plugins/data/common/index_patterns/lib/get_from_saved_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObject } from 'src/core/public'; import { get } from 'lodash'; import { IIndexPattern, IndexPatternAttributes } from '../..'; diff --git a/src/plugins/data/common/index_patterns/lib/get_title.ts b/src/plugins/data/common/index_patterns/lib/get_title.ts index 09f3530b2b1f..c8677a9a7984 100644 --- a/src/plugins/data/common/index_patterns/lib/get_title.ts +++ b/src/plugins/data/common/index_patterns/lib/get_title.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsClientContract, SimpleSavedObject } from '../../../../../core/public'; export async function getTitle( diff --git a/src/plugins/data/common/index_patterns/lib/index.ts b/src/plugins/data/common/index_patterns/lib/index.ts index ae2be81be0e5..743017913bd2 100644 --- a/src/plugins/data/common/index_patterns/lib/index.ts +++ b/src/plugins/data/common/index_patterns/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { IndexPatternMissingIndices } from './errors'; export { getTitle } from './get_title'; export { getFromSavedObject } from './get_from_saved_object'; diff --git a/src/plugins/data/common/index_patterns/lib/is_default.ts b/src/plugins/data/common/index_patterns/lib/is_default.ts index 47205d015cdc..bd8da17e605d 100644 --- a/src/plugins/data/common/index_patterns/lib/is_default.ts +++ b/src/plugins/data/common/index_patterns/lib/is_default.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IIndexPattern } from '../..'; export const isDefault = (indexPattern: IIndexPattern) => { diff --git a/src/plugins/data/common/index_patterns/lib/types.ts b/src/plugins/data/common/index_patterns/lib/types.ts index 17f93364840c..335238272d77 100644 --- a/src/plugins/data/common/index_patterns/lib/types.ts +++ b/src/plugins/data/common/index_patterns/lib/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const ILLEGAL_CHARACTERS_KEY = 'ILLEGAL_CHARACTERS'; export const CONTAINS_SPACES_KEY = 'CONTAINS_SPACES'; export const ILLEGAL_CHARACTERS_VISIBLE = ['\\', '/', '?', '"', '<', '>', '|']; diff --git a/src/plugins/data/common/index_patterns/lib/validate_index_pattern.test.ts b/src/plugins/data/common/index_patterns/lib/validate_index_pattern.test.ts index 9afdfa2ee53d..98ffdfb632f3 100644 --- a/src/plugins/data/common/index_patterns/lib/validate_index_pattern.test.ts +++ b/src/plugins/data/common/index_patterns/lib/validate_index_pattern.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CONTAINS_SPACES_KEY, ILLEGAL_CHARACTERS_KEY, ILLEGAL_CHARACTERS_VISIBLE } from './types'; import { validateIndexPattern } from './validate_index_pattern'; diff --git a/src/plugins/data/common/index_patterns/lib/validate_index_pattern.ts b/src/plugins/data/common/index_patterns/lib/validate_index_pattern.ts index 41cc9ad57194..4f6eb23fb872 100644 --- a/src/plugins/data/common/index_patterns/lib/validate_index_pattern.ts +++ b/src/plugins/data/common/index_patterns/lib/validate_index_pattern.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ILLEGAL_CHARACTERS_VISIBLE, CONTAINS_SPACES_KEY, ILLEGAL_CHARACTERS_KEY } from './types'; function indexPatternContainsSpaces(indexPattern: string): boolean { diff --git a/src/plugins/data/common/index_patterns/mocks.ts b/src/plugins/data/common/index_patterns/mocks.ts index 6087251e12d7..c112306e7586 100644 --- a/src/plugins/data/common/index_patterns/mocks.ts +++ b/src/plugins/data/common/index_patterns/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './fields/fields.mocks'; diff --git a/src/plugins/data/common/index_patterns/types.ts b/src/plugins/data/common/index_patterns/types.ts index a9f934fa8634..01ab9e41bab1 100644 --- a/src/plugins/data/common/index_patterns/types.ts +++ b/src/plugins/data/common/index_patterns/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToastInputFields, ErrorToastOptions } from 'src/core/public/notifications'; // eslint-disable-next-line import type { SavedObject } from 'src/core/server'; diff --git a/src/plugins/data/common/index_patterns/utils.test.ts b/src/plugins/data/common/index_patterns/utils.test.ts index f6356246c6e6..ab0424487b20 100644 --- a/src/plugins/data/common/index_patterns/utils.test.ts +++ b/src/plugins/data/common/index_patterns/utils.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isFilterable } from '.'; import { IFieldType } from './fields'; diff --git a/src/plugins/data/common/index_patterns/utils.ts b/src/plugins/data/common/index_patterns/utils.ts index cdc0d6cfdfdc..a2d9b07b1c81 100644 --- a/src/plugins/data/common/index_patterns/utils.ts +++ b/src/plugins/data/common/index_patterns/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import type { IndexPatternSavedObjectAttrs } from './index_patterns'; import type { SavedObjectsClientCommon } from '../types'; diff --git a/src/plugins/data/common/opensearch_query/__fixtures__/index_pattern_response.ts b/src/plugins/data/common/opensearch_query/__fixtures__/index_pattern_response.ts index 2c5a43696322..b0343616910b 100644 --- a/src/plugins/data/common/opensearch_query/__fixtures__/index_pattern_response.ts +++ b/src/plugins/data/common/opensearch_query/__fixtures__/index_pattern_response.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const indexPatternResponse = { id: 'logstash-*', title: 'logstash-*', diff --git a/src/plugins/data/common/opensearch_query/filters/build_filter.test.ts b/src/plugins/data/common/opensearch_query/filters/build_filter.test.ts index 956463bf9268..4a16607d4c10 100644 --- a/src/plugins/data/common/opensearch_query/filters/build_filter.test.ts +++ b/src/plugins/data/common/opensearch_query/filters/build_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildFilter, FilterStateStore, FILTERS } from '.'; import { stubIndexPattern, stubFields } from '../../../common/stubs'; diff --git a/src/plugins/data/common/opensearch_query/filters/build_filters.ts b/src/plugins/data/common/opensearch_query/filters/build_filters.ts index 0f8eb66a0d4b..849067de7c5d 100644 --- a/src/plugins/data/common/opensearch_query/filters/build_filters.ts +++ b/src/plugins/data/common/opensearch_query/filters/build_filters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IIndexPattern, IFieldType } from '../..'; import { Filter, diff --git a/src/plugins/data/common/opensearch_query/filters/custom_filter.ts b/src/plugins/data/common/opensearch_query/filters/custom_filter.ts index e39997636a07..fae0ac01c894 100644 --- a/src/plugins/data/common/opensearch_query/filters/custom_filter.ts +++ b/src/plugins/data/common/opensearch_query/filters/custom_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter } from './meta_filter'; export type CustomFilter = Filter & { diff --git a/src/plugins/data/common/opensearch_query/filters/exists_filter.test.ts b/src/plugins/data/common/opensearch_query/filters/exists_filter.test.ts index f965c6255c3e..222b81c72559 100644 --- a/src/plugins/data/common/opensearch_query/filters/exists_filter.test.ts +++ b/src/plugins/data/common/opensearch_query/filters/exists_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildExistsFilter, getExistsFilterField } from './exists_filter'; import { IIndexPattern } from '../../index_patterns'; import { fields } from '../../index_patterns/fields/fields.mocks'; diff --git a/src/plugins/data/common/opensearch_query/filters/exists_filter.ts b/src/plugins/data/common/opensearch_query/filters/exists_filter.ts index 279039b68c97..2534e1780545 100644 --- a/src/plugins/data/common/opensearch_query/filters/exists_filter.ts +++ b/src/plugins/data/common/opensearch_query/filters/exists_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, FilterMeta } from './meta_filter'; import { IIndexPattern, IFieldType } from '../../index_patterns'; diff --git a/src/plugins/data/common/opensearch_query/filters/geo_bounding_box_filter.test.ts b/src/plugins/data/common/opensearch_query/filters/geo_bounding_box_filter.test.ts index 99457a689521..1955eb836c96 100644 --- a/src/plugins/data/common/opensearch_query/filters/geo_bounding_box_filter.test.ts +++ b/src/plugins/data/common/opensearch_query/filters/geo_bounding_box_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getGeoBoundingBoxFilterField } from './geo_bounding_box_filter'; describe('geo_bounding_box filter', function () { diff --git a/src/plugins/data/common/opensearch_query/filters/geo_bounding_box_filter.ts b/src/plugins/data/common/opensearch_query/filters/geo_bounding_box_filter.ts index a632002e3cf7..c2fca84e54b8 100644 --- a/src/plugins/data/common/opensearch_query/filters/geo_bounding_box_filter.ts +++ b/src/plugins/data/common/opensearch_query/filters/geo_bounding_box_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, FilterMeta, LatLon } from './meta_filter'; export type GeoBoundingBoxFilterMeta = FilterMeta & { diff --git a/src/plugins/data/common/opensearch_query/filters/geo_polygon_filter.test.ts b/src/plugins/data/common/opensearch_query/filters/geo_polygon_filter.test.ts index 3f6e67366793..e74ee4bbc8e2 100644 --- a/src/plugins/data/common/opensearch_query/filters/geo_polygon_filter.test.ts +++ b/src/plugins/data/common/opensearch_query/filters/geo_polygon_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getGeoPolygonFilterField } from './geo_polygon_filter'; describe('geo_polygon filter', function () { diff --git a/src/plugins/data/common/opensearch_query/filters/geo_polygon_filter.ts b/src/plugins/data/common/opensearch_query/filters/geo_polygon_filter.ts index 75a4eca14ad6..1787e302269a 100644 --- a/src/plugins/data/common/opensearch_query/filters/geo_polygon_filter.ts +++ b/src/plugins/data/common/opensearch_query/filters/geo_polygon_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, FilterMeta, LatLon } from './meta_filter'; export type GeoPolygonFilterMeta = FilterMeta & { diff --git a/src/plugins/data/common/opensearch_query/filters/get_display_value.ts b/src/plugins/data/common/opensearch_query/filters/get_display_value.ts index b115d5e9d4fa..47637774535f 100644 --- a/src/plugins/data/common/opensearch_query/filters/get_display_value.ts +++ b/src/plugins/data/common/opensearch_query/filters/get_display_value.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { IIndexPattern } from '../..'; import { getIndexPatternFromFilter } from './get_index_pattern_from_filter'; diff --git a/src/plugins/data/common/opensearch_query/filters/get_filter_field.test.ts b/src/plugins/data/common/opensearch_query/filters/get_filter_field.test.ts index 202588e9ac86..31fb7e0fa5e9 100644 --- a/src/plugins/data/common/opensearch_query/filters/get_filter_field.test.ts +++ b/src/plugins/data/common/opensearch_query/filters/get_filter_field.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildPhraseFilter } from './phrase_filter'; import { buildQueryFilter } from './query_string_filter'; import { getFilterField } from './get_filter_field'; diff --git a/src/plugins/data/common/opensearch_query/filters/get_filter_field.ts b/src/plugins/data/common/opensearch_query/filters/get_filter_field.ts index feec74e0d04a..dff6866b4917 100644 --- a/src/plugins/data/common/opensearch_query/filters/get_filter_field.ts +++ b/src/plugins/data/common/opensearch_query/filters/get_filter_field.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter } from './meta_filter'; import { getExistsFilterField, isExistsFilter } from './exists_filter'; import { getGeoBoundingBoxFilterField, isGeoBoundingBoxFilter } from './geo_bounding_box_filter'; diff --git a/src/plugins/data/common/opensearch_query/filters/get_filter_params.test.ts b/src/plugins/data/common/opensearch_query/filters/get_filter_params.test.ts index badad6ed7f64..d5f83598faa9 100644 --- a/src/plugins/data/common/opensearch_query/filters/get_filter_params.test.ts +++ b/src/plugins/data/common/opensearch_query/filters/get_filter_params.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { phraseFilter, phrasesFilter, rangeFilter, existsFilter } from './stubs'; import { getFilterParams } from './get_filter_params'; diff --git a/src/plugins/data/common/opensearch_query/filters/get_filter_params.ts b/src/plugins/data/common/opensearch_query/filters/get_filter_params.ts index 8f42e33007f7..9d257290510d 100644 --- a/src/plugins/data/common/opensearch_query/filters/get_filter_params.ts +++ b/src/plugins/data/common/opensearch_query/filters/get_filter_params.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, FILTERS, PhraseFilter, PhrasesFilter, RangeFilter } from '.'; export function getFilterParams(filter: Filter) { diff --git a/src/plugins/data/common/opensearch_query/filters/get_index_pattern_from_filter.test.ts b/src/plugins/data/common/opensearch_query/filters/get_index_pattern_from_filter.test.ts index 754f5355e06d..6fee54f9645e 100644 --- a/src/plugins/data/common/opensearch_query/filters/get_index_pattern_from_filter.test.ts +++ b/src/plugins/data/common/opensearch_query/filters/get_index_pattern_from_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { stubIndexPattern, phraseFilter } from 'src/plugins/data/common/stubs'; import { getIndexPatternFromFilter } from './get_index_pattern_from_filter'; diff --git a/src/plugins/data/common/opensearch_query/filters/get_index_pattern_from_filter.ts b/src/plugins/data/common/opensearch_query/filters/get_index_pattern_from_filter.ts index 55a0d66913ce..8836a83266ab 100644 --- a/src/plugins/data/common/opensearch_query/filters/get_index_pattern_from_filter.ts +++ b/src/plugins/data/common/opensearch_query/filters/get_index_pattern_from_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter } from '../filters'; import { IIndexPattern } from '../..'; diff --git a/src/plugins/data/common/opensearch_query/filters/index.ts b/src/plugins/data/common/opensearch_query/filters/index.ts index 59f6af8759e4..ac11b067c3cb 100644 --- a/src/plugins/data/common/opensearch_query/filters/index.ts +++ b/src/plugins/data/common/opensearch_query/filters/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { omit, get } from 'lodash'; import { Filter } from './meta_filter'; diff --git a/src/plugins/data/common/opensearch_query/filters/match_all_filter.ts b/src/plugins/data/common/opensearch_query/filters/match_all_filter.ts index 2bd644fd4c69..985c3bc23377 100644 --- a/src/plugins/data/common/opensearch_query/filters/match_all_filter.ts +++ b/src/plugins/data/common/opensearch_query/filters/match_all_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, FilterMeta } from './meta_filter'; export interface MatchAllFilterMeta extends FilterMeta { diff --git a/src/plugins/data/common/opensearch_query/filters/meta_filter.ts b/src/plugins/data/common/opensearch_query/filters/meta_filter.ts index c2c83f62a97e..f3e0b9197d40 100644 --- a/src/plugins/data/common/opensearch_query/filters/meta_filter.ts +++ b/src/plugins/data/common/opensearch_query/filters/meta_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export enum FilterStateStore { APP_STATE = 'appState', GLOBAL_STATE = 'globalState', diff --git a/src/plugins/data/common/opensearch_query/filters/missing_filter.test.ts b/src/plugins/data/common/opensearch_query/filters/missing_filter.test.ts index fee906528f0e..b5989e05b893 100644 --- a/src/plugins/data/common/opensearch_query/filters/missing_filter.test.ts +++ b/src/plugins/data/common/opensearch_query/filters/missing_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getMissingFilterField } from './missing_filter'; describe('missing filter', function () { diff --git a/src/plugins/data/common/opensearch_query/filters/missing_filter.ts b/src/plugins/data/common/opensearch_query/filters/missing_filter.ts index 86e4f1abcabf..3af5dfb4e040 100644 --- a/src/plugins/data/common/opensearch_query/filters/missing_filter.ts +++ b/src/plugins/data/common/opensearch_query/filters/missing_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, FilterMeta } from './meta_filter'; export type MissingFilterMeta = FilterMeta; diff --git a/src/plugins/data/common/opensearch_query/filters/phrase_filter.test.ts b/src/plugins/data/common/opensearch_query/filters/phrase_filter.test.ts index fabe41328f39..70948f5417d5 100644 --- a/src/plugins/data/common/opensearch_query/filters/phrase_filter.test.ts +++ b/src/plugins/data/common/opensearch_query/filters/phrase_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildInlineScriptForPhraseFilter, buildPhraseFilter, diff --git a/src/plugins/data/common/opensearch_query/filters/phrase_filter.ts b/src/plugins/data/common/opensearch_query/filters/phrase_filter.ts index 485aeebbaa45..9a736b77958d 100644 --- a/src/plugins/data/common/opensearch_query/filters/phrase_filter.ts +++ b/src/plugins/data/common/opensearch_query/filters/phrase_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, isPlainObject } from 'lodash'; import { Filter, FilterMeta } from './meta_filter'; import { IIndexPattern, IFieldType } from '../../index_patterns'; diff --git a/src/plugins/data/common/opensearch_query/filters/phrases_filter.test.ts b/src/plugins/data/common/opensearch_query/filters/phrases_filter.test.ts index 94959dc2beaf..26ec1375f2b2 100644 --- a/src/plugins/data/common/opensearch_query/filters/phrases_filter.test.ts +++ b/src/plugins/data/common/opensearch_query/filters/phrases_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildPhrasesFilter, getPhrasesFilterField } from './phrases_filter'; import { IIndexPattern } from '../../index_patterns'; import { fields } from '../../index_patterns/fields/fields.mocks'; diff --git a/src/plugins/data/common/opensearch_query/filters/phrases_filter.ts b/src/plugins/data/common/opensearch_query/filters/phrases_filter.ts index e2ba7d9a295e..a3e4c61ea202 100644 --- a/src/plugins/data/common/opensearch_query/filters/phrases_filter.ts +++ b/src/plugins/data/common/opensearch_query/filters/phrases_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, FilterMeta } from './meta_filter'; import { getPhraseScript } from './phrase_filter'; import { FILTERS } from './index'; diff --git a/src/plugins/data/common/opensearch_query/filters/query_string_filter.test.ts b/src/plugins/data/common/opensearch_query/filters/query_string_filter.test.ts index 7fe6fe81d93a..90704c458331 100644 --- a/src/plugins/data/common/opensearch_query/filters/query_string_filter.test.ts +++ b/src/plugins/data/common/opensearch_query/filters/query_string_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildQueryFilter } from './query_string_filter'; describe('Query string filter builder', () => { diff --git a/src/plugins/data/common/opensearch_query/filters/query_string_filter.ts b/src/plugins/data/common/opensearch_query/filters/query_string_filter.ts index 87c08af3603a..ed48dae78e8e 100644 --- a/src/plugins/data/common/opensearch_query/filters/query_string_filter.ts +++ b/src/plugins/data/common/opensearch_query/filters/query_string_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, FilterMeta } from './meta_filter'; export type QueryStringFilterMeta = FilterMeta; diff --git a/src/plugins/data/common/opensearch_query/filters/range_filter.test.ts b/src/plugins/data/common/opensearch_query/filters/range_filter.test.ts index dde969f89f71..c4c64de72aa7 100644 --- a/src/plugins/data/common/opensearch_query/filters/range_filter.test.ts +++ b/src/plugins/data/common/opensearch_query/filters/range_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { each } from 'lodash'; import { buildRangeFilter, getRangeFilterField, RangeFilter } from './range_filter'; import { fields, getField } from '../../index_patterns/mocks'; diff --git a/src/plugins/data/common/opensearch_query/filters/range_filter.ts b/src/plugins/data/common/opensearch_query/filters/range_filter.ts index a8eed9b2a2bd..12d49f5cc71c 100644 --- a/src/plugins/data/common/opensearch_query/filters/range_filter.ts +++ b/src/plugins/data/common/opensearch_query/filters/range_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { map, reduce, mapValues, get, keys, pickBy } from 'lodash'; import { Filter, FilterMeta } from './meta_filter'; import { IIndexPattern, IFieldType } from '../../index_patterns'; diff --git a/src/plugins/data/common/opensearch_query/filters/stubs/exists_filter.ts b/src/plugins/data/common/opensearch_query/filters/stubs/exists_filter.ts index fc70dc071897..e7c787bf208c 100644 --- a/src/plugins/data/common/opensearch_query/filters/stubs/exists_filter.ts +++ b/src/plugins/data/common/opensearch_query/filters/stubs/exists_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExistsFilter, FilterStateStore } from '..'; export const existsFilter: ExistsFilter = { diff --git a/src/plugins/data/common/opensearch_query/filters/stubs/index.ts b/src/plugins/data/common/opensearch_query/filters/stubs/index.ts index 84dc0862324f..a4768e3c1196 100644 --- a/src/plugins/data/common/opensearch_query/filters/stubs/index.ts +++ b/src/plugins/data/common/opensearch_query/filters/stubs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './exists_filter'; export * from './phrase_filter'; export * from './phrases_filter'; diff --git a/src/plugins/data/common/opensearch_query/filters/stubs/phrase_filter.ts b/src/plugins/data/common/opensearch_query/filters/stubs/phrase_filter.ts index a71a0c5a76de..ab1d30f2969f 100644 --- a/src/plugins/data/common/opensearch_query/filters/stubs/phrase_filter.ts +++ b/src/plugins/data/common/opensearch_query/filters/stubs/phrase_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PhraseFilter, FilterStateStore } from '..'; export const phraseFilter: PhraseFilter = { diff --git a/src/plugins/data/common/opensearch_query/filters/stubs/phrases_filter.ts b/src/plugins/data/common/opensearch_query/filters/stubs/phrases_filter.ts index 28fd730201d5..454c19f7d246 100644 --- a/src/plugins/data/common/opensearch_query/filters/stubs/phrases_filter.ts +++ b/src/plugins/data/common/opensearch_query/filters/stubs/phrases_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FilterStateStore, PhrasesFilter } from '..'; export const phrasesFilter: PhrasesFilter = { diff --git a/src/plugins/data/common/opensearch_query/filters/stubs/range_filter.ts b/src/plugins/data/common/opensearch_query/filters/stubs/range_filter.ts index 09deeaf413f7..475db68a8104 100644 --- a/src/plugins/data/common/opensearch_query/filters/stubs/range_filter.ts +++ b/src/plugins/data/common/opensearch_query/filters/stubs/range_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { RangeFilter, FilterStateStore } from '..'; export const rangeFilter: RangeFilter = { diff --git a/src/plugins/data/common/opensearch_query/filters/types.ts b/src/plugins/data/common/opensearch_query/filters/types.ts index 028e22d6423c..e467cb2d87e2 100644 --- a/src/plugins/data/common/opensearch_query/filters/types.ts +++ b/src/plugins/data/common/opensearch_query/filters/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExistsFilter } from './exists_filter'; import { GeoBoundingBoxFilter } from './geo_bounding_box_filter'; import { GeoPolygonFilter } from './geo_polygon_filter'; diff --git a/src/plugins/data/common/opensearch_query/index.ts b/src/plugins/data/common/opensearch_query/index.ts index 7cfd7d80e5c5..a3e5e94999bd 100644 --- a/src/plugins/data/common/opensearch_query/index.ts +++ b/src/plugins/data/common/opensearch_query/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export * from './opensearch_query'; export * from './filters'; export * from './kuery'; diff --git a/src/plugins/data/common/opensearch_query/kuery/ast/_generated_/kuery.js b/src/plugins/data/common/opensearch_query/kuery/ast/_generated_/kuery.js index fc6b706f6e01..7faf78fc757d 100644 --- a/src/plugins/data/common/opensearch_query/kuery/ast/_generated_/kuery.js +++ b/src/plugins/data/common/opensearch_query/kuery/ast/_generated_/kuery.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + module.exports = (function() { "use strict"; diff --git a/src/plugins/data/common/opensearch_query/kuery/ast/ast.test.ts b/src/plugins/data/common/opensearch_query/kuery/ast/ast.test.ts index 083272e3861f..3e5744ed72cd 100644 --- a/src/plugins/data/common/opensearch_query/kuery/ast/ast.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/ast/ast.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fromKueryExpression, fromLiteralExpression, diff --git a/src/plugins/data/common/opensearch_query/kuery/ast/ast.ts b/src/plugins/data/common/opensearch_query/kuery/ast/ast.ts index 04ec38f4d6a5..57003e445bc5 100644 --- a/src/plugins/data/common/opensearch_query/kuery/ast/ast.ts +++ b/src/plugins/data/common/opensearch_query/kuery/ast/ast.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { nodeTypes } from '../node_types/index'; import { DQLSyntaxError } from '../kuery_syntax_error'; import { KueryNode, DslQuery, KueryParseOptions } from '../types'; diff --git a/src/plugins/data/common/opensearch_query/kuery/ast/index.ts b/src/plugins/data/common/opensearch_query/kuery/ast/index.ts index 27e61d86e9c5..dcc38f3c0a82 100644 --- a/src/plugins/data/common/opensearch_query/kuery/ast/index.ts +++ b/src/plugins/data/common/opensearch_query/kuery/ast/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './ast'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/and.test.ts b/src/plugins/data/common/opensearch_query/kuery/functions/and.test.ts index 541d88ffa81d..11cc6dcd34e5 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/and.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/and.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { nodeTypes } from '../node_types'; import { fields } from '../../../index_patterns/mocks'; import { IIndexPattern } from '../../../index_patterns'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/and.ts b/src/plugins/data/common/opensearch_query/kuery/functions/and.ts index 1ca7f38baae2..c1a4e8e75961 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/and.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/and.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as ast from '../ast'; import { IIndexPattern, KueryNode } from '../../..'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/exists.test.ts b/src/plugins/data/common/opensearch_query/kuery/functions/exists.test.ts index 030779979b61..0c358d8afb62 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/exists.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/exists.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { nodeTypes } from '../node_types'; import { fields } from '../../../index_patterns/mocks'; import { IIndexPattern } from '../../../index_patterns'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/exists.ts b/src/plugins/data/common/opensearch_query/kuery/functions/exists.ts index c8309a99899f..ecfced19f989 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/exists.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/exists.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import * as literal from '../node_types/literal'; import { IIndexPattern, KueryNode, IFieldType } from '../../..'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/geo_bounding_box.test.ts b/src/plugins/data/common/opensearch_query/kuery/functions/geo_bounding_box.test.ts index 6bfee7873a16..618a519bca9e 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/geo_bounding_box.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/geo_bounding_box.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { nodeTypes } from '../node_types'; import { fields } from '../../../index_patterns/mocks'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/geo_bounding_box.ts b/src/plugins/data/common/opensearch_query/kuery/functions/geo_bounding_box.ts index 3ad371c48d3b..e9e9cebd100d 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/geo_bounding_box.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/geo_bounding_box.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { nodeTypes } from '../node_types'; import * as ast from '../ast'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/geo_polygon.test.ts b/src/plugins/data/common/opensearch_query/kuery/functions/geo_polygon.test.ts index 0b1a5b1641de..b51aef45f2c3 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/geo_polygon.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/geo_polygon.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { nodeTypes } from '../node_types'; import { fields } from '../../../index_patterns/mocks'; import { IIndexPattern } from '../../../index_patterns'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/geo_polygon.ts b/src/plugins/data/common/opensearch_query/kuery/functions/geo_polygon.ts index 03726342b302..56486a774a35 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/geo_polygon.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/geo_polygon.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { nodeTypes } from '../node_types'; import * as ast from '../ast'; import { IIndexPattern, KueryNode, IFieldType, LatLon } from '../../..'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/index.ts b/src/plugins/data/common/opensearch_query/kuery/functions/index.ts index 3d7ad9c21f21..eaa80e2912fa 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/index.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as is from './is'; import * as and from './and'; import * as or from './or'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/is.test.ts b/src/plugins/data/common/opensearch_query/kuery/functions/is.test.ts index 112ffe941a77..573c92592ecf 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/is.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/is.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { nodeTypes } from '../node_types'; import { fields } from '../../../index_patterns/mocks'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/is.ts b/src/plugins/data/common/opensearch_query/kuery/functions/is.ts index 65aae6f6b596..35d36e736e5b 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/is.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/is.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, isUndefined } from 'lodash'; import { getPhraseScript } from '../../filters'; import { getFields } from './utils/get_fields'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/nested.test.ts b/src/plugins/data/common/opensearch_query/kuery/functions/nested.test.ts index 32e6494adee1..a5ed444f8410 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/nested.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/nested.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { nodeTypes } from '../node_types'; import { fields } from '../../../index_patterns/mocks'; import { IIndexPattern } from '../../../index_patterns'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/nested.ts b/src/plugins/data/common/opensearch_query/kuery/functions/nested.ts index 86c54a3b7f54..6b6e6c3f760b 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/nested.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/nested.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as ast from '../ast'; import * as literal from '../node_types/literal'; import { IIndexPattern, KueryNode } from '../../..'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/not.test.ts b/src/plugins/data/common/opensearch_query/kuery/functions/not.test.ts index d0c8de1f431d..773b051d9d05 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/not.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/not.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { nodeTypes } from '../node_types'; import { fields } from '../../../index_patterns/mocks'; import { IIndexPattern } from '../../../index_patterns'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/not.ts b/src/plugins/data/common/opensearch_query/kuery/functions/not.ts index 5e300f08ba1c..df53bf962401 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/not.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/not.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as ast from '../ast'; import { IIndexPattern, KueryNode } from '../../..'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/or.test.ts b/src/plugins/data/common/opensearch_query/kuery/functions/or.test.ts index b7ce4918f31d..6cabedd7f3d6 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/or.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/or.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { nodeTypes } from '../node_types'; import { fields } from '../../../index_patterns/mocks'; import { IIndexPattern } from '../../../index_patterns'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/or.ts b/src/plugins/data/common/opensearch_query/kuery/functions/or.ts index b859729b09f8..24107c7626ba 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/or.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/or.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as ast from '../ast'; import { IIndexPattern, KueryNode } from '../../..'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/range.test.ts b/src/plugins/data/common/opensearch_query/kuery/functions/range.test.ts index a3b051bbeb56..96aacc5e8184 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/range.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/range.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { nodeTypes } from '../node_types'; import { fields } from '../../../index_patterns/mocks'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/range.ts b/src/plugins/data/common/opensearch_query/kuery/functions/range.ts index 81f936a1d6d6..8d2ab9f19712 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/range.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/range.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { nodeTypes } from '../node_types'; import * as ast from '../ast'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/utils/get_fields.test.ts b/src/plugins/data/common/opensearch_query/kuery/functions/utils/get_fields.test.ts index b686099979ed..0d763d0f1cde 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/utils/get_fields.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/utils/get_fields.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fields } from '../../../../index_patterns/mocks'; import { nodeTypes } from '../../index'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/utils/get_fields.ts b/src/plugins/data/common/opensearch_query/kuery/functions/utils/get_fields.ts index 0b9d8eb5e9b7..93731409f8d8 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/utils/get_fields.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/utils/get_fields.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as literal from '../../node_types/literal'; import * as wildcard from '../../node_types/wildcard'; import { KueryNode, IIndexPattern } from '../../../..'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/utils/get_full_field_name_node.test.ts b/src/plugins/data/common/opensearch_query/kuery/functions/utils/get_full_field_name_node.test.ts index df8e6940d44d..fa823e9715f9 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/utils/get_full_field_name_node.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/utils/get_full_field_name_node.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { nodeTypes } from '../../node_types'; import { fields } from '../../../../index_patterns/mocks'; import { IIndexPattern } from '../../../../index_patterns'; diff --git a/src/plugins/data/common/opensearch_query/kuery/functions/utils/get_full_field_name_node.ts b/src/plugins/data/common/opensearch_query/kuery/functions/utils/get_full_field_name_node.ts index 6d311ee3316c..2a1117b5a1e8 100644 --- a/src/plugins/data/common/opensearch_query/kuery/functions/utils/get_full_field_name_node.ts +++ b/src/plugins/data/common/opensearch_query/kuery/functions/utils/get_full_field_name_node.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getFields } from './get_fields'; import { IIndexPattern, IFieldType, KueryNode } from '../../../..'; diff --git a/src/plugins/data/common/opensearch_query/kuery/index.ts b/src/plugins/data/common/opensearch_query/kuery/index.ts index 4ad67f857513..60aba1948d07 100644 --- a/src/plugins/data/common/opensearch_query/kuery/index.ts +++ b/src/plugins/data/common/opensearch_query/kuery/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DQLSyntaxError } from './kuery_syntax_error'; export { nodeTypes } from './node_types'; export * from './ast'; diff --git a/src/plugins/data/common/opensearch_query/kuery/kuery_syntax_error.test.ts b/src/plugins/data/common/opensearch_query/kuery/kuery_syntax_error.test.ts index d6bf4f9452eb..85449297030d 100644 --- a/src/plugins/data/common/opensearch_query/kuery/kuery_syntax_error.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/kuery_syntax_error.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fromKueryExpression } from './ast'; describe('dql syntax errors', () => { diff --git a/src/plugins/data/common/opensearch_query/kuery/kuery_syntax_error.ts b/src/plugins/data/common/opensearch_query/kuery/kuery_syntax_error.ts index f44967dd2882..f40c5b858e3e 100644 --- a/src/plugins/data/common/opensearch_query/kuery/kuery_syntax_error.ts +++ b/src/plugins/data/common/opensearch_query/kuery/kuery_syntax_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { repeat } from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/data/common/opensearch_query/kuery/node_types/function.test.ts b/src/plugins/data/common/opensearch_query/kuery/node_types/function.test.ts index 981630b71593..bc9d3308a883 100644 --- a/src/plugins/data/common/opensearch_query/kuery/node_types/function.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/node_types/function.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fields } from '../../../index_patterns/mocks'; import { nodeTypes } from './index'; diff --git a/src/plugins/data/common/opensearch_query/kuery/node_types/function.ts b/src/plugins/data/common/opensearch_query/kuery/node_types/function.ts index cdf2f4e909b2..ed76ab3fe653 100644 --- a/src/plugins/data/common/opensearch_query/kuery/node_types/function.ts +++ b/src/plugins/data/common/opensearch_query/kuery/node_types/function.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { functions } from '../functions'; diff --git a/src/plugins/data/common/opensearch_query/kuery/node_types/index.ts b/src/plugins/data/common/opensearch_query/kuery/node_types/index.ts index ccdd8b3961eb..dab50120f736 100644 --- a/src/plugins/data/common/opensearch_query/kuery/node_types/index.ts +++ b/src/plugins/data/common/opensearch_query/kuery/node_types/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as functionType from './function'; import * as literal from './literal'; import * as namedArg from './named_arg'; diff --git a/src/plugins/data/common/opensearch_query/kuery/node_types/literal.test.ts b/src/plugins/data/common/opensearch_query/kuery/node_types/literal.test.ts index ce75783aafd4..62c39a47fe35 100644 --- a/src/plugins/data/common/opensearch_query/kuery/node_types/literal.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/node_types/literal.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore import { buildNode, toOpenSearchQuery } from './literal'; diff --git a/src/plugins/data/common/opensearch_query/kuery/node_types/literal.ts b/src/plugins/data/common/opensearch_query/kuery/node_types/literal.ts index 9a23fd6d4934..8f158b15f815 100644 --- a/src/plugins/data/common/opensearch_query/kuery/node_types/literal.ts +++ b/src/plugins/data/common/opensearch_query/kuery/node_types/literal.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LiteralTypeBuildNode } from './types'; export function buildNode(value: LiteralTypeBuildNode['value']): LiteralTypeBuildNode { diff --git a/src/plugins/data/common/opensearch_query/kuery/node_types/named_arg.test.ts b/src/plugins/data/common/opensearch_query/kuery/node_types/named_arg.test.ts index ccaca8c176ec..91a76698ac38 100644 --- a/src/plugins/data/common/opensearch_query/kuery/node_types/named_arg.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/node_types/named_arg.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { nodeTypes } from './index'; // @ts-ignore diff --git a/src/plugins/data/common/opensearch_query/kuery/node_types/named_arg.ts b/src/plugins/data/common/opensearch_query/kuery/node_types/named_arg.ts index 09ac6fc02962..b3cc476e6d8a 100644 --- a/src/plugins/data/common/opensearch_query/kuery/node_types/named_arg.ts +++ b/src/plugins/data/common/opensearch_query/kuery/node_types/named_arg.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import * as ast from '../ast'; import { nodeTypes } from '.'; diff --git a/src/plugins/data/common/opensearch_query/kuery/node_types/types.ts b/src/plugins/data/common/opensearch_query/kuery/node_types/types.ts index d50404923688..0a2661f8f30e 100644 --- a/src/plugins/data/common/opensearch_query/kuery/node_types/types.ts +++ b/src/plugins/data/common/opensearch_query/kuery/node_types/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * WARNING: these typings are incomplete */ diff --git a/src/plugins/data/common/opensearch_query/kuery/node_types/wildcard.test.ts b/src/plugins/data/common/opensearch_query/kuery/node_types/wildcard.test.ts index 95896d6e3ec9..3a2bb1e036fc 100644 --- a/src/plugins/data/common/opensearch_query/kuery/node_types/wildcard.test.ts +++ b/src/plugins/data/common/opensearch_query/kuery/node_types/wildcard.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildNode, wildcardSymbol, diff --git a/src/plugins/data/common/opensearch_query/kuery/node_types/wildcard.ts b/src/plugins/data/common/opensearch_query/kuery/node_types/wildcard.ts index 0539f164ac65..47c002240c19 100644 --- a/src/plugins/data/common/opensearch_query/kuery/node_types/wildcard.ts +++ b/src/plugins/data/common/opensearch_query/kuery/node_types/wildcard.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fromLiteralExpression } from '../ast/ast'; import { WildcardTypeBuildNode } from './types'; import { KueryNode } from '..'; diff --git a/src/plugins/data/common/opensearch_query/kuery/types.ts b/src/plugins/data/common/opensearch_query/kuery/types.ts index c1841ad89c1c..87c69881efce 100644 --- a/src/plugins/data/common/opensearch_query/kuery/types.ts +++ b/src/plugins/data/common/opensearch_query/kuery/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { NodeTypes } from './node_types'; export interface KueryNode { diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/build_opensearch_query.test.ts b/src/plugins/data/common/opensearch_query/opensearch_query/build_opensearch_query.test.ts index 22b35b541dc9..7f3c983076b1 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/build_opensearch_query.test.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/build_opensearch_query.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildOpenSearchQuery } from './build_opensearch_query'; import { fromKueryExpression, toOpenSearchQuery } from '../kuery'; import { luceneStringToDsl } from './lucene_string_to_dsl'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/build_opensearch_query.ts b/src/plugins/data/common/opensearch_query/opensearch_query/build_opensearch_query.ts index 60e01d3b1f3b..481eae12d121 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/build_opensearch_query.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/build_opensearch_query.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { groupBy, has } from 'lodash'; import { buildQueryFromKuery } from './from_kuery'; import { buildQueryFromFilters } from './from_filters'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/decorate_query.test.ts b/src/plugins/data/common/opensearch_query/opensearch_query/decorate_query.test.ts index 24dd66b5fd49..65c8482910ef 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/decorate_query.test.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/decorate_query.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { decorateQuery } from './decorate_query'; describe('Query decorator', () => { diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/decorate_query.ts b/src/plugins/data/common/opensearch_query/opensearch_query/decorate_query.ts index a665490eb35c..25118ccdc898 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/decorate_query.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/decorate_query.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { extend, defaults } from 'lodash'; import { getTimeZoneFromSettings } from '../utils'; import { DslQuery, isOpenSearchQueryString } from './opensearch_query_dsl'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/filter_matches_index.test.ts b/src/plugins/data/common/opensearch_query/opensearch_query/filter_matches_index.test.ts index 33aca1603383..f610b1e7179f 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/filter_matches_index.test.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/filter_matches_index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter } from '../filters'; import { filterMatchesIndex } from './filter_matches_index'; import { IIndexPattern } from '../../index_patterns'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/filter_matches_index.ts b/src/plugins/data/common/opensearch_query/opensearch_query/filter_matches_index.ts index 2f20b19eb676..f8c2ab67ee95 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/filter_matches_index.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/filter_matches_index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IIndexPattern, IFieldType } from '../../index_patterns'; import { Filter } from '../filters'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/from_filters.test.ts b/src/plugins/data/common/opensearch_query/opensearch_query/from_filters.test.ts index ea5c26e85a9a..58dcab584081 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/from_filters.test.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/from_filters.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildQueryFromFilters } from './from_filters'; import { IIndexPattern } from '../../index_patterns'; import { ExistsFilter, Filter, MatchAllFilter } from '../filters'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/from_filters.ts b/src/plugins/data/common/opensearch_query/opensearch_query/from_filters.ts index be42e117e5bf..990dca144abf 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/from_filters.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/from_filters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { isUndefined } from 'lodash'; import { migrateFilter } from './migrate_filter'; import { filterMatchesIndex } from './filter_matches_index'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/from_kuery.test.ts b/src/plugins/data/common/opensearch_query/opensearch_query/from_kuery.test.ts index f5c4d702454a..4af6334f737d 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/from_kuery.test.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/from_kuery.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildQueryFromKuery } from './from_kuery'; import { fromKueryExpression, toOpenSearchQuery } from '../kuery'; import { IIndexPattern } from '../../index_patterns'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/from_kuery.ts b/src/plugins/data/common/opensearch_query/opensearch_query/from_kuery.ts index c321b16860e6..4aedae3265a7 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/from_kuery.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/from_kuery.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fromKueryExpression, toOpenSearchQuery, nodeTypes, KueryNode } from '../kuery'; import { IIndexPattern } from '../../index_patterns'; import { Query } from '../../query/types'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/from_lucene.test.ts b/src/plugins/data/common/opensearch_query/opensearch_query/from_lucene.test.ts index 152d5f4c1b16..409a67f420c6 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/from_lucene.test.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/from_lucene.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildQueryFromLucene } from './from_lucene'; import { decorateQuery } from './decorate_query'; import { luceneStringToDsl } from './lucene_string_to_dsl'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/from_lucene.ts b/src/plugins/data/common/opensearch_query/opensearch_query/from_lucene.ts index 279e05e7e93a..fb60267d27fc 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/from_lucene.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/from_lucene.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { decorateQuery } from './decorate_query'; import { luceneStringToDsl } from './lucene_string_to_dsl'; import { Query } from '../../query/types'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/get_opensearch_query_config.test.ts b/src/plugins/data/common/opensearch_query/opensearch_query/get_opensearch_query_config.test.ts index 49c5ffe004a7..a0190de87178 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/get_opensearch_query_config.test.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/get_opensearch_query_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { get } from 'lodash'; import { getOpenSearchQueryConfig } from './get_opensearch_query_config'; import { IUiSettingsClient } from 'opensearch-dashboards/public'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/get_opensearch_query_config.ts b/src/plugins/data/common/opensearch_query/opensearch_query/get_opensearch_query_config.ts index 9f7a38dbe59f..409c49a7482f 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/get_opensearch_query_config.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/get_opensearch_query_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchQueryConfig } from './build_opensearch_query'; import { GetConfigFn, UI_SETTINGS } from '../..'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/handle_nested_filter.test.ts b/src/plugins/data/common/opensearch_query/opensearch_query/handle_nested_filter.test.ts index 318958675f85..fbbf165b3571 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/handle_nested_filter.test.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/handle_nested_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { handleNestedFilter } from './handle_nested_filter'; import { fields } from '../../index_patterns/mocks'; import { buildPhraseFilter, buildQueryFilter } from '../filters'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/handle_nested_filter.ts b/src/plugins/data/common/opensearch_query/opensearch_query/handle_nested_filter.ts index 40781a6f0dcd..f4127c44d71f 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/handle_nested_filter.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/handle_nested_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getFilterField, cleanFilter, Filter } from '../filters'; import { IIndexPattern } from '../../index_patterns'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/index.ts b/src/plugins/data/common/opensearch_query/opensearch_query/index.ts index 8b4c511db9e8..ba3fe8817006 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/index.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { buildOpenSearchQuery, OpenSearchQueryConfig } from './build_opensearch_query'; export { buildQueryFromFilters } from './from_filters'; export { luceneStringToDsl } from './lucene_string_to_dsl'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/lucene_string_to_dsl.test.ts b/src/plugins/data/common/opensearch_query/opensearch_query/lucene_string_to_dsl.test.ts index 5b6ae65c87e8..5c0bb5ce3b17 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/lucene_string_to_dsl.test.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/lucene_string_to_dsl.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { luceneStringToDsl } from './lucene_string_to_dsl'; describe('build query', () => { diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/lucene_string_to_dsl.ts b/src/plugins/data/common/opensearch_query/opensearch_query/lucene_string_to_dsl.ts index a031742e6249..326ab6f5d14f 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/lucene_string_to_dsl.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/lucene_string_to_dsl.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isString } from 'lodash'; import { DslQuery } from './opensearch_query_dsl'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/migrate_filter.test.ts b/src/plugins/data/common/opensearch_query/opensearch_query/migrate_filter.test.ts index c2bf534ae395..90ea93728f98 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/migrate_filter.test.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/migrate_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isEqual, cloneDeep } from 'lodash'; import { migrateFilter, DeprecatedMatchPhraseFilter } from './migrate_filter'; import { PhraseFilter, MatchAllFilter } from '../filters'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/migrate_filter.ts b/src/plugins/data/common/opensearch_query/opensearch_query/migrate_filter.ts index 2bc42267413e..b772ab7a1845 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/migrate_filter.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/migrate_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, omit } from 'lodash'; import { getConvertedValueForField } from '../filters'; import { Filter } from '../filters'; diff --git a/src/plugins/data/common/opensearch_query/opensearch_query/opensearch_query_dsl.ts b/src/plugins/data/common/opensearch_query/opensearch_query/opensearch_query_dsl.ts index 44a717ca0d4b..1ff24e83b1f7 100644 --- a/src/plugins/data/common/opensearch_query/opensearch_query/opensearch_query_dsl.ts +++ b/src/plugins/data/common/opensearch_query/opensearch_query/opensearch_query_dsl.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { has } from 'lodash'; export interface DslRangeQuery { diff --git a/src/plugins/data/common/opensearch_query/utils.ts b/src/plugins/data/common/opensearch_query/utils.ts index c62520f10621..055096b9bba9 100644 --- a/src/plugins/data/common/opensearch_query/utils.ts +++ b/src/plugins/data/common/opensearch_query/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment-timezone'; export function getTimeZoneFromSettings(dateFormatTZ: string) { diff --git a/src/plugins/data/common/osd_field_types/index.ts b/src/plugins/data/common/osd_field_types/index.ts index 8b8c5dc2afaa..9454adc2d475 100644 --- a/src/plugins/data/common/osd_field_types/index.ts +++ b/src/plugins/data/common/osd_field_types/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { OsdFieldType } from './osd_field_type'; export { diff --git a/src/plugins/data/common/osd_field_types/osd_field_type.ts b/src/plugins/data/common/osd_field_types/osd_field_type.ts index c22f498703c5..df8fa1c9432d 100644 --- a/src/plugins/data/common/osd_field_types/osd_field_type.ts +++ b/src/plugins/data/common/osd_field_types/osd_field_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OsdFieldTypeOptions, OPENSEARCH_FIELD_TYPES, OSD_FIELD_TYPES } from './types'; export class OsdFieldType { diff --git a/src/plugins/data/common/osd_field_types/osd_field_types.test.ts b/src/plugins/data/common/osd_field_types/osd_field_types.test.ts index f8f09d49afef..ebedb31a448c 100644 --- a/src/plugins/data/common/osd_field_types/osd_field_types.test.ts +++ b/src/plugins/data/common/osd_field_types/osd_field_types.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { castOpenSearchToOsdFieldTypeName, getOsdFieldType, diff --git a/src/plugins/data/common/osd_field_types/osd_field_types.ts b/src/plugins/data/common/osd_field_types/osd_field_types.ts index f5f05b462d31..b9fe14ff1a87 100644 --- a/src/plugins/data/common/osd_field_types/osd_field_types.ts +++ b/src/plugins/data/common/osd_field_types/osd_field_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createOsdFieldTypes, OsdFieldTypeUnknown } from './osd_field_types_factory'; import { OsdFieldType } from './osd_field_type'; import { OPENSEARCH_FIELD_TYPES, OSD_FIELD_TYPES } from './types'; diff --git a/src/plugins/data/common/osd_field_types/osd_field_types_factory.ts b/src/plugins/data/common/osd_field_types/osd_field_types_factory.ts index 3188dd42ab38..1693ff360931 100644 --- a/src/plugins/data/common/osd_field_types/osd_field_types_factory.ts +++ b/src/plugins/data/common/osd_field_types/osd_field_types_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OsdFieldType } from './osd_field_type'; import { OPENSEARCH_FIELD_TYPES, OSD_FIELD_TYPES } from './types'; diff --git a/src/plugins/data/common/osd_field_types/types.ts b/src/plugins/data/common/osd_field_types/types.ts index ab6d7e787f07..8cd70e5e3069 100644 --- a/src/plugins/data/common/osd_field_types/types.ts +++ b/src/plugins/data/common/osd_field_types/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** @public **/ export interface OsdFieldTypeOptions { sortable: boolean; diff --git a/src/plugins/data/common/query/filter_manager/compare_filters.test.ts b/src/plugins/data/common/query/filter_manager/compare_filters.test.ts index b1ae20c0ae33..a21f4a8b4475 100644 --- a/src/plugins/data/common/query/filter_manager/compare_filters.test.ts +++ b/src/plugins/data/common/query/filter_manager/compare_filters.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { compareFilters, COMPARE_ALL_OPTIONS } from './compare_filters'; import { buildEmptyFilter, buildQueryFilter, FilterStateStore } from '../../opensearch_query'; diff --git a/src/plugins/data/common/query/filter_manager/compare_filters.ts b/src/plugins/data/common/query/filter_manager/compare_filters.ts index 1d46720d9d70..275b3cc36cfa 100644 --- a/src/plugins/data/common/query/filter_manager/compare_filters.ts +++ b/src/plugins/data/common/query/filter_manager/compare_filters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { defaults, isEqual, omit, map } from 'lodash'; import { FilterMeta, Filter } from '../../opensearch_query'; diff --git a/src/plugins/data/common/query/filter_manager/dedup_filters.test.ts b/src/plugins/data/common/query/filter_manager/dedup_filters.test.ts index c34f391179d1..6daacc9f7aed 100644 --- a/src/plugins/data/common/query/filter_manager/dedup_filters.test.ts +++ b/src/plugins/data/common/query/filter_manager/dedup_filters.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { dedupFilters } from './dedup_filters'; import { Filter, diff --git a/src/plugins/data/common/query/filter_manager/dedup_filters.ts b/src/plugins/data/common/query/filter_manager/dedup_filters.ts index 9c51cee18d66..fed275e1fe96 100644 --- a/src/plugins/data/common/query/filter_manager/dedup_filters.ts +++ b/src/plugins/data/common/query/filter_manager/dedup_filters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { filter, find } from 'lodash'; import { compareFilters, FilterCompareOptions } from './compare_filters'; import { Filter } from '../../opensearch_query'; diff --git a/src/plugins/data/common/query/filter_manager/index.ts b/src/plugins/data/common/query/filter_manager/index.ts index 4668c053bd65..625480eeae15 100644 --- a/src/plugins/data/common/query/filter_manager/index.ts +++ b/src/plugins/data/common/query/filter_manager/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { dedupFilters } from './dedup_filters'; export { uniqFilters } from './uniq_filters'; export { compareFilters, COMPARE_ALL_OPTIONS, FilterCompareOptions } from './compare_filters'; diff --git a/src/plugins/data/common/query/filter_manager/uniq_filters.test.ts b/src/plugins/data/common/query/filter_manager/uniq_filters.test.ts index 9c2e642555ee..04a8f003468e 100644 --- a/src/plugins/data/common/query/filter_manager/uniq_filters.test.ts +++ b/src/plugins/data/common/query/filter_manager/uniq_filters.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { uniqFilters } from './uniq_filters'; import { buildQueryFilter, Filter, FilterStateStore } from '../../opensearch_query'; diff --git a/src/plugins/data/common/query/filter_manager/uniq_filters.ts b/src/plugins/data/common/query/filter_manager/uniq_filters.ts index c528b5d29473..0b9992978331 100644 --- a/src/plugins/data/common/query/filter_manager/uniq_filters.ts +++ b/src/plugins/data/common/query/filter_manager/uniq_filters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { each, union } from 'lodash'; import { Filter } from '../../opensearch_query'; import { dedupFilters } from './dedup_filters'; diff --git a/src/plugins/data/common/query/index.ts b/src/plugins/data/common/query/index.ts index 7ace94edce52..5c47a0e9ecd4 100644 --- a/src/plugins/data/common/query/index.ts +++ b/src/plugins/data/common/query/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './filter_manager'; export * from './timefilter'; export * from './types'; diff --git a/src/plugins/data/common/query/is_query.ts b/src/plugins/data/common/query/is_query.ts index cb92160ee623..9db70cf68259 100644 --- a/src/plugins/data/common/query/is_query.ts +++ b/src/plugins/data/common/query/is_query.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Query } from './types'; export const isQuery = (x: unknown): x is Query => diff --git a/src/plugins/data/common/query/timefilter/get_time.test.ts b/src/plugins/data/common/query/timefilter/get_time.test.ts index 2df8c3dbcd5f..01d3395124ad 100644 --- a/src/plugins/data/common/query/timefilter/get_time.test.ts +++ b/src/plugins/data/common/query/timefilter/get_time.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import sinon from 'sinon'; import { getTime } from './get_time'; diff --git a/src/plugins/data/common/query/timefilter/get_time.ts b/src/plugins/data/common/query/timefilter/get_time.ts index 42524808bf5e..0faf71907a64 100644 --- a/src/plugins/data/common/query/timefilter/get_time.ts +++ b/src/plugins/data/common/query/timefilter/get_time.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import dateMath from '@elastic/datemath'; import { buildRangeFilter, IIndexPattern, TimeRange, TimeRangeBounds } from '../..'; diff --git a/src/plugins/data/common/query/timefilter/index.ts b/src/plugins/data/common/query/timefilter/index.ts index 5d98ce8978d9..d248d25e0f0f 100644 --- a/src/plugins/data/common/query/timefilter/index.ts +++ b/src/plugins/data/common/query/timefilter/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './get_time'; export * from './is_time_range'; diff --git a/src/plugins/data/common/query/timefilter/is_time_range.ts b/src/plugins/data/common/query/timefilter/is_time_range.ts index e22474817f36..03f7bc2b4b9c 100644 --- a/src/plugins/data/common/query/timefilter/is_time_range.ts +++ b/src/plugins/data/common/query/timefilter/is_time_range.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TimeRange } from './types'; export const isTimeRange = (x: unknown): x is TimeRange => diff --git a/src/plugins/data/common/query/timefilter/types.ts b/src/plugins/data/common/query/timefilter/types.ts index 18514124efd8..301ae64b84f9 100644 --- a/src/plugins/data/common/query/timefilter/types.ts +++ b/src/plugins/data/common/query/timefilter/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Moment } from 'moment'; export interface RefreshInterval { diff --git a/src/plugins/data/common/query/types.ts b/src/plugins/data/common/query/types.ts index 203aebc023a0..b80dd3c64840 100644 --- a/src/plugins/data/common/query/types.ts +++ b/src/plugins/data/common/query/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './timefilter/types'; // eslint-disable-next-line diff --git a/src/plugins/data/common/search/aggs/agg_config.test.ts b/src/plugins/data/common/search/aggs/agg_config.test.ts index 7a2d82611507..a410366982d0 100644 --- a/src/plugins/data/common/search/aggs/agg_config.test.ts +++ b/src/plugins/data/common/search/aggs/agg_config.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { identity } from 'lodash'; import { AggConfig, IAggConfig } from './agg_config'; diff --git a/src/plugins/data/common/search/aggs/agg_config.ts b/src/plugins/data/common/search/aggs/agg_config.ts index 637127b4ffd6..f4285c911d18 100644 --- a/src/plugins/data/common/search/aggs/agg_config.ts +++ b/src/plugins/data/common/search/aggs/agg_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; import { Assign, Ensure } from '@osd/utility-types'; diff --git a/src/plugins/data/common/search/aggs/agg_configs.test.ts b/src/plugins/data/common/search/aggs/agg_configs.test.ts index cdfeb01b8816..076fbd9de3d7 100644 --- a/src/plugins/data/common/search/aggs/agg_configs.test.ts +++ b/src/plugins/data/common/search/aggs/agg_configs.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { keyBy } from 'lodash'; import { AggConfig } from './agg_config'; import { AggConfigs } from './agg_configs'; diff --git a/src/plugins/data/common/search/aggs/agg_configs.ts b/src/plugins/data/common/search/aggs/agg_configs.ts index 1285ee4417d7..90ad5820ea3c 100644 --- a/src/plugins/data/common/search/aggs/agg_configs.ts +++ b/src/plugins/data/common/search/aggs/agg_configs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { Assign } from '@osd/utility-types'; diff --git a/src/plugins/data/common/search/aggs/agg_groups.ts b/src/plugins/data/common/search/aggs/agg_groups.ts index 4e21f8e96703..15a38abb188c 100644 --- a/src/plugins/data/common/search/aggs/agg_groups.ts +++ b/src/plugins/data/common/search/aggs/agg_groups.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { $Values } from '@osd/utility-types'; diff --git a/src/plugins/data/common/search/aggs/agg_params.test.ts b/src/plugins/data/common/search/aggs/agg_params.test.ts index 1a217df9206c..bc31ac0b5847 100644 --- a/src/plugins/data/common/search/aggs/agg_params.test.ts +++ b/src/plugins/data/common/search/aggs/agg_params.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { initParams } from './agg_params'; import { BaseParamType } from './param_types/base'; import { FieldParamType } from './param_types/field'; diff --git a/src/plugins/data/common/search/aggs/agg_params.ts b/src/plugins/data/common/search/aggs/agg_params.ts index bc34b6b931b8..8472c4559339 100644 --- a/src/plugins/data/common/search/aggs/agg_params.ts +++ b/src/plugins/data/common/search/aggs/agg_params.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggParamType } from './param_types/agg'; import { FieldParamType } from './param_types/field'; import { OptionedParamType } from './param_types/optioned'; diff --git a/src/plugins/data/common/search/aggs/agg_type.test.ts b/src/plugins/data/common/search/aggs/agg_type.test.ts index 1d6199e8cbc7..95692851a8a6 100644 --- a/src/plugins/data/common/search/aggs/agg_type.test.ts +++ b/src/plugins/data/common/search/aggs/agg_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggType, AggTypeConfig } from './agg_type'; import { IAggConfig } from './agg_config'; diff --git a/src/plugins/data/common/search/aggs/agg_type.ts b/src/plugins/data/common/search/aggs/agg_type.ts index db881e5dbc55..05336fdc89ad 100644 --- a/src/plugins/data/common/search/aggs/agg_type.ts +++ b/src/plugins/data/common/search/aggs/agg_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { constant, noop, identity } from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/data/common/search/aggs/agg_types.ts b/src/plugins/data/common/search/aggs/agg_types.ts index 96ff8b6e9fc5..9af56e8a4751 100644 --- a/src/plugins/data/common/search/aggs/agg_types.ts +++ b/src/plugins/data/common/search/aggs/agg_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FieldFormatsStartCommon } from '../../field_formats'; import { BUCKET_TYPES } from './buckets'; import { METRIC_TYPES } from './metrics'; diff --git a/src/plugins/data/common/search/aggs/agg_types_registry.test.ts b/src/plugins/data/common/search/aggs/agg_types_registry.test.ts index 0c4ab3303380..4aa7477b5777 100644 --- a/src/plugins/data/common/search/aggs/agg_types_registry.test.ts +++ b/src/plugins/data/common/search/aggs/agg_types_registry.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggTypesRegistry, AggTypesRegistrySetup } from './agg_types_registry'; import { BucketAggType } from './buckets/bucket_agg_type'; import { MetricAggType } from './metrics/metric_agg_type'; diff --git a/src/plugins/data/common/search/aggs/agg_types_registry.ts b/src/plugins/data/common/search/aggs/agg_types_registry.ts index 1af73d21b36b..142cadd8f8f8 100644 --- a/src/plugins/data/common/search/aggs/agg_types_registry.ts +++ b/src/plugins/data/common/search/aggs/agg_types_registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IUiSettingsClient as IUiSettingsClientPublic } from 'src/core/public'; // eslint-disable-next-line @osd/eslint/no-restricted-paths import { IUiSettingsClient as IUiSettingsClientServer } from 'src/core/server'; diff --git a/src/plugins/data/common/search/aggs/aggs_service.test.ts b/src/plugins/data/common/search/aggs/aggs_service.test.ts index 53884cfdef57..c9b85005b971 100644 --- a/src/plugins/data/common/search/aggs/aggs_service.test.ts +++ b/src/plugins/data/common/search/aggs/aggs_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggsCommonService, AggsCommonSetupDependencies, diff --git a/src/plugins/data/common/search/aggs/aggs_service.ts b/src/plugins/data/common/search/aggs/aggs_service.ts index 3ae07089463a..2beac38c32cd 100644 --- a/src/plugins/data/common/search/aggs/aggs_service.ts +++ b/src/plugins/data/common/search/aggs/aggs_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionsServiceSetup } from 'src/plugins/expressions/common'; import { IUiSettingsClient as IUiSettingsClientPublic } from 'src/core/public'; // eslint-disable-next-line @osd/eslint/no-restricted-paths diff --git a/src/plugins/data/common/search/aggs/buckets/_interval_options.ts b/src/plugins/data/common/search/aggs/buckets/_interval_options.ts index 02b8665bd8b7..c0258617ccb8 100644 --- a/src/plugins/data/common/search/aggs/buckets/_interval_options.ts +++ b/src/plugins/data/common/search/aggs/buckets/_interval_options.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { IBucketAggConfig } from './bucket_agg_type'; diff --git a/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts b/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts index 236a78135278..be7c92370572 100644 --- a/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildOtherBucketAgg, mergeOtherBucketAggResponse, diff --git a/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.ts b/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.ts index 67c1c641f21e..3320e344a5e2 100644 --- a/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.ts +++ b/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isNumber, keys, values, find, each, cloneDeep, flatten } from 'lodash'; import { buildExistsFilter, buildPhrasesFilter, buildQueryFromFilters } from '../../../../common'; import { AggGroupNames } from '../agg_groups'; diff --git a/src/plugins/data/common/search/aggs/buckets/bucket_agg_type.ts b/src/plugins/data/common/search/aggs/buckets/bucket_agg_type.ts index ffe9f88678ac..afb4ff91ca0f 100644 --- a/src/plugins/data/common/search/aggs/buckets/bucket_agg_type.ts +++ b/src/plugins/data/common/search/aggs/buckets/bucket_agg_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IAggConfig } from '../agg_config'; import { OSD_FIELD_TYPES } from '../../../../common'; import { AggType, AggTypeConfig } from '../agg_type'; diff --git a/src/plugins/data/common/search/aggs/buckets/bucket_agg_types.ts b/src/plugins/data/common/search/aggs/buckets/bucket_agg_types.ts index 5d1d825dba0f..4c4e7289d6d5 100644 --- a/src/plugins/data/common/search/aggs/buckets/bucket_agg_types.ts +++ b/src/plugins/data/common/search/aggs/buckets/bucket_agg_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export enum BUCKET_TYPES { FILTER = 'filter', FILTERS = 'filters', diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/date_histogram.test.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/date_histogram.test.ts index dfcafb0c0ed7..a0ab3725ca1a 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/date_histogram.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/date_histogram.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { createFilterDateHistogram } from './date_histogram'; import { intervalOptions, autoInterval } from '../_interval_options'; diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/date_histogram.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/date_histogram.ts index fcb33a8d8fb7..681b0fb15533 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/date_histogram.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/date_histogram.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { IBucketDateHistogramAggConfig } from '../date_histogram'; import { buildRangeFilter } from '../../../../../common'; diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/date_range.test.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/date_range.test.ts index 01a1f5635096..707b2552e060 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/date_range.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/date_range.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { createFilterDateRange } from './date_range'; import { AggConfigs } from '../../agg_configs'; diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/date_range.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/date_range.ts index 7c20a3cae4ab..88c123518229 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/date_range.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/date_range.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { IBucketAggConfig } from '../bucket_agg_type'; import { DateRangeKey } from '../lib/date_range'; diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/filters.test.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/filters.test.ts index 6c6e42b06d48..63e535ba8ae5 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/filters.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/filters.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createFilterFilters } from './filters'; import { AggConfigs } from '../../agg_configs'; import { mockAggTypesRegistry } from '../../test_helpers'; diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/filters.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/filters.ts index 3c2b2bf7571d..50af7bf2c7f4 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/filters.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/filters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { IBucketAggConfig } from '../bucket_agg_type'; import { buildQueryFilter } from '../../../../../common'; diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/histogram.test.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/histogram.test.ts index 85c34abaa69a..541f7ea9dd1a 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/histogram.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/histogram.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BytesFormat, FieldFormatsGetConfigFn } from '../../../../../common/field_formats'; import { AggConfigs } from '../../agg_configs'; import { mockAggTypesRegistry, mockGetFieldFormatsStart } from '../../test_helpers'; diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/histogram.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/histogram.ts index 5c8206edcf63..6470817596fb 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/histogram.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/histogram.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildRangeFilter, RangeFilterParams } from '../../../../../common'; import { AggTypesDependencies } from '../../agg_types'; import { IBucketAggConfig } from '../bucket_agg_type'; diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/ip_range.test.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/ip_range.test.ts index b6e31515bbca..2a77305b538b 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/ip_range.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/ip_range.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createFilterIpRange } from './ip_range'; import { AggConfigs, CreateAggConfigParams } from '../../agg_configs'; import { mockAggTypesRegistry } from '../../test_helpers'; diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/ip_range.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/ip_range.ts index d6a7aad2da4e..57c4d3101f7c 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/ip_range.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/ip_range.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CidrMask } from '../lib/cidr_mask'; import { IBucketAggConfig } from '../bucket_agg_type'; import { IpRangeKey } from '../lib/ip_range'; diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/range.test.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/range.test.ts index d8abe39b7725..0d6320e5d748 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/range.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/range.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BytesFormat, FieldFormatsGetConfigFn } from '../../../../../common/field_formats'; import { AggConfigs } from '../../agg_configs'; import { mockAggTypesRegistry, mockGetFieldFormatsStart } from '../../test_helpers'; diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/range.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/range.ts index 9f3be2aeb034..d1430f2a7b0f 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/range.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/range.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildRangeFilter } from '../../../../../common'; import { AggTypesDependencies } from '../../agg_types'; import { IBucketAggConfig } from '../bucket_agg_type'; diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/terms.test.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/terms.test.ts index 2e927aa93903..12dfa8914d48 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/terms.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/terms.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createFilterTerms } from './terms'; import { AggConfigs, CreateAggConfigParams } from '../../agg_configs'; import { mockAggTypesRegistry } from '../../test_helpers'; diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/terms.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/terms.ts index 39a96c79121e..2c10327c74d8 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/terms.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/terms.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IBucketAggConfig } from '../bucket_agg_type'; import { buildPhrasesFilter, diff --git a/src/plugins/data/common/search/aggs/buckets/date_histogram.ts b/src/plugins/data/common/search/aggs/buckets/date_histogram.ts index 720b03e035f0..765aad2d3fd9 100644 --- a/src/plugins/data/common/search/aggs/buckets/date_histogram.ts +++ b/src/plugins/data/common/search/aggs/buckets/date_histogram.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, noop, find, every } from 'lodash'; import moment from 'moment-timezone'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/data/common/search/aggs/buckets/date_histogram_fn.test.ts b/src/plugins/data/common/search/aggs/buckets/date_histogram_fn.test.ts index 60ec72a8a6ee..00689ed27a64 100644 --- a/src/plugins/data/common/search/aggs/buckets/date_histogram_fn.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/date_histogram_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggDateHistogram } from './date_histogram_fn'; diff --git a/src/plugins/data/common/search/aggs/buckets/date_histogram_fn.ts b/src/plugins/data/common/search/aggs/buckets/date_histogram_fn.ts index cb2886115a0a..e6f41374a4a3 100644 --- a/src/plugins/data/common/search/aggs/buckets/date_histogram_fn.ts +++ b/src/plugins/data/common/search/aggs/buckets/date_histogram_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/buckets/date_range.test.ts b/src/plugins/data/common/search/aggs/buckets/date_range.test.ts index 5b71d8d4beb6..c2335ae3412b 100644 --- a/src/plugins/data/common/search/aggs/buckets/date_range.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/date_range.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggConfigs } from '../agg_configs'; import { AggTypesDependencies } from '../agg_types'; import { mockAggTypesRegistry, mockAggTypesDependencies } from '../test_helpers'; diff --git a/src/plugins/data/common/search/aggs/buckets/date_range.ts b/src/plugins/data/common/search/aggs/buckets/date_range.ts index 557ff650af72..6f7e2356d763 100644 --- a/src/plugins/data/common/search/aggs/buckets/date_range.ts +++ b/src/plugins/data/common/search/aggs/buckets/date_range.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import moment from 'moment-timezone'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/data/common/search/aggs/buckets/date_range_fn.test.ts b/src/plugins/data/common/search/aggs/buckets/date_range_fn.test.ts index d7614d7e20a9..b2229038b686 100644 --- a/src/plugins/data/common/search/aggs/buckets/date_range_fn.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/date_range_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggDateRange } from './date_range_fn'; diff --git a/src/plugins/data/common/search/aggs/buckets/date_range_fn.ts b/src/plugins/data/common/search/aggs/buckets/date_range_fn.ts index ed83efcaa5c4..4d0265e38729 100644 --- a/src/plugins/data/common/search/aggs/buckets/date_range_fn.ts +++ b/src/plugins/data/common/search/aggs/buckets/date_range_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/buckets/filter.ts b/src/plugins/data/common/search/aggs/buckets/filter.ts index 103c4e1581e3..9b6076d188e2 100644 --- a/src/plugins/data/common/search/aggs/buckets/filter.ts +++ b/src/plugins/data/common/search/aggs/buckets/filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { BucketAggType } from './bucket_agg_type'; import { BUCKET_TYPES } from './bucket_agg_types'; diff --git a/src/plugins/data/common/search/aggs/buckets/filter_fn.test.ts b/src/plugins/data/common/search/aggs/buckets/filter_fn.test.ts index a9f62937b8fd..06b54d9dd0f6 100644 --- a/src/plugins/data/common/search/aggs/buckets/filter_fn.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/filter_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggFilter } from './filter_fn'; diff --git a/src/plugins/data/common/search/aggs/buckets/filter_fn.ts b/src/plugins/data/common/search/aggs/buckets/filter_fn.ts index 2cb044ab71b6..03680aad67de 100644 --- a/src/plugins/data/common/search/aggs/buckets/filter_fn.ts +++ b/src/plugins/data/common/search/aggs/buckets/filter_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/buckets/filters.test.ts b/src/plugins/data/common/search/aggs/buckets/filters.test.ts index 453b1b0d0582..8a1c40a4a003 100644 --- a/src/plugins/data/common/search/aggs/buckets/filters.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/filters.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Query } from '../../../../common'; import { AggConfigs } from '../agg_configs'; import { AggTypesDependencies } from '../agg_types'; diff --git a/src/plugins/data/common/search/aggs/buckets/filters.ts b/src/plugins/data/common/search/aggs/buckets/filters.ts index 526312ad37ef..36609b360425 100644 --- a/src/plugins/data/common/search/aggs/buckets/filters.ts +++ b/src/plugins/data/common/search/aggs/buckets/filters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { size, transform, cloneDeep } from 'lodash'; diff --git a/src/plugins/data/common/search/aggs/buckets/filters_fn.test.ts b/src/plugins/data/common/search/aggs/buckets/filters_fn.test.ts index e1ee57ef6ef0..d880cddc308a 100644 --- a/src/plugins/data/common/search/aggs/buckets/filters_fn.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/filters_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggFilters } from './filters_fn'; diff --git a/src/plugins/data/common/search/aggs/buckets/filters_fn.ts b/src/plugins/data/common/search/aggs/buckets/filters_fn.ts index 14b2897acb8e..679f7f346ab6 100644 --- a/src/plugins/data/common/search/aggs/buckets/filters_fn.ts +++ b/src/plugins/data/common/search/aggs/buckets/filters_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/buckets/geo_hash.test.ts b/src/plugins/data/common/search/aggs/buckets/geo_hash.test.ts index bc4d1c6478e2..b66c9eb770b5 100644 --- a/src/plugins/data/common/search/aggs/buckets/geo_hash.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/geo_hash.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getGeoHashBucketAgg } from './geo_hash'; import { AggConfigs, IAggConfigs } from '../agg_configs'; import { mockAggTypesRegistry } from '../test_helpers'; diff --git a/src/plugins/data/common/search/aggs/buckets/geo_hash.ts b/src/plugins/data/common/search/aggs/buckets/geo_hash.ts index 557074c223fa..712f5f6b0df7 100644 --- a/src/plugins/data/common/search/aggs/buckets/geo_hash.ts +++ b/src/plugins/data/common/search/aggs/buckets/geo_hash.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { BucketAggType, IBucketAggConfig } from './bucket_agg_type'; import { OSD_FIELD_TYPES } from '../../../../common'; diff --git a/src/plugins/data/common/search/aggs/buckets/geo_hash_fn.test.ts b/src/plugins/data/common/search/aggs/buckets/geo_hash_fn.test.ts index f6d3f1b896d6..a4a17a1ae6da 100644 --- a/src/plugins/data/common/search/aggs/buckets/geo_hash_fn.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/geo_hash_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggGeoHash } from './geo_hash_fn'; diff --git a/src/plugins/data/common/search/aggs/buckets/geo_hash_fn.ts b/src/plugins/data/common/search/aggs/buckets/geo_hash_fn.ts index b4331a2847ef..758505524997 100644 --- a/src/plugins/data/common/search/aggs/buckets/geo_hash_fn.ts +++ b/src/plugins/data/common/search/aggs/buckets/geo_hash_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/buckets/geo_tile.ts b/src/plugins/data/common/search/aggs/buckets/geo_tile.ts index 4fb8cfd9890b..87c082905799 100644 --- a/src/plugins/data/common/search/aggs/buckets/geo_tile.ts +++ b/src/plugins/data/common/search/aggs/buckets/geo_tile.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { noop } from 'lodash'; diff --git a/src/plugins/data/common/search/aggs/buckets/geo_tile_fn.test.ts b/src/plugins/data/common/search/aggs/buckets/geo_tile_fn.test.ts index 0edeb9f7f04b..fde3632d4ba9 100644 --- a/src/plugins/data/common/search/aggs/buckets/geo_tile_fn.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/geo_tile_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggGeoTile } from './geo_tile_fn'; diff --git a/src/plugins/data/common/search/aggs/buckets/geo_tile_fn.ts b/src/plugins/data/common/search/aggs/buckets/geo_tile_fn.ts index 50945ad0a62d..41045aa17620 100644 --- a/src/plugins/data/common/search/aggs/buckets/geo_tile_fn.ts +++ b/src/plugins/data/common/search/aggs/buckets/geo_tile_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; import { AggExpressionType, AggExpressionFunctionArgs, BUCKET_TYPES } from '../'; diff --git a/src/plugins/data/common/search/aggs/buckets/histogram.test.ts b/src/plugins/data/common/search/aggs/buckets/histogram.test.ts index e8a5812ed0fc..aad6d9fee565 100644 --- a/src/plugins/data/common/search/aggs/buckets/histogram.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/histogram.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggConfigs } from '../agg_configs'; import { mockAggTypesRegistry, mockAggTypesDependencies } from '../test_helpers'; import { AggTypesDependencies } from '../agg_types'; diff --git a/src/plugins/data/common/search/aggs/buckets/histogram.ts b/src/plugins/data/common/search/aggs/buckets/histogram.ts index 67ee4d11b1e1..c48640239ac6 100644 --- a/src/plugins/data/common/search/aggs/buckets/histogram.ts +++ b/src/plugins/data/common/search/aggs/buckets/histogram.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/data/common/search/aggs/buckets/histogram_fn.test.ts b/src/plugins/data/common/search/aggs/buckets/histogram_fn.test.ts index 1b372f5d39de..c5c002410826 100644 --- a/src/plugins/data/common/search/aggs/buckets/histogram_fn.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/histogram_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggHistogram } from './histogram_fn'; diff --git a/src/plugins/data/common/search/aggs/buckets/histogram_fn.ts b/src/plugins/data/common/search/aggs/buckets/histogram_fn.ts index 59b736b81a2f..58ba498692ff 100644 --- a/src/plugins/data/common/search/aggs/buckets/histogram_fn.ts +++ b/src/plugins/data/common/search/aggs/buckets/histogram_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/buckets/index.ts b/src/plugins/data/common/search/aggs/buckets/index.ts index acc4a91b4e91..1222ec1bf4d4 100644 --- a/src/plugins/data/common/search/aggs/buckets/index.ts +++ b/src/plugins/data/common/search/aggs/buckets/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './_interval_options'; export * from './bucket_agg_type'; export * from './bucket_agg_types'; diff --git a/src/plugins/data/common/search/aggs/buckets/ip_range.ts b/src/plugins/data/common/search/aggs/buckets/ip_range.ts index 95bcfaf8d817..09b10422c1a7 100644 --- a/src/plugins/data/common/search/aggs/buckets/ip_range.ts +++ b/src/plugins/data/common/search/aggs/buckets/ip_range.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { noop, map, omitBy, isNull } from 'lodash'; import { i18n } from '@osd/i18n'; import { BucketAggType } from './bucket_agg_type'; diff --git a/src/plugins/data/common/search/aggs/buckets/ip_range_fn.test.ts b/src/plugins/data/common/search/aggs/buckets/ip_range_fn.test.ts index f3858c9b6848..d771de2ca593 100644 --- a/src/plugins/data/common/search/aggs/buckets/ip_range_fn.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/ip_range_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { IP_RANGE_TYPES } from './ip_range'; import { aggIpRange } from './ip_range_fn'; diff --git a/src/plugins/data/common/search/aggs/buckets/ip_range_fn.ts b/src/plugins/data/common/search/aggs/buckets/ip_range_fn.ts index 0830608e3e84..9ba51b97f4b7 100644 --- a/src/plugins/data/common/search/aggs/buckets/ip_range_fn.ts +++ b/src/plugins/data/common/search/aggs/buckets/ip_range_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/buckets/lib/cidr_mask.test.ts b/src/plugins/data/common/search/aggs/buckets/lib/cidr_mask.test.ts index e7ca29cb165f..f46a04011e4e 100644 --- a/src/plugins/data/common/search/aggs/buckets/lib/cidr_mask.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/lib/cidr_mask.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CidrMask } from './cidr_mask'; describe('CidrMask', () => { diff --git a/src/plugins/data/common/search/aggs/buckets/lib/cidr_mask.ts b/src/plugins/data/common/search/aggs/buckets/lib/cidr_mask.ts index cc3f45b318a3..f424e20e93d7 100644 --- a/src/plugins/data/common/search/aggs/buckets/lib/cidr_mask.ts +++ b/src/plugins/data/common/search/aggs/buckets/lib/cidr_mask.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Ipv4Address } from '../../utils'; const NUM_BITS = 32; diff --git a/src/plugins/data/common/search/aggs/buckets/lib/date_range.ts b/src/plugins/data/common/search/aggs/buckets/lib/date_range.ts index ad3d8c7a6034..05cd5a0a48c5 100644 --- a/src/plugins/data/common/search/aggs/buckets/lib/date_range.ts +++ b/src/plugins/data/common/search/aggs/buckets/lib/date_range.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface DateRangeKey { from: number | string; to: number | string; diff --git a/src/plugins/data/common/search/aggs/buckets/lib/extended_bounds.ts b/src/plugins/data/common/search/aggs/buckets/lib/extended_bounds.ts index 2d77ccbf5426..16f05e68e19f 100644 --- a/src/plugins/data/common/search/aggs/buckets/lib/extended_bounds.ts +++ b/src/plugins/data/common/search/aggs/buckets/lib/extended_bounds.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface ExtendedBounds { min: number; max: number; diff --git a/src/plugins/data/common/search/aggs/buckets/lib/geo_point.ts b/src/plugins/data/common/search/aggs/buckets/lib/geo_point.ts index 595cd37941d1..ba2968c366ec 100644 --- a/src/plugins/data/common/search/aggs/buckets/lib/geo_point.ts +++ b/src/plugins/data/common/search/aggs/buckets/lib/geo_point.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - type GeoPoint = | { lat: number; diff --git a/src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.test.ts b/src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.test.ts index 8c3b33e81cbc..c07593e40d7a 100644 --- a/src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { calculateHistogramInterval, CalculateHistogramIntervalParams, diff --git a/src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.ts b/src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.ts index 758bb4b117bc..51faf0bc0646 100644 --- a/src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.ts +++ b/src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isAutoInterval } from '../_interval_options'; import { OPENSEARCH_FIELD_TYPES } from '../../../../types'; diff --git a/src/plugins/data/common/search/aggs/buckets/lib/ip_range.ts b/src/plugins/data/common/search/aggs/buckets/lib/ip_range.ts index defc5292692b..a1c7e51cd1ef 100644 --- a/src/plugins/data/common/search/aggs/buckets/lib/ip_range.ts +++ b/src/plugins/data/common/search/aggs/buckets/lib/ip_range.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface CidrMaskIpRangeAggKey { type: 'mask'; mask: string; diff --git a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.test.ts b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.test.ts index e9667a43a874..0fe0b35687b7 100644 --- a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { calcAutoIntervalLessThan, calcAutoIntervalNear } from './calc_auto_interval'; diff --git a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.ts b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.ts index d5fae2bba8f5..431dcd8aa0ce 100644 --- a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.ts +++ b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; const boundsDescending = [ diff --git a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_opensearch_interval.ts b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_opensearch_interval.ts index 51d7352ba916..a84fbcad0d89 100644 --- a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_opensearch_interval.ts +++ b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_opensearch_interval.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import dateMath, { Unit } from '@elastic/datemath'; diff --git a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/index.ts b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/index.ts index 358280e4604e..c53ff1a82cc6 100644 --- a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/index.ts +++ b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { TimeBuckets } from './time_buckets'; diff --git a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.test.ts b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.test.ts index 58379ab10880..73d9a178ee90 100644 --- a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { TimeBuckets, TimeBucketsConfig } from './time_buckets'; diff --git a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.ts b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.ts index 5042830f1849..647df266ea5d 100644 --- a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.ts +++ b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isString, isObject as isObjectLodash, isPlainObject, sortBy } from 'lodash'; import moment, { Moment } from 'moment'; diff --git a/src/plugins/data/common/search/aggs/buckets/migrate_include_exclude_format.ts b/src/plugins/data/common/search/aggs/buckets/migrate_include_exclude_format.ts index 5b369c8af352..b8d35808199a 100644 --- a/src/plugins/data/common/search/aggs/buckets/migrate_include_exclude_format.ts +++ b/src/plugins/data/common/search/aggs/buckets/migrate_include_exclude_format.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isString, isObject } from 'lodash'; import { IBucketAggConfig, BucketAggType, BucketAggParam } from './bucket_agg_type'; import { IAggConfig } from '../agg_config'; diff --git a/src/plugins/data/common/search/aggs/buckets/range.test.ts b/src/plugins/data/common/search/aggs/buckets/range.test.ts index cb87ec6f8948..6f785366defc 100644 --- a/src/plugins/data/common/search/aggs/buckets/range.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/range.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggConfigs } from '../agg_configs'; import { mockAggTypesRegistry } from '../test_helpers'; import { BUCKET_TYPES } from './bucket_agg_types'; diff --git a/src/plugins/data/common/search/aggs/buckets/range.ts b/src/plugins/data/common/search/aggs/buckets/range.ts index d2408161f81d..03c671624442 100644 --- a/src/plugins/data/common/search/aggs/buckets/range.ts +++ b/src/plugins/data/common/search/aggs/buckets/range.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { OSD_FIELD_TYPES } from '../../../../common'; diff --git a/src/plugins/data/common/search/aggs/buckets/range_fn.test.ts b/src/plugins/data/common/search/aggs/buckets/range_fn.test.ts index d090d8e52798..c366e239c9bf 100644 --- a/src/plugins/data/common/search/aggs/buckets/range_fn.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/range_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggRange } from './range_fn'; diff --git a/src/plugins/data/common/search/aggs/buckets/range_fn.ts b/src/plugins/data/common/search/aggs/buckets/range_fn.ts index d5d03c035bcb..55a36ffc8230 100644 --- a/src/plugins/data/common/search/aggs/buckets/range_fn.ts +++ b/src/plugins/data/common/search/aggs/buckets/range_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/buckets/range_key.ts b/src/plugins/data/common/search/aggs/buckets/range_key.ts index 239e98c80189..e52330d44472 100644 --- a/src/plugins/data/common/search/aggs/buckets/range_key.ts +++ b/src/plugins/data/common/search/aggs/buckets/range_key.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const id = Symbol('id'); export class RangeKey { diff --git a/src/plugins/data/common/search/aggs/buckets/shard_delay.test.ts b/src/plugins/data/common/search/aggs/buckets/shard_delay.test.ts index 4ef2d98eec99..a178d081437b 100644 --- a/src/plugins/data/common/search/aggs/buckets/shard_delay.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/shard_delay.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggConfigs } from '../agg_configs'; import { FieldFormatsGetConfigFn, NumberFormat } from '../../../../common/field_formats'; import { getShardDelayBucketAgg, SHARD_DELAY_AGG_NAME } from './shard_delay'; diff --git a/src/plugins/data/common/search/aggs/buckets/shard_delay.ts b/src/plugins/data/common/search/aggs/buckets/shard_delay.ts index f157ef1ed7f6..296c09c19cde 100644 --- a/src/plugins/data/common/search/aggs/buckets/shard_delay.ts +++ b/src/plugins/data/common/search/aggs/buckets/shard_delay.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BucketAggType } from './bucket_agg_type'; import { BaseAggParams } from '../types'; import { aggShardDelayFnName } from './shard_delay_fn'; diff --git a/src/plugins/data/common/search/aggs/buckets/shard_delay_fn.test.ts b/src/plugins/data/common/search/aggs/buckets/shard_delay_fn.test.ts index da37b01ffaf0..5110479af008 100644 --- a/src/plugins/data/common/search/aggs/buckets/shard_delay_fn.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/shard_delay_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggShardDelay } from './shard_delay_fn'; diff --git a/src/plugins/data/common/search/aggs/buckets/shard_delay_fn.ts b/src/plugins/data/common/search/aggs/buckets/shard_delay_fn.ts index 4ba869a55526..470e00b9cd21 100644 --- a/src/plugins/data/common/search/aggs/buckets/shard_delay_fn.ts +++ b/src/plugins/data/common/search/aggs/buckets/shard_delay_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/buckets/significant_terms.test.ts b/src/plugins/data/common/search/aggs/buckets/significant_terms.test.ts index 9c987f276f90..b49e1f85df19 100644 --- a/src/plugins/data/common/search/aggs/buckets/significant_terms.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/significant_terms.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggConfigs, IAggConfigs } from '../agg_configs'; import { mockAggTypesRegistry } from '../test_helpers'; import { BUCKET_TYPES } from './bucket_agg_types'; diff --git a/src/plugins/data/common/search/aggs/buckets/significant_terms.ts b/src/plugins/data/common/search/aggs/buckets/significant_terms.ts index 94e34a0df486..ddd334f50ad2 100644 --- a/src/plugins/data/common/search/aggs/buckets/significant_terms.ts +++ b/src/plugins/data/common/search/aggs/buckets/significant_terms.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { BucketAggType } from './bucket_agg_type'; import { createFilterTerms } from './create_filter/terms'; diff --git a/src/plugins/data/common/search/aggs/buckets/significant_terms_fn.test.ts b/src/plugins/data/common/search/aggs/buckets/significant_terms_fn.test.ts index f79b9e393518..fab8e6b7f357 100644 --- a/src/plugins/data/common/search/aggs/buckets/significant_terms_fn.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/significant_terms_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggSignificantTerms } from './significant_terms_fn'; diff --git a/src/plugins/data/common/search/aggs/buckets/significant_terms_fn.ts b/src/plugins/data/common/search/aggs/buckets/significant_terms_fn.ts index a91ab354d3ff..a5f3c8e78876 100644 --- a/src/plugins/data/common/search/aggs/buckets/significant_terms_fn.ts +++ b/src/plugins/data/common/search/aggs/buckets/significant_terms_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; import { AggExpressionType, AggExpressionFunctionArgs, BUCKET_TYPES } from '../'; diff --git a/src/plugins/data/common/search/aggs/buckets/terms.test.ts b/src/plugins/data/common/search/aggs/buckets/terms.test.ts index a8d11b5d7da1..8b0dcc87fd18 100644 --- a/src/plugins/data/common/search/aggs/buckets/terms.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/terms.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggConfigs } from '../agg_configs'; import { mockAggTypesRegistry } from '../test_helpers'; import { BUCKET_TYPES } from './bucket_agg_types'; diff --git a/src/plugins/data/common/search/aggs/buckets/terms.ts b/src/plugins/data/common/search/aggs/buckets/terms.ts index e10954f652e5..11fca71972c4 100644 --- a/src/plugins/data/common/search/aggs/buckets/terms.ts +++ b/src/plugins/data/common/search/aggs/buckets/terms.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { noop } from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/data/common/search/aggs/buckets/terms_fn.test.ts b/src/plugins/data/common/search/aggs/buckets/terms_fn.test.ts index 71eba56e9f04..187cd7e508d4 100644 --- a/src/plugins/data/common/search/aggs/buckets/terms_fn.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/terms_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggTerms } from './terms_fn'; diff --git a/src/plugins/data/common/search/aggs/buckets/terms_fn.ts b/src/plugins/data/common/search/aggs/buckets/terms_fn.ts index 855de3929617..6997cda85ded 100644 --- a/src/plugins/data/common/search/aggs/buckets/terms_fn.ts +++ b/src/plugins/data/common/search/aggs/buckets/terms_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/index.test.ts b/src/plugins/data/common/search/aggs/index.test.ts index 16f61b555435..37d10bee9b1b 100644 --- a/src/plugins/data/common/search/aggs/index.test.ts +++ b/src/plugins/data/common/search/aggs/index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getAggTypes } from './index'; import { mockGetFieldFormatsStart } from './test_helpers'; diff --git a/src/plugins/data/common/search/aggs/index.ts b/src/plugins/data/common/search/aggs/index.ts index aa0cccc5a415..8f1c04accee6 100644 --- a/src/plugins/data/common/search/aggs/index.ts +++ b/src/plugins/data/common/search/aggs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './agg_config'; export * from './agg_configs'; export * from './agg_groups'; diff --git a/src/plugins/data/common/search/aggs/metrics/avg.ts b/src/plugins/data/common/search/aggs/metrics/avg.ts index 2970174cab2e..6a4e6a7c78ec 100644 --- a/src/plugins/data/common/search/aggs/metrics/avg.ts +++ b/src/plugins/data/common/search/aggs/metrics/avg.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; import { METRIC_TYPES } from './metric_agg_types'; diff --git a/src/plugins/data/common/search/aggs/metrics/avg_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/avg_fn.test.ts index 71cb0aaf39b1..79e02b54a1a0 100644 --- a/src/plugins/data/common/search/aggs/metrics/avg_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/avg_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggAvg } from './avg_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/avg_fn.ts b/src/plugins/data/common/search/aggs/metrics/avg_fn.ts index b1288026b20d..06e08f575196 100644 --- a/src/plugins/data/common/search/aggs/metrics/avg_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/avg_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; import { AggExpressionType, AggExpressionFunctionArgs, METRIC_TYPES } from '../'; diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_avg.ts b/src/plugins/data/common/search/aggs/metrics/bucket_avg.ts index 0158e70cc5d5..21150962eb09 100644 --- a/src/plugins/data/common/search/aggs/metrics/bucket_avg.ts +++ b/src/plugins/data/common/search/aggs/metrics/bucket_avg.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { get } from 'lodash'; import { MetricAggType } from './metric_agg_type'; diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_avg_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/bucket_avg_fn.test.ts index 2eaadd9f9302..4b3150547d42 100644 --- a/src/plugins/data/common/search/aggs/metrics/bucket_avg_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/bucket_avg_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggBucketAvg } from './bucket_avg_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_avg_fn.ts b/src/plugins/data/common/search/aggs/metrics/bucket_avg_fn.ts index 8d8af07a738d..3aa9de3f04c1 100644 --- a/src/plugins/data/common/search/aggs/metrics/bucket_avg_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/bucket_avg_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_max.ts b/src/plugins/data/common/search/aggs/metrics/bucket_max.ts index 99399ae4d4a6..f2d4f68fef67 100644 --- a/src/plugins/data/common/search/aggs/metrics/bucket_max.ts +++ b/src/plugins/data/common/search/aggs/metrics/bucket_max.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; import { makeNestedLabel } from './lib/make_nested_label'; diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_max_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/bucket_max_fn.test.ts index d2eb484f1a5e..b8d9cbe2e648 100644 --- a/src/plugins/data/common/search/aggs/metrics/bucket_max_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/bucket_max_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggBucketMax } from './bucket_max_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_max_fn.ts b/src/plugins/data/common/search/aggs/metrics/bucket_max_fn.ts index c599696533dc..052ea399d0fd 100644 --- a/src/plugins/data/common/search/aggs/metrics/bucket_max_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/bucket_max_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_min.ts b/src/plugins/data/common/search/aggs/metrics/bucket_min.ts index e7406c9529ca..15f9e69fc431 100644 --- a/src/plugins/data/common/search/aggs/metrics/bucket_min.ts +++ b/src/plugins/data/common/search/aggs/metrics/bucket_min.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; import { makeNestedLabel } from './lib/make_nested_label'; diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_min_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/bucket_min_fn.test.ts index 6120b17f8e0f..4d9554946286 100644 --- a/src/plugins/data/common/search/aggs/metrics/bucket_min_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/bucket_min_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggBucketMin } from './bucket_min_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_min_fn.ts b/src/plugins/data/common/search/aggs/metrics/bucket_min_fn.ts index a4d09b698f27..b6132ddac969 100644 --- a/src/plugins/data/common/search/aggs/metrics/bucket_min_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/bucket_min_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_sum.ts b/src/plugins/data/common/search/aggs/metrics/bucket_sum.ts index 15ca53fb1a16..c37e42323b46 100644 --- a/src/plugins/data/common/search/aggs/metrics/bucket_sum.ts +++ b/src/plugins/data/common/search/aggs/metrics/bucket_sum.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; import { makeNestedLabel } from './lib/make_nested_label'; diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_sum_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/bucket_sum_fn.test.ts index 7b2c5a447b9a..37d94d600bb7 100644 --- a/src/plugins/data/common/search/aggs/metrics/bucket_sum_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/bucket_sum_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggBucketSum } from './bucket_sum_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_sum_fn.ts b/src/plugins/data/common/search/aggs/metrics/bucket_sum_fn.ts index bed232ce3365..1c7500d118c7 100644 --- a/src/plugins/data/common/search/aggs/metrics/bucket_sum_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/bucket_sum_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/metrics/cardinality.ts b/src/plugins/data/common/search/aggs/metrics/cardinality.ts index cdc8bda1e573..f70a638fe206 100644 --- a/src/plugins/data/common/search/aggs/metrics/cardinality.ts +++ b/src/plugins/data/common/search/aggs/metrics/cardinality.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType, IMetricAggConfig } from './metric_agg_type'; import { METRIC_TYPES } from './metric_agg_types'; diff --git a/src/plugins/data/common/search/aggs/metrics/cardinality_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/cardinality_fn.test.ts index 6b38224c2237..d6ec8bb2dca0 100644 --- a/src/plugins/data/common/search/aggs/metrics/cardinality_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/cardinality_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggCardinality } from './cardinality_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/cardinality_fn.ts b/src/plugins/data/common/search/aggs/metrics/cardinality_fn.ts index ae60c0539a7d..f46b2a6e7ed1 100644 --- a/src/plugins/data/common/search/aggs/metrics/cardinality_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/cardinality_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; import { AggExpressionType, AggExpressionFunctionArgs, METRIC_TYPES } from '../'; diff --git a/src/plugins/data/common/search/aggs/metrics/count.ts b/src/plugins/data/common/search/aggs/metrics/count.ts index a670fb1d05fd..14bd2cfa05b1 100644 --- a/src/plugins/data/common/search/aggs/metrics/count.ts +++ b/src/plugins/data/common/search/aggs/metrics/count.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; import { METRIC_TYPES } from './metric_agg_types'; diff --git a/src/plugins/data/common/search/aggs/metrics/count_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/count_fn.test.ts index c4a211ac90b8..2a380c5beb5e 100644 --- a/src/plugins/data/common/search/aggs/metrics/count_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/count_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggCount } from './count_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/count_fn.ts b/src/plugins/data/common/search/aggs/metrics/count_fn.ts index 9c2cadc4d792..5d6358118b1c 100644 --- a/src/plugins/data/common/search/aggs/metrics/count_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/count_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; import { AggExpressionType, AggExpressionFunctionArgs, METRIC_TYPES } from '../'; diff --git a/src/plugins/data/common/search/aggs/metrics/cumulative_sum.ts b/src/plugins/data/common/search/aggs/metrics/cumulative_sum.ts index a18e3e122696..e2150a8e7938 100644 --- a/src/plugins/data/common/search/aggs/metrics/cumulative_sum.ts +++ b/src/plugins/data/common/search/aggs/metrics/cumulative_sum.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; import { parentPipelineAggHelper } from './lib/parent_pipeline_agg_helper'; diff --git a/src/plugins/data/common/search/aggs/metrics/cumulative_sum_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/cumulative_sum_fn.test.ts index bb86cf87e90c..9f552b0cf381 100644 --- a/src/plugins/data/common/search/aggs/metrics/cumulative_sum_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/cumulative_sum_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggCumulativeSum } from './cumulative_sum_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/cumulative_sum_fn.ts b/src/plugins/data/common/search/aggs/metrics/cumulative_sum_fn.ts index 665fd24ec38f..bb7721c854eb 100644 --- a/src/plugins/data/common/search/aggs/metrics/cumulative_sum_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/cumulative_sum_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/metrics/derivative.ts b/src/plugins/data/common/search/aggs/metrics/derivative.ts index 18e17331e7cc..56494783e3f4 100644 --- a/src/plugins/data/common/search/aggs/metrics/derivative.ts +++ b/src/plugins/data/common/search/aggs/metrics/derivative.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; import { parentPipelineAggHelper } from './lib/parent_pipeline_agg_helper'; diff --git a/src/plugins/data/common/search/aggs/metrics/derivative_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/derivative_fn.test.ts index 292b60951048..8f35d07b90c7 100644 --- a/src/plugins/data/common/search/aggs/metrics/derivative_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/derivative_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggDerivative } from './derivative_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/derivative_fn.ts b/src/plugins/data/common/search/aggs/metrics/derivative_fn.ts index 7e774edc1d42..4c45e0c5d2d3 100644 --- a/src/plugins/data/common/search/aggs/metrics/derivative_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/derivative_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/metrics/geo_bounds.ts b/src/plugins/data/common/search/aggs/metrics/geo_bounds.ts index 97aca69ea53c..20c1b2e2e646 100644 --- a/src/plugins/data/common/search/aggs/metrics/geo_bounds.ts +++ b/src/plugins/data/common/search/aggs/metrics/geo_bounds.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; import { METRIC_TYPES } from './metric_agg_types'; diff --git a/src/plugins/data/common/search/aggs/metrics/geo_bounds_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/geo_bounds_fn.test.ts index 14ec0175f69b..08b30e38e353 100644 --- a/src/plugins/data/common/search/aggs/metrics/geo_bounds_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/geo_bounds_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggGeoBounds } from './geo_bounds_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/geo_bounds_fn.ts b/src/plugins/data/common/search/aggs/metrics/geo_bounds_fn.ts index b0e51b9a7156..56a8732f26c1 100644 --- a/src/plugins/data/common/search/aggs/metrics/geo_bounds_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/geo_bounds_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; import { AggExpressionType, AggExpressionFunctionArgs, METRIC_TYPES } from '../'; diff --git a/src/plugins/data/common/search/aggs/metrics/geo_centroid.ts b/src/plugins/data/common/search/aggs/metrics/geo_centroid.ts index 976d35325676..54b2aa22e042 100644 --- a/src/plugins/data/common/search/aggs/metrics/geo_centroid.ts +++ b/src/plugins/data/common/search/aggs/metrics/geo_centroid.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; import { METRIC_TYPES } from './metric_agg_types'; diff --git a/src/plugins/data/common/search/aggs/metrics/geo_centroid_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/geo_centroid_fn.test.ts index 05af5d84b4d5..51c374b6e350 100644 --- a/src/plugins/data/common/search/aggs/metrics/geo_centroid_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/geo_centroid_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggGeoCentroid } from './geo_centroid_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/geo_centroid_fn.ts b/src/plugins/data/common/search/aggs/metrics/geo_centroid_fn.ts index 4bfb4032f262..1547bd711209 100644 --- a/src/plugins/data/common/search/aggs/metrics/geo_centroid_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/geo_centroid_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; import { AggExpressionType, AggExpressionFunctionArgs, METRIC_TYPES } from '../'; diff --git a/src/plugins/data/common/search/aggs/metrics/index.ts b/src/plugins/data/common/search/aggs/metrics/index.ts index 9555b7d711e9..7622af7ee1a7 100644 --- a/src/plugins/data/common/search/aggs/metrics/index.ts +++ b/src/plugins/data/common/search/aggs/metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './metric_agg_type'; export * from './metric_agg_types'; export * from './lib/parent_pipeline_agg_helper'; diff --git a/src/plugins/data/common/search/aggs/metrics/lib/get_response_agg_config_class.ts b/src/plugins/data/common/search/aggs/metrics/lib/get_response_agg_config_class.ts index d9d9ec4590e7..124656fafd0c 100644 --- a/src/plugins/data/common/search/aggs/metrics/lib/get_response_agg_config_class.ts +++ b/src/plugins/data/common/search/aggs/metrics/lib/get_response_agg_config_class.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { assignIn } from 'lodash'; import { IMetricAggConfig } from '../metric_agg_type'; diff --git a/src/plugins/data/common/search/aggs/metrics/lib/make_nested_label.test.ts b/src/plugins/data/common/search/aggs/metrics/lib/make_nested_label.test.ts index ffc62a2bce0c..52b33423df72 100644 --- a/src/plugins/data/common/search/aggs/metrics/lib/make_nested_label.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/lib/make_nested_label.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { makeNestedLabel } from './make_nested_label'; import { IMetricAggConfig } from '../metric_agg_type'; diff --git a/src/plugins/data/common/search/aggs/metrics/lib/make_nested_label.ts b/src/plugins/data/common/search/aggs/metrics/lib/make_nested_label.ts index e3c69591dae9..624a4c1ca86d 100644 --- a/src/plugins/data/common/search/aggs/metrics/lib/make_nested_label.ts +++ b/src/plugins/data/common/search/aggs/metrics/lib/make_nested_label.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { startCase } from 'lodash'; import { IMetricAggConfig } from '../metric_agg_type'; diff --git a/src/plugins/data/common/search/aggs/metrics/lib/nested_agg_helpers.ts b/src/plugins/data/common/search/aggs/metrics/lib/nested_agg_helpers.ts index 5c97e0657eb7..598c4bf8db70 100644 --- a/src/plugins/data/common/search/aggs/metrics/lib/nested_agg_helpers.ts +++ b/src/plugins/data/common/search/aggs/metrics/lib/nested_agg_helpers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IMetricAggConfig, MetricAggParam } from '../metric_agg_type'; /** diff --git a/src/plugins/data/common/search/aggs/metrics/lib/ordinal_suffix.test.ts b/src/plugins/data/common/search/aggs/metrics/lib/ordinal_suffix.test.ts index c8421fd99b36..d24dd5f2af63 100644 --- a/src/plugins/data/common/search/aggs/metrics/lib/ordinal_suffix.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/lib/ordinal_suffix.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { forOwn } from 'lodash'; import { ordinalSuffix } from './ordinal_suffix'; diff --git a/src/plugins/data/common/search/aggs/metrics/lib/ordinal_suffix.ts b/src/plugins/data/common/search/aggs/metrics/lib/ordinal_suffix.ts index 4db54f9426ec..fae026abc08a 100644 --- a/src/plugins/data/common/search/aggs/metrics/lib/ordinal_suffix.ts +++ b/src/plugins/data/common/search/aggs/metrics/lib/ordinal_suffix.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // adopted from http://stackoverflow.com/questions/3109978/php-display-number-with-ordinal-suffix export function ordinalSuffix(num: any): string { return num + '' + suffix(num); diff --git a/src/plugins/data/common/search/aggs/metrics/lib/parent_pipeline_agg_helper.ts b/src/plugins/data/common/search/aggs/metrics/lib/parent_pipeline_agg_helper.ts index ed91051dac58..1b4116c025ff 100644 --- a/src/plugins/data/common/search/aggs/metrics/lib/parent_pipeline_agg_helper.ts +++ b/src/plugins/data/common/search/aggs/metrics/lib/parent_pipeline_agg_helper.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { noop } from 'lodash'; diff --git a/src/plugins/data/common/search/aggs/metrics/lib/parent_pipeline_agg_writer.ts b/src/plugins/data/common/search/aggs/metrics/lib/parent_pipeline_agg_writer.ts index 1a1d81c413ee..9e5554e2c07f 100644 --- a/src/plugins/data/common/search/aggs/metrics/lib/parent_pipeline_agg_writer.ts +++ b/src/plugins/data/common/search/aggs/metrics/lib/parent_pipeline_agg_writer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IAggConfigs } from '../../agg_configs'; import { IMetricAggConfig } from '../metric_agg_type'; diff --git a/src/plugins/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_helper.ts b/src/plugins/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_helper.ts index 51ae864b1e05..74cead7ad0f5 100644 --- a/src/plugins/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_helper.ts +++ b/src/plugins/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_helper.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { siblingPipelineAggWriter } from './sibling_pipeline_agg_writer'; import { forwardModifyAggConfigOnSearchRequestStart } from './nested_agg_helpers'; diff --git a/src/plugins/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_writer.ts b/src/plugins/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_writer.ts index 2d1a190bd135..80b0a9a641c0 100644 --- a/src/plugins/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_writer.ts +++ b/src/plugins/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_writer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IMetricAggConfig } from '../metric_agg_type'; import { METRIC_TYPES } from '../metric_agg_types'; diff --git a/src/plugins/data/common/search/aggs/metrics/max.ts b/src/plugins/data/common/search/aggs/metrics/max.ts index 149faa47253b..7c9138a697cf 100644 --- a/src/plugins/data/common/search/aggs/metrics/max.ts +++ b/src/plugins/data/common/search/aggs/metrics/max.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; import { METRIC_TYPES } from './metric_agg_types'; diff --git a/src/plugins/data/common/search/aggs/metrics/max_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/max_fn.test.ts index 4d864de1c900..b9f2a4d6d522 100644 --- a/src/plugins/data/common/search/aggs/metrics/max_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/max_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggMax } from './max_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/max_fn.ts b/src/plugins/data/common/search/aggs/metrics/max_fn.ts index aec796bd0f3c..430f22fc96c5 100644 --- a/src/plugins/data/common/search/aggs/metrics/max_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/max_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; import { AggExpressionType, AggExpressionFunctionArgs, METRIC_TYPES } from '../'; diff --git a/src/plugins/data/common/search/aggs/metrics/median.test.ts b/src/plugins/data/common/search/aggs/metrics/median.test.ts index 75e31e337cc2..c06a0729f690 100644 --- a/src/plugins/data/common/search/aggs/metrics/median.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/median.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggConfigs, IAggConfigs } from '../agg_configs'; import { mockAggTypesRegistry } from '../test_helpers'; import { METRIC_TYPES } from './metric_agg_types'; diff --git a/src/plugins/data/common/search/aggs/metrics/median.ts b/src/plugins/data/common/search/aggs/metrics/median.ts index ac58c786f995..6f1b74650d8d 100644 --- a/src/plugins/data/common/search/aggs/metrics/median.ts +++ b/src/plugins/data/common/search/aggs/metrics/median.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; import { METRIC_TYPES } from './metric_agg_types'; diff --git a/src/plugins/data/common/search/aggs/metrics/median_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/median_fn.test.ts index 5616e8f62f5c..62834ba62e24 100644 --- a/src/plugins/data/common/search/aggs/metrics/median_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/median_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggMedian } from './median_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/median_fn.ts b/src/plugins/data/common/search/aggs/metrics/median_fn.ts index 43b10eaf7e71..ffa41f6d1ec2 100644 --- a/src/plugins/data/common/search/aggs/metrics/median_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/median_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; import { AggExpressionType, AggExpressionFunctionArgs, METRIC_TYPES } from '../'; diff --git a/src/plugins/data/common/search/aggs/metrics/metric_agg_type.ts b/src/plugins/data/common/search/aggs/metrics/metric_agg_type.ts index 64ecb1cade8f..cab5f47238d0 100644 --- a/src/plugins/data/common/search/aggs/metrics/metric_agg_type.ts +++ b/src/plugins/data/common/search/aggs/metrics/metric_agg_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { AggType, AggTypeConfig } from '../agg_type'; import { AggParamType } from '../param_types/agg'; diff --git a/src/plugins/data/common/search/aggs/metrics/metric_agg_types.ts b/src/plugins/data/common/search/aggs/metrics/metric_agg_types.ts index 904389e1ca69..e44e43e1bb39 100644 --- a/src/plugins/data/common/search/aggs/metrics/metric_agg_types.ts +++ b/src/plugins/data/common/search/aggs/metrics/metric_agg_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export enum METRIC_TYPES { AVG = 'avg', CARDINALITY = 'cardinality', diff --git a/src/plugins/data/common/search/aggs/metrics/min.ts b/src/plugins/data/common/search/aggs/metrics/min.ts index e023f85607a4..d51b8a71172b 100644 --- a/src/plugins/data/common/search/aggs/metrics/min.ts +++ b/src/plugins/data/common/search/aggs/metrics/min.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; import { METRIC_TYPES } from './metric_agg_types'; diff --git a/src/plugins/data/common/search/aggs/metrics/min_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/min_fn.test.ts index 0699ae9d1775..92e4c098f1e5 100644 --- a/src/plugins/data/common/search/aggs/metrics/min_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/min_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggMin } from './min_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/min_fn.ts b/src/plugins/data/common/search/aggs/metrics/min_fn.ts index 9644882bdd5b..582fd5b8760f 100644 --- a/src/plugins/data/common/search/aggs/metrics/min_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/min_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; import { AggExpressionType, AggExpressionFunctionArgs, METRIC_TYPES } from '../'; diff --git a/src/plugins/data/common/search/aggs/metrics/moving_avg.ts b/src/plugins/data/common/search/aggs/metrics/moving_avg.ts index 1cb700ae816e..f116d0ac7cbd 100644 --- a/src/plugins/data/common/search/aggs/metrics/moving_avg.ts +++ b/src/plugins/data/common/search/aggs/metrics/moving_avg.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; import { parentPipelineAggHelper } from './lib/parent_pipeline_agg_helper'; diff --git a/src/plugins/data/common/search/aggs/metrics/moving_avg_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/moving_avg_fn.test.ts index 8b2a13b86f80..eaa32598af18 100644 --- a/src/plugins/data/common/search/aggs/metrics/moving_avg_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/moving_avg_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggMovingAvg } from './moving_avg_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/moving_avg_fn.ts b/src/plugins/data/common/search/aggs/metrics/moving_avg_fn.ts index 1719213f7ff2..b0a15dd1f19e 100644 --- a/src/plugins/data/common/search/aggs/metrics/moving_avg_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/moving_avg_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/metrics/parent_pipeline.test.ts b/src/plugins/data/common/search/aggs/metrics/parent_pipeline.test.ts index 6b81aded7e8e..ea865448e779 100644 --- a/src/plugins/data/common/search/aggs/metrics/parent_pipeline.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/parent_pipeline.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getDerivativeMetricAgg } from './derivative'; import { getCumulativeSumMetricAgg } from './cumulative_sum'; import { getMovingAvgMetricAgg } from './moving_avg'; diff --git a/src/plugins/data/common/search/aggs/metrics/percentile_ranks.test.ts b/src/plugins/data/common/search/aggs/metrics/percentile_ranks.test.ts index 89a5fd76573f..6a2139474e0c 100644 --- a/src/plugins/data/common/search/aggs/metrics/percentile_ranks.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/percentile_ranks.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IPercentileRanksAggConfig, getPercentileRanksMetricAgg, diff --git a/src/plugins/data/common/search/aggs/metrics/percentile_ranks.ts b/src/plugins/data/common/search/aggs/metrics/percentile_ranks.ts index 3f25afb84330..b47f859b0fed 100644 --- a/src/plugins/data/common/search/aggs/metrics/percentile_ranks.ts +++ b/src/plugins/data/common/search/aggs/metrics/percentile_ranks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { OSD_FIELD_TYPES } from '../../../../common'; diff --git a/src/plugins/data/common/search/aggs/metrics/percentile_ranks_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/percentile_ranks_fn.test.ts index 22bb785aa438..2a210d79090d 100644 --- a/src/plugins/data/common/search/aggs/metrics/percentile_ranks_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/percentile_ranks_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggPercentileRanks } from './percentile_ranks_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/percentile_ranks_fn.ts b/src/plugins/data/common/search/aggs/metrics/percentile_ranks_fn.ts index 1e7012eed5f9..4ee447aaeec2 100644 --- a/src/plugins/data/common/search/aggs/metrics/percentile_ranks_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/percentile_ranks_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; import { AggExpressionType, AggExpressionFunctionArgs, METRIC_TYPES } from '../'; diff --git a/src/plugins/data/common/search/aggs/metrics/percentiles.test.ts b/src/plugins/data/common/search/aggs/metrics/percentiles.test.ts index 182801f6123d..bba7b5404edd 100644 --- a/src/plugins/data/common/search/aggs/metrics/percentiles.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/percentiles.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IPercentileAggConfig, getPercentilesMetricAgg } from './percentiles'; import { AggConfigs, IAggConfigs } from '../agg_configs'; import { mockAggTypesRegistry } from '../test_helpers'; diff --git a/src/plugins/data/common/search/aggs/metrics/percentiles.ts b/src/plugins/data/common/search/aggs/metrics/percentiles.ts index 60af9ed13079..0593a816cac1 100644 --- a/src/plugins/data/common/search/aggs/metrics/percentiles.ts +++ b/src/plugins/data/common/search/aggs/metrics/percentiles.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; import { METRIC_TYPES } from './metric_agg_types'; diff --git a/src/plugins/data/common/search/aggs/metrics/percentiles_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/percentiles_fn.test.ts index b4b56760afd2..62ddc4c1d132 100644 --- a/src/plugins/data/common/search/aggs/metrics/percentiles_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/percentiles_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggPercentiles } from './percentiles_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/percentiles_fn.ts b/src/plugins/data/common/search/aggs/metrics/percentiles_fn.ts index a3b0bf17f4b4..a8ce512f4d7c 100644 --- a/src/plugins/data/common/search/aggs/metrics/percentiles_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/percentiles_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; import { AggExpressionType, AggExpressionFunctionArgs, METRIC_TYPES } from '../'; diff --git a/src/plugins/data/common/search/aggs/metrics/percentiles_get_value.ts b/src/plugins/data/common/search/aggs/metrics/percentiles_get_value.ts index 92ee678d3727..e1aaf007c3b6 100644 --- a/src/plugins/data/common/search/aggs/metrics/percentiles_get_value.ts +++ b/src/plugins/data/common/search/aggs/metrics/percentiles_get_value.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { find } from 'lodash'; import { IResponseAggConfig } from './lib/get_response_agg_config_class'; diff --git a/src/plugins/data/common/search/aggs/metrics/serial_diff.ts b/src/plugins/data/common/search/aggs/metrics/serial_diff.ts index 8bed7cde3192..f374f64d9546 100644 --- a/src/plugins/data/common/search/aggs/metrics/serial_diff.ts +++ b/src/plugins/data/common/search/aggs/metrics/serial_diff.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; import { parentPipelineAggHelper } from './lib/parent_pipeline_agg_helper'; diff --git a/src/plugins/data/common/search/aggs/metrics/serial_diff_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/serial_diff_fn.test.ts index f992c4b117b5..ed4d697350f4 100644 --- a/src/plugins/data/common/search/aggs/metrics/serial_diff_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/serial_diff_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggSerialDiff } from './serial_diff_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/serial_diff_fn.ts b/src/plugins/data/common/search/aggs/metrics/serial_diff_fn.ts index ad780ff58e10..8d97fb397e76 100644 --- a/src/plugins/data/common/search/aggs/metrics/serial_diff_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/serial_diff_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Assign } from '@osd/utility-types'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; diff --git a/src/plugins/data/common/search/aggs/metrics/sibling_pipeline.test.ts b/src/plugins/data/common/search/aggs/metrics/sibling_pipeline.test.ts index 27c6a75a5827..6da507a62078 100644 --- a/src/plugins/data/common/search/aggs/metrics/sibling_pipeline.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/sibling_pipeline.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getBucketSumMetricAgg } from './bucket_sum'; import { getBucketAvgMetricAgg } from './bucket_avg'; import { getBucketMinMetricAgg } from './bucket_min'; diff --git a/src/plugins/data/common/search/aggs/metrics/std_deviation.test.ts b/src/plugins/data/common/search/aggs/metrics/std_deviation.test.ts index 2b063fc7eeb1..0b683d05885e 100644 --- a/src/plugins/data/common/search/aggs/metrics/std_deviation.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/std_deviation.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IStdDevAggConfig, getStdDeviationMetricAgg } from './std_deviation'; import { AggConfigs } from '../agg_configs'; import { mockAggTypesRegistry } from '../test_helpers'; diff --git a/src/plugins/data/common/search/aggs/metrics/std_deviation.ts b/src/plugins/data/common/search/aggs/metrics/std_deviation.ts index ff2d69cacd9a..c5664abe4673 100644 --- a/src/plugins/data/common/search/aggs/metrics/std_deviation.ts +++ b/src/plugins/data/common/search/aggs/metrics/std_deviation.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; diff --git a/src/plugins/data/common/search/aggs/metrics/std_deviation_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/std_deviation_fn.test.ts index d2d7a2f2b557..8aab8842756c 100644 --- a/src/plugins/data/common/search/aggs/metrics/std_deviation_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/std_deviation_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggStdDeviation } from './std_deviation_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/std_deviation_fn.ts b/src/plugins/data/common/search/aggs/metrics/std_deviation_fn.ts index 61c7d1f71fd4..da221caf2029 100644 --- a/src/plugins/data/common/search/aggs/metrics/std_deviation_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/std_deviation_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; import { AggExpressionType, AggExpressionFunctionArgs, METRIC_TYPES } from '../'; diff --git a/src/plugins/data/common/search/aggs/metrics/sum.ts b/src/plugins/data/common/search/aggs/metrics/sum.ts index cde76e2b73fa..bb56601f8b15 100644 --- a/src/plugins/data/common/search/aggs/metrics/sum.ts +++ b/src/plugins/data/common/search/aggs/metrics/sum.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MetricAggType } from './metric_agg_type'; import { METRIC_TYPES } from './metric_agg_types'; diff --git a/src/plugins/data/common/search/aggs/metrics/sum_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/sum_fn.test.ts index 31c2c331f459..baf94f3d48c3 100644 --- a/src/plugins/data/common/search/aggs/metrics/sum_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/sum_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggSum } from './sum_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/sum_fn.ts b/src/plugins/data/common/search/aggs/metrics/sum_fn.ts index 5697fe0e701e..d7f33d9df76a 100644 --- a/src/plugins/data/common/search/aggs/metrics/sum_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/sum_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; import { AggExpressionType, AggExpressionFunctionArgs, METRIC_TYPES } from '../'; diff --git a/src/plugins/data/common/search/aggs/metrics/top_hit.test.ts b/src/plugins/data/common/search/aggs/metrics/top_hit.test.ts index 7c0722997d4a..0defc9e02cb2 100644 --- a/src/plugins/data/common/search/aggs/metrics/top_hit.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/top_hit.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { dropRight, last } from 'lodash'; import { getTopHitMetricAgg } from './top_hit'; import { AggConfigs } from '../agg_configs'; diff --git a/src/plugins/data/common/search/aggs/metrics/top_hit.ts b/src/plugins/data/common/search/aggs/metrics/top_hit.ts index e9d11cdc056a..db23aee28bc0 100644 --- a/src/plugins/data/common/search/aggs/metrics/top_hit.ts +++ b/src/plugins/data/common/search/aggs/metrics/top_hit.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; import { IMetricAggConfig, MetricAggType } from './metric_agg_type'; diff --git a/src/plugins/data/common/search/aggs/metrics/top_hit_fn.test.ts b/src/plugins/data/common/search/aggs/metrics/top_hit_fn.test.ts index 8d8c36ae578c..f579f6e70543 100644 --- a/src/plugins/data/common/search/aggs/metrics/top_hit_fn.test.ts +++ b/src/plugins/data/common/search/aggs/metrics/top_hit_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../test_helpers'; import { aggTopHit } from './top_hit_fn'; diff --git a/src/plugins/data/common/search/aggs/metrics/top_hit_fn.ts b/src/plugins/data/common/search/aggs/metrics/top_hit_fn.ts index 75bfb36f6169..7d2e018ddd23 100644 --- a/src/plugins/data/common/search/aggs/metrics/top_hit_fn.ts +++ b/src/plugins/data/common/search/aggs/metrics/top_hit_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from 'src/plugins/expressions/common'; import { AggExpressionType, AggExpressionFunctionArgs, METRIC_TYPES } from '../'; diff --git a/src/plugins/data/common/search/aggs/param_types/agg.ts b/src/plugins/data/common/search/aggs/param_types/agg.ts index f3421c0c9cf8..41202b0a55d6 100644 --- a/src/plugins/data/common/search/aggs/param_types/agg.ts +++ b/src/plugins/data/common/search/aggs/param_types/agg.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggConfig, IAggConfig, AggConfigSerialized } from '../agg_config'; import { BaseParamType } from './base'; diff --git a/src/plugins/data/common/search/aggs/param_types/base.ts b/src/plugins/data/common/search/aggs/param_types/base.ts index c34af9081dcd..dc6242673de1 100644 --- a/src/plugins/data/common/search/aggs/param_types/base.ts +++ b/src/plugins/data/common/search/aggs/param_types/base.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ISearchOptions, ISearchSource } from 'src/plugins/data/public'; import { ExpressionAstFunction } from 'src/plugins/expressions/common'; import { IAggConfigs } from '../agg_configs'; diff --git a/src/plugins/data/common/search/aggs/param_types/field.test.ts b/src/plugins/data/common/search/aggs/param_types/field.test.ts index ff52d4052653..5e74527eca27 100644 --- a/src/plugins/data/common/search/aggs/param_types/field.test.ts +++ b/src/plugins/data/common/search/aggs/param_types/field.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BaseParamType } from './base'; import { FieldParamType } from './field'; import { OPENSEARCH_FIELD_TYPES, OSD_FIELD_TYPES } from '../../../../common'; diff --git a/src/plugins/data/common/search/aggs/param_types/field.ts b/src/plugins/data/common/search/aggs/param_types/field.ts index 3504c0d8786d..83d4aaf01bfe 100644 --- a/src/plugins/data/common/search/aggs/param_types/field.ts +++ b/src/plugins/data/common/search/aggs/param_types/field.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { IAggConfig } from '../agg_config'; import { SavedObjectNotFound } from '../../../../../opensearch_dashboards_utils/common'; diff --git a/src/plugins/data/common/search/aggs/param_types/index.ts b/src/plugins/data/common/search/aggs/param_types/index.ts index b2050a50dce6..4c531d1a98c3 100644 --- a/src/plugins/data/common/search/aggs/param_types/index.ts +++ b/src/plugins/data/common/search/aggs/param_types/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './agg'; export * from './base'; export * from './field'; diff --git a/src/plugins/data/common/search/aggs/param_types/json.test.ts b/src/plugins/data/common/search/aggs/param_types/json.test.ts index 8ee624e5741a..a0a6bd8f9938 100644 --- a/src/plugins/data/common/search/aggs/param_types/json.test.ts +++ b/src/plugins/data/common/search/aggs/param_types/json.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BaseParamType } from './base'; import { JsonParamType } from './json'; import { IAggConfig } from '../agg_config'; diff --git a/src/plugins/data/common/search/aggs/param_types/json.ts b/src/plugins/data/common/search/aggs/param_types/json.ts index 763f2aaa987b..a1daf76fcf5b 100644 --- a/src/plugins/data/common/search/aggs/param_types/json.ts +++ b/src/plugins/data/common/search/aggs/param_types/json.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { IAggConfig } from '../agg_config'; diff --git a/src/plugins/data/common/search/aggs/param_types/optioned.test.ts b/src/plugins/data/common/search/aggs/param_types/optioned.test.ts index d58a5411156c..b2fa78535af2 100644 --- a/src/plugins/data/common/search/aggs/param_types/optioned.test.ts +++ b/src/plugins/data/common/search/aggs/param_types/optioned.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BaseParamType } from './base'; import { OptionedParamType } from './optioned'; diff --git a/src/plugins/data/common/search/aggs/param_types/optioned.ts b/src/plugins/data/common/search/aggs/param_types/optioned.ts index ae666c502613..b8352622fa41 100644 --- a/src/plugins/data/common/search/aggs/param_types/optioned.ts +++ b/src/plugins/data/common/search/aggs/param_types/optioned.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IAggConfig } from '../agg_config'; import { BaseParamType } from './base'; diff --git a/src/plugins/data/common/search/aggs/param_types/string.test.ts b/src/plugins/data/common/search/aggs/param_types/string.test.ts index 31da88561657..6e19725f37e4 100644 --- a/src/plugins/data/common/search/aggs/param_types/string.test.ts +++ b/src/plugins/data/common/search/aggs/param_types/string.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BaseParamType } from './base'; import { StringParamType } from './string'; import { IAggConfig } from '../agg_config'; diff --git a/src/plugins/data/common/search/aggs/param_types/string.ts b/src/plugins/data/common/search/aggs/param_types/string.ts index 198b26b79d88..80fb077148c4 100644 --- a/src/plugins/data/common/search/aggs/param_types/string.ts +++ b/src/plugins/data/common/search/aggs/param_types/string.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IAggConfig } from '../agg_config'; import { BaseParamType } from './base'; diff --git a/src/plugins/data/common/search/aggs/test_helpers/function_wrapper.ts b/src/plugins/data/common/search/aggs/test_helpers/function_wrapper.ts index 78a55d76bc80..ab07b740445d 100644 --- a/src/plugins/data/common/search/aggs/test_helpers/function_wrapper.ts +++ b/src/plugins/data/common/search/aggs/test_helpers/function_wrapper.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapValues } from 'lodash'; import { AnyExpressionFunctionDefinition, diff --git a/src/plugins/data/common/search/aggs/test_helpers/index.ts b/src/plugins/data/common/search/aggs/test_helpers/index.ts index a0a503dba9ea..2bf0855c35ed 100644 --- a/src/plugins/data/common/search/aggs/test_helpers/index.ts +++ b/src/plugins/data/common/search/aggs/test_helpers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './function_wrapper'; export * from './mock_agg_types_registry'; diff --git a/src/plugins/data/common/search/aggs/test_helpers/mock_agg_types_registry.ts b/src/plugins/data/common/search/aggs/test_helpers/mock_agg_types_registry.ts index 5f9176694540..a25d9fcc6e5c 100644 --- a/src/plugins/data/common/search/aggs/test_helpers/mock_agg_types_registry.ts +++ b/src/plugins/data/common/search/aggs/test_helpers/mock_agg_types_registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fieldFormatsMock } from '../../../field_formats/mocks'; import { AggTypesRegistry, AggTypesRegistryStart } from '../agg_types_registry'; diff --git a/src/plugins/data/common/search/aggs/types.ts b/src/plugins/data/common/search/aggs/types.ts index daeef45603fc..caee9e9868e7 100644 --- a/src/plugins/data/common/search/aggs/types.ts +++ b/src/plugins/data/common/search/aggs/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Assign } from '@osd/utility-types'; import { IndexPattern } from '../../index_patterns/index_patterns/index_pattern'; import { diff --git a/src/plugins/data/common/search/aggs/utils/calculate_auto_time_expression.ts b/src/plugins/data/common/search/aggs/utils/calculate_auto_time_expression.ts index da3d614cfb63..05abf7235194 100644 --- a/src/plugins/data/common/search/aggs/utils/calculate_auto_time_expression.ts +++ b/src/plugins/data/common/search/aggs/utils/calculate_auto_time_expression.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import moment from 'moment'; import { UI_SETTINGS } from '../../../../common/constants'; import { TimeRange } from '../../../../common/query'; diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.test.ts b/src/plugins/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.test.ts index b053d8a454e3..f9126a75e2b8 100644 --- a/src/plugins/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.test.ts +++ b/src/plugins/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { dateHistogramInterval } from './date_histogram_interval'; describe('dateHistogramInterval', () => { diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.ts b/src/plugins/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.ts index 48964317920e..d48a45d47d99 100644 --- a/src/plugins/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.ts +++ b/src/plugins/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parseOpenSearchInterval } from './parse_opensearch_interval'; type Interval = { fixed_interval: string } | { calendar_interval: string }; diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/index.ts b/src/plugins/data/common/search/aggs/utils/date_interval_utils/index.ts index 2cb6bb1bcffe..910f53916bde 100644 --- a/src/plugins/data/common/search/aggs/utils/date_interval_utils/index.ts +++ b/src/plugins/data/common/search/aggs/utils/date_interval_utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './date_histogram_interval'; export * from './invalid_opensearch_calendar_interval_error'; export * from './invalid_opensearch_interval_format_error'; diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/invalid_opensearch_calendar_interval_error.ts b/src/plugins/data/common/search/aggs/utils/date_interval_utils/invalid_opensearch_calendar_interval_error.ts index 1f45f9eeeef2..bddd40f43d91 100644 --- a/src/plugins/data/common/search/aggs/utils/date_interval_utils/invalid_opensearch_calendar_interval_error.ts +++ b/src/plugins/data/common/search/aggs/utils/date_interval_utils/invalid_opensearch_calendar_interval_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Unit } from '@elastic/datemath'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/invalid_opensearch_interval_format_error.ts b/src/plugins/data/common/search/aggs/utils/date_interval_utils/invalid_opensearch_interval_format_error.ts index e2b1101783c8..1135fca2b85e 100644 --- a/src/plugins/data/common/search/aggs/utils/date_interval_utils/invalid_opensearch_interval_format_error.ts +++ b/src/plugins/data/common/search/aggs/utils/date_interval_utils/invalid_opensearch_interval_format_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; export class InvalidOpenSearchIntervalFormatError extends Error { diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_interval.ts b/src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_interval.ts index 75bdbe248b93..bc52418e2519 100644 --- a/src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_interval.ts +++ b/src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_interval.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isValidOpenSearchInterval } from './is_valid_opensearch_interval'; import { leastCommonInterval } from './least_common_interval'; diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_opensearch_interval.ts b/src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_opensearch_interval.ts index 675c9500df0c..16db44f3597a 100644 --- a/src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_opensearch_interval.ts +++ b/src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_opensearch_interval.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parseOpenSearchInterval } from './parse_opensearch_interval'; /** diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_interval.test.ts b/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_interval.test.ts index 769910b4581a..048ef040badb 100644 --- a/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_interval.test.ts +++ b/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_interval.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { leastCommonInterval } from './least_common_interval'; describe('leastCommonInterval', () => { diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_interval.ts b/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_interval.ts index facda4d500d1..677f5a358815 100644 --- a/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_interval.ts +++ b/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_interval.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import dateMath from '@elastic/datemath'; import { leastCommonMultiple } from './least_common_multiple'; import { parseOpenSearchInterval } from './parse_opensearch_interval'; diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.test.ts b/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.test.ts index 7d2d6060e833..bfbcf4b0d9bc 100644 --- a/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.test.ts +++ b/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { leastCommonMultiple } from './least_common_multiple'; describe('leastCommonMultiple', () => { diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.ts b/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.ts index cb77fc279e15..39d279d952b3 100644 --- a/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.ts +++ b/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Calculates the greates common divisor of two numbers. This will be the * greatest positive integer number, that both input values share as a divisor. diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.test.ts b/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.test.ts index 4be6f2ddafd1..7f8d7c310589 100644 --- a/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.test.ts +++ b/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Duration, unitOfTime } from 'moment'; import { parseInterval } from './parse_interval'; diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.ts b/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.ts index 864b3e66a108..3e46e2a65530 100644 --- a/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.ts +++ b/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { find } from 'lodash'; import moment, { unitOfTime } from 'moment'; import dateMath from '@elastic/datemath'; diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_opensearch_interval.test.ts b/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_opensearch_interval.test.ts index c8b8ceb29ae7..7009e12fce80 100644 --- a/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_opensearch_interval.test.ts +++ b/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_opensearch_interval.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { InvalidOpenSearchCalendarIntervalError } from './invalid_opensearch_calendar_interval_error'; import { InvalidOpenSearchIntervalFormatError } from './invalid_opensearch_interval_format_error'; import { parseOpenSearchInterval } from './parse_opensearch_interval'; diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_opensearch_interval.ts b/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_opensearch_interval.ts index daddc8c0ce02..1106c8d563d1 100644 --- a/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_opensearch_interval.ts +++ b/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_opensearch_interval.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import dateMath, { Unit } from '@elastic/datemath'; import { InvalidOpenSearchCalendarIntervalError } from './invalid_opensearch_calendar_interval_error'; diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/to_absolute_dates.ts b/src/plugins/data/common/search/aggs/utils/date_interval_utils/to_absolute_dates.ts index a660228dad54..b0b0d694635e 100644 --- a/src/plugins/data/common/search/aggs/utils/date_interval_utils/to_absolute_dates.ts +++ b/src/plugins/data/common/search/aggs/utils/date_interval_utils/to_absolute_dates.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import dateMath from '@elastic/datemath'; import { TimeRange } from '../../../../../common'; diff --git a/src/plugins/data/common/search/aggs/utils/get_format_with_aggs.test.ts b/src/plugins/data/common/search/aggs/utils/get_format_with_aggs.test.ts index c54e9ffe9610..2735b990758e 100644 --- a/src/plugins/data/common/search/aggs/utils/get_format_with_aggs.test.ts +++ b/src/plugins/data/common/search/aggs/utils/get_format_with_aggs.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { identity } from 'lodash'; import { SerializedFieldFormat } from 'src/plugins/expressions/common/types'; diff --git a/src/plugins/data/common/search/aggs/utils/get_format_with_aggs.ts b/src/plugins/data/common/search/aggs/utils/get_format_with_aggs.ts index 93694eb018dd..d21cc0163183 100644 --- a/src/plugins/data/common/search/aggs/utils/get_format_with_aggs.ts +++ b/src/plugins/data/common/search/aggs/utils/get_format_with_aggs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { SerializedFieldFormat } from 'src/plugins/expressions/common/types'; diff --git a/src/plugins/data/common/search/aggs/utils/get_parsed_value.ts b/src/plugins/data/common/search/aggs/utils/get_parsed_value.ts index e1c567eb6bb0..1b7099752a6c 100644 --- a/src/plugins/data/common/search/aggs/utils/get_parsed_value.ts +++ b/src/plugins/data/common/search/aggs/utils/get_parsed_value.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * This method parses a JSON string and constructs the Object or object described by the string. * If the given string is not valid JSON, you will get a syntax error. diff --git a/src/plugins/data/common/search/aggs/utils/index.ts b/src/plugins/data/common/search/aggs/utils/index.ts index f9446a4188ce..6cb016f9ffc4 100644 --- a/src/plugins/data/common/search/aggs/utils/index.ts +++ b/src/plugins/data/common/search/aggs/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './calculate_auto_time_expression'; export * from './date_interval_utils'; export * from './get_format_with_aggs'; diff --git a/src/plugins/data/common/search/aggs/utils/ipv4_address.test.ts b/src/plugins/data/common/search/aggs/utils/ipv4_address.test.ts index 59c70a394bde..7fc8527c3c4f 100644 --- a/src/plugins/data/common/search/aggs/utils/ipv4_address.test.ts +++ b/src/plugins/data/common/search/aggs/utils/ipv4_address.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { Ipv4Address } from './ipv4_address'; diff --git a/src/plugins/data/common/search/aggs/utils/ipv4_address.ts b/src/plugins/data/common/search/aggs/utils/ipv4_address.ts index e0b134a151c7..6ed08e0f0ae7 100644 --- a/src/plugins/data/common/search/aggs/utils/ipv4_address.ts +++ b/src/plugins/data/common/search/aggs/utils/ipv4_address.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const NUM_BYTES = 4; const BYTE_SIZE = 256; diff --git a/src/plugins/data/common/search/aggs/utils/prop_filter.test.ts b/src/plugins/data/common/search/aggs/utils/prop_filter.test.ts index 410cda05f0e7..9816ab38a0af 100644 --- a/src/plugins/data/common/search/aggs/utils/prop_filter.test.ts +++ b/src/plugins/data/common/search/aggs/utils/prop_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { propFilter } from './prop_filter'; describe('prop filter', () => { diff --git a/src/plugins/data/common/search/aggs/utils/prop_filter.ts b/src/plugins/data/common/search/aggs/utils/prop_filter.ts index dab92e2b28f3..341032e47bf6 100644 --- a/src/plugins/data/common/search/aggs/utils/prop_filter.ts +++ b/src/plugins/data/common/search/aggs/utils/prop_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isFunction } from 'lodash'; type FilterFunc

= (item: T[P]) => boolean; diff --git a/src/plugins/data/common/search/aggs/utils/to_angular_json.ts b/src/plugins/data/common/search/aggs/utils/to_angular_json.ts index 1eb8d482fe02..0efafa7884a1 100644 --- a/src/plugins/data/common/search/aggs/utils/to_angular_json.ts +++ b/src/plugins/data/common/search/aggs/utils/to_angular_json.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * An inlined version of angular.toJSON(). Source: * https://github.com/angular/angular.js/blob/master/src/Angular.js#L1312 diff --git a/src/plugins/data/common/search/expressions/index.ts b/src/plugins/data/common/search/expressions/index.ts index 54728344d646..4f7bf89d91aa 100644 --- a/src/plugins/data/common/search/expressions/index.ts +++ b/src/plugins/data/common/search/expressions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './opensearchaggs'; export * from './utils'; diff --git a/src/plugins/data/common/search/expressions/opensearchaggs.ts b/src/plugins/data/common/search/expressions/opensearchaggs.ts index b60ea4c3697f..72f8f4ff2b86 100644 --- a/src/plugins/data/common/search/expressions/opensearchaggs.ts +++ b/src/plugins/data/common/search/expressions/opensearchaggs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchDashboardsContext, OpenSearchDashboardsDatatable, diff --git a/src/plugins/data/common/search/expressions/utils/courier_inspector_stats.ts b/src/plugins/data/common/search/expressions/utils/courier_inspector_stats.ts index 32481f7e9064..ab33b5287d9e 100644 --- a/src/plugins/data/common/search/expressions/utils/courier_inspector_stats.ts +++ b/src/plugins/data/common/search/expressions/utils/courier_inspector_stats.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * This function collects statistics from a SearchSource and a response * for the usage in the inspector stats panel. Pass in a searchSource and a response diff --git a/src/plugins/data/common/search/expressions/utils/index.ts b/src/plugins/data/common/search/expressions/utils/index.ts index 1b2c00ef0ad3..a7f64c2d0c6a 100644 --- a/src/plugins/data/common/search/expressions/utils/index.ts +++ b/src/plugins/data/common/search/expressions/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './courier_inspector_stats'; diff --git a/src/plugins/data/common/search/index.ts b/src/plugins/data/common/search/index.ts index d64a9c876f5c..035b536e19d3 100644 --- a/src/plugins/data/common/search/index.ts +++ b/src/plugins/data/common/search/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './aggs'; export * from './opensearch_search'; export * from './expressions'; diff --git a/src/plugins/data/common/search/opensearch_search/index.ts b/src/plugins/data/common/search/opensearch_search/index.ts index e6b22382eada..eace054c369e 100644 --- a/src/plugins/data/common/search/opensearch_search/index.ts +++ b/src/plugins/data/common/search/opensearch_search/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './types'; export * from './utils'; diff --git a/src/plugins/data/common/search/opensearch_search/types.ts b/src/plugins/data/common/search/opensearch_search/types.ts index 45507e4b731e..5ff0fb689f80 100644 --- a/src/plugins/data/common/search/opensearch_search/types.ts +++ b/src/plugins/data/common/search/opensearch_search/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SearchResponse } from 'elasticsearch'; import { Search } from '@opensearch-project/opensearch/api/requestParams'; import { IOpenSearchDashboardsSearchRequest, IOpenSearchDashboardsSearchResponse } from '../types'; diff --git a/src/plugins/data/common/search/opensearch_search/utils.ts b/src/plugins/data/common/search/opensearch_search/utils.ts index 5043028590e6..2f64f8d3d869 100644 --- a/src/plugins/data/common/search/opensearch_search/utils.ts +++ b/src/plugins/data/common/search/opensearch_search/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IOpenSearchDashboardsSearchResponse } from '..'; /** diff --git a/src/plugins/data/common/search/search_source/create_search_source.test.ts b/src/plugins/data/common/search/search_source/create_search_source.test.ts index 24cb1b7770ea..467ecec59f5a 100644 --- a/src/plugins/data/common/search/search_source/create_search_source.test.ts +++ b/src/plugins/data/common/search/search_source/create_search_source.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createSearchSource as createSearchSourceFactory } from './create_search_source'; import { SearchSourceDependencies } from './search_source'; import { IIndexPattern } from '../../index_patterns'; diff --git a/src/plugins/data/common/search/search_source/create_search_source.ts b/src/plugins/data/common/search/search_source/create_search_source.ts index 27f85160a4e1..74b164369018 100644 --- a/src/plugins/data/common/search/search_source/create_search_source.ts +++ b/src/plugins/data/common/search/search_source/create_search_source.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { migrateLegacyQuery } from './migrate_legacy_query'; import { SearchSource, SearchSourceDependencies } from './search_source'; import { IndexPatternsContract } from '../../index_patterns/index_patterns'; diff --git a/src/plugins/data/common/search/search_source/extract_references.ts b/src/plugins/data/common/search/search_source/extract_references.ts index 3428d6699175..e74dc337cc7a 100644 --- a/src/plugins/data/common/search/search_source/extract_references.ts +++ b/src/plugins/data/common/search/search_source/extract_references.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectReference } from 'src/core/types'; import { Filter } from '../../opensearch_query/filters'; import { SearchSourceFields } from './types'; diff --git a/src/plugins/data/common/search/search_source/fetch/get_search_params.test.ts b/src/plugins/data/common/search/search_source/fetch/get_search_params.test.ts index ea37b9fa265b..21e3bc39ce68 100644 --- a/src/plugins/data/common/search/search_source/fetch/get_search_params.test.ts +++ b/src/plugins/data/common/search/search_source/fetch/get_search_params.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UI_SETTINGS } from '../../../constants'; import { GetConfigFn } from '../../../types'; import { getSearchParams } from './get_search_params'; diff --git a/src/plugins/data/common/search/search_source/fetch/get_search_params.ts b/src/plugins/data/common/search/search_source/fetch/get_search_params.ts index 33617cf92fea..a25d6e530bad 100644 --- a/src/plugins/data/common/search/search_source/fetch/get_search_params.ts +++ b/src/plugins/data/common/search/search_source/fetch/get_search_params.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UI_SETTINGS } from '../../../constants'; import { GetConfigFn } from '../../../types'; import { ISearchRequestParams } from '../../index'; diff --git a/src/plugins/data/common/search/search_source/fetch/index.ts b/src/plugins/data/common/search/search_source/fetch/index.ts index 3f64fb5f3a83..bb432ec0d833 100644 --- a/src/plugins/data/common/search/search_source/fetch/index.ts +++ b/src/plugins/data/common/search/search_source/fetch/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getSearchParams, getSearchParamsFromRequest, getPreference } from './get_search_params'; export { RequestFailure } from './request_error'; export * from './types'; diff --git a/src/plugins/data/common/search/search_source/fetch/request_error.ts b/src/plugins/data/common/search/search_source/fetch/request_error.ts index a205ad7c8d30..657c7698e37c 100644 --- a/src/plugins/data/common/search/search_source/fetch/request_error.ts +++ b/src/plugins/data/common/search/search_source/fetch/request_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SearchResponse } from 'elasticsearch'; import { OsdError } from '../../../../../opensearch_dashboards_utils/common'; import { SearchError } from './types'; diff --git a/src/plugins/data/common/search/search_source/fetch/types.ts b/src/plugins/data/common/search/search_source/fetch/types.ts index 3239588a154b..0c4b87395051 100644 --- a/src/plugins/data/common/search/search_source/fetch/types.ts +++ b/src/plugins/data/common/search/search_source/fetch/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SearchResponse } from 'elasticsearch'; import { LegacyFetchHandlers } from '../legacy/types'; import { GetConfigFn } from '../../../types'; diff --git a/src/plugins/data/common/search/search_source/filter_docvalue_fields.test.ts b/src/plugins/data/common/search/search_source/filter_docvalue_fields.test.ts index 846468a71bb6..f86b156410a2 100644 --- a/src/plugins/data/common/search/search_source/filter_docvalue_fields.test.ts +++ b/src/plugins/data/common/search/search_source/filter_docvalue_fields.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { filterDocvalueFields } from './filter_docvalue_fields'; test('Should exclude docvalue_fields that are not contained in fields', () => { diff --git a/src/plugins/data/common/search/search_source/filter_docvalue_fields.ts b/src/plugins/data/common/search/search_source/filter_docvalue_fields.ts index dd88b90430bd..0d5c1359d99e 100644 --- a/src/plugins/data/common/search/search_source/filter_docvalue_fields.ts +++ b/src/plugins/data/common/search/search_source/filter_docvalue_fields.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - interface DocvalueField { field: string; [key: string]: unknown; diff --git a/src/plugins/data/common/search/search_source/index.ts b/src/plugins/data/common/search/search_source/index.ts index 138747bc37ca..19e392afab71 100644 --- a/src/plugins/data/common/search/search_source/index.ts +++ b/src/plugins/data/common/search/search_source/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createSearchSource } from './create_search_source'; export { injectReferences } from './inject_references'; export { extractReferences } from './extract_references'; diff --git a/src/plugins/data/common/search/search_source/inject_references.test.ts b/src/plugins/data/common/search/search_source/inject_references.test.ts index 5e25ab3f5561..e2f5a2f59b94 100644 --- a/src/plugins/data/common/search/search_source/inject_references.test.ts +++ b/src/plugins/data/common/search/search_source/inject_references.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectReference } from 'src/core/types'; import { SearchSourceFields } from './types'; diff --git a/src/plugins/data/common/search/search_source/inject_references.ts b/src/plugins/data/common/search/search_source/inject_references.ts index cbab811d21c7..286cfbd16c6e 100644 --- a/src/plugins/data/common/search/search_source/inject_references.ts +++ b/src/plugins/data/common/search/search_source/inject_references.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectReference } from 'src/core/types'; import { SearchSourceFields } from './types'; diff --git a/src/plugins/data/common/search/search_source/legacy/call_client.test.ts b/src/plugins/data/common/search/search_source/legacy/call_client.test.ts index 8a9c0f702c19..39621ff332b6 100644 --- a/src/plugins/data/common/search/search_source/legacy/call_client.test.ts +++ b/src/plugins/data/common/search/search_source/legacy/call_client.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { callClient } from './call_client'; import { SearchStrategySearchParams } from './types'; import { defaultSearchStrategy } from './default_search_strategy'; diff --git a/src/plugins/data/common/search/search_source/legacy/call_client.ts b/src/plugins/data/common/search/search_source/legacy/call_client.ts index 7a35fb0bef44..532a9b8aa9bf 100644 --- a/src/plugins/data/common/search/search_source/legacy/call_client.ts +++ b/src/plugins/data/common/search/search_source/legacy/call_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SearchResponse } from 'elasticsearch'; import { FetchHandlers, SearchRequest } from '../fetch'; import { defaultSearchStrategy } from './default_search_strategy'; diff --git a/src/plugins/data/common/search/search_source/legacy/default_search_strategy.test.ts b/src/plugins/data/common/search/search_source/legacy/default_search_strategy.test.ts index 372c97955283..d936fc942249 100644 --- a/src/plugins/data/common/search/search_source/legacy/default_search_strategy.test.ts +++ b/src/plugins/data/common/search/search_source/legacy/default_search_strategy.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { defaultSearchStrategy } from './default_search_strategy'; import { LegacyFetchHandlers, SearchStrategySearchParams } from './types'; import { BehaviorSubject } from 'rxjs'; diff --git a/src/plugins/data/common/search/search_source/legacy/default_search_strategy.ts b/src/plugins/data/common/search/search_source/legacy/default_search_strategy.ts index 6f7fcfcd5b0b..a6b73b397c84 100644 --- a/src/plugins/data/common/search/search_source/legacy/default_search_strategy.ts +++ b/src/plugins/data/common/search/search_source/legacy/default_search_strategy.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getPreference } from '../fetch'; import { SearchStrategyProvider, SearchStrategySearchParams } from './types'; diff --git a/src/plugins/data/common/search/search_source/legacy/fetch_soon.test.ts b/src/plugins/data/common/search/search_source/legacy/fetch_soon.test.ts index d6a80b9301c5..f9b034c48629 100644 --- a/src/plugins/data/common/search/search_source/legacy/fetch_soon.test.ts +++ b/src/plugins/data/common/search/search_source/legacy/fetch_soon.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { setImmediate } from 'timers'; import { SearchResponse } from 'elasticsearch'; diff --git a/src/plugins/data/common/search/search_source/legacy/fetch_soon.ts b/src/plugins/data/common/search/search_source/legacy/fetch_soon.ts index 225374e86971..3dc1377eab9f 100644 --- a/src/plugins/data/common/search/search_source/legacy/fetch_soon.ts +++ b/src/plugins/data/common/search/search_source/legacy/fetch_soon.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SearchResponse } from 'elasticsearch'; import { UI_SETTINGS } from '../../../constants'; import { FetchHandlers, SearchRequest } from '../fetch'; diff --git a/src/plugins/data/common/search/search_source/legacy/index.ts b/src/plugins/data/common/search/search_source/legacy/index.ts index cfdb3e38e50b..ba1cd32cf862 100644 --- a/src/plugins/data/common/search/search_source/legacy/index.ts +++ b/src/plugins/data/common/search/search_source/legacy/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { fetchSoon } from './fetch_soon'; export * from './types'; diff --git a/src/plugins/data/common/search/search_source/legacy/types.ts b/src/plugins/data/common/search/search_source/legacy/types.ts index 34c5b02b3480..dfe7e9931849 100644 --- a/src/plugins/data/common/search/search_source/legacy/types.ts +++ b/src/plugins/data/common/search/search_source/legacy/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { ApiResponse } from '@opensearch-project/opensearch'; import { SearchResponse } from 'elasticsearch'; diff --git a/src/plugins/data/common/search/search_source/migrate_legacy_query.ts b/src/plugins/data/common/search/search_source/migrate_legacy_query.ts index fb3fc5f119b2..af4044eca1b2 100644 --- a/src/plugins/data/common/search/search_source/migrate_legacy_query.ts +++ b/src/plugins/data/common/search/search_source/migrate_legacy_query.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { has } from 'lodash'; import { Query } from '../../query/types'; diff --git a/src/plugins/data/common/search/search_source/mocks.ts b/src/plugins/data/common/search/search_source/mocks.ts index 943363bbc644..959d1aebfe53 100644 --- a/src/plugins/data/common/search/search_source/mocks.ts +++ b/src/plugins/data/common/search/search_source/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { uiSettingsServiceMock } from '../../../../../core/public/mocks'; diff --git a/src/plugins/data/common/search/search_source/normalize_sort_request.test.ts b/src/plugins/data/common/search/search_source/normalize_sort_request.test.ts index 1649729e8d6e..e87b50de40f7 100644 --- a/src/plugins/data/common/search/search_source/normalize_sort_request.test.ts +++ b/src/plugins/data/common/search/search_source/normalize_sort_request.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { normalizeSortRequest } from './normalize_sort_request'; import { SortDirection } from './types'; import { IIndexPattern } from '../../index_patterns'; diff --git a/src/plugins/data/common/search/search_source/normalize_sort_request.ts b/src/plugins/data/common/search/search_source/normalize_sort_request.ts index c9d1915b3a66..f80a862c6663 100644 --- a/src/plugins/data/common/search/search_source/normalize_sort_request.ts +++ b/src/plugins/data/common/search/search_source/normalize_sort_request.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IIndexPattern } from '../../index_patterns'; import { OpenSearchQuerySortValue, SortOptions } from './types'; diff --git a/src/plugins/data/common/search/search_source/parse_json.ts b/src/plugins/data/common/search/search_source/parse_json.ts index 3edd97328ed8..80a58d62ff7f 100644 --- a/src/plugins/data/common/search/search_source/parse_json.ts +++ b/src/plugins/data/common/search/search_source/parse_json.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SearchSourceFields } from './types'; import { InvalidJSONProperty } from '../../../../opensearch_dashboards_utils/common'; diff --git a/src/plugins/data/common/search/search_source/search_source.test.ts b/src/plugins/data/common/search/search_source/search_source.test.ts index 0ad2ca4f38d1..40193e1a4a30 100644 --- a/src/plugins/data/common/search/search_source/search_source.test.ts +++ b/src/plugins/data/common/search/search_source/search_source.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { IndexPattern } from '../../index_patterns'; import { GetConfigFn } from '../../types'; diff --git a/src/plugins/data/common/search/search_source/search_source.ts b/src/plugins/data/common/search/search_source/search_source.ts index ea5d98670a66..229357abffe4 100644 --- a/src/plugins/data/common/search/search_source/search_source.ts +++ b/src/plugins/data/common/search/search_source/search_source.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * @name SearchSource * diff --git a/src/plugins/data/common/search/search_source/search_source_service.test.ts b/src/plugins/data/common/search/search_source/search_source_service.test.ts index 4fd32b25b1e1..8be71dbdacc2 100644 --- a/src/plugins/data/common/search/search_source/search_source_service.test.ts +++ b/src/plugins/data/common/search/search_source/search_source_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { IndexPatternsContract } from '../../index_patterns/index_patterns'; import { SearchSourceService, SearchSourceDependencies } from './'; diff --git a/src/plugins/data/common/search/search_source/search_source_service.ts b/src/plugins/data/common/search/search_source/search_source_service.ts index d5b6346cf64c..b16b755d621d 100644 --- a/src/plugins/data/common/search/search_source/search_source_service.ts +++ b/src/plugins/data/common/search/search_source/search_source_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createSearchSource, SearchSource, SearchSourceDependencies } from './'; import { IndexPatternsContract } from '../../index_patterns/index_patterns'; diff --git a/src/plugins/data/common/search/search_source/types.ts b/src/plugins/data/common/search/search_source/types.ts index 2ec4a31d94d8..13b100aab1a7 100644 --- a/src/plugins/data/common/search/search_source/types.ts +++ b/src/plugins/data/common/search/search_source/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { NameList } from 'elasticsearch'; import { Filter, IndexPattern, Query } from '../..'; import { SearchSource } from './search_source'; diff --git a/src/plugins/data/common/search/tabify/buckets.test.ts b/src/plugins/data/common/search/tabify/buckets.test.ts index 97c1b66c92df..255bac2686d6 100644 --- a/src/plugins/data/common/search/tabify/buckets.test.ts +++ b/src/plugins/data/common/search/tabify/buckets.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TabifyBuckets } from './buckets'; import { AggGroupNames } from '../aggs'; import moment from 'moment'; diff --git a/src/plugins/data/common/search/tabify/buckets.ts b/src/plugins/data/common/search/tabify/buckets.ts index f8d29c310218..18601ab3bb3e 100644 --- a/src/plugins/data/common/search/tabify/buckets.ts +++ b/src/plugins/data/common/search/tabify/buckets.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, isPlainObject, keys, findKey } from 'lodash'; import moment from 'moment'; import { IAggConfig } from '../aggs'; diff --git a/src/plugins/data/common/search/tabify/get_columns.test.ts b/src/plugins/data/common/search/tabify/get_columns.test.ts index b16396404526..207fbe73aee9 100644 --- a/src/plugins/data/common/search/tabify/get_columns.test.ts +++ b/src/plugins/data/common/search/tabify/get_columns.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { tabifyGetColumns } from './get_columns'; import { TabbedAggColumn } from './types'; import { AggConfigs } from '../aggs'; diff --git a/src/plugins/data/common/search/tabify/get_columns.ts b/src/plugins/data/common/search/tabify/get_columns.ts index 18385cdd825b..25ea25703edb 100644 --- a/src/plugins/data/common/search/tabify/get_columns.ts +++ b/src/plugins/data/common/search/tabify/get_columns.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { groupBy } from 'lodash'; import { IAggConfig } from '../aggs'; import { TabbedAggColumn } from './types'; diff --git a/src/plugins/data/common/search/tabify/index.ts b/src/plugins/data/common/search/tabify/index.ts index d7d4fc11c3d6..de83fd06e9ab 100644 --- a/src/plugins/data/common/search/tabify/index.ts +++ b/src/plugins/data/common/search/tabify/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { tabifyAggResponse } from './tabify'; export { tabifyGetColumns } from './get_columns'; diff --git a/src/plugins/data/common/search/tabify/response_writer.test.ts b/src/plugins/data/common/search/tabify/response_writer.test.ts index 9d094fb66e93..744543a2c477 100644 --- a/src/plugins/data/common/search/tabify/response_writer.test.ts +++ b/src/plugins/data/common/search/tabify/response_writer.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TabbedAggResponseWriter } from './response_writer'; import { AggConfigs, BUCKET_TYPES } from '../aggs'; import { mockAggTypesRegistry } from '../aggs/test_helpers'; diff --git a/src/plugins/data/common/search/tabify/response_writer.ts b/src/plugins/data/common/search/tabify/response_writer.ts index 959c32001e4c..f738ed63f0cf 100644 --- a/src/plugins/data/common/search/tabify/response_writer.ts +++ b/src/plugins/data/common/search/tabify/response_writer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isEmpty } from 'lodash'; import { IAggConfigs } from '../aggs'; import { tabifyGetColumns } from './get_columns'; diff --git a/src/plugins/data/common/search/tabify/tabify.test.ts b/src/plugins/data/common/search/tabify/tabify.test.ts index 141f4ffc15f7..009860e332cd 100644 --- a/src/plugins/data/common/search/tabify/tabify.test.ts +++ b/src/plugins/data/common/search/tabify/tabify.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { tabifyAggResponse } from './tabify'; import { IndexPattern } from '../../index_patterns/index_patterns/index_pattern'; import { AggConfigs, IAggConfig, IAggConfigs } from '../aggs'; diff --git a/src/plugins/data/common/search/tabify/tabify.ts b/src/plugins/data/common/search/tabify/tabify.ts index 82db7b4cd1ed..771bbd878e1b 100644 --- a/src/plugins/data/common/search/tabify/tabify.ts +++ b/src/plugins/data/common/search/tabify/tabify.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { TabbedAggResponseWriter } from './response_writer'; import { TabifyBuckets } from './buckets'; diff --git a/src/plugins/data/common/search/tabify/types.ts b/src/plugins/data/common/search/tabify/types.ts index 79b0c4a454c0..d7161678c18b 100644 --- a/src/plugins/data/common/search/tabify/types.ts +++ b/src/plugins/data/common/search/tabify/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Moment } from 'moment'; import { RangeFilterParams } from '../../../common'; import { IAggConfig } from '../aggs'; diff --git a/src/plugins/data/common/search/types.ts b/src/plugins/data/common/search/types.ts index 3d1167427bc7..5c4de4b0e426 100644 --- a/src/plugins/data/common/search/types.ts +++ b/src/plugins/data/common/search/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { IOpenSearchSearchRequest, diff --git a/src/plugins/data/common/stubs.ts b/src/plugins/data/common/stubs.ts index 63c9e208a747..1b1ec934eea6 100644 --- a/src/plugins/data/common/stubs.ts +++ b/src/plugins/data/common/stubs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { stubIndexPattern, stubIndexPatternWithFields } from './index_patterns/index_pattern.stub'; export { stubFields } from './index_patterns/field.stub'; export * from './opensearch_query/filters/stubs'; diff --git a/src/plugins/data/common/types.ts b/src/plugins/data/common/types.ts index feebcb043793..361ba39edfec 100644 --- a/src/plugins/data/common/types.ts +++ b/src/plugins/data/common/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './query/types'; export * from './osd_field_types/types'; export * from './index_patterns/types'; diff --git a/src/plugins/data/common/utils/abort_utils.test.ts b/src/plugins/data/common/utils/abort_utils.test.ts index 4206da11c382..8e5628aec667 100644 --- a/src/plugins/data/common/utils/abort_utils.test.ts +++ b/src/plugins/data/common/utils/abort_utils.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { setImmediate } from 'timers'; import { AbortError, toPromise, getCombinedSignal } from './abort_utils'; diff --git a/src/plugins/data/common/utils/abort_utils.ts b/src/plugins/data/common/utils/abort_utils.ts index 0c51fae4c447..d419a86b84a2 100644 --- a/src/plugins/data/common/utils/abort_utils.ts +++ b/src/plugins/data/common/utils/abort_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Class used to signify that something was aborted. Useful for applications to conditionally handle * this type of error differently than other errors. diff --git a/src/plugins/data/common/utils/index.ts b/src/plugins/data/common/utils/index.ts index c577ad1611f0..3f0a625061e3 100644 --- a/src/plugins/data/common/utils/index.ts +++ b/src/plugins/data/common/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** @internal */ export { shortenDottedString } from './shorten_dotted_string'; export { AbortError, toPromise, getCombinedSignal } from './abort_utils'; diff --git a/src/plugins/data/common/utils/shorten_dotted_string.test.ts b/src/plugins/data/common/utils/shorten_dotted_string.test.ts index 65f65fd82ac1..0146715eefe6 100644 --- a/src/plugins/data/common/utils/shorten_dotted_string.test.ts +++ b/src/plugins/data/common/utils/shorten_dotted_string.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { shortenDottedString } from './shorten_dotted_string'; describe('shortenDottedString', () => { diff --git a/src/plugins/data/common/utils/shorten_dotted_string.ts b/src/plugins/data/common/utils/shorten_dotted_string.ts index 8ec1ff4adf2f..fa80d1635f7a 100644 --- a/src/plugins/data/common/utils/shorten_dotted_string.ts +++ b/src/plugins/data/common/utils/shorten_dotted_string.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const DOT_PREFIX_RE = /(.).+?\./g; /** diff --git a/src/plugins/data/config.ts b/src/plugins/data/config.ts index 71d1d54e3656..a45be57c60b1 100644 --- a/src/plugins/data/config.ts +++ b/src/plugins/data/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export const configSchema = schema.object({ diff --git a/src/plugins/data/public/actions/apply_filter_action.ts b/src/plugins/data/public/actions/apply_filter_action.ts index 0644bb7b7ec1..ffee8a6b9c93 100644 --- a/src/plugins/data/public/actions/apply_filter_action.ts +++ b/src/plugins/data/public/actions/apply_filter_action.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { toMountPoint } from '../../../opensearch_dashboards_react/public'; import { ActionByType, createAction, IncompatibleActionError } from '../../../ui_actions/public'; diff --git a/src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts b/src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts index e0363066138f..a74f909898a8 100644 --- a/src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts +++ b/src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { createFiltersFromRangeSelectAction } from './create_filters_from_range_select'; diff --git a/src/plugins/data/public/actions/filters/create_filters_from_range_select.ts b/src/plugins/data/public/actions/filters/create_filters_from_range_select.ts index 716f3fb2b2c0..08269459d05a 100644 --- a/src/plugins/data/public/actions/filters/create_filters_from_range_select.ts +++ b/src/plugins/data/public/actions/filters/create_filters_from_range_select.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { last } from 'lodash'; import moment from 'moment'; import { opensearchFilters, IFieldType, RangeFilterParams } from '../../../public'; diff --git a/src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts b/src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts index 6b41eb876fae..c5edca2e3d8f 100644 --- a/src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts +++ b/src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fieldFormats, FieldFormatsGetConfigFn, diff --git a/src/plugins/data/public/actions/filters/create_filters_from_value_click.ts b/src/plugins/data/public/actions/filters/create_filters_from_value_click.ts index 2e093f4ca015..9de2b2760da0 100644 --- a/src/plugins/data/public/actions/filters/create_filters_from_value_click.ts +++ b/src/plugins/data/public/actions/filters/create_filters_from_value_click.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchDashboardsDatatable } from '../../../../../plugins/expressions/public'; import { deserializeAggConfig } from '../../search/expressions'; import { opensearchFilters, Filter } from '../../../public'; diff --git a/src/plugins/data/public/actions/index.ts b/src/plugins/data/public/actions/index.ts index b8dd3820f790..96807bb2deb8 100644 --- a/src/plugins/data/public/actions/index.ts +++ b/src/plugins/data/public/actions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ACTION_GLOBAL_APPLY_FILTER, createFilterAction, diff --git a/src/plugins/data/public/actions/select_range_action.ts b/src/plugins/data/public/actions/select_range_action.ts index d465a89c02ef..a664c2d53472 100644 --- a/src/plugins/data/public/actions/select_range_action.ts +++ b/src/plugins/data/public/actions/select_range_action.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ActionByType, APPLY_FILTER_TRIGGER, diff --git a/src/plugins/data/public/actions/value_click_action.ts b/src/plugins/data/public/actions/value_click_action.ts index 6d9097d38b2f..2da90f8adaa5 100644 --- a/src/plugins/data/public/actions/value_click_action.ts +++ b/src/plugins/data/public/actions/value_click_action.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ActionByType, APPLY_FILTER_TRIGGER, diff --git a/src/plugins/data/public/autocomplete/autocomplete_service.ts b/src/plugins/data/public/autocomplete/autocomplete_service.ts index 25345d023a05..44e414581575 100644 --- a/src/plugins/data/public/autocomplete/autocomplete_service.ts +++ b/src/plugins/data/public/autocomplete/autocomplete_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, PluginInitializerContext } from 'src/core/public'; import { QuerySuggestionGetFn } from './providers/query_suggestion_provider'; import { diff --git a/src/plugins/data/public/autocomplete/index.ts b/src/plugins/data/public/autocomplete/index.ts index 67b31f4c5e2c..52ab3a19712a 100644 --- a/src/plugins/data/public/autocomplete/index.ts +++ b/src/plugins/data/public/autocomplete/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { QuerySuggestion, QuerySuggestionTypes, diff --git a/src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts b/src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts index 7432cc1bf3aa..80a7a7d1412a 100644 --- a/src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts +++ b/src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IFieldType, IIndexPattern } from '../../../common/index_patterns'; export enum QuerySuggestionTypes { diff --git a/src/plugins/data/public/autocomplete/providers/value_suggestion_provider.test.ts b/src/plugins/data/public/autocomplete/providers/value_suggestion_provider.test.ts index 2669edb8f0e9..1dbcff1a88ca 100644 --- a/src/plugins/data/public/autocomplete/providers/value_suggestion_provider.test.ts +++ b/src/plugins/data/public/autocomplete/providers/value_suggestion_provider.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { stubIndexPattern, stubFields } from '../../stubs'; import { setupValueSuggestionProvider, ValueSuggestionsGetFn } from './value_suggestion_provider'; import { IUiSettingsClient, CoreSetup } from 'opensearch-dashboards/public'; diff --git a/src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts b/src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts index 8ef126122a5c..fdbe4b5d932e 100644 --- a/src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts +++ b/src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { memoize } from 'lodash'; import { CoreSetup } from 'src/core/public'; import { IIndexPattern, IFieldType, UI_SETTINGS } from '../../../common'; diff --git a/src/plugins/data/public/field_formats/constants.ts b/src/plugins/data/public/field_formats/constants.ts index d49005a3088c..2df811adc981 100644 --- a/src/plugins/data/public/field_formats/constants.ts +++ b/src/plugins/data/public/field_formats/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { baseFormatters } from '../../common'; import { DateFormat, DateNanosFormat } from './converters'; diff --git a/src/plugins/data/public/field_formats/converters/date.test.ts b/src/plugins/data/public/field_formats/converters/date.test.ts index d10406f9c9c7..1915cc8b694c 100644 --- a/src/plugins/data/public/field_formats/converters/date.test.ts +++ b/src/plugins/data/public/field_formats/converters/date.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment-timezone'; import { DateFormat } from './date'; diff --git a/src/plugins/data/public/field_formats/converters/date.ts b/src/plugins/data/public/field_formats/converters/date.ts index efd2c4fb556e..37eb3ed5ea1f 100644 --- a/src/plugins/data/public/field_formats/converters/date.ts +++ b/src/plugins/data/public/field_formats/converters/date.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { memoize, noop } from 'lodash'; import moment from 'moment'; diff --git a/src/plugins/data/public/field_formats/converters/date_nanos.ts b/src/plugins/data/public/field_formats/converters/date_nanos.ts index 74abcecb3e06..26f74503ac68 100644 --- a/src/plugins/data/public/field_formats/converters/date_nanos.ts +++ b/src/plugins/data/public/field_formats/converters/date_nanos.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DateNanosFormat } from '../../../common/field_formats/converters/date_nanos_shared'; diff --git a/src/plugins/data/public/field_formats/converters/index.ts b/src/plugins/data/public/field_formats/converters/index.ts index 3a02ff6daccb..e2cbd29ee747 100644 --- a/src/plugins/data/public/field_formats/converters/index.ts +++ b/src/plugins/data/public/field_formats/converters/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DateFormat } from './date'; export { DateNanosFormat } from './date_nanos'; diff --git a/src/plugins/data/public/field_formats/field_formats_registry.stub.ts b/src/plugins/data/public/field_formats/field_formats_registry.stub.ts index 8a178740c618..e19039a95be7 100644 --- a/src/plugins/data/public/field_formats/field_formats_registry.stub.ts +++ b/src/plugins/data/public/field_formats/field_formats_registry.stub.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup } from 'src/core/public'; import { deserializeFieldFormat } from './utils/deserialize'; import { baseFormattersPublic } from './constants'; diff --git a/src/plugins/data/public/field_formats/field_formats_service.test.ts b/src/plugins/data/public/field_formats/field_formats_service.test.ts index ba18717070bd..521614863946 100644 --- a/src/plugins/data/public/field_formats/field_formats_service.test.ts +++ b/src/plugins/data/public/field_formats/field_formats_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FieldFormatsService } from './field_formats_service'; import { coreMock } from '../../../../../src/core/public/mocks'; import { DateFormat } from './converters/date'; diff --git a/src/plugins/data/public/field_formats/field_formats_service.ts b/src/plugins/data/public/field_formats/field_formats_service.ts index 7deeaf13666f..107e9790dffe 100644 --- a/src/plugins/data/public/field_formats/field_formats_service.ts +++ b/src/plugins/data/public/field_formats/field_formats_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup } from 'src/core/public'; import { FieldFormatsRegistry, UI_SETTINGS } from '../../common'; import { deserializeFieldFormat } from './utils/deserialize'; diff --git a/src/plugins/data/public/field_formats/index.ts b/src/plugins/data/public/field_formats/index.ts index fa41f9882ac0..a4f1c3b91cf4 100644 --- a/src/plugins/data/public/field_formats/index.ts +++ b/src/plugins/data/public/field_formats/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { FieldFormatsService, FieldFormatsSetup, FieldFormatsStart } from './field_formats_service'; export { DateFormat, DateNanosFormat } from './converters'; export { baseFormattersPublic } from './constants'; diff --git a/src/plugins/data/public/field_formats/mocks.ts b/src/plugins/data/public/field_formats/mocks.ts index 740900240606..eef859711116 100644 --- a/src/plugins/data/public/field_formats/mocks.ts +++ b/src/plugins/data/public/field_formats/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FieldFormatsStart, FieldFormatsSetup, FieldFormatsService } from '.'; import { fieldFormatsMock } from '../../common/field_formats/mocks'; diff --git a/src/plugins/data/public/field_formats/utils/deserialize.ts b/src/plugins/data/public/field_formats/utils/deserialize.ts index 1ff60a297c77..150af0c8f220 100644 --- a/src/plugins/data/public/field_formats/utils/deserialize.ts +++ b/src/plugins/data/public/field_formats/utils/deserialize.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { identity } from 'lodash'; import { SerializedFieldFormat } from '../../../../expressions/common/types'; diff --git a/src/plugins/data/public/index.ts b/src/plugins/data/public/index.ts index e9db3ff9561f..c0e9760f0614 100644 --- a/src/plugins/data/public/index.ts +++ b/src/plugins/data/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from '../../../core/public'; import { ConfigSchema } from '../config'; diff --git a/src/plugins/data/public/index_patterns/expressions/index.ts b/src/plugins/data/public/index_patterns/expressions/index.ts index d8e03949aa13..d767de1f765e 100644 --- a/src/plugins/data/public/index_patterns/expressions/index.ts +++ b/src/plugins/data/public/index_patterns/expressions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './load_index_pattern'; diff --git a/src/plugins/data/public/index_patterns/expressions/load_index_pattern.test.ts b/src/plugins/data/public/index_patterns/expressions/load_index_pattern.test.ts index c602c6c44e7c..c476b1359328 100644 --- a/src/plugins/data/public/index_patterns/expressions/load_index_pattern.test.ts +++ b/src/plugins/data/public/index_patterns/expressions/load_index_pattern.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { indexPatternLoad } from './load_index_pattern'; jest.mock('../../services', () => ({ diff --git a/src/plugins/data/public/index_patterns/expressions/load_index_pattern.ts b/src/plugins/data/public/index_patterns/expressions/load_index_pattern.ts index d96d45319bec..8d428a7ea7d7 100644 --- a/src/plugins/data/public/index_patterns/expressions/load_index_pattern.ts +++ b/src/plugins/data/public/index_patterns/expressions/load_index_pattern.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from '../../../../../plugins/expressions/public'; import { getIndexPatterns } from '../../services'; diff --git a/src/plugins/data/public/index_patterns/index.ts b/src/plugins/data/public/index_patterns/index.ts index 4de518b0156c..e33d1511ab32 100644 --- a/src/plugins/data/public/index_patterns/index.ts +++ b/src/plugins/data/public/index_patterns/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ILLEGAL_CHARACTERS_KEY, CONTAINS_SPACES_KEY, diff --git a/src/plugins/data/public/index_patterns/index_pattern.stub.ts b/src/plugins/data/public/index_patterns/index_pattern.stub.ts index 45b139c8bf16..f9cc121589ee 100644 --- a/src/plugins/data/public/index_patterns/index_pattern.stub.ts +++ b/src/plugins/data/public/index_patterns/index_pattern.stub.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon from 'sinon'; import { CoreSetup } from 'src/core/public'; diff --git a/src/plugins/data/public/index_patterns/index_patterns/index.ts b/src/plugins/data/public/index_patterns/index_patterns/index.ts index 5ec5a818e331..67421334d352 100644 --- a/src/plugins/data/public/index_patterns/index_patterns/index.ts +++ b/src/plugins/data/public/index_patterns/index_patterns/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from '../../../common/index_patterns/index_patterns'; export * from './redirect_no_index_pattern'; export * from './on_unsupported_time_pattern'; diff --git a/src/plugins/data/public/index_patterns/index_patterns/index_patterns_api_client.test.mock.ts b/src/plugins/data/public/index_patterns/index_patterns/index_patterns_api_client.test.mock.ts index 62d8bb5901d6..4977bf810036 100644 --- a/src/plugins/data/public/index_patterns/index_patterns/index_patterns_api_client.test.mock.ts +++ b/src/plugins/data/public/index_patterns/index_patterns/index_patterns_api_client.test.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { setup } from '../../../../../core/test_helpers/http_test_setup'; export const { http } = setup((injectedMetadata) => { diff --git a/src/plugins/data/public/index_patterns/index_patterns/index_patterns_api_client.test.ts b/src/plugins/data/public/index_patterns/index_patterns/index_patterns_api_client.test.ts index 5d364a368637..8a4d70e3713e 100644 --- a/src/plugins/data/public/index_patterns/index_patterns/index_patterns_api_client.test.ts +++ b/src/plugins/data/public/index_patterns/index_patterns/index_patterns_api_client.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { http } from './index_patterns_api_client.test.mock'; import { IndexPatternsApiClient } from './index_patterns_api_client'; diff --git a/src/plugins/data/public/index_patterns/index_patterns/index_patterns_api_client.ts b/src/plugins/data/public/index_patterns/index_patterns/index_patterns_api_client.ts index 274be9e048bb..c1486943ef4b 100644 --- a/src/plugins/data/public/index_patterns/index_patterns/index_patterns_api_client.ts +++ b/src/plugins/data/public/index_patterns/index_patterns/index_patterns_api_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpSetup } from 'src/core/public'; import { IndexPatternMissingIndices } from '../../../common/index_patterns/lib'; import { GetFieldsOptions, IIndexPatternsApiClient } from '../../../common/index_patterns/types'; diff --git a/src/plugins/data/public/index_patterns/index_patterns/on_unsupported_time_pattern.tsx b/src/plugins/data/public/index_patterns/index_patterns/on_unsupported_time_pattern.tsx index 03f5909d2bce..6cf7cb8a3277 100644 --- a/src/plugins/data/public/index_patterns/index_patterns/on_unsupported_time_pattern.tsx +++ b/src/plugins/data/public/index_patterns/index_patterns/on_unsupported_time_pattern.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { FormattedMessage } from '@osd/i18n/react'; import { EuiButton, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; diff --git a/src/plugins/data/public/index_patterns/index_patterns/redirect_no_index_pattern.tsx b/src/plugins/data/public/index_patterns/index_patterns/redirect_no_index_pattern.tsx index 14b5659a2b14..b09bc8adde6f 100644 --- a/src/plugins/data/public/index_patterns/index_patterns/redirect_no_index_pattern.tsx +++ b/src/plugins/data/public/index_patterns/index_patterns/redirect_no_index_pattern.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiCallOut } from '@elastic/eui'; import { i18n } from '@osd/i18n'; import React from 'react'; diff --git a/src/plugins/data/public/index_patterns/saved_objects_client_wrapper.ts b/src/plugins/data/public/index_patterns/saved_objects_client_wrapper.ts index d38c71c90cf2..90418ec3dcf3 100644 --- a/src/plugins/data/public/index_patterns/saved_objects_client_wrapper.ts +++ b/src/plugins/data/public/index_patterns/saved_objects_client_wrapper.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { omit } from 'lodash'; import { SavedObjectsClient, SimpleSavedObject } from 'src/core/public'; import { diff --git a/src/plugins/data/public/index_patterns/ui_settings_wrapper.ts b/src/plugins/data/public/index_patterns/ui_settings_wrapper.ts index 57d8926cd2ad..8e44448a118c 100644 --- a/src/plugins/data/public/index_patterns/ui_settings_wrapper.ts +++ b/src/plugins/data/public/index_patterns/ui_settings_wrapper.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IUiSettingsClient } from 'src/core/public'; import { UiSettingsCommon } from '../../common/index_patterns'; diff --git a/src/plugins/data/public/mocks.ts b/src/plugins/data/public/mocks.ts index 25c7f6fe03a3..27ea95100000 100644 --- a/src/plugins/data/public/mocks.ts +++ b/src/plugins/data/public/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, IndexPatternsContract } from '.'; import { fieldFormatsServiceMock } from './field_formats/mocks'; import { searchServiceMock } from './search/mocks'; diff --git a/src/plugins/data/public/plugin.ts b/src/plugins/data/public/plugin.ts index e54ac56d1c7c..5b7a262960b5 100644 --- a/src/plugins/data/public/plugin.ts +++ b/src/plugins/data/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index.scss'; import { PluginInitializerContext, CoreSetup, CoreStart, Plugin } from 'src/core/public'; diff --git a/src/plugins/data/public/query/filter_manager/filter_manager.mock.ts b/src/plugins/data/public/query/filter_manager/filter_manager.mock.ts index 8325a995d950..643242ce5484 100644 --- a/src/plugins/data/public/query/filter_manager/filter_manager.mock.ts +++ b/src/plugins/data/public/query/filter_manager/filter_manager.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { FilterManager } from './filter_manager'; diff --git a/src/plugins/data/public/query/filter_manager/filter_manager.test.ts b/src/plugins/data/public/query/filter_manager/filter_manager.test.ts index 134124d0f457..eafa06abd08d 100644 --- a/src/plugins/data/public/query/filter_manager/filter_manager.test.ts +++ b/src/plugins/data/public/query/filter_manager/filter_manager.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import sinon from 'sinon'; diff --git a/src/plugins/data/public/query/filter_manager/filter_manager.ts b/src/plugins/data/public/query/filter_manager/filter_manager.ts index 7fa1bfd9d24f..426d54bf39cc 100644 --- a/src/plugins/data/public/query/filter_manager/filter_manager.ts +++ b/src/plugins/data/public/query/filter_manager/filter_manager.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { Subject } from 'rxjs'; diff --git a/src/plugins/data/public/query/filter_manager/index.ts b/src/plugins/data/public/query/filter_manager/index.ts index ad422f2aee60..f94b5a3d174a 100644 --- a/src/plugins/data/public/query/filter_manager/index.ts +++ b/src/plugins/data/public/query/filter_manager/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { FilterManager } from './filter_manager'; export { mapAndFlattenFilters } from './lib/map_and_flatten_filters'; diff --git a/src/plugins/data/public/query/filter_manager/lib/generate_filter.test.ts b/src/plugins/data/public/query/filter_manager/lib/generate_filter.test.ts index 20b6f99c329f..1b17bd51f021 100644 --- a/src/plugins/data/public/query/filter_manager/lib/generate_filter.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/generate_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { generateFilters } from './generate_filters'; import { FilterManager } from '../filter_manager'; diff --git a/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts b/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts index a8b50fbe3307..ee8742d913c9 100644 --- a/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts +++ b/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { IFieldType, diff --git a/src/plugins/data/public/query/filter_manager/lib/generate_mapping_chain.test.ts b/src/plugins/data/public/query/filter_manager/lib/generate_mapping_chain.test.ts index 63f66df4adfc..2c8a8f7fa22f 100644 --- a/src/plugins/data/public/query/filter_manager/lib/generate_mapping_chain.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/generate_mapping_chain.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon from 'sinon'; import { generateMappingChain } from './generate_mapping_chain'; import { buildEmptyFilter } from '../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/generate_mapping_chain.ts b/src/plugins/data/public/query/filter_manager/lib/generate_mapping_chain.ts index 2d55899cb3b1..1ab17d1c348b 100644 --- a/src/plugins/data/public/query/filter_manager/lib/generate_mapping_chain.ts +++ b/src/plugins/data/public/query/filter_manager/lib/generate_mapping_chain.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Filter } from '../../../../common'; const noop = () => { diff --git a/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.test.ts b/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.test.ts index b151dbdca1fb..30e7b50f90e0 100644 --- a/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapAndFlattenFilters } from './map_and_flatten_filters'; import { Filter } from '../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.ts b/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.ts index 478a27e91b16..6a7943ad423a 100644 --- a/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.ts +++ b/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { compact, flatten } from 'lodash'; import { mapFilter } from './map_filter'; import { Filter } from '../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/map_filter.test.ts b/src/plugins/data/public/query/filter_manager/lib/map_filter.test.ts index 8c87e2257052..98544c1da268 100644 --- a/src/plugins/data/public/query/filter_manager/lib/map_filter.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/map_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapFilter } from './map_filter'; import { Filter } from '../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/map_filter.ts b/src/plugins/data/public/query/filter_manager/lib/map_filter.ts index f2863fab73c1..9ecefae7f19f 100644 --- a/src/plugins/data/public/query/filter_manager/lib/map_filter.ts +++ b/src/plugins/data/public/query/filter_manager/lib/map_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { reduceRight } from 'lodash'; import { mapSpatialFilter } from './mappers/map_spatial_filter'; diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_default.test.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_default.test.ts index 2f954ca10812..83132a003f1b 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_default.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_default.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapDefault } from './map_default'; import { buildQueryFilter, buildEmptyFilter } from '../../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_default.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_default.ts index 7b3d4a266e68..ca68447050ef 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_default.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_default.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { find, keys, get } from 'lodash'; import { Filter, FILTERS } from '../../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.test.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.test.ts index 0991d8d9cafa..babecb7d8037 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapExists } from './map_exists'; import { mapQueryString } from './map_query_string'; import { diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.ts index 62b5b3a73b56..014a2ab2e4af 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { Filter, isExistsFilter, FILTERS } from '../../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_geo_bounding_box.test.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_geo_bounding_box.test.ts index b03017163bda..79248b589f21 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_geo_bounding_box.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_geo_bounding_box.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapGeoBoundingBox } from './map_geo_bounding_box'; import { Filter, GeoBoundingBoxFilter } from '../../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_geo_bounding_box.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_geo_bounding_box.ts index 5764206017d5..bbfe0503fd93 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_geo_bounding_box.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_geo_bounding_box.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { FilterValueFormatter, GeoBoundingBoxFilter, diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_geo_polygon.test.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_geo_polygon.test.ts index 1c5a6746dda9..e9b1b2ec816f 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_geo_polygon.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_geo_polygon.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapGeoPolygon } from './map_geo_polygon'; import { Filter, GeoPolygonFilter } from '../../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_geo_polygon.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_geo_polygon.ts index acd1b2916b0b..4a2a4e785132 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_geo_polygon.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_geo_polygon.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FilterValueFormatter, GeoPolygonFilter, diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_match_all.test.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_match_all.test.ts index d60817490832..04b5846811ff 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_match_all.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_match_all.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapMatchAll } from './map_match_all'; import { MatchAllFilter } from '../../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_match_all.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_match_all.ts index 21bb11f86c06..023947f1f16b 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_match_all.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_match_all.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Filter, isMatchAllFilter, FILTERS } from '../../../../../common'; export const mapMatchAll = (filter: Filter) => { diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_missing.test.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_missing.test.ts index d77a7c75dab3..5bb617e0cc69 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_missing.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_missing.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapMissing } from './map_missing'; import { MissingFilter, buildEmptyFilter } from '../../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_missing.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_missing.ts index e9884d3dd693..781f89be958f 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_missing.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_missing.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, isMissingFilter, FILTERS } from '../../../../../common'; export const mapMissing = (filter: Filter) => { diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_phrase.test.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_phrase.test.ts index e0d9b9cd80ff..c9773d5aed8e 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_phrase.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_phrase.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { mapPhrase } from './map_phrase'; import { PhraseFilter, Filter } from '../../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_phrase.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_phrase.ts index 9e129595be51..178ebb02e90d 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_phrase.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_phrase.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { PhraseFilter, diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_phrases.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_phrases.ts index 18051f6553db..01224542c9be 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_phrases.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_phrases.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, isPhrasesFilter } from '../../../../../common'; export const mapPhrases = (filter: Filter) => { diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_query_string.test.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_query_string.test.ts index 666059cba52b..81b15ceb4df5 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_query_string.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_query_string.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapQueryString } from './map_query_string'; import { buildQueryFilter, buildEmptyFilter, Filter } from '../../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_query_string.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_query_string.ts index 8166a51ddd34..1a2eca805ff6 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_query_string.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_query_string.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { FILTERS, Filter, isQueryStringFilter } from '../../../../../common'; export const mapQueryString = (filter: Filter) => { diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.test.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.test.ts index 240ce32a1ff5..b7b78dac0334 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapRange } from './map_range'; import { FilterMeta, RangeFilter, Filter } from '../../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.ts index 46c197ace018..838d2a0b368c 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, hasIn } from 'lodash'; import { FilterValueFormatter, diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_spatial_filter.test.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_spatial_filter.test.ts index 05ba2d600d42..06cd6196f2fb 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_spatial_filter.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_spatial_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapSpatialFilter } from './map_spatial_filter'; import { FilterMeta, Filter, FILTERS } from '../../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_spatial_filter.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_spatial_filter.ts index 6945adaea427..e314dee973ac 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_spatial_filter.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_spatial_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Filter, FILTERS } from '../../../../../common'; // Use mapSpatialFilter mapper to avoid bloated meta with value and params for spatial filters. diff --git a/src/plugins/data/public/query/filter_manager/lib/only_disabled.test.ts b/src/plugins/data/public/query/filter_manager/lib/only_disabled.test.ts index 60375941344a..0f61a02d1c26 100644 --- a/src/plugins/data/public/query/filter_manager/lib/only_disabled.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/only_disabled.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { onlyDisabledFiltersChanged } from './only_disabled'; import { Filter } from '../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/only_disabled.ts b/src/plugins/data/public/query/filter_manager/lib/only_disabled.ts index 2ebf780c4c44..62b6b2562391 100644 --- a/src/plugins/data/public/query/filter_manager/lib/only_disabled.ts +++ b/src/plugins/data/public/query/filter_manager/lib/only_disabled.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { filter } from 'lodash'; import { Filter, compareFilters, COMPARE_ALL_OPTIONS } from '../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/sort_filters.test.ts b/src/plugins/data/public/query/filter_manager/lib/sort_filters.test.ts index 346d9f501151..5995c36292fc 100644 --- a/src/plugins/data/public/query/filter_manager/lib/sort_filters.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/sort_filters.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { sortFilters } from './sort_filters'; import { FilterStateStore, buildQueryFilter } from '../../../../common'; diff --git a/src/plugins/data/public/query/filter_manager/lib/sort_filters.ts b/src/plugins/data/public/query/filter_manager/lib/sort_filters.ts index f62d5d405413..03c33f53934c 100644 --- a/src/plugins/data/public/query/filter_manager/lib/sort_filters.ts +++ b/src/plugins/data/public/query/filter_manager/lib/sort_filters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, FilterStateStore } from '../../../../common'; /** diff --git a/src/plugins/data/public/query/filter_manager/test_helpers/get_filters_array.ts b/src/plugins/data/public/query/filter_manager/test_helpers/get_filters_array.ts index c5955d751845..a21af1fecf38 100644 --- a/src/plugins/data/public/query/filter_manager/test_helpers/get_filters_array.ts +++ b/src/plugins/data/public/query/filter_manager/test_helpers/get_filters_array.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter } from '../../../../common'; export function getFiltersArray(): Filter[] { diff --git a/src/plugins/data/public/query/filter_manager/test_helpers/get_stub_filter.ts b/src/plugins/data/public/query/filter_manager/test_helpers/get_stub_filter.ts index 5f0162dae599..28905aa7f0d5 100644 --- a/src/plugins/data/public/query/filter_manager/test_helpers/get_stub_filter.ts +++ b/src/plugins/data/public/query/filter_manager/test_helpers/get_stub_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, FilterStateStore } from '../../../../common'; export function getFilter( diff --git a/src/plugins/data/public/query/filter_manager/types.ts b/src/plugins/data/public/query/filter_manager/types.ts index 1c126fe1945c..2227187a9103 100644 --- a/src/plugins/data/public/query/filter_manager/types.ts +++ b/src/plugins/data/public/query/filter_manager/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter } from '../../../common'; export interface PartitionedFilters { diff --git a/src/plugins/data/public/query/index.tsx b/src/plugins/data/public/query/index.tsx index 9cbde4ea5c68..505f095aeda7 100644 --- a/src/plugins/data/public/query/index.tsx +++ b/src/plugins/data/public/query/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './lib'; export * from './query_service'; diff --git a/src/plugins/data/public/query/lib/add_to_query_log.ts b/src/plugins/data/public/query/lib/add_to_query_log.ts index de685a59ea0b..206f18e31d84 100644 --- a/src/plugins/data/public/query/lib/add_to_query_log.ts +++ b/src/plugins/data/public/query/lib/add_to_query_log.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IUiSettingsClient } from 'src/core/public'; import { IStorageWrapper } from 'src/plugins/opensearch_dashboards_utils/public'; import { Query } from '../../../common'; diff --git a/src/plugins/data/public/query/lib/from_user.test.ts b/src/plugins/data/public/query/lib/from_user.test.ts index 59379a948b81..b7cadf563fb4 100644 --- a/src/plugins/data/public/query/lib/from_user.test.ts +++ b/src/plugins/data/public/query/lib/from_user.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fromUser } from '../'; describe('user input helpers', function () { diff --git a/src/plugins/data/public/query/lib/from_user.ts b/src/plugins/data/public/query/lib/from_user.ts index 3412f1ee7c97..3c6792d47d3c 100644 --- a/src/plugins/data/public/query/lib/from_user.ts +++ b/src/plugins/data/public/query/lib/from_user.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; /** diff --git a/src/plugins/data/public/query/lib/get_default_query.ts b/src/plugins/data/public/query/lib/get_default_query.ts index c6bda2cfda4e..e8d884596167 100644 --- a/src/plugins/data/public/query/lib/get_default_query.ts +++ b/src/plugins/data/public/query/lib/get_default_query.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export type QueryLanguage = 'kuery' | 'lucene'; export function getDefaultQuery(language: QueryLanguage = 'kuery') { diff --git a/src/plugins/data/public/query/lib/get_query_log.ts b/src/plugins/data/public/query/lib/get_query_log.ts index 68da9bbf341a..aaf471f522cf 100644 --- a/src/plugins/data/public/query/lib/get_query_log.ts +++ b/src/plugins/data/public/query/lib/get_query_log.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IUiSettingsClient } from 'src/core/public'; import { IStorageWrapper } from 'src/plugins/opensearch_dashboards_utils/public'; import { PersistedLog } from '../persisted_log'; diff --git a/src/plugins/data/public/query/lib/index.ts b/src/plugins/data/public/query/lib/index.ts index 5d9560ec338b..5c84b6770a86 100644 --- a/src/plugins/data/public/query/lib/index.ts +++ b/src/plugins/data/public/query/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './add_to_query_log'; export * from './from_user'; export * from './get_default_query'; diff --git a/src/plugins/data/public/query/lib/match_pairs.ts b/src/plugins/data/public/query/lib/match_pairs.ts index 9203b9322c49..5d3248322846 100644 --- a/src/plugins/data/public/query/lib/match_pairs.ts +++ b/src/plugins/data/public/query/lib/match_pairs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * This helper automatically handles matching pairs. * Specifically, it does the following: diff --git a/src/plugins/data/public/query/lib/to_user.test.ts b/src/plugins/data/public/query/lib/to_user.test.ts index c6581c2e999e..6cbc06c39239 100644 --- a/src/plugins/data/public/query/lib/to_user.test.ts +++ b/src/plugins/data/public/query/lib/to_user.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { toUser } from '../'; describe('user input helpers', () => { diff --git a/src/plugins/data/public/query/lib/to_user.ts b/src/plugins/data/public/query/lib/to_user.ts index 859e3f9008a5..a525869be9d7 100644 --- a/src/plugins/data/public/query/lib/to_user.ts +++ b/src/plugins/data/public/query/lib/to_user.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Take text from the model and present it to the user as a string * @param text model value diff --git a/src/plugins/data/public/query/mocks.ts b/src/plugins/data/public/query/mocks.ts index e1241ed03ba4..3e47bc92752c 100644 --- a/src/plugins/data/public/query/mocks.ts +++ b/src/plugins/data/public/query/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { QueryService, QuerySetup, QueryStart } from '.'; import { timefilterServiceMock } from './timefilter/timefilter_service.mock'; diff --git a/src/plugins/data/public/query/persisted_log/index.ts b/src/plugins/data/public/query/persisted_log/index.ts index 1a7478de076c..4a6b569314ed 100644 --- a/src/plugins/data/public/query/persisted_log/index.ts +++ b/src/plugins/data/public/query/persisted_log/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './persisted_log'; diff --git a/src/plugins/data/public/query/persisted_log/persisted_log.test.ts b/src/plugins/data/public/query/persisted_log/persisted_log.test.ts index f05a572ef1b1..c987a8fee0e8 100644 --- a/src/plugins/data/public/query/persisted_log/persisted_log.test.ts +++ b/src/plugins/data/public/query/persisted_log/persisted_log.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PersistedLog } from './persisted_log'; const createMockWebStorage = () => ({ diff --git a/src/plugins/data/public/query/persisted_log/persisted_log.ts b/src/plugins/data/public/query/persisted_log/persisted_log.ts index e16b0138b098..7b37ec51b736 100644 --- a/src/plugins/data/public/query/persisted_log/persisted_log.ts +++ b/src/plugins/data/public/query/persisted_log/persisted_log.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import * as Rx from 'rxjs'; import { map } from 'rxjs/operators'; diff --git a/src/plugins/data/public/query/query_service.ts b/src/plugins/data/public/query/query_service.ts index 185ec2a123fc..1b758d18bda3 100644 --- a/src/plugins/data/public/query/query_service.ts +++ b/src/plugins/data/public/query/query_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { share } from 'rxjs/operators'; import { IUiSettingsClient, SavedObjectsClientContract } from 'src/core/public'; import { IStorageWrapper } from 'src/plugins/opensearch_dashboards_utils/public'; diff --git a/src/plugins/data/public/query/query_string/index.ts b/src/plugins/data/public/query/query_string/index.ts index e104152420dd..21d250e3fbb1 100644 --- a/src/plugins/data/public/query/query_string/index.ts +++ b/src/plugins/data/public/query/query_string/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { QueryStringContract, QueryStringManager } from './query_string_manager'; diff --git a/src/plugins/data/public/query/query_string/query_string_manager.mock.ts b/src/plugins/data/public/query/query_string/query_string_manager.mock.ts index 6b7f48de997b..82ebf586ab3d 100644 --- a/src/plugins/data/public/query/query_string/query_string_manager.mock.ts +++ b/src/plugins/data/public/query/query_string/query_string_manager.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { QueryStringContract } from '.'; const createSetupContractMock = () => { diff --git a/src/plugins/data/public/query/query_string/query_string_manager.test.ts b/src/plugins/data/public/query/query_string/query_string_manager.test.ts index f34afbc83ef1..9def385c7dda 100644 --- a/src/plugins/data/public/query/query_string/query_string_manager.test.ts +++ b/src/plugins/data/public/query/query_string/query_string_manager.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { QueryStringManager } from './query_string_manager'; import { Storage } from '../../../../opensearch_dashboards_utils/public/storage'; import { StubBrowserStorage } from 'test_utils/stub_browser_storage'; diff --git a/src/plugins/data/public/query/query_string/query_string_manager.ts b/src/plugins/data/public/query/query_string/query_string_manager.ts index adb607a535df..bee5d4c3ded9 100644 --- a/src/plugins/data/public/query/query_string/query_string_manager.ts +++ b/src/plugins/data/public/query/query_string/query_string_manager.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { skip } from 'rxjs/operators'; import { CoreStart } from 'opensearch-dashboards/public'; diff --git a/src/plugins/data/public/query/saved_query/index.ts b/src/plugins/data/public/query/saved_query/index.ts index c45651b28dc5..b17abc33c4ec 100644 --- a/src/plugins/data/public/query/saved_query/index.ts +++ b/src/plugins/data/public/query/saved_query/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SavedQuery, SavedQueryAttributes, SavedQueryService, SavedQueryTimeFilter } from './types'; export { createSavedQueryService } from './saved_query_service'; diff --git a/src/plugins/data/public/query/saved_query/saved_query_service.test.ts b/src/plugins/data/public/query/saved_query/saved_query_service.test.ts index f08a4907a805..9fc8cdf61016 100644 --- a/src/plugins/data/public/query/saved_query/saved_query_service.test.ts +++ b/src/plugins/data/public/query/saved_query/saved_query_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createSavedQueryService } from './saved_query_service'; import { FilterStateStore } from '../../../common'; import { SavedQueryAttributes } from './types'; diff --git a/src/plugins/data/public/query/saved_query/saved_query_service.ts b/src/plugins/data/public/query/saved_query/saved_query_service.ts index b1c87c51580d..ec4028756a85 100644 --- a/src/plugins/data/public/query/saved_query/saved_query_service.ts +++ b/src/plugins/data/public/query/saved_query/saved_query_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isObject } from 'lodash'; import { SavedObjectsClientContract, SavedObjectAttributes } from 'src/core/public'; import { SavedQueryAttributes, SavedQuery, SavedQueryService } from './types'; diff --git a/src/plugins/data/public/query/saved_query/types.ts b/src/plugins/data/public/query/saved_query/types.ts index bb90a69db4cd..8635547e0094 100644 --- a/src/plugins/data/public/query/saved_query/types.ts +++ b/src/plugins/data/public/query/saved_query/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { RefreshInterval, TimeRange, Query, Filter } from '../..'; export type SavedQueryTimeFilter = TimeRange & { diff --git a/src/plugins/data/public/query/state_sync/connect_to_query_state.test.ts b/src/plugins/data/public/query/state_sync/connect_to_query_state.test.ts index b4325f4c7643..5b4e0f228069 100644 --- a/src/plugins/data/public/query/state_sync/connect_to_query_state.test.ts +++ b/src/plugins/data/public/query/state_sync/connect_to_query_state.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Subscription } from 'rxjs'; import { FilterManager } from '../filter_manager'; import { getFilter } from '../filter_manager/test_helpers/get_stub_filter'; diff --git a/src/plugins/data/public/query/state_sync/connect_to_query_state.ts b/src/plugins/data/public/query/state_sync/connect_to_query_state.ts index 5c75cdda1fe6..2f492fd28f75 100644 --- a/src/plugins/data/public/query/state_sync/connect_to_query_state.ts +++ b/src/plugins/data/public/query/state_sync/connect_to_query_state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Subscription } from 'rxjs'; import { filter, map } from 'rxjs/operators'; import _ from 'lodash'; diff --git a/src/plugins/data/public/query/state_sync/create_global_query_observable.ts b/src/plugins/data/public/query/state_sync/create_global_query_observable.ts index e08d5d5425d3..8abcb3ece18d 100644 --- a/src/plugins/data/public/query/state_sync/create_global_query_observable.ts +++ b/src/plugins/data/public/query/state_sync/create_global_query_observable.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable, Subscription } from 'rxjs'; import { map, tap } from 'rxjs/operators'; import { TimefilterSetup } from '../timefilter'; diff --git a/src/plugins/data/public/query/state_sync/index.ts b/src/plugins/data/public/query/state_sync/index.ts index bc70a1876b84..7109d7d87020 100644 --- a/src/plugins/data/public/query/state_sync/index.ts +++ b/src/plugins/data/public/query/state_sync/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { connectToQueryState } from './connect_to_query_state'; export { syncQueryStateWithUrl } from './sync_state_with_url'; export { QueryState, QueryStateChange } from './types'; diff --git a/src/plugins/data/public/query/state_sync/sync_state_with_url.test.ts b/src/plugins/data/public/query/state_sync/sync_state_with_url.test.ts index e1fc8dd958fd..2d58a9263aac 100644 --- a/src/plugins/data/public/query/state_sync/sync_state_with_url.test.ts +++ b/src/plugins/data/public/query/state_sync/sync_state_with_url.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Subscription } from 'rxjs'; import { createBrowserHistory, History } from 'history'; import { FilterManager } from '../filter_manager'; diff --git a/src/plugins/data/public/query/state_sync/sync_state_with_url.ts b/src/plugins/data/public/query/state_sync/sync_state_with_url.ts index ce92141c422f..67245fd693ab 100644 --- a/src/plugins/data/public/query/state_sync/sync_state_with_url.ts +++ b/src/plugins/data/public/query/state_sync/sync_state_with_url.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createStateContainer, IOsdUrlStateStorage, diff --git a/src/plugins/data/public/query/state_sync/types.ts b/src/plugins/data/public/query/state_sync/types.ts index 5bcee571870e..0ee0ad1c463e 100644 --- a/src/plugins/data/public/query/state_sync/types.ts +++ b/src/plugins/data/public/query/state_sync/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, RefreshInterval, TimeRange, Query } from '../../../common'; /** diff --git a/src/plugins/data/public/query/timefilter/index.ts b/src/plugins/data/public/query/timefilter/index.ts index 6642a37e1d5f..7e7ca2c33a6c 100644 --- a/src/plugins/data/public/query/timefilter/index.ts +++ b/src/plugins/data/public/query/timefilter/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { TimefilterService, TimefilterSetup } from './timefilter_service'; export * from './types'; diff --git a/src/plugins/data/public/query/timefilter/lib/change_time_filter.test.ts b/src/plugins/data/public/query/timefilter/lib/change_time_filter.test.ts index d5f10ce99538..d2ee421eab67 100644 --- a/src/plugins/data/public/query/timefilter/lib/change_time_filter.test.ts +++ b/src/plugins/data/public/query/timefilter/lib/change_time_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { changeTimeFilter } from './change_time_filter'; import { timefilterServiceMock } from '../timefilter_service.mock'; import { TimeRange, RangeFilter } from '../../../../common'; diff --git a/src/plugins/data/public/query/timefilter/lib/change_time_filter.ts b/src/plugins/data/public/query/timefilter/lib/change_time_filter.ts index 5fa56cd72106..f3c8bfefcfc0 100644 --- a/src/plugins/data/public/query/timefilter/lib/change_time_filter.ts +++ b/src/plugins/data/public/query/timefilter/lib/change_time_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { keys } from 'lodash'; import { TimefilterContract } from '../../timefilter'; diff --git a/src/plugins/data/public/query/timefilter/lib/diff_time_picker_vals.test.ts b/src/plugins/data/public/query/timefilter/lib/diff_time_picker_vals.test.ts index 9b105fa2d8d7..6f9c75a72fc7 100644 --- a/src/plugins/data/public/query/timefilter/lib/diff_time_picker_vals.test.ts +++ b/src/plugins/data/public/query/timefilter/lib/diff_time_picker_vals.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { areTimeRangesDifferent } from './diff_time_picker_vals'; diff --git a/src/plugins/data/public/query/timefilter/lib/diff_time_picker_vals.ts b/src/plugins/data/public/query/timefilter/lib/diff_time_picker_vals.ts index a7ce0ddfdeba..3ce9b294fec7 100644 --- a/src/plugins/data/public/query/timefilter/lib/diff_time_picker_vals.ts +++ b/src/plugins/data/public/query/timefilter/lib/diff_time_picker_vals.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { RefreshInterval } from '../../../../common'; diff --git a/src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts b/src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts index 66a733d88cfa..de426f10c821 100644 --- a/src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts +++ b/src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { extractTimeFilter } from './extract_time_filter'; import { Filter, diff --git a/src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts b/src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts index f308c5eaee8e..11760b69133b 100644 --- a/src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts +++ b/src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { keys, partition } from 'lodash'; import { Filter, isRangeFilter, RangeFilter, TimeRange } from '../../../../common'; import { convertRangeFilterToTimeRangeString } from './change_time_filter'; diff --git a/src/plugins/data/public/query/timefilter/lib/get_force_now.ts b/src/plugins/data/public/query/timefilter/lib/get_force_now.ts index 6ef71c8ff35e..17c55b15c6d2 100644 --- a/src/plugins/data/public/query/timefilter/lib/get_force_now.ts +++ b/src/plugins/data/public/query/timefilter/lib/get_force_now.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parseQueryString } from './parse_querystring'; /** @internal */ diff --git a/src/plugins/data/public/query/timefilter/lib/parse_querystring.ts b/src/plugins/data/public/query/timefilter/lib/parse_querystring.ts index 1b1b2a36ae1b..a4a3223c9818 100644 --- a/src/plugins/data/public/query/timefilter/lib/parse_querystring.ts +++ b/src/plugins/data/public/query/timefilter/lib/parse_querystring.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { parse } from 'query-string'; /** @internal */ diff --git a/src/plugins/data/public/query/timefilter/lib/validate_timerange.test.ts b/src/plugins/data/public/query/timefilter/lib/validate_timerange.test.ts index 482c4d24b72a..411218e4492f 100644 --- a/src/plugins/data/public/query/timefilter/lib/validate_timerange.test.ts +++ b/src/plugins/data/public/query/timefilter/lib/validate_timerange.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { validateTimeRange } from './validate_timerange'; describe('Validate timerange', () => { diff --git a/src/plugins/data/public/query/timefilter/lib/validate_timerange.ts b/src/plugins/data/public/query/timefilter/lib/validate_timerange.ts index beecc8637645..5f9c03973a74 100644 --- a/src/plugins/data/public/query/timefilter/lib/validate_timerange.ts +++ b/src/plugins/data/public/query/timefilter/lib/validate_timerange.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import dateMath from '@elastic/datemath'; import { TimeRange } from '../../../../common'; diff --git a/src/plugins/data/public/query/timefilter/time_history.ts b/src/plugins/data/public/query/timefilter/time_history.ts index e4cdbe8e704d..b755fbf36da4 100644 --- a/src/plugins/data/public/query/timefilter/time_history.ts +++ b/src/plugins/data/public/query/timefilter/time_history.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { IStorageWrapper } from 'src/plugins/opensearch_dashboards_utils/public'; import { PersistedLog } from '../persisted_log'; diff --git a/src/plugins/data/public/query/timefilter/timefilter.test.ts b/src/plugins/data/public/query/timefilter/timefilter.test.ts index a9ac3c4c0f8c..cb344bb5a434 100644 --- a/src/plugins/data/public/query/timefilter/timefilter.test.ts +++ b/src/plugins/data/public/query/timefilter/timefilter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.useFakeTimers(); jest.mock('./lib/parse_querystring', () => ({ diff --git a/src/plugins/data/public/query/timefilter/timefilter.ts b/src/plugins/data/public/query/timefilter/timefilter.ts index 4f9af0668328..4810eadb3982 100644 --- a/src/plugins/data/public/query/timefilter/timefilter.ts +++ b/src/plugins/data/public/query/timefilter/timefilter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { Subject, BehaviorSubject } from 'rxjs'; import moment from 'moment'; diff --git a/src/plugins/data/public/query/timefilter/timefilter_service.mock.ts b/src/plugins/data/public/query/timefilter/timefilter_service.mock.ts index b4c5c8b7c659..54f98870a658 100644 --- a/src/plugins/data/public/query/timefilter/timefilter_service.mock.ts +++ b/src/plugins/data/public/query/timefilter/timefilter_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TimefilterService, TimeHistoryContract, TimefilterContract } from '.'; import { Observable } from 'rxjs'; diff --git a/src/plugins/data/public/query/timefilter/timefilter_service.ts b/src/plugins/data/public/query/timefilter/timefilter_service.ts index 74750dc271cd..dbea62d46f89 100644 --- a/src/plugins/data/public/query/timefilter/timefilter_service.ts +++ b/src/plugins/data/public/query/timefilter/timefilter_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IUiSettingsClient } from 'src/core/public'; import { IStorageWrapper } from 'src/plugins/opensearch_dashboards_utils/public'; import { TimeHistory, Timefilter, TimeHistoryContract, TimefilterContract } from './index'; diff --git a/src/plugins/data/public/query/timefilter/types.ts b/src/plugins/data/public/query/timefilter/types.ts index a524343019ab..27da49b28415 100644 --- a/src/plugins/data/public/query/timefilter/types.ts +++ b/src/plugins/data/public/query/timefilter/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Moment } from 'moment'; import { TimeRange, RefreshInterval } from '../../../common'; diff --git a/src/plugins/data/public/search/aggs/aggs_service.test.ts b/src/plugins/data/public/search/aggs/aggs_service.test.ts index feca548b5e0d..ec0954f32e89 100644 --- a/src/plugins/data/public/search/aggs/aggs_service.test.ts +++ b/src/plugins/data/public/search/aggs/aggs_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject, Subscription } from 'rxjs'; import { coreMock } from '../../../../../core/public/mocks'; diff --git a/src/plugins/data/public/search/aggs/aggs_service.ts b/src/plugins/data/public/search/aggs/aggs_service.ts index bb9d7a46d2cb..33359d6a2e61 100644 --- a/src/plugins/data/public/search/aggs/aggs_service.ts +++ b/src/plugins/data/public/search/aggs/aggs_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Subscription } from 'rxjs'; import { IUiSettingsClient } from 'src/core/public'; diff --git a/src/plugins/data/public/search/aggs/index.ts b/src/plugins/data/public/search/aggs/index.ts index 5a075eec1ea1..84df0f7b29da 100644 --- a/src/plugins/data/public/search/aggs/index.ts +++ b/src/plugins/data/public/search/aggs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './aggs_service'; export * from './types'; diff --git a/src/plugins/data/public/search/aggs/mocks.ts b/src/plugins/data/public/search/aggs/mocks.ts index 67f564417c84..32655ddf30d8 100644 --- a/src/plugins/data/public/search/aggs/mocks.ts +++ b/src/plugins/data/public/search/aggs/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggConfigs, AggTypesRegistrySetup, diff --git a/src/plugins/data/public/search/aggs/types.ts b/src/plugins/data/public/search/aggs/types.ts index dc9256c10437..3adb23bb9320 100644 --- a/src/plugins/data/public/search/aggs/types.ts +++ b/src/plugins/data/public/search/aggs/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggsCommonSetup } from '../../../common'; export type AggsSetup = AggsCommonSetup; diff --git a/src/plugins/data/public/search/collectors/create_usage_collector.test.ts b/src/plugins/data/public/search/collectors/create_usage_collector.test.ts index 9f1070382622..6f1d0e7f1121 100644 --- a/src/plugins/data/public/search/collectors/create_usage_collector.test.ts +++ b/src/plugins/data/public/search/collectors/create_usage_collector.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, CoreStart } from '../../../../../core/public'; import { coreMock } from '../../../../../core/public/mocks'; import { usageCollectionPluginMock, Setup } from '../../../../usage_collection/public/mocks'; diff --git a/src/plugins/data/public/search/collectors/create_usage_collector.ts b/src/plugins/data/public/search/collectors/create_usage_collector.ts index bcd3cad3954c..adc4b2fe7860 100644 --- a/src/plugins/data/public/search/collectors/create_usage_collector.ts +++ b/src/plugins/data/public/search/collectors/create_usage_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { first } from 'rxjs/operators'; import { StartServicesAccessor } from '../../../../../core/public'; import { METRIC_TYPE, UsageCollectionSetup } from '../../../../usage_collection/public'; diff --git a/src/plugins/data/public/search/collectors/index.ts b/src/plugins/data/public/search/collectors/index.ts index b4e9eecf60a2..4750dcc1f4dd 100644 --- a/src/plugins/data/public/search/collectors/index.ts +++ b/src/plugins/data/public/search/collectors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createUsageCollector } from './create_usage_collector'; export { SEARCH_EVENT_TYPE, SearchUsageCollector } from './types'; diff --git a/src/plugins/data/public/search/collectors/types.ts b/src/plugins/data/public/search/collectors/types.ts index 51a780f13489..1ff50e77829a 100644 --- a/src/plugins/data/public/search/collectors/types.ts +++ b/src/plugins/data/public/search/collectors/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export enum SEARCH_EVENT_TYPE { QUERY_TIMED_OUT = 'queryTimedOut', QUERIES_CANCELLED = 'queriesCancelled', diff --git a/src/plugins/data/public/search/errors/index.ts b/src/plugins/data/public/search/errors/index.ts index dc919501d771..7a74bae802bf 100644 --- a/src/plugins/data/public/search/errors/index.ts +++ b/src/plugins/data/public/search/errors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './painless_error'; export * from './timeout_error'; diff --git a/src/plugins/data/public/search/errors/painless_error.tsx b/src/plugins/data/public/search/errors/painless_error.tsx index 825bc2906e1b..1522dcf97cb0 100644 --- a/src/plugins/data/public/search/errors/painless_error.tsx +++ b/src/plugins/data/public/search/errors/painless_error.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; import { EuiButton, EuiSpacer, EuiText, EuiCodeBlock } from '@elastic/eui'; diff --git a/src/plugins/data/public/search/errors/timeout_error.test.tsx b/src/plugins/data/public/search/errors/timeout_error.test.tsx index af530669d123..fb8108f8e7ee 100644 --- a/src/plugins/data/public/search/errors/timeout_error.test.tsx +++ b/src/plugins/data/public/search/errors/timeout_error.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SearchTimeoutError, TimeoutErrorMode } from './timeout_error'; import { coreMock } from '../../../../../core/public/mocks'; diff --git a/src/plugins/data/public/search/errors/timeout_error.tsx b/src/plugins/data/public/search/errors/timeout_error.tsx index 3370a82f3ad5..aef1509ea34a 100644 --- a/src/plugins/data/public/search/errors/timeout_error.tsx +++ b/src/plugins/data/public/search/errors/timeout_error.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; import { EuiButton, EuiSpacer, EuiText } from '@elastic/eui'; diff --git a/src/plugins/data/public/search/errors/types.ts b/src/plugins/data/public/search/errors/types.ts index 0776bb3fa9fe..8267213bccfa 100644 --- a/src/plugins/data/public/search/errors/types.ts +++ b/src/plugins/data/public/search/errors/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - interface FailedShard { shard: number; index: string; diff --git a/src/plugins/data/public/search/expressions/build_tabular_inspector_data.ts b/src/plugins/data/public/search/expressions/build_tabular_inspector_data.ts index 97b03b2159be..22e3cf7407d6 100644 --- a/src/plugins/data/public/search/expressions/build_tabular_inspector_data.ts +++ b/src/plugins/data/public/search/expressions/build_tabular_inspector_data.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { set } from '@elastic/safer-lodash-set'; import { FormattedData } from '../../../../../plugins/inspector/public'; import { TabbedTable } from '../../../common'; diff --git a/src/plugins/data/public/search/expressions/create_filter.test.ts b/src/plugins/data/public/search/expressions/create_filter.test.ts index eb773f6872ec..3fdef2ec9dab 100644 --- a/src/plugins/data/public/search/expressions/create_filter.test.ts +++ b/src/plugins/data/public/search/expressions/create_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggConfigs, IAggConfig, diff --git a/src/plugins/data/public/search/expressions/create_filter.ts b/src/plugins/data/public/search/expressions/create_filter.ts index eaf7ad146ccb..0da3470befc9 100644 --- a/src/plugins/data/public/search/expressions/create_filter.ts +++ b/src/plugins/data/public/search/expressions/create_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, IAggConfig, TabbedTable } from '../../../common'; const getOtherBucketFilterTerms = (table: TabbedTable, columnIndex: number, rowIndex: number) => { diff --git a/src/plugins/data/public/search/expressions/index.ts b/src/plugins/data/public/search/expressions/index.ts index 432727d936d5..1ac333c90550 100644 --- a/src/plugins/data/public/search/expressions/index.ts +++ b/src/plugins/data/public/search/expressions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './opensearchaggs'; export * from './opensearch_raw_response'; export * from './opensearchdsl'; diff --git a/src/plugins/data/public/search/expressions/opensearch_raw_response.test.ts b/src/plugins/data/public/search/expressions/opensearch_raw_response.test.ts index 566fcb040189..6644867cf86d 100644 --- a/src/plugins/data/public/search/expressions/opensearch_raw_response.test.ts +++ b/src/plugins/data/public/search/expressions/opensearch_raw_response.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchRawResponse, opensearchRawResponse } from './opensearch_raw_response'; jest.mock('@osd/i18n', () => { diff --git a/src/plugins/data/public/search/expressions/opensearch_raw_response.ts b/src/plugins/data/public/search/expressions/opensearch_raw_response.ts index 1a554ca6c5df..974bb007f621 100644 --- a/src/plugins/data/public/search/expressions/opensearch_raw_response.ts +++ b/src/plugins/data/public/search/expressions/opensearch_raw_response.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SearchResponse } from 'elasticsearch'; import { ExpressionTypeDefinition } from '../../../../expressions/common'; diff --git a/src/plugins/data/public/search/expressions/opensearchaggs.ts b/src/plugins/data/public/search/expressions/opensearchaggs.ts index 6e96e98a9577..57395b905fd5 100644 --- a/src/plugins/data/public/search/expressions/opensearchaggs.ts +++ b/src/plugins/data/public/search/expressions/opensearchaggs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, hasIn } from 'lodash'; import { i18n } from '@osd/i18n'; import { diff --git a/src/plugins/data/public/search/expressions/opensearchdsl.test.ts b/src/plugins/data/public/search/expressions/opensearchdsl.test.ts index 91621592930e..4f8ecb0df429 100644 --- a/src/plugins/data/public/search/expressions/opensearchdsl.test.ts +++ b/src/plugins/data/public/search/expressions/opensearchdsl.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { opensearchdsl } from './opensearchdsl'; jest.mock('@osd/i18n', () => { diff --git a/src/plugins/data/public/search/expressions/opensearchdsl.ts b/src/plugins/data/public/search/expressions/opensearchdsl.ts index fa647a1aa947..5c8d8350f260 100644 --- a/src/plugins/data/public/search/expressions/opensearchdsl.ts +++ b/src/plugins/data/public/search/expressions/opensearchdsl.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { OpenSearchDashboardsContext, diff --git a/src/plugins/data/public/search/expressions/utils/index.ts b/src/plugins/data/public/search/expressions/utils/index.ts index 3a50ab79cad3..7bcdfba24d3b 100644 --- a/src/plugins/data/public/search/expressions/utils/index.ts +++ b/src/plugins/data/public/search/expressions/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './serialize_agg_config'; diff --git a/src/plugins/data/public/search/expressions/utils/serialize_agg_config.ts b/src/plugins/data/public/search/expressions/utils/serialize_agg_config.ts index d2c65107916f..7b80cd9c276b 100644 --- a/src/plugins/data/public/search/expressions/utils/serialize_agg_config.ts +++ b/src/plugins/data/public/search/expressions/utils/serialize_agg_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchDashboardsDatatableColumnMeta } from '../../../../../../plugins/expressions/public'; import { IAggConfig } from '../../../../common'; import { IndexPattern } from '../../../index_patterns'; diff --git a/src/plugins/data/public/search/fetch/handle_response.test.ts b/src/plugins/data/public/search/fetch/handle_response.test.ts index 09df3a3d47e2..d98053602f2b 100644 --- a/src/plugins/data/public/search/fetch/handle_response.test.ts +++ b/src/plugins/data/public/search/fetch/handle_response.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { handleResponse } from './handle_response'; // Temporary disable eslint, will be removed after moving to new platform folder diff --git a/src/plugins/data/public/search/fetch/handle_response.tsx b/src/plugins/data/public/search/fetch/handle_response.tsx index b8bf0234ac41..fb9ef4e7815a 100644 --- a/src/plugins/data/public/search/fetch/handle_response.tsx +++ b/src/plugins/data/public/search/fetch/handle_response.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; import { EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/data/public/search/fetch/index.ts b/src/plugins/data/public/search/fetch/index.ts index 85430ab0bf11..7d2fd22e0f3f 100644 --- a/src/plugins/data/public/search/fetch/index.ts +++ b/src/plugins/data/public/search/fetch/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { handleResponse } from './handle_response'; diff --git a/src/plugins/data/public/search/index.ts b/src/plugins/data/public/search/index.ts index 3788542d1ef8..bfd0bc1ed780 100644 --- a/src/plugins/data/public/search/index.ts +++ b/src/plugins/data/public/search/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './expressions'; export { ISearchSetup, ISearchStart, ISearchStartSearchSource, SearchEnhancements } from './types'; diff --git a/src/plugins/data/public/search/legacy/call_msearch.test.ts b/src/plugins/data/public/search/legacy/call_msearch.test.ts index 3dc64bdcbb22..20c15ac088cb 100644 --- a/src/plugins/data/public/search/legacy/call_msearch.test.ts +++ b/src/plugins/data/public/search/legacy/call_msearch.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpStart } from 'src/core/public'; import { coreMock } from '../../../../../core/public/mocks'; import { getCallMsearch } from './call_msearch'; diff --git a/src/plugins/data/public/search/legacy/call_msearch.ts b/src/plugins/data/public/search/legacy/call_msearch.ts index c5a7c19d25fe..653bc8fe9b8a 100644 --- a/src/plugins/data/public/search/legacy/call_msearch.ts +++ b/src/plugins/data/public/search/legacy/call_msearch.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpStart } from 'src/core/public'; import { LegacyFetchHandlers } from '../../../common/search/search_source'; diff --git a/src/plugins/data/public/search/legacy/index.ts b/src/plugins/data/public/search/legacy/index.ts index dcb3dd2d3f9a..7f2c19f434f6 100644 --- a/src/plugins/data/public/search/legacy/index.ts +++ b/src/plugins/data/public/search/legacy/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './call_msearch'; diff --git a/src/plugins/data/public/search/mocks.ts b/src/plugins/data/public/search/mocks.ts index 326a98064933..32c0ef61aca6 100644 --- a/src/plugins/data/public/search/mocks.ts +++ b/src/plugins/data/public/search/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { searchAggsSetupMock, searchAggsStartMock } from './aggs/mocks'; import { searchSourceMock } from './search_source/mocks'; import { ISearchSetup, ISearchStart } from './types'; diff --git a/src/plugins/data/public/search/opensearch_search/get_opensearch_preference.test.ts b/src/plugins/data/public/search/opensearch_search/get_opensearch_preference.test.ts index 4d23e62fc488..2dd46969345e 100644 --- a/src/plugins/data/public/search/opensearch_search/get_opensearch_preference.test.ts +++ b/src/plugins/data/public/search/opensearch_search/get_opensearch_preference.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getOpenSearchPreference } from './get_opensearch_preference'; import { CoreStart } from '../../../../../core/public'; import { coreMock } from '../../../../../core/public/mocks'; diff --git a/src/plugins/data/public/search/opensearch_search/get_opensearch_preference.ts b/src/plugins/data/public/search/opensearch_search/get_opensearch_preference.ts index e6c1822af9bf..27292944f8b0 100644 --- a/src/plugins/data/public/search/opensearch_search/get_opensearch_preference.ts +++ b/src/plugins/data/public/search/opensearch_search/get_opensearch_preference.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IUiSettingsClient } from '../../../../../core/public'; import { UI_SETTINGS } from '../../../common'; diff --git a/src/plugins/data/public/search/opensearch_search/index.ts b/src/plugins/data/public/search/opensearch_search/index.ts index 44d74ab245d8..9ba214041e51 100644 --- a/src/plugins/data/public/search/opensearch_search/index.ts +++ b/src/plugins/data/public/search/opensearch_search/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getOpenSearchPreference } from './get_opensearch_preference'; diff --git a/src/plugins/data/public/search/search_interceptor.test.ts b/src/plugins/data/public/search/search_interceptor.test.ts index f7a91c942715..c19e92e3872e 100644 --- a/src/plugins/data/public/search/search_interceptor.test.ts +++ b/src/plugins/data/public/search/search_interceptor.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { setImmediate } from 'timers'; import { CoreSetup } from '../../../../core/public'; diff --git a/src/plugins/data/public/search/search_interceptor.ts b/src/plugins/data/public/search/search_interceptor.ts index caefcd9870a7..00fcf9ead34e 100644 --- a/src/plugins/data/public/search/search_interceptor.ts +++ b/src/plugins/data/public/search/search_interceptor.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, trimEnd, debounce } from 'lodash'; import { BehaviorSubject, throwError, timer, defer, from, Observable, NEVER } from 'rxjs'; import { catchError, finalize } from 'rxjs/operators'; diff --git a/src/plugins/data/public/search/search_service.test.ts b/src/plugins/data/public/search/search_service.test.ts index e17445beae68..542429661be3 100644 --- a/src/plugins/data/public/search/search_service.test.ts +++ b/src/plugins/data/public/search/search_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { coreMock } from '../../../../core/public/mocks'; import { CoreSetup, CoreStart } from '../../../../core/public'; diff --git a/src/plugins/data/public/search/search_service.ts b/src/plugins/data/public/search/search_service.ts index 1c795e648621..c73e7881faa6 100644 --- a/src/plugins/data/public/search/search_service.ts +++ b/src/plugins/data/public/search/search_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreSetup, CoreStart, PluginInitializerContext } from 'src/core/public'; import { BehaviorSubject } from 'rxjs'; import { ISearchSetup, ISearchStart, SearchEnhancements } from './types'; diff --git a/src/plugins/data/public/search/search_source/mocks.ts b/src/plugins/data/public/search/search_source/mocks.ts index 47afdb533a27..0e464b68bf78 100644 --- a/src/plugins/data/public/search/search_source/mocks.ts +++ b/src/plugins/data/public/search/search_source/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { searchSourceCommonMock } from '../../../common/search/search_source/mocks'; import { ISearchStart } from '../types'; diff --git a/src/plugins/data/public/search/types.ts b/src/plugins/data/public/search/types.ts index fbba2a6c7793..8a0d82b855c8 100644 --- a/src/plugins/data/public/search/types.ts +++ b/src/plugins/data/public/search/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PackageInfo } from 'opensearch-dashboards/server'; import { ISearchInterceptor } from './search_interceptor'; import { SearchUsageCollector } from './collectors'; diff --git a/src/plugins/data/public/services.ts b/src/plugins/data/public/services.ts index 66acf53d4be6..3bcc9d69a9a4 100644 --- a/src/plugins/data/public/services.ts +++ b/src/plugins/data/public/services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { NotificationsStart, CoreStart } from 'src/core/public'; import { FieldFormatsStart } from './field_formats'; import { createGetterSetter } from '../../opensearch_dashboards_utils/public'; diff --git a/src/plugins/data/public/stubs.ts b/src/plugins/data/public/stubs.ts index 6d40d7e9a04d..1afb32a7f40c 100644 --- a/src/plugins/data/public/stubs.ts +++ b/src/plugins/data/public/stubs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from '../common/stubs'; diff --git a/src/plugins/data/public/test_utils.ts b/src/plugins/data/public/test_utils.ts index 85a2b186d94d..07a075f2271d 100644 --- a/src/plugins/data/public/test_utils.ts +++ b/src/plugins/data/public/test_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getFieldFormatsRegistry } from './field_formats/field_formats_registry.stub'; export { getStubIndexPattern, StubIndexPattern } from './index_patterns/index_pattern.stub'; diff --git a/src/plugins/data/public/types.ts b/src/plugins/data/public/types.ts index 11c6b98fdc23..bd1499879134 100644 --- a/src/plugins/data/public/types.ts +++ b/src/plugins/data/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { CoreStart } from 'src/core/public'; import { IStorageWrapper } from 'src/plugins/opensearch_dashboards_utils/public'; diff --git a/src/plugins/data/public/ui/apply_filters/apply_filter_popover_content.tsx b/src/plugins/data/public/ui/apply_filters/apply_filter_popover_content.tsx index 5250c65ab68f..f6633b56740d 100644 --- a/src/plugins/data/public/ui/apply_filters/apply_filter_popover_content.tsx +++ b/src/plugins/data/public/ui/apply_filters/apply_filter_popover_content.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiButton, EuiButtonEmpty, diff --git a/src/plugins/data/public/ui/apply_filters/apply_filters_popover.tsx b/src/plugins/data/public/ui/apply_filters/apply_filters_popover.tsx index e4820999231d..9cdc145dfa40 100644 --- a/src/plugins/data/public/ui/apply_filters/apply_filters_popover.tsx +++ b/src/plugins/data/public/ui/apply_filters/apply_filters_popover.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { IIndexPattern, Filter } from '../..'; diff --git a/src/plugins/data/public/ui/apply_filters/index.ts b/src/plugins/data/public/ui/apply_filters/index.ts index 7c370aaca06b..a55d67e8e095 100644 --- a/src/plugins/data/public/ui/apply_filters/index.ts +++ b/src/plugins/data/public/ui/apply_filters/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { applyFiltersPopover } from './apply_filters_popover'; diff --git a/src/plugins/data/public/ui/filter_bar/filter_bar.tsx b/src/plugins/data/public/ui/filter_bar/filter_bar.tsx index 1ecea0442f81..ba32af354d78 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_bar.tsx +++ b/src/plugins/data/public/ui/filter_bar/filter_bar.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiButtonEmpty, EuiFlexGroup, diff --git a/src/plugins/data/public/ui/filter_bar/filter_editor/generic_combo_box.tsx b/src/plugins/data/public/ui/filter_bar/filter_editor/generic_combo_box.tsx index 2728516536c6..2df1b1e7c15b 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_editor/generic_combo_box.tsx +++ b/src/plugins/data/public/ui/filter_bar/filter_editor/generic_combo_box.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiComboBox, EuiComboBoxOptionOption } from '@elastic/eui'; import React from 'react'; diff --git a/src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx b/src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx index 4fa7b6d1c339..7a4bb433bd10 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx +++ b/src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiButton, EuiButtonEmpty, diff --git a/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.test.ts b/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.test.ts index 685da14c0d4a..ee619b3e7989 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.test.ts +++ b/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { existsFilter, phraseFilter, diff --git a/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts b/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts index bba6e0566c2e..a91813c5ca93 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts +++ b/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import dateMath from '@elastic/datemath'; import { FILTER_OPERATORS, Operator } from './filter_operators'; import { diff --git a/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_label.test.tsx b/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_label.test.tsx index c17a181bd9d4..48fcb25dc388 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_label.test.tsx +++ b/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_label.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import FilterLabel from './filter_label'; import { render } from '@testing-library/react'; diff --git a/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_label.tsx b/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_label.tsx index 275664756ba7..3861c8dbce4a 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_label.tsx +++ b/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_label.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import { EuiTextColor } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_operators.ts b/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_operators.ts index c9a379862b8e..98b8111c8c10 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_operators.ts +++ b/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_operators.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { FILTERS } from '../../../../../common/opensearch_query/filters'; diff --git a/src/plugins/data/public/ui/filter_bar/filter_editor/phrase_suggestor.tsx b/src/plugins/data/public/ui/filter_bar/filter_editor/phrase_suggestor.tsx index d89ca1e0ba6c..87a2976c51f5 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_editor/phrase_suggestor.tsx +++ b/src/plugins/data/public/ui/filter_bar/filter_editor/phrase_suggestor.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { debounce } from 'lodash'; diff --git a/src/plugins/data/public/ui/filter_bar/filter_editor/phrase_value_input.tsx b/src/plugins/data/public/ui/filter_bar/filter_editor/phrase_value_input.tsx index 69d5876276b0..624f478821db 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_editor/phrase_value_input.tsx +++ b/src/plugins/data/public/ui/filter_bar/filter_editor/phrase_value_input.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiFormRow } from '@elastic/eui'; import { InjectedIntl, injectI18n } from '@osd/i18n/react'; import { uniq } from 'lodash'; diff --git a/src/plugins/data/public/ui/filter_bar/filter_editor/phrases_values_input.tsx b/src/plugins/data/public/ui/filter_bar/filter_editor/phrases_values_input.tsx index 0481c4297eb3..e7c04e48b206 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_editor/phrases_values_input.tsx +++ b/src/plugins/data/public/ui/filter_bar/filter_editor/phrases_values_input.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiFormRow } from '@elastic/eui'; import { InjectedIntl, injectI18n } from '@osd/i18n/react'; import { uniq } from 'lodash'; diff --git a/src/plugins/data/public/ui/filter_bar/filter_editor/range_value_input.tsx b/src/plugins/data/public/ui/filter_bar/filter_editor/range_value_input.tsx index 778e65b15d28..c7114d9f504b 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_editor/range_value_input.tsx +++ b/src/plugins/data/public/ui/filter_bar/filter_editor/range_value_input.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { EuiFormControlLayoutDelimited } from '@elastic/eui'; import { InjectedIntl, injectI18n } from '@osd/i18n/react'; diff --git a/src/plugins/data/public/ui/filter_bar/filter_editor/value_input_type.tsx b/src/plugins/data/public/ui/filter_bar/filter_editor/value_input_type.tsx index 803ce4fea1fa..360eecc91674 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_editor/value_input_type.tsx +++ b/src/plugins/data/public/ui/filter_bar/filter_editor/value_input_type.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiFieldNumber, EuiFieldText, EuiSelect } from '@elastic/eui'; import { InjectedIntl, injectI18n } from '@osd/i18n/react'; import { isEmpty } from 'lodash'; diff --git a/src/plugins/data/public/ui/filter_bar/filter_item.tsx b/src/plugins/data/public/ui/filter_bar/filter_item.tsx index 805958d2be1e..bbbdab96eb7e 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_item.tsx +++ b/src/plugins/data/public/ui/filter_bar/filter_item.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiContextMenu, EuiPopover } from '@elastic/eui'; import { InjectedIntl } from '@osd/i18n/react'; import classNames from 'classnames'; diff --git a/src/plugins/data/public/ui/filter_bar/filter_options.tsx b/src/plugins/data/public/ui/filter_bar/filter_options.tsx index aaa90cd02756..a1fa382f8c8d 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_options.tsx +++ b/src/plugins/data/public/ui/filter_bar/filter_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiButtonIcon, EuiContextMenu, EuiPopover, EuiPopoverTitle } from '@elastic/eui'; import { FormattedMessage, InjectedIntl, injectI18n } from '@osd/i18n/react'; import { Component } from 'react'; diff --git a/src/plugins/data/public/ui/filter_bar/filter_view/index.tsx b/src/plugins/data/public/ui/filter_bar/filter_view/index.tsx index de2e3b215eb1..373ec9ffccbf 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_view/index.tsx +++ b/src/plugins/data/public/ui/filter_bar/filter_view/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiBadge, useInnerText } from '@elastic/eui'; import { i18n } from '@osd/i18n'; import React, { FC } from 'react'; diff --git a/src/plugins/data/public/ui/filter_bar/index.tsx b/src/plugins/data/public/ui/filter_bar/index.tsx index 3cf5fb570b3c..8408bdce94b5 100644 --- a/src/plugins/data/public/ui/filter_bar/index.tsx +++ b/src/plugins/data/public/ui/filter_bar/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import type { FilterLabelProps } from './filter_editor/lib/filter_label'; diff --git a/src/plugins/data/public/ui/index.ts b/src/plugins/data/public/ui/index.ts index 80eb58ce8cf3..c618df1783b5 100644 --- a/src/plugins/data/public/ui/index.ts +++ b/src/plugins/data/public/ui/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { IndexPatternSelectProps } from './index_pattern_select'; export { FilterLabel } from './filter_bar'; export { QueryStringInput, QueryStringInputProps } from './query_string_input'; diff --git a/src/plugins/data/public/ui/index_pattern_select/create_index_pattern_select.tsx b/src/plugins/data/public/ui/index_pattern_select/create_index_pattern_select.tsx index 7fdc6565067b..0f6717830b5e 100644 --- a/src/plugins/data/public/ui/index_pattern_select/create_index_pattern_select.tsx +++ b/src/plugins/data/public/ui/index_pattern_select/create_index_pattern_select.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import React from 'react'; diff --git a/src/plugins/data/public/ui/index_pattern_select/index.tsx b/src/plugins/data/public/ui/index_pattern_select/index.tsx index 2fe0dcaed620..9c75e6b877d5 100644 --- a/src/plugins/data/public/ui/index_pattern_select/index.tsx +++ b/src/plugins/data/public/ui/index_pattern_select/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import type { IndexPatternSelectProps } from './index_pattern_select'; diff --git a/src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx b/src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx index d4e097b39c48..bcc56713f0df 100644 --- a/src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx +++ b/src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import React, { Component } from 'react'; diff --git a/src/plugins/data/public/ui/query_string_input/fetch_index_patterns.ts b/src/plugins/data/public/ui/query_string_input/fetch_index_patterns.ts index f6747c02ce93..58dd547af493 100644 --- a/src/plugins/data/public/ui/query_string_input/fetch_index_patterns.ts +++ b/src/plugins/data/public/ui/query_string_input/fetch_index_patterns.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { isEmpty } from 'lodash'; import { IUiSettingsClient, SavedObjectsClientContract } from 'src/core/public'; import { indexPatterns, IndexPatternAttributes } from '../..'; diff --git a/src/plugins/data/public/ui/query_string_input/index.tsx b/src/plugins/data/public/ui/query_string_input/index.tsx index c75efe8281f1..f59ce094903c 100644 --- a/src/plugins/data/public/ui/query_string_input/index.tsx +++ b/src/plugins/data/public/ui/query_string_input/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { withOpenSearchDashboards } from '../../../../opensearch_dashboards_react/public'; import type { QueryBarTopRowProps } from './query_bar_top_row'; diff --git a/src/plugins/data/public/ui/query_string_input/language_switcher.test.tsx b/src/plugins/data/public/ui/query_string_input/language_switcher.test.tsx index 8145e35d7bca..22ec4e9edd96 100644 --- a/src/plugins/data/public/ui/query_string_input/language_switcher.test.tsx +++ b/src/plugins/data/public/ui/query_string_input/language_switcher.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { QueryLanguageSwitcher } from './language_switcher'; import { OpenSearchDashboardsContextProvider } from 'src/plugins/opensearch_dashboards_react/public'; diff --git a/src/plugins/data/public/ui/query_string_input/language_switcher.tsx b/src/plugins/data/public/ui/query_string_input/language_switcher.tsx index c764a568ba47..ea2b70288413 100644 --- a/src/plugins/data/public/ui/query_string_input/language_switcher.tsx +++ b/src/plugins/data/public/ui/query_string_input/language_switcher.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiButtonEmpty, EuiForm, diff --git a/src/plugins/data/public/ui/query_string_input/no_data_popover.test.tsx b/src/plugins/data/public/ui/query_string_input/no_data_popover.test.tsx index 357f3cbd5efb..8e3134b1ae91 100644 --- a/src/plugins/data/public/ui/query_string_input/no_data_popover.test.tsx +++ b/src/plugins/data/public/ui/query_string_input/no_data_popover.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mountWithIntl as mount } from 'test_utils/enzyme_helpers'; import { NoDataPopover } from './no_data_popover'; diff --git a/src/plugins/data/public/ui/query_string_input/no_data_popover.tsx b/src/plugins/data/public/ui/query_string_input/no_data_popover.tsx index bfcbefa86b52..73edbcc3a1d2 100644 --- a/src/plugins/data/public/ui/query_string_input/no_data_popover.tsx +++ b/src/plugins/data/public/ui/query_string_input/no_data_popover.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ReactElement, useEffect, useState } from 'react'; import React from 'react'; import { EuiButtonEmpty, EuiText, EuiTourStep } from '@elastic/eui'; diff --git a/src/plugins/data/public/ui/query_string_input/query_bar_top_row.test.tsx b/src/plugins/data/public/ui/query_string_input/query_bar_top_row.test.tsx index fc879d9583e1..3b8c41eb1a39 100644 --- a/src/plugins/data/public/ui/query_string_input/query_bar_top_row.test.tsx +++ b/src/plugins/data/public/ui/query_string_input/query_bar_top_row.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockPersistedLogFactory } from './query_string_input.test.mocks'; import React from 'react'; diff --git a/src/plugins/data/public/ui/query_string_input/query_bar_top_row.tsx b/src/plugins/data/public/ui/query_string_input/query_bar_top_row.tsx index c8a63d819e4a..8c509d573e1b 100644 --- a/src/plugins/data/public/ui/query_string_input/query_bar_top_row.tsx +++ b/src/plugins/data/public/ui/query_string_input/query_bar_top_row.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import dateMath from '@elastic/datemath'; import classNames from 'classnames'; import React, { useState } from 'react'; diff --git a/src/plugins/data/public/ui/query_string_input/query_string_input.test.mocks.ts b/src/plugins/data/public/ui/query_string_input/query_string_input.test.mocks.ts index a4de6d20a074..adfeca9c36f9 100644 --- a/src/plugins/data/public/ui/query_string_input/query_string_input.test.mocks.ts +++ b/src/plugins/data/public/ui/query_string_input/query_string_input.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { stubIndexPatternWithFields } from '../../stubs'; export const mockPersistedLog = { diff --git a/src/plugins/data/public/ui/query_string_input/query_string_input.test.tsx b/src/plugins/data/public/ui/query_string_input/query_string_input.test.tsx index 05b761420a29..dfa5d57411d0 100644 --- a/src/plugins/data/public/ui/query_string_input/query_string_input.test.tsx +++ b/src/plugins/data/public/ui/query_string_input/query_string_input.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockFetchIndexPatterns, mockPersistedLog, diff --git a/src/plugins/data/public/ui/query_string_input/query_string_input.tsx b/src/plugins/data/public/ui/query_string_input/query_string_input.tsx index b079b0147d25..5d071748700c 100644 --- a/src/plugins/data/public/ui/query_string_input/query_string_input.tsx +++ b/src/plugins/data/public/ui/query_string_input/query_string_input.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component, RefObject, createRef } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/data/public/ui/saved_query_form/index.ts b/src/plugins/data/public/ui/saved_query_form/index.ts index ffce2c9c019d..e9c62cf646df 100644 --- a/src/plugins/data/public/ui/saved_query_form/index.ts +++ b/src/plugins/data/public/ui/saved_query_form/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @internal export { SavedQueryMeta, SaveQueryForm } from '../saved_query_form/save_query_form'; diff --git a/src/plugins/data/public/ui/saved_query_form/save_query_form.tsx b/src/plugins/data/public/ui/saved_query_form/save_query_form.tsx index e6f4d2a36cff..7aeb5fc95f98 100644 --- a/src/plugins/data/public/ui/saved_query_form/save_query_form.tsx +++ b/src/plugins/data/public/ui/saved_query_form/save_query_form.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useState, useCallback } from 'react'; import { EuiButtonEmpty, diff --git a/src/plugins/data/public/ui/saved_query_management/index.ts b/src/plugins/data/public/ui/saved_query_management/index.ts index f2c75068becd..05e90c8d1c1f 100644 --- a/src/plugins/data/public/ui/saved_query_management/index.ts +++ b/src/plugins/data/public/ui/saved_query_management/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SavedQueryManagementComponent } from './saved_query_management_component'; diff --git a/src/plugins/data/public/ui/saved_query_management/saved_query_list_item.tsx b/src/plugins/data/public/ui/saved_query_management/saved_query_list_item.tsx index d411a1708c6b..715166d8a833 100644 --- a/src/plugins/data/public/ui/saved_query_management/saved_query_list_item.tsx +++ b/src/plugins/data/public/ui/saved_query_management/saved_query_list_item.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiListGroupItem, EuiConfirmModal, EuiOverlayMask, EuiIconTip } from '@elastic/eui'; import React, { Fragment, useState } from 'react'; diff --git a/src/plugins/data/public/ui/saved_query_management/saved_query_management_component.tsx b/src/plugins/data/public/ui/saved_query_management/saved_query_management_component.tsx index f0dbb9262a16..da7c25254adb 100644 --- a/src/plugins/data/public/ui/saved_query_management/saved_query_management_component.tsx +++ b/src/plugins/data/public/ui/saved_query_management/saved_query_management_component.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiPopover, EuiPopoverTitle, diff --git a/src/plugins/data/public/ui/search_bar/create_search_bar.tsx b/src/plugins/data/public/ui/search_bar/create_search_bar.tsx index 1a090e16d42a..c739b955ff19 100644 --- a/src/plugins/data/public/ui/search_bar/create_search_bar.tsx +++ b/src/plugins/data/public/ui/search_bar/create_search_bar.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import React, { useEffect, useRef } from 'react'; import { CoreStart } from 'src/core/public'; diff --git a/src/plugins/data/public/ui/search_bar/index.tsx b/src/plugins/data/public/ui/search_bar/index.tsx index 40bd31a1785e..41cc1c2a992b 100644 --- a/src/plugins/data/public/ui/search_bar/index.tsx +++ b/src/plugins/data/public/ui/search_bar/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { injectI18n } from '@osd/i18n/react'; import { withOpenSearchDashboards } from '../../../../opensearch_dashboards_react/public'; diff --git a/src/plugins/data/public/ui/search_bar/lib/clear_saved_query.test.ts b/src/plugins/data/public/ui/search_bar/lib/clear_saved_query.test.ts index 5a57820c944a..7c46858bce1e 100644 --- a/src/plugins/data/public/ui/search_bar/lib/clear_saved_query.test.ts +++ b/src/plugins/data/public/ui/search_bar/lib/clear_saved_query.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { clearStateFromSavedQuery } from './clear_saved_query'; import { dataPluginMock } from '../../../mocks'; diff --git a/src/plugins/data/public/ui/search_bar/lib/clear_saved_query.ts b/src/plugins/data/public/ui/search_bar/lib/clear_saved_query.ts index a42a58d25733..48e8eaa3426b 100644 --- a/src/plugins/data/public/ui/search_bar/lib/clear_saved_query.ts +++ b/src/plugins/data/public/ui/search_bar/lib/clear_saved_query.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { QueryStart } from '../../../query'; export const clearStateFromSavedQuery = (queryService: QueryStart) => { diff --git a/src/plugins/data/public/ui/search_bar/lib/populate_state_from_saved_query.test.ts b/src/plugins/data/public/ui/search_bar/lib/populate_state_from_saved_query.test.ts index 7e860ef46d4a..52c3f981296b 100644 --- a/src/plugins/data/public/ui/search_bar/lib/populate_state_from_saved_query.test.ts +++ b/src/plugins/data/public/ui/search_bar/lib/populate_state_from_saved_query.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { populateStateFromSavedQuery } from './populate_state_from_saved_query'; import { dataPluginMock } from '../../../mocks'; diff --git a/src/plugins/data/public/ui/search_bar/lib/populate_state_from_saved_query.ts b/src/plugins/data/public/ui/search_bar/lib/populate_state_from_saved_query.ts index 86c6c3a4ed12..382fd382ac01 100644 --- a/src/plugins/data/public/ui/search_bar/lib/populate_state_from_saved_query.ts +++ b/src/plugins/data/public/ui/search_bar/lib/populate_state_from_saved_query.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { QueryStart, SavedQuery } from '../../../query'; export const populateStateFromSavedQuery = (queryService: QueryStart, savedQuery: SavedQuery) => { diff --git a/src/plugins/data/public/ui/search_bar/lib/use_filter_manager.ts b/src/plugins/data/public/ui/search_bar/lib/use_filter_manager.ts index a3db2a8f45c6..ae45e8d7a434 100644 --- a/src/plugins/data/public/ui/search_bar/lib/use_filter_manager.ts +++ b/src/plugins/data/public/ui/search_bar/lib/use_filter_manager.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useState, useEffect } from 'react'; import { Subscription } from 'rxjs'; import { DataPublicPluginStart, Filter } from '../../..'; diff --git a/src/plugins/data/public/ui/search_bar/lib/use_query_string_manager.ts b/src/plugins/data/public/ui/search_bar/lib/use_query_string_manager.ts index 4efbc11ea75e..b88bd282d442 100644 --- a/src/plugins/data/public/ui/search_bar/lib/use_query_string_manager.ts +++ b/src/plugins/data/public/ui/search_bar/lib/use_query_string_manager.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useState, useEffect } from 'react'; import { Subscription } from 'rxjs'; import { Query } from '../../..'; diff --git a/src/plugins/data/public/ui/search_bar/lib/use_saved_query.ts b/src/plugins/data/public/ui/search_bar/lib/use_saved_query.ts index 547eb63c23a9..713b2586ebe5 100644 --- a/src/plugins/data/public/ui/search_bar/lib/use_saved_query.ts +++ b/src/plugins/data/public/ui/search_bar/lib/use_saved_query.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useState, useEffect } from 'react'; import { i18n } from '@osd/i18n'; import { CoreStart } from 'opensearch-dashboards/public'; diff --git a/src/plugins/data/public/ui/search_bar/lib/use_timefilter.ts b/src/plugins/data/public/ui/search_bar/lib/use_timefilter.ts index 7dc271b2225b..0075f76d669e 100644 --- a/src/plugins/data/public/ui/search_bar/lib/use_timefilter.ts +++ b/src/plugins/data/public/ui/search_bar/lib/use_timefilter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useState, useEffect } from 'react'; import { Subscription } from 'rxjs'; import { DataPublicPluginStart, TimeRange, RefreshInterval } from 'src/plugins/data/public'; diff --git a/src/plugins/data/public/ui/search_bar/search_bar.test.tsx b/src/plugins/data/public/ui/search_bar/search_bar.test.tsx index b44e7abad793..5e3532a15989 100644 --- a/src/plugins/data/public/ui/search_bar/search_bar.test.tsx +++ b/src/plugins/data/public/ui/search_bar/search_bar.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import SearchBar from './search_bar'; diff --git a/src/plugins/data/public/ui/search_bar/search_bar.tsx b/src/plugins/data/public/ui/search_bar/search_bar.tsx index fe3eda697ff6..b05b18b6d64e 100644 --- a/src/plugins/data/public/ui/search_bar/search_bar.tsx +++ b/src/plugins/data/public/ui/search_bar/search_bar.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { compact } from 'lodash'; import { InjectedIntl, injectI18n } from '@osd/i18n/react'; import classNames from 'classnames'; diff --git a/src/plugins/data/public/ui/shard_failure_modal/__mocks__/shard_failure_request.ts b/src/plugins/data/public/ui/shard_failure_modal/__mocks__/shard_failure_request.ts index cbfcdd2b8620..f2724b2c1ebc 100644 --- a/src/plugins/data/public/ui/shard_failure_modal/__mocks__/shard_failure_request.ts +++ b/src/plugins/data/public/ui/shard_failure_modal/__mocks__/shard_failure_request.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { ShardFailureRequest } from '../shard_failure_types'; export const shardFailureRequest = { version: true, diff --git a/src/plugins/data/public/ui/shard_failure_modal/__mocks__/shard_failure_response.ts b/src/plugins/data/public/ui/shard_failure_modal/__mocks__/shard_failure_response.ts index 3e6996e9793d..9072bf0d9c43 100644 --- a/src/plugins/data/public/ui/shard_failure_modal/__mocks__/shard_failure_response.ts +++ b/src/plugins/data/public/ui/shard_failure_modal/__mocks__/shard_failure_response.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SearchResponse } from 'elasticsearch'; export const shardFailureResponse: SearchResponse = { diff --git a/src/plugins/data/public/ui/shard_failure_modal/index.tsx b/src/plugins/data/public/ui/shard_failure_modal/index.tsx index db3094756fc2..79b3ae7b3600 100644 --- a/src/plugins/data/public/ui/shard_failure_modal/index.tsx +++ b/src/plugins/data/public/ui/shard_failure_modal/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import type { ShardFailureOpenModalButtonProps } from './shard_failure_open_modal_button'; diff --git a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_description.test.tsx b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_description.test.tsx index 9a73d8734529..009aa47156d7 100644 --- a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_description.test.tsx +++ b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_description.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; import { ShardFailureDescription } from './shard_failure_description'; diff --git a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_description.tsx b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_description.tsx index 58eff3c49bac..2499a66e346c 100644 --- a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_description.tsx +++ b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_description.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { getFlattenedObject } from '@osd/std'; import { EuiCodeBlock, EuiDescriptionList, EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_description_header.tsx b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_description_header.tsx index e46528c9e1c2..461571975b7c 100644 --- a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_description_header.tsx +++ b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_description_header.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiCode, EuiTitle } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_modal.test.tsx b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_modal.test.tsx index 1fb302aa4a07..1b23d84b6e5f 100644 --- a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_modal.test.tsx +++ b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_modal.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; import { ShardFailureModal } from './shard_failure_modal'; diff --git a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_modal.tsx b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_modal.tsx index 2a43aa0d7e2f..6c7ff95f29f8 100644 --- a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_modal.tsx +++ b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_modal.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_open_modal_button.test.mocks.tsx b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_open_modal_button.test.mocks.tsx index 9bc50615f275..80e7fef7aecf 100644 --- a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_open_modal_button.test.mocks.tsx +++ b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_open_modal_button.test.mocks.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { setOverlays } from '../../services'; import { OverlayStart } from 'opensearch-dashboards/public'; diff --git a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_open_modal_button.test.tsx b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_open_modal_button.test.tsx index 68b4878bfc09..1ff83cf474c2 100644 --- a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_open_modal_button.test.tsx +++ b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_open_modal_button.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { openModal } from './shard_failure_open_modal_button.test.mocks'; import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_open_modal_button.tsx b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_open_modal_button.tsx index 20d493aa8f31..69f480f31893 100644 --- a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_open_modal_button.tsx +++ b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_open_modal_button.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; import { EuiButton, EuiTextAlign } from '@elastic/eui'; diff --git a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_table.test.tsx b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_table.test.tsx index d5a6cf5ea281..529364df93b6 100644 --- a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_table.test.tsx +++ b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_table.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; import { ShardFailureTable } from './shard_failure_table'; diff --git a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_table.tsx b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_table.tsx index 4f0ec1cc59e9..2414a4095910 100644 --- a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_table.tsx +++ b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_table.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useState, ReactElement } from 'react'; // @ts-ignore import { EuiInMemoryTable, EuiButtonIcon } from '@elastic/eui'; diff --git a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_types.ts b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_types.ts index ed48960f160b..c53d3ebfaff7 100644 --- a/src/plugins/data/public/ui/shard_failure_modal/shard_failure_types.ts +++ b/src/plugins/data/public/ui/shard_failure_modal/shard_failure_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export interface ShardFailureRequest { docvalue_fields: string[]; _source: unknown; diff --git a/src/plugins/data/public/ui/typeahead/constants.ts b/src/plugins/data/public/ui/typeahead/constants.ts index f9446215e7ce..4ee4e5827a1d 100644 --- a/src/plugins/data/public/ui/typeahead/constants.ts +++ b/src/plugins/data/public/ui/typeahead/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Minimum width in px to display suggestion description correctly * @public diff --git a/src/plugins/data/public/ui/typeahead/index.tsx b/src/plugins/data/public/ui/typeahead/index.tsx index d7271503e61a..29d50b291802 100644 --- a/src/plugins/data/public/ui/typeahead/index.tsx +++ b/src/plugins/data/public/ui/typeahead/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import type { SuggestionsComponentProps } from './suggestions_component'; diff --git a/src/plugins/data/public/ui/typeahead/suggestion_component.test.tsx b/src/plugins/data/public/ui/typeahead/suggestion_component.test.tsx index 0fc2e5f2848e..9769e4a19346 100644 --- a/src/plugins/data/public/ui/typeahead/suggestion_component.test.tsx +++ b/src/plugins/data/public/ui/typeahead/suggestion_component.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mount, shallow } from 'enzyme'; import React from 'react'; import { QuerySuggestion, QuerySuggestionTypes } from '../../autocomplete'; diff --git a/src/plugins/data/public/ui/typeahead/suggestion_component.tsx b/src/plugins/data/public/ui/typeahead/suggestion_component.tsx index ad1cba467d21..7d97f5b58283 100644 --- a/src/plugins/data/public/ui/typeahead/suggestion_component.tsx +++ b/src/plugins/data/public/ui/typeahead/suggestion_component.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiIcon } from '@elastic/eui'; import classNames from 'classnames'; import React from 'react'; diff --git a/src/plugins/data/public/ui/typeahead/suggestions_component.test.tsx b/src/plugins/data/public/ui/typeahead/suggestions_component.test.tsx index 07ab6b52dea7..7270bf9c5c15 100644 --- a/src/plugins/data/public/ui/typeahead/suggestions_component.test.tsx +++ b/src/plugins/data/public/ui/typeahead/suggestions_component.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mount, shallow } from 'enzyme'; import React from 'react'; import { QuerySuggestion, QuerySuggestionTypes } from '../../autocomplete'; diff --git a/src/plugins/data/public/ui/typeahead/suggestions_component.tsx b/src/plugins/data/public/ui/typeahead/suggestions_component.tsx index f43619ba804a..5ad555cb6702 100644 --- a/src/plugins/data/public/ui/typeahead/suggestions_component.tsx +++ b/src/plugins/data/public/ui/typeahead/suggestions_component.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isEmpty } from 'lodash'; import React, { Component } from 'react'; import classNames from 'classnames'; diff --git a/src/plugins/data/server/autocomplete/autocomplete_service.ts b/src/plugins/data/server/autocomplete/autocomplete_service.ts index f844ab1ebb77..bd3a2573f152 100644 --- a/src/plugins/data/server/autocomplete/autocomplete_service.ts +++ b/src/plugins/data/server/autocomplete/autocomplete_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TypeOf } from '@osd/config-schema'; import { CoreSetup, Plugin, PluginInitializerContext } from 'opensearch-dashboards/server'; import { registerRoutes } from './routes'; diff --git a/src/plugins/data/server/autocomplete/index.ts b/src/plugins/data/server/autocomplete/index.ts index 4da99b50d6c3..53d8f74f6770 100644 --- a/src/plugins/data/server/autocomplete/index.ts +++ b/src/plugins/data/server/autocomplete/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { AutocompleteService } from './autocomplete_service'; diff --git a/src/plugins/data/server/autocomplete/routes.ts b/src/plugins/data/server/autocomplete/routes.ts index e9142b723150..7f9df03ec9e4 100644 --- a/src/plugins/data/server/autocomplete/routes.ts +++ b/src/plugins/data/server/autocomplete/routes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { CoreSetup, SharedGlobalConfig } from 'opensearch-dashboards/server'; import { registerValueSuggestionsRoute } from './value_suggestions_route'; diff --git a/src/plugins/data/server/autocomplete/value_suggestions_route.ts b/src/plugins/data/server/autocomplete/value_suggestions_route.ts index 44de8c5966a0..1d053d05e321 100644 --- a/src/plugins/data/server/autocomplete/value_suggestions_route.ts +++ b/src/plugins/data/server/autocomplete/value_suggestions_route.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, map } from 'lodash'; import { schema } from '@osd/config-schema'; import { IRouter, SharedGlobalConfig } from 'opensearch-dashboards/server'; diff --git a/src/plugins/data/server/dql_telemetry/dql_telemetry_service.ts b/src/plugins/data/server/dql_telemetry/dql_telemetry_service.ts index 587ba1d86c25..ec338be2f11c 100644 --- a/src/plugins/data/server/dql_telemetry/dql_telemetry_service.ts +++ b/src/plugins/data/server/dql_telemetry/dql_telemetry_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { first } from 'rxjs/operators'; import { CoreSetup, Plugin, PluginInitializerContext } from 'opensearch-dashboards/server'; import { registerDqlTelemetryRoute } from './route'; diff --git a/src/plugins/data/server/dql_telemetry/index.ts b/src/plugins/data/server/dql_telemetry/index.ts index b2c33b006d18..bca7c4e607c2 100644 --- a/src/plugins/data/server/dql_telemetry/index.ts +++ b/src/plugins/data/server/dql_telemetry/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DqlTelemetryService } from './dql_telemetry_service'; diff --git a/src/plugins/data/server/dql_telemetry/route.ts b/src/plugins/data/server/dql_telemetry/route.ts index 8501eb1be98a..2f2f3459658d 100644 --- a/src/plugins/data/server/dql_telemetry/route.ts +++ b/src/plugins/data/server/dql_telemetry/route.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { StartServicesAccessor, IRouter, Logger } from 'opensearch-dashboards/server'; import { schema } from '@osd/config-schema'; diff --git a/src/plugins/data/server/dql_telemetry/usage_collector/fetch.test.ts b/src/plugins/data/server/dql_telemetry/usage_collector/fetch.test.ts index 4e493d2f5fb5..401fb1977d9e 100644 --- a/src/plugins/data/server/dql_telemetry/usage_collector/fetch.test.ts +++ b/src/plugins/data/server/dql_telemetry/usage_collector/fetch.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fetchProvider } from './fetch'; import { LegacyAPICaller } from 'opensearch-dashboards/server'; diff --git a/src/plugins/data/server/dql_telemetry/usage_collector/fetch.ts b/src/plugins/data/server/dql_telemetry/usage_collector/fetch.ts index a66b95dd0e14..54674740e846 100644 --- a/src/plugins/data/server/dql_telemetry/usage_collector/fetch.ts +++ b/src/plugins/data/server/dql_telemetry/usage_collector/fetch.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { LegacyAPICaller } from 'opensearch-dashboards/server'; import { DEFAULT_QUERY_LANGUAGE, UI_SETTINGS } from '../../../common'; diff --git a/src/plugins/data/server/dql_telemetry/usage_collector/index.ts b/src/plugins/data/server/dql_telemetry/usage_collector/index.ts index 6c9dc9221871..a44c858c5940 100644 --- a/src/plugins/data/server/dql_telemetry/usage_collector/index.ts +++ b/src/plugins/data/server/dql_telemetry/usage_collector/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { makeDQLUsageCollector } from './make_dql_usage_collector'; diff --git a/src/plugins/data/server/dql_telemetry/usage_collector/make_dql_usage_collector.test.ts b/src/plugins/data/server/dql_telemetry/usage_collector/make_dql_usage_collector.test.ts index 593b4516ad85..9792ad2f1e62 100644 --- a/src/plugins/data/server/dql_telemetry/usage_collector/make_dql_usage_collector.test.ts +++ b/src/plugins/data/server/dql_telemetry/usage_collector/make_dql_usage_collector.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { makeDQLUsageCollector } from './make_dql_usage_collector'; import { UsageCollectionSetup } from '../../../../usage_collection/server'; diff --git a/src/plugins/data/server/dql_telemetry/usage_collector/make_dql_usage_collector.ts b/src/plugins/data/server/dql_telemetry/usage_collector/make_dql_usage_collector.ts index 1b3c13d8c9a1..52dae1666ce7 100644 --- a/src/plugins/data/server/dql_telemetry/usage_collector/make_dql_usage_collector.ts +++ b/src/plugins/data/server/dql_telemetry/usage_collector/make_dql_usage_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fetchProvider, Usage } from './fetch'; import { UsageCollectionSetup } from '../../../../usage_collection/server'; diff --git a/src/plugins/data/server/field_formats/converters/date_nanos_server.test.ts b/src/plugins/data/server/field_formats/converters/date_nanos_server.test.ts index c398f2cde37b..2faa4104b9eb 100644 --- a/src/plugins/data/server/field_formats/converters/date_nanos_server.test.ts +++ b/src/plugins/data/server/field_formats/converters/date_nanos_server.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DateNanosFormat } from './date_nanos_server'; import { FieldFormatsGetConfigFn } from 'src/plugins/data/common'; diff --git a/src/plugins/data/server/field_formats/converters/date_nanos_server.ts b/src/plugins/data/server/field_formats/converters/date_nanos_server.ts index 8341abecbb60..d2aa4f39e043 100644 --- a/src/plugins/data/server/field_formats/converters/date_nanos_server.ts +++ b/src/plugins/data/server/field_formats/converters/date_nanos_server.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { memoize } from 'lodash'; import moment from 'moment-timezone'; import { diff --git a/src/plugins/data/server/field_formats/converters/date_server.ts b/src/plugins/data/server/field_formats/converters/date_server.ts index ce664639ff89..0268d0e978cd 100644 --- a/src/plugins/data/server/field_formats/converters/date_server.ts +++ b/src/plugins/data/server/field_formats/converters/date_server.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { memoize, noop } from 'lodash'; import moment from 'moment-timezone'; diff --git a/src/plugins/data/server/field_formats/converters/index.ts b/src/plugins/data/server/field_formats/converters/index.ts index 21a99a9da517..839ad2ebb714 100644 --- a/src/plugins/data/server/field_formats/converters/index.ts +++ b/src/plugins/data/server/field_formats/converters/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DateFormat } from './date_server'; export { DateNanosFormat } from './date_nanos_server'; diff --git a/src/plugins/data/server/field_formats/field_formats_service.test.ts b/src/plugins/data/server/field_formats/field_formats_service.test.ts index 2d1233353fef..a0dd997e6d98 100644 --- a/src/plugins/data/server/field_formats/field_formats_service.test.ts +++ b/src/plugins/data/server/field_formats/field_formats_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FieldFormatsService } from './field_formats_service'; import { DateFormat } from './converters/date_server'; import { coreMock } from '../../../../core/server/mocks'; diff --git a/src/plugins/data/server/field_formats/field_formats_service.ts b/src/plugins/data/server/field_formats/field_formats_service.ts index 0ff016269f2c..c917fb416784 100644 --- a/src/plugins/data/server/field_formats/field_formats_service.ts +++ b/src/plugins/data/server/field_formats/field_formats_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { has } from 'lodash'; import { FieldFormatsRegistry, diff --git a/src/plugins/data/server/field_formats/index.ts b/src/plugins/data/server/field_formats/index.ts index bd928b0c1765..80713c5c33e8 100644 --- a/src/plugins/data/server/field_formats/index.ts +++ b/src/plugins/data/server/field_formats/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { FieldFormatsService, FieldFormatsSetup, FieldFormatsStart } from './field_formats_service'; diff --git a/src/plugins/data/server/field_formats/mocks.ts b/src/plugins/data/server/field_formats/mocks.ts index 21b788a3bf04..422f0f7dabe2 100644 --- a/src/plugins/data/server/field_formats/mocks.ts +++ b/src/plugins/data/server/field_formats/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function createFieldFormatsSetupMock() { return { register: jest.fn(), diff --git a/src/plugins/data/server/index.ts b/src/plugins/data/server/index.ts index 68bdb46af12a..46c2b1ca0477 100644 --- a/src/plugins/data/server/index.ts +++ b/src/plugins/data/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginConfigDescriptor, PluginInitializerContext } from '../../../core/server'; import { ConfigSchema, configSchema } from '../config'; import { DataServerPlugin, DataPluginSetup, DataPluginStart } from './plugin'; diff --git a/src/plugins/data/server/index_patterns/capabilities_provider.ts b/src/plugins/data/server/index_patterns/capabilities_provider.ts index 046d9b424707..0f040faccceb 100644 --- a/src/plugins/data/server/index_patterns/capabilities_provider.ts +++ b/src/plugins/data/server/index_patterns/capabilities_provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const capabilitiesProvider = () => ({ indexPatterns: { save: true, diff --git a/src/plugins/data/server/index_patterns/fetcher/index.ts b/src/plugins/data/server/index_patterns/fetcher/index.ts index 238c3240a2cb..d252a4c261fb 100644 --- a/src/plugins/data/server/index_patterns/fetcher/index.ts +++ b/src/plugins/data/server/index_patterns/fetcher/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './index_patterns_fetcher'; export { shouldReadFieldFromDocValues } from './lib'; diff --git a/src/plugins/data/server/index_patterns/fetcher/index_patterns_fetcher.ts b/src/plugins/data/server/index_patterns/fetcher/index_patterns_fetcher.ts index e785bdb1cc09..9144e505133c 100644 --- a/src/plugins/data/server/index_patterns/fetcher/index_patterns_fetcher.ts +++ b/src/plugins/data/server/index_patterns/fetcher/index_patterns_fetcher.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LegacyAPICaller } from 'opensearch-dashboards/server'; import { getFieldCapabilities, resolveTimePattern, createNoMatchingIndicesError } from './lib'; diff --git a/src/plugins/data/server/index_patterns/fetcher/lib/errors.ts b/src/plugins/data/server/index_patterns/fetcher/lib/errors.ts index 7c1c3629c117..252c4909a5fe 100644 --- a/src/plugins/data/server/index_patterns/fetcher/lib/errors.ts +++ b/src/plugins/data/server/index_patterns/fetcher/lib/errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Boom from '@hapi/boom'; import { get } from 'lodash'; diff --git a/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_capabilities.test.js b/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_capabilities.test.js index 228bf507ee51..2f197d875bc6 100644 --- a/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_capabilities.test.js +++ b/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_capabilities.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint import/no-duplicates: 0 */ import sinon from 'sinon'; import { identity, shuffle, sortBy } from 'lodash'; diff --git a/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_capabilities.ts b/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_capabilities.ts index be0fb07fbe75..0aee1222a361 100644 --- a/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_capabilities.ts +++ b/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_capabilities.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { defaults, keyBy, sortBy } from 'lodash'; import { LegacyAPICaller } from 'opensearch-dashboards/server'; diff --git a/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_caps_response.test.js b/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_caps_response.test.js index 982ccf860cc3..7b4a954e561b 100644 --- a/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_caps_response.test.js +++ b/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_caps_response.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint import/no-duplicates: 0 */ import { cloneDeep, omit } from 'lodash'; import sinon from 'sinon'; diff --git a/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_caps_response.ts b/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_caps_response.ts index 0af5a2f726ce..cc135c3f4430 100644 --- a/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_caps_response.ts +++ b/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_caps_response.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { uniq } from 'lodash'; import { castOpenSearchToOsdFieldTypeName } from '../../../../../common'; import { shouldReadFieldFromDocValues } from './should_read_field_from_doc_values'; diff --git a/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/index.ts b/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/index.ts index e1b76337a833..d50e0a4d7011 100644 --- a/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/index.ts +++ b/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getFieldCapabilities } from './field_capabilities'; export { FieldCapsResponse } from './field_caps_response'; export { shouldReadFieldFromDocValues } from './should_read_field_from_doc_values'; diff --git a/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/overrides.ts b/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/overrides.ts index 89d15d83f6fd..c16713e71348 100644 --- a/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/overrides.ts +++ b/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/overrides.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { merge } from 'lodash'; import { FieldDescriptor } from '../../index_patterns_fetcher'; diff --git a/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/should_read_field_from_doc_values.test.ts b/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/should_read_field_from_doc_values.test.ts index bf988dbbff61..ea95f47a8270 100644 --- a/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/should_read_field_from_doc_values.test.ts +++ b/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/should_read_field_from_doc_values.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { shouldReadFieldFromDocValues } from './should_read_field_from_doc_values'; describe('shouldReadFieldFromDocValues', () => { diff --git a/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts b/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts index 949b51b2089f..a5e047528ebc 100644 --- a/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts +++ b/src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function shouldReadFieldFromDocValues(aggregatable: boolean, opensearchType: string) { return ( aggregatable && diff --git a/src/plugins/data/server/index_patterns/fetcher/lib/index.ts b/src/plugins/data/server/index_patterns/fetcher/lib/index.ts index 5208b2ec382a..bc5f81b72a23 100644 --- a/src/plugins/data/server/index_patterns/fetcher/lib/index.ts +++ b/src/plugins/data/server/index_patterns/fetcher/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getFieldCapabilities, shouldReadFieldFromDocValues } from './field_capabilities'; export { resolveTimePattern } from './resolve_time_pattern'; export { createNoMatchingIndicesError } from './errors'; diff --git a/src/plugins/data/server/index_patterns/fetcher/lib/opensearch_api.test.js b/src/plugins/data/server/index_patterns/fetcher/lib/opensearch_api.test.js index c187dc7aa101..f2780ad3bf95 100644 --- a/src/plugins/data/server/index_patterns/fetcher/lib/opensearch_api.test.js +++ b/src/plugins/data/server/index_patterns/fetcher/lib/opensearch_api.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint import/no-duplicates: 0 */ import sinon from 'sinon'; diff --git a/src/plugins/data/server/index_patterns/fetcher/lib/opensearch_api.ts b/src/plugins/data/server/index_patterns/fetcher/lib/opensearch_api.ts index 3c174f0b2553..9e090a414628 100644 --- a/src/plugins/data/server/index_patterns/fetcher/lib/opensearch_api.ts +++ b/src/plugins/data/server/index_patterns/fetcher/lib/opensearch_api.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LegacyAPICaller } from 'opensearch-dashboards/server'; import { convertOpenSearchError } from './errors'; import { FieldCapsResponse } from './field_capabilities'; diff --git a/src/plugins/data/server/index_patterns/fetcher/lib/resolve_time_pattern.test.js b/src/plugins/data/server/index_patterns/fetcher/lib/resolve_time_pattern.test.js index dea6176f8944..cfec9dc8939c 100644 --- a/src/plugins/data/server/index_patterns/fetcher/lib/resolve_time_pattern.test.js +++ b/src/plugins/data/server/index_patterns/fetcher/lib/resolve_time_pattern.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint import/no-duplicates: 0 */ import sinon from 'sinon'; import { noop } from 'lodash'; diff --git a/src/plugins/data/server/index_patterns/fetcher/lib/resolve_time_pattern.ts b/src/plugins/data/server/index_patterns/fetcher/lib/resolve_time_pattern.ts index 8ad68080e840..cff81b650204 100644 --- a/src/plugins/data/server/index_patterns/fetcher/lib/resolve_time_pattern.ts +++ b/src/plugins/data/server/index_patterns/fetcher/lib/resolve_time_pattern.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { chain } from 'lodash'; import moment from 'moment'; diff --git a/src/plugins/data/server/index_patterns/fetcher/lib/time_pattern_to_wildcard.test.ts b/src/plugins/data/server/index_patterns/fetcher/lib/time_pattern_to_wildcard.test.ts index a1920c749409..654335e92d62 100644 --- a/src/plugins/data/server/index_patterns/fetcher/lib/time_pattern_to_wildcard.test.ts +++ b/src/plugins/data/server/index_patterns/fetcher/lib/time_pattern_to_wildcard.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { timePatternToWildcard } from './time_pattern_to_wildcard'; describe('server/index_patterns/service/lib/time_pattern_to_wildcard', () => { diff --git a/src/plugins/data/server/index_patterns/fetcher/lib/time_pattern_to_wildcard.ts b/src/plugins/data/server/index_patterns/fetcher/lib/time_pattern_to_wildcard.ts index 3bd0261dcb5a..d9175085dde8 100644 --- a/src/plugins/data/server/index_patterns/fetcher/lib/time_pattern_to_wildcard.ts +++ b/src/plugins/data/server/index_patterns/fetcher/lib/time_pattern_to_wildcard.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Convert a moment time pattern to an index wildcard * by extracting all of the "plain text" component and diff --git a/src/plugins/data/server/index_patterns/index.ts b/src/plugins/data/server/index_patterns/index.ts index b4e8d9e7b527..b2e832294e41 100644 --- a/src/plugins/data/server/index_patterns/index.ts +++ b/src/plugins/data/server/index_patterns/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export * from './utils'; export { IndexPatternsFetcher, FieldDescriptor, shouldReadFieldFromDocValues } from './fetcher'; export { IndexPatternsService, IndexPatternsServiceStart } from './index_patterns_service'; diff --git a/src/plugins/data/server/index_patterns/index_patterns_api_client.ts b/src/plugins/data/server/index_patterns/index_patterns_api_client.ts index 80044406f535..ebfadf00b943 100644 --- a/src/plugins/data/server/index_patterns/index_patterns_api_client.ts +++ b/src/plugins/data/server/index_patterns/index_patterns_api_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { GetFieldsOptions, IIndexPatternsApiClient } from '../../common/index_patterns/types'; export class IndexPatternsApiServer implements IIndexPatternsApiClient { diff --git a/src/plugins/data/server/index_patterns/index_patterns_service.ts b/src/plugins/data/server/index_patterns/index_patterns_service.ts index 7c609c8dc4fe..4917e4240f52 100644 --- a/src/plugins/data/server/index_patterns/index_patterns_service.ts +++ b/src/plugins/data/server/index_patterns/index_patterns_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, CoreStart, diff --git a/src/plugins/data/server/index_patterns/mocks.ts b/src/plugins/data/server/index_patterns/mocks.ts index 6e7a263b185c..de0012531823 100644 --- a/src/plugins/data/server/index_patterns/mocks.ts +++ b/src/plugins/data/server/index_patterns/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function createIndexPatternsStartMock() { return { indexPatternsServiceFactory: jest.fn(), diff --git a/src/plugins/data/server/index_patterns/routes.ts b/src/plugins/data/server/index_patterns/routes.ts index 2096b56b6db4..83632615cd84 100644 --- a/src/plugins/data/server/index_patterns/routes.ts +++ b/src/plugins/data/server/index_patterns/routes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { HttpServiceSetup, RequestHandlerContext } from 'opensearch-dashboards/server'; import { IndexPatternsFetcher } from './fetcher'; diff --git a/src/plugins/data/server/index_patterns/saved_objects_client_wrapper.ts b/src/plugins/data/server/index_patterns/saved_objects_client_wrapper.ts index 2e2ef07be984..5cf1335cb5b9 100644 --- a/src/plugins/data/server/index_patterns/saved_objects_client_wrapper.ts +++ b/src/plugins/data/server/index_patterns/saved_objects_client_wrapper.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsClientContract, SavedObject } from 'src/core/server'; import { SavedObjectsClientCommon, diff --git a/src/plugins/data/server/index_patterns/ui_settings_wrapper.ts b/src/plugins/data/server/index_patterns/ui_settings_wrapper.ts index 1e04a95dfa40..2093115af380 100644 --- a/src/plugins/data/server/index_patterns/ui_settings_wrapper.ts +++ b/src/plugins/data/server/index_patterns/ui_settings_wrapper.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IUiSettingsClient } from 'src/core/server'; import { UiSettingsCommon } from '../../common/index_patterns'; diff --git a/src/plugins/data/server/index_patterns/utils.ts b/src/plugins/data/server/index_patterns/utils.ts index a0d02b5da028..99515c2168dd 100644 --- a/src/plugins/data/server/index_patterns/utils.ts +++ b/src/plugins/data/server/index_patterns/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsClientContract } from 'opensearch-dashboards/server'; import { IFieldType, IndexPatternAttributes, SavedObject } from '../../common'; diff --git a/src/plugins/data/server/lib/get_request_aborted_signal.test.ts b/src/plugins/data/server/lib/get_request_aborted_signal.test.ts index 7a171813bf08..945c4fb7f79c 100644 --- a/src/plugins/data/server/lib/get_request_aborted_signal.test.ts +++ b/src/plugins/data/server/lib/get_request_aborted_signal.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Subject } from 'rxjs'; import { getRequestAbortedSignal } from './get_request_aborted_signal'; diff --git a/src/plugins/data/server/lib/get_request_aborted_signal.ts b/src/plugins/data/server/lib/get_request_aborted_signal.ts index 24a59b8e7d0b..570cdde5b29d 100644 --- a/src/plugins/data/server/lib/get_request_aborted_signal.ts +++ b/src/plugins/data/server/lib/get_request_aborted_signal.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; // @ts-ignore not typed import { AbortController } from 'abortcontroller-polyfill/dist/cjs-ponyfill'; diff --git a/src/plugins/data/server/lib/index.ts b/src/plugins/data/server/lib/index.ts index 6c66f7a98157..4409402c3a8b 100644 --- a/src/plugins/data/server/lib/index.ts +++ b/src/plugins/data/server/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getRequestAbortedSignal } from './get_request_aborted_signal'; diff --git a/src/plugins/data/server/mocks.ts b/src/plugins/data/server/mocks.ts index b3b5e1bdd4d4..85ba444210b8 100644 --- a/src/plugins/data/server/mocks.ts +++ b/src/plugins/data/server/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createSearchSetupMock, createSearchStartMock } from './search/mocks'; import { createFieldFormatsSetupMock, createFieldFormatsStartMock } from './field_formats/mocks'; import { createIndexPatternsStartMock } from './index_patterns/mocks'; diff --git a/src/plugins/data/server/plugin.ts b/src/plugins/data/server/plugin.ts index 0024daf973e1..f8e3bb5bacdb 100644 --- a/src/plugins/data/server/plugin.ts +++ b/src/plugins/data/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, CoreSetup, CoreStart, Plugin, Logger } from 'src/core/server'; import { ExpressionsServerSetup } from 'src/plugins/expressions/server'; import { ConfigSchema } from '../config'; diff --git a/src/plugins/data/server/query/index.ts b/src/plugins/data/server/query/index.ts index f90fa48f549e..6ec8f6feada4 100644 --- a/src/plugins/data/server/query/index.ts +++ b/src/plugins/data/server/query/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { QueryService } from './query_service'; diff --git a/src/plugins/data/server/query/query_service.ts b/src/plugins/data/server/query/query_service.ts index 324e87c5ea9f..5f629eb1d22e 100644 --- a/src/plugins/data/server/query/query_service.ts +++ b/src/plugins/data/server/query/query_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, Plugin } from 'opensearch-dashboards/server'; import { querySavedObjectType } from '../saved_objects'; diff --git a/src/plugins/data/server/saved_objects/dql_telemetry.ts b/src/plugins/data/server/saved_objects/dql_telemetry.ts index d8da29b9778c..7b6f58b61c33 100644 --- a/src/plugins/data/server/saved_objects/dql_telemetry.ts +++ b/src/plugins/data/server/saved_objects/dql_telemetry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SavedObjectsType } from 'opensearch-dashboards/server'; export const dqlTelemetry: SavedObjectsType = { diff --git a/src/plugins/data/server/saved_objects/index.ts b/src/plugins/data/server/saved_objects/index.ts index a11a832c6a8d..c262a368456a 100644 --- a/src/plugins/data/server/saved_objects/index.ts +++ b/src/plugins/data/server/saved_objects/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { querySavedObjectType } from './query'; export { indexPatternSavedObjectType } from './index_patterns'; export { dqlTelemetry } from './dql_telemetry'; diff --git a/src/plugins/data/server/saved_objects/index_pattern_migrations.test.ts b/src/plugins/data/server/saved_objects/index_pattern_migrations.test.ts index cec537667cb8..8c2cc7461e42 100644 --- a/src/plugins/data/server/saved_objects/index_pattern_migrations.test.ts +++ b/src/plugins/data/server/saved_objects/index_pattern_migrations.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectMigrationContext } from 'opensearch-dashboards/server'; import { indexPatternSavedObjectTypeMigrations } from './index_pattern_migrations'; diff --git a/src/plugins/data/server/saved_objects/index_pattern_migrations.ts b/src/plugins/data/server/saved_objects/index_pattern_migrations.ts index ed922b21bcf1..e99fecc7fcf9 100644 --- a/src/plugins/data/server/saved_objects/index_pattern_migrations.ts +++ b/src/plugins/data/server/saved_objects/index_pattern_migrations.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { flow, omit } from 'lodash'; import { SavedObjectMigrationFn } from 'opensearch-dashboards/server'; diff --git a/src/plugins/data/server/saved_objects/index_patterns.ts b/src/plugins/data/server/saved_objects/index_patterns.ts index f60b5d0e3ac8..5f0864bac926 100644 --- a/src/plugins/data/server/saved_objects/index_patterns.ts +++ b/src/plugins/data/server/saved_objects/index_patterns.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsType } from 'opensearch-dashboards/server'; import { indexPatternSavedObjectTypeMigrations } from './index_pattern_migrations'; diff --git a/src/plugins/data/server/saved_objects/query.ts b/src/plugins/data/server/saved_objects/query.ts index 53455393c235..1b7b027a6121 100644 --- a/src/plugins/data/server/saved_objects/query.ts +++ b/src/plugins/data/server/saved_objects/query.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsType } from 'opensearch-dashboards/server'; export const querySavedObjectType: SavedObjectsType = { diff --git a/src/plugins/data/server/saved_objects/search_telemetry.ts b/src/plugins/data/server/saved_objects/search_telemetry.ts index ba5cada14de4..e1073ab5c1aa 100644 --- a/src/plugins/data/server/saved_objects/search_telemetry.ts +++ b/src/plugins/data/server/saved_objects/search_telemetry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SavedObjectsType } from 'opensearch-dashboards/server'; export const searchTelemetry: SavedObjectsType = { diff --git a/src/plugins/data/server/scripts/index.ts b/src/plugins/data/server/scripts/index.ts index d7780cde3057..e6cbe7026fa8 100644 --- a/src/plugins/data/server/scripts/index.ts +++ b/src/plugins/data/server/scripts/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ScriptsService } from './scripts_service'; diff --git a/src/plugins/data/server/scripts/route.ts b/src/plugins/data/server/scripts/route.ts index b98c32066633..1d426f7b1fe7 100644 --- a/src/plugins/data/server/scripts/route.ts +++ b/src/plugins/data/server/scripts/route.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IRouter } from 'opensearch-dashboards/server'; export function registerScriptsRoute(router: IRouter) { diff --git a/src/plugins/data/server/scripts/scripts_service.ts b/src/plugins/data/server/scripts/scripts_service.ts index 59d48f376255..a07e309c57bd 100644 --- a/src/plugins/data/server/scripts/scripts_service.ts +++ b/src/plugins/data/server/scripts/scripts_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, Plugin } from 'opensearch-dashboards/server'; import { registerScriptsRoute } from './route'; diff --git a/src/plugins/data/server/search/aggs/aggs_service.test.ts b/src/plugins/data/server/search/aggs/aggs_service.test.ts index 6114a054b57f..a3e79e539e73 100644 --- a/src/plugins/data/server/search/aggs/aggs_service.test.ts +++ b/src/plugins/data/server/search/aggs/aggs_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchDashboardsRequest } from 'src/core/server'; import { coreMock } from '../../../../../core/server/mocks'; diff --git a/src/plugins/data/server/search/aggs/aggs_service.ts b/src/plugins/data/server/search/aggs/aggs_service.ts index 8213038484ac..da1c5d7ee25a 100644 --- a/src/plugins/data/server/search/aggs/aggs_service.ts +++ b/src/plugins/data/server/search/aggs/aggs_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { pick } from 'lodash'; import { UiSettingsServiceStart, SavedObjectsClientContract } from 'src/core/server'; diff --git a/src/plugins/data/server/search/aggs/index.ts b/src/plugins/data/server/search/aggs/index.ts index 5a075eec1ea1..84df0f7b29da 100644 --- a/src/plugins/data/server/search/aggs/index.ts +++ b/src/plugins/data/server/search/aggs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './aggs_service'; export * from './types'; diff --git a/src/plugins/data/server/search/aggs/mocks.ts b/src/plugins/data/server/search/aggs/mocks.ts index e375316e6e14..ebf66f45921d 100644 --- a/src/plugins/data/server/search/aggs/mocks.ts +++ b/src/plugins/data/server/search/aggs/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggConfigs, AggTypesRegistrySetup, diff --git a/src/plugins/data/server/search/aggs/types.ts b/src/plugins/data/server/search/aggs/types.ts index 9f1f51dcb1e8..7dc6931968e7 100644 --- a/src/plugins/data/server/search/aggs/types.ts +++ b/src/plugins/data/server/search/aggs/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsClientContract } from 'src/core/server'; import { AggsCommonSetup, AggsStart as Start } from '../../../common'; diff --git a/src/plugins/data/server/search/collectors/fetch.ts b/src/plugins/data/server/search/collectors/fetch.ts index 77342b96aab9..89bafb1ee50c 100644 --- a/src/plugins/data/server/search/collectors/fetch.ts +++ b/src/plugins/data/server/search/collectors/fetch.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { first } from 'rxjs/operators'; import { LegacyAPICaller, SharedGlobalConfig } from 'opensearch-dashboards/server'; diff --git a/src/plugins/data/server/search/collectors/index.ts b/src/plugins/data/server/search/collectors/index.ts index e5894b3fe575..5d8b7480ba71 100644 --- a/src/plugins/data/server/search/collectors/index.ts +++ b/src/plugins/data/server/search/collectors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { usageProvider, SearchUsage } from './usage'; diff --git a/src/plugins/data/server/search/collectors/register.ts b/src/plugins/data/server/search/collectors/register.ts index 98aa2138390f..f31cda16756d 100644 --- a/src/plugins/data/server/search/collectors/register.ts +++ b/src/plugins/data/server/search/collectors/register.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/server'; import { UsageCollectionSetup } from '../../../../usage_collection/server'; import { fetchProvider } from './fetch'; diff --git a/src/plugins/data/server/search/collectors/usage.ts b/src/plugins/data/server/search/collectors/usage.ts index 148266be287c..03008250a0bf 100644 --- a/src/plugins/data/server/search/collectors/usage.ts +++ b/src/plugins/data/server/search/collectors/usage.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup } from 'opensearch-dashboards/server'; import { Usage } from './register'; diff --git a/src/plugins/data/server/search/index.ts b/src/plugins/data/server/search/index.ts index 19abf17000a1..16fd6a67d51e 100644 --- a/src/plugins/data/server/search/index.ts +++ b/src/plugins/data/server/search/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ISearchStrategy, ISearchSetup, ISearchStart, SearchEnhancements } from './types'; export * from './opensearch_search'; diff --git a/src/plugins/data/server/search/mocks.ts b/src/plugins/data/server/search/mocks.ts index 12233c16ab41..b8a72e892eaa 100644 --- a/src/plugins/data/server/search/mocks.ts +++ b/src/plugins/data/server/search/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ISearchSetup, ISearchStart } from './types'; import { searchAggsSetupMock, searchAggsStartMock } from './aggs/mocks'; import { searchSourceMock } from './search_source/mocks'; diff --git a/src/plugins/data/server/search/opensearch_search/get_default_search_params.ts b/src/plugins/data/server/search/opensearch_search/get_default_search_params.ts index a64ba3121496..d7cbd48a6507 100644 --- a/src/plugins/data/server/search/opensearch_search/get_default_search_params.ts +++ b/src/plugins/data/server/search/opensearch_search/get_default_search_params.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SharedGlobalConfig, IUiSettingsClient } from '../../../../../core/server'; import { UI_SETTINGS } from '../../../common/constants'; diff --git a/src/plugins/data/server/search/opensearch_search/get_total_loaded.test.ts b/src/plugins/data/server/search/opensearch_search/get_total_loaded.test.ts index b50206005a6c..df7b990a424b 100644 --- a/src/plugins/data/server/search/opensearch_search/get_total_loaded.test.ts +++ b/src/plugins/data/server/search/opensearch_search/get_total_loaded.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getTotalLoaded } from './get_total_loaded'; describe('getTotalLoaded', () => { diff --git a/src/plugins/data/server/search/opensearch_search/get_total_loaded.ts b/src/plugins/data/server/search/opensearch_search/get_total_loaded.ts index 3ebe3b3aad49..a634b940cacd 100644 --- a/src/plugins/data/server/search/opensearch_search/get_total_loaded.ts +++ b/src/plugins/data/server/search/opensearch_search/get_total_loaded.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ShardsResponse } from 'elasticsearch'; /** diff --git a/src/plugins/data/server/search/opensearch_search/index.ts b/src/plugins/data/server/search/opensearch_search/index.ts index 1edf95621576..da9f87aa22a0 100644 --- a/src/plugins/data/server/search/opensearch_search/index.ts +++ b/src/plugins/data/server/search/opensearch_search/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { opensearchSearchStrategyProvider } from './opensearch_search_strategy'; export * from './get_default_search_params'; export { getTotalLoaded } from './get_total_loaded'; diff --git a/src/plugins/data/server/search/opensearch_search/opensearch.ts b/src/plugins/data/server/search/opensearch_search/opensearch.ts index ee393e8b6bf0..4aeb8f682616 100644 --- a/src/plugins/data/server/search/opensearch_search/opensearch.ts +++ b/src/plugins/data/server/search/opensearch_search/opensearch.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface StringMap { [key: string]: T; } diff --git a/src/plugins/data/server/search/opensearch_search/opensearch_search_strategy.test.ts b/src/plugins/data/server/search/opensearch_search/opensearch_search_strategy.test.ts index 7b7fa72cc591..6207273c95c9 100644 --- a/src/plugins/data/server/search/opensearch_search/opensearch_search_strategy.test.ts +++ b/src/plugins/data/server/search/opensearch_search/opensearch_search_strategy.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { RequestHandlerContext } from '../../../../../core/server'; import { pluginInitializerContextConfigMock } from '../../../../../core/server/mocks'; import { opensearchSearchStrategyProvider } from './opensearch_search_strategy'; diff --git a/src/plugins/data/server/search/opensearch_search/opensearch_search_strategy.ts b/src/plugins/data/server/search/opensearch_search/opensearch_search_strategy.ts index 1c0891b11209..a29885a0a9f2 100644 --- a/src/plugins/data/server/search/opensearch_search/opensearch_search_strategy.ts +++ b/src/plugins/data/server/search/opensearch_search/opensearch_search_strategy.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { first } from 'rxjs/operators'; import { SharedGlobalConfig, Logger } from 'opensearch-dashboards/server'; import { SearchResponse } from 'elasticsearch'; diff --git a/src/plugins/data/server/search/opensearch_search/shim_abort_signal.test.ts b/src/plugins/data/server/search/opensearch_search/shim_abort_signal.test.ts index 9c84862f443e..e2291d32ae81 100644 --- a/src/plugins/data/server/search/opensearch_search/shim_abort_signal.test.ts +++ b/src/plugins/data/server/search/opensearch_search/shim_abort_signal.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { opensearchServiceMock } from '../../../../../core/server/mocks'; import { shimAbortSignal } from '.'; diff --git a/src/plugins/data/server/search/opensearch_search/shim_abort_signal.ts b/src/plugins/data/server/search/opensearch_search/shim_abort_signal.ts index cc35986fe37a..6760827cc267 100644 --- a/src/plugins/data/server/search/opensearch_search/shim_abort_signal.ts +++ b/src/plugins/data/server/search/opensearch_search/shim_abort_signal.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TransportRequestPromise } from '@opensearch-project/opensearch/lib/Transport'; /** diff --git a/src/plugins/data/server/search/opensearch_search/to_snake_case.ts b/src/plugins/data/server/search/opensearch_search/to_snake_case.ts index c5b3367cc3fe..f87c22bdb940 100644 --- a/src/plugins/data/server/search/opensearch_search/to_snake_case.ts +++ b/src/plugins/data/server/search/opensearch_search/to_snake_case.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapKeys, snakeCase } from 'lodash'; export function toSnakeCase(obj: Record) { diff --git a/src/plugins/data/server/search/routes/call_msearch.test.ts b/src/plugins/data/server/search/routes/call_msearch.test.ts index 9145284d297a..243b4c405830 100644 --- a/src/plugins/data/server/search/routes/call_msearch.test.ts +++ b/src/plugins/data/server/search/routes/call_msearch.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { IUiSettingsClient, IScopedClusterClient, SharedGlobalConfig } from 'src/core/server'; diff --git a/src/plugins/data/server/search/routes/call_msearch.ts b/src/plugins/data/server/search/routes/call_msearch.ts index 06cdee7a0730..dc257620fcca 100644 --- a/src/plugins/data/server/search/routes/call_msearch.ts +++ b/src/plugins/data/server/search/routes/call_msearch.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { first } from 'rxjs/operators'; import { ApiResponse } from '@opensearch-project/opensearch'; diff --git a/src/plugins/data/server/search/routes/index.ts b/src/plugins/data/server/search/routes/index.ts index fc08f3864000..bbca1a34186e 100644 --- a/src/plugins/data/server/search/routes/index.ts +++ b/src/plugins/data/server/search/routes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './call_msearch'; export * from './msearch'; export * from './search'; diff --git a/src/plugins/data/server/search/routes/msearch.test.ts b/src/plugins/data/server/search/routes/msearch.test.ts index 3505ee72b06e..36f4c884c024 100644 --- a/src/plugins/data/server/search/routes/msearch.test.ts +++ b/src/plugins/data/server/search/routes/msearch.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { diff --git a/src/plugins/data/server/search/routes/msearch.ts b/src/plugins/data/server/search/routes/msearch.ts index 307a5b6c4865..2dc13098aa3c 100644 --- a/src/plugins/data/server/search/routes/msearch.ts +++ b/src/plugins/data/server/search/routes/msearch.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { IRouter } from 'src/core/server'; diff --git a/src/plugins/data/server/search/routes/search.test.ts b/src/plugins/data/server/search/routes/search.test.ts index cffa39674fe2..12afc8a577f9 100644 --- a/src/plugins/data/server/search/routes/search.test.ts +++ b/src/plugins/data/server/search/routes/search.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { diff --git a/src/plugins/data/server/search/routes/search.ts b/src/plugins/data/server/search/routes/search.ts index 4b07c9c4d9c7..1fa4c00e2463 100644 --- a/src/plugins/data/server/search/routes/search.ts +++ b/src/plugins/data/server/search/routes/search.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { IRouter } from 'src/core/server'; import { getRequestAbortedSignal } from '../../lib'; diff --git a/src/plugins/data/server/search/routes/shim_hits_total.test.ts b/src/plugins/data/server/search/routes/shim_hits_total.test.ts index 7c266cfff25c..c48b74e6115d 100644 --- a/src/plugins/data/server/search/routes/shim_hits_total.test.ts +++ b/src/plugins/data/server/search/routes/shim_hits_total.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { shimHitsTotal } from './shim_hits_total'; describe('shimHitsTotal', () => { diff --git a/src/plugins/data/server/search/routes/shim_hits_total.ts b/src/plugins/data/server/search/routes/shim_hits_total.ts index 36378788f3f3..7eb06188d588 100644 --- a/src/plugins/data/server/search/routes/shim_hits_total.ts +++ b/src/plugins/data/server/search/routes/shim_hits_total.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SearchResponse } from 'elasticsearch'; /** diff --git a/src/plugins/data/server/search/search_service.test.ts b/src/plugins/data/server/search/search_service.test.ts index 1ff6cf94d8de..1cece2277c09 100644 --- a/src/plugins/data/server/search/search_service.test.ts +++ b/src/plugins/data/server/search/search_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, CoreStart } from '../../../../core/server'; import { coreMock } from '../../../../core/server/mocks'; diff --git a/src/plugins/data/server/search/search_service.ts b/src/plugins/data/server/search/search_service.ts index 767df7f0bfd0..8ae31b10b48f 100644 --- a/src/plugins/data/server/search/search_service.ts +++ b/src/plugins/data/server/search/search_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject, Observable } from 'rxjs'; import { pick } from 'lodash'; import { diff --git a/src/plugins/data/server/search/search_source/mocks.ts b/src/plugins/data/server/search/search_source/mocks.ts index 43ea263c85f2..fd13111f9b4d 100644 --- a/src/plugins/data/server/search/search_source/mocks.ts +++ b/src/plugins/data/server/search/search_source/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchDashboardsRequest } from 'src/core/server'; import { searchSourceCommonMock } from '../../../common/search/search_source/mocks'; diff --git a/src/plugins/data/server/search/types.ts b/src/plugins/data/server/search/types.ts index 45e1317d1d0e..75f21d39c0bf 100644 --- a/src/plugins/data/server/search/types.ts +++ b/src/plugins/data/server/search/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchDashboardsRequest, RequestHandlerContext } from 'src/core/server'; import { ISearchOptions, diff --git a/src/plugins/data/server/ui_settings.ts b/src/plugins/data/server/ui_settings.ts index 2fa00db3f089..d259b2b0d7df 100644 --- a/src/plugins/data/server/ui_settings.ts +++ b/src/plugins/data/server/ui_settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { schema } from '@osd/config-schema'; import { UiSettingsParams } from 'opensearch-dashboards/server'; diff --git a/src/plugins/dev_tools/public/application.tsx b/src/plugins/dev_tools/public/application.tsx index e0378c192560..21b7dede2462 100644 --- a/src/plugins/dev_tools/public/application.tsx +++ b/src/plugins/dev_tools/public/application.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useRef } from 'react'; import ReactDOM from 'react-dom'; import { HashRouter as Router, Switch, Route, Redirect } from 'react-router-dom'; diff --git a/src/plugins/dev_tools/public/dev_tool.ts b/src/plugins/dev_tools/public/dev_tool.ts index 9c3bfad4a003..1d3ef5abef33 100644 --- a/src/plugins/dev_tools/public/dev_tool.ts +++ b/src/plugins/dev_tools/public/dev_tool.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AppMount } from 'src/core/public'; /** diff --git a/src/plugins/dev_tools/public/index.ts b/src/plugins/dev_tools/public/index.ts index 1f0a0bcc58f8..efe768919647 100644 --- a/src/plugins/dev_tools/public/index.ts +++ b/src/plugins/dev_tools/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { DevToolsPlugin } from './plugin'; diff --git a/src/plugins/dev_tools/public/plugin.ts b/src/plugins/dev_tools/public/plugin.ts index b27f74f63943..364f1a93afda 100644 --- a/src/plugins/dev_tools/public/plugin.ts +++ b/src/plugins/dev_tools/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { Plugin, CoreSetup, AppMountParameters } from 'src/core/public'; import { AppUpdater } from 'opensearch-dashboards/public'; diff --git a/src/plugins/discover/common/index.ts b/src/plugins/discover/common/index.ts index aecffc0b10b5..371442385bbf 100644 --- a/src/plugins/discover/common/index.ts +++ b/src/plugins/discover/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const DEFAULT_COLUMNS_SETTING = 'defaultColumns'; export const SAMPLE_SIZE_SETTING = 'discover:sampleSize'; export const AGGS_TERMS_SIZE_SETTING = 'discover:aggs:terms:size'; diff --git a/src/plugins/discover/public/application/angular/context.js b/src/plugins/discover/public/application/angular/context.js index 0535f8e503ed..4757102315c0 100644 --- a/src/plugins/discover/public/application/angular/context.js +++ b/src/plugins/discover/public/application/angular/context.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; import { CONTEXT_DEFAULT_SIZE_SETTING } from '../../../common'; diff --git a/src/plugins/discover/public/application/angular/context/api/_stubs.js b/src/plugins/discover/public/application/angular/context/api/_stubs.js index ced79e303c9a..99b531edfc0b 100644 --- a/src/plugins/discover/public/application/angular/context/api/_stubs.js +++ b/src/plugins/discover/public/application/angular/context/api/_stubs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon from 'sinon'; import moment from 'moment'; diff --git a/src/plugins/discover/public/application/angular/context/api/anchor.js b/src/plugins/discover/public/application/angular/context/api/anchor.js index bdd47dbd2a7b..599379e128b0 100644 --- a/src/plugins/discover/public/application/angular/context/api/anchor.js +++ b/src/plugins/discover/public/application/angular/context/api/anchor.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/discover/public/application/angular/context/api/anchor.test.js b/src/plugins/discover/public/application/angular/context/api/anchor.test.js index 1eea1f2ea241..676aabb5c3b8 100644 --- a/src/plugins/discover/public/application/angular/context/api/anchor.test.js +++ b/src/plugins/discover/public/application/angular/context/api/anchor.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createIndexPatternsStub, createSearchSourceStub } from './_stubs'; import { fetchAnchorProvider } from './anchor'; diff --git a/src/plugins/discover/public/application/angular/context/api/context.predecessors.test.js b/src/plugins/discover/public/application/angular/context/api/context.predecessors.test.js index 799e83f5bf0c..52ddc2978ad8 100644 --- a/src/plugins/discover/public/application/angular/context/api/context.predecessors.test.js +++ b/src/plugins/discover/public/application/angular/context/api/context.predecessors.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { get, last } from 'lodash'; import { createIndexPatternsStub, createContextSearchSourceStub } from './_stubs'; diff --git a/src/plugins/discover/public/application/angular/context/api/context.successors.test.js b/src/plugins/discover/public/application/angular/context/api/context.successors.test.js index fc52f7091197..7086495e29e0 100644 --- a/src/plugins/discover/public/application/angular/context/api/context.successors.test.js +++ b/src/plugins/discover/public/application/angular/context/api/context.successors.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { get, last } from 'lodash'; diff --git a/src/plugins/discover/public/application/angular/context/api/context.ts b/src/plugins/discover/public/application/angular/context/api/context.ts index ee8d93007f81..046438f08339 100644 --- a/src/plugins/discover/public/application/angular/context/api/context.ts +++ b/src/plugins/discover/public/application/angular/context/api/context.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, IndexPatternsContract, IndexPattern } from 'src/plugins/data/public'; import { reverseSortDir, SortDirection } from './utils/sorting'; import { extractNanos, convertIsoToMillis } from './utils/date_conversion'; diff --git a/src/plugins/discover/public/application/angular/context/api/utils/date_conversion.test.ts b/src/plugins/discover/public/application/angular/context/api/utils/date_conversion.test.ts index 1be48f6379f5..fe1a18bf938f 100644 --- a/src/plugins/discover/public/application/angular/context/api/utils/date_conversion.test.ts +++ b/src/plugins/discover/public/application/angular/context/api/utils/date_conversion.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { extractNanos } from './date_conversion'; describe('function extractNanos', function () { diff --git a/src/plugins/discover/public/application/angular/context/api/utils/date_conversion.ts b/src/plugins/discover/public/application/angular/context/api/utils/date_conversion.ts index 2a61fa0a79cd..8f4bfb30375d 100644 --- a/src/plugins/discover/public/application/angular/context/api/utils/date_conversion.ts +++ b/src/plugins/discover/public/application/angular/context/api/utils/date_conversion.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; /** * extract nanoseconds if available in ISO timestamp diff --git a/src/plugins/discover/public/application/angular/context/api/utils/fetch_hits_in_interval.ts b/src/plugins/discover/public/application/angular/context/api/utils/fetch_hits_in_interval.ts index b9334d520f89..262b64ba8c15 100644 --- a/src/plugins/discover/public/application/angular/context/api/utils/fetch_hits_in_interval.ts +++ b/src/plugins/discover/public/application/angular/context/api/utils/fetch_hits_in_interval.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { ISearchSource, OpenSearchQuerySortValue, diff --git a/src/plugins/discover/public/application/angular/context/api/utils/generate_intervals.ts b/src/plugins/discover/public/application/angular/context/api/utils/generate_intervals.ts index 5aad67b461ea..fda2e23eb234 100644 --- a/src/plugins/discover/public/application/angular/context/api/utils/generate_intervals.ts +++ b/src/plugins/discover/public/application/angular/context/api/utils/generate_intervals.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SortDirection } from '../../../../../../../data/public'; export type IntervalValue = number | null; diff --git a/src/plugins/discover/public/application/angular/context/api/utils/get_opensearch_query_search_after.ts b/src/plugins/discover/public/application/angular/context/api/utils/get_opensearch_query_search_after.ts index c12efb14762a..eb6a5af565ba 100644 --- a/src/plugins/discover/public/application/angular/context/api/utils/get_opensearch_query_search_after.ts +++ b/src/plugins/discover/public/application/angular/context/api/utils/get_opensearch_query_search_after.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SurrDocType, OpenSearchHitRecordList, OpenSearchHitRecord } from '../context'; export type OpenSearchQuerySearchAfter = [string | number, string | number]; diff --git a/src/plugins/discover/public/application/angular/context/api/utils/get_opensearch_query_sort.ts b/src/plugins/discover/public/application/angular/context/api/utils/get_opensearch_query_sort.ts index c4116bfe5223..30c4888fa438 100644 --- a/src/plugins/discover/public/application/angular/context/api/utils/get_opensearch_query_sort.ts +++ b/src/plugins/discover/public/application/angular/context/api/utils/get_opensearch_query_sort.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchQuerySortValue, SortDirection, diff --git a/src/plugins/discover/public/application/angular/context/api/utils/sorting.test.ts b/src/plugins/discover/public/application/angular/context/api/utils/sorting.test.ts index 81949efb422c..6944591d40cd 100644 --- a/src/plugins/discover/public/application/angular/context/api/utils/sorting.test.ts +++ b/src/plugins/discover/public/application/angular/context/api/utils/sorting.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { reverseSortDir, SortDirection } from './sorting'; describe('function reverseSortDir', function () { diff --git a/src/plugins/discover/public/application/angular/context/api/utils/sorting.ts b/src/plugins/discover/public/application/angular/context/api/utils/sorting.ts index 8d857005c65c..52b6df12e467 100644 --- a/src/plugins/discover/public/application/angular/context/api/utils/sorting.ts +++ b/src/plugins/discover/public/application/angular/context/api/utils/sorting.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IndexPattern } from '../../../../../opensearch_dashboards_services'; export enum SortDirection { diff --git a/src/plugins/discover/public/application/angular/context/components/action_bar/action_bar.test.tsx b/src/plugins/discover/public/application/angular/context/components/action_bar/action_bar.test.tsx index 50c3d1b7bfdf..db5abf3dbed4 100644 --- a/src/plugins/discover/public/application/angular/context/components/action_bar/action_bar.test.tsx +++ b/src/plugins/discover/public/application/angular/context/components/action_bar/action_bar.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { ActionBar, ActionBarProps } from './action_bar'; diff --git a/src/plugins/discover/public/application/angular/context/components/action_bar/action_bar.tsx b/src/plugins/discover/public/application/angular/context/components/action_bar/action_bar.tsx index 103f3a7d7ce3..f747a0aea000 100644 --- a/src/plugins/discover/public/application/angular/context/components/action_bar/action_bar.tsx +++ b/src/plugins/discover/public/application/angular/context/components/action_bar/action_bar.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useState } from 'react'; import { i18n } from '@osd/i18n'; import { FormattedMessage, I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/discover/public/application/angular/context/components/action_bar/action_bar_directive.ts b/src/plugins/discover/public/application/angular/context/components/action_bar/action_bar_directive.ts index fa41be9ddea3..3aa62e72353e 100644 --- a/src/plugins/discover/public/application/angular/context/components/action_bar/action_bar_directive.ts +++ b/src/plugins/discover/public/application/angular/context/components/action_bar/action_bar_directive.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { getAngularModule } from '../../../../../opensearch_dashboards_services'; import { ActionBar } from './action_bar'; diff --git a/src/plugins/discover/public/application/angular/context/components/action_bar/action_bar_warning.tsx b/src/plugins/discover/public/application/angular/context/components/action_bar/action_bar_warning.tsx index 15f18b18c058..cfdc3cc0c8cc 100644 --- a/src/plugins/discover/public/application/angular/context/components/action_bar/action_bar_warning.tsx +++ b/src/plugins/discover/public/application/angular/context/components/action_bar/action_bar_warning.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; import { EuiCallOut } from '@elastic/eui'; diff --git a/src/plugins/discover/public/application/angular/context/components/action_bar/index.ts b/src/plugins/discover/public/application/angular/context/components/action_bar/index.ts index 030b629b10b7..1e3799d2121a 100644 --- a/src/plugins/discover/public/application/angular/context/components/action_bar/index.ts +++ b/src/plugins/discover/public/application/angular/context/components/action_bar/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './action_bar_directive'; diff --git a/src/plugins/discover/public/application/angular/context/helpers/call_after_bindings_workaround.js b/src/plugins/discover/public/application/angular/context/helpers/call_after_bindings_workaround.js index 4f28a8bf2533..455cc57b3d4d 100644 --- a/src/plugins/discover/public/application/angular/context/helpers/call_after_bindings_workaround.js +++ b/src/plugins/discover/public/application/angular/context/helpers/call_after_bindings_workaround.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * WHAT NEEDS THIS WORKAROUND? * =========================== diff --git a/src/plugins/discover/public/application/angular/context/query/actions.js b/src/plugins/discover/public/application/angular/context/query/actions.js index ccdf83b5441f..d4b4f9ba9977 100644 --- a/src/plugins/discover/public/application/angular/context/query/actions.js +++ b/src/plugins/discover/public/application/angular/context/query/actions.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; import React from 'react'; diff --git a/src/plugins/discover/public/application/angular/context/query/constants.js b/src/plugins/discover/public/application/angular/context/query/constants.js index e8919ad5c452..99039d463b5b 100644 --- a/src/plugins/discover/public/application/angular/context/query/constants.js +++ b/src/plugins/discover/public/application/angular/context/query/constants.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const FAILURE_REASONS = { UNKNOWN: 'unknown', INVALID_TIEBREAKER: 'invalid_tiebreaker', diff --git a/src/plugins/discover/public/application/angular/context/query/index.js b/src/plugins/discover/public/application/angular/context/query/index.js index 9fd9e821b3a8..cbb0a7484ea7 100644 --- a/src/plugins/discover/public/application/angular/context/query/index.js +++ b/src/plugins/discover/public/application/angular/context/query/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { QueryActionsProvider } from './actions'; export { FAILURE_REASONS, LOADING_STATUS } from './constants'; export { createInitialLoadingStatusState } from './state'; diff --git a/src/plugins/discover/public/application/angular/context/query/state.js b/src/plugins/discover/public/application/angular/context/query/state.js index a45e776e0f1b..7a38ea8ebe3a 100644 --- a/src/plugins/discover/public/application/angular/context/query/state.js +++ b/src/plugins/discover/public/application/angular/context/query/state.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LOADING_STATUS } from './constants'; export function createInitialLoadingStatusState() { diff --git a/src/plugins/discover/public/application/angular/context/query_parameters/actions.js b/src/plugins/discover/public/application/angular/context/query_parameters/actions.js index 71399ccdd78d..f191d7c0d5a2 100644 --- a/src/plugins/discover/public/application/angular/context/query_parameters/actions.js +++ b/src/plugins/discover/public/application/angular/context/query_parameters/actions.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { opensearchFilters } from '../../../../../../data/public'; import { popularizeField } from '../../../helpers/popularize_field'; diff --git a/src/plugins/discover/public/application/angular/context/query_parameters/actions.test.ts b/src/plugins/discover/public/application/angular/context/query_parameters/actions.test.ts index 67a7c6a030df..2e3c69a32ff6 100644 --- a/src/plugins/discover/public/application/angular/context/query_parameters/actions.test.ts +++ b/src/plugins/discover/public/application/angular/context/query_parameters/actions.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore import { getQueryParameterActions } from './actions'; import { FilterManager } from '../../../../../../data/public'; diff --git a/src/plugins/discover/public/application/angular/context/query_parameters/constants.ts b/src/plugins/discover/public/application/angular/context/query_parameters/constants.ts index e09ca181819d..a6dcc5653c87 100644 --- a/src/plugins/discover/public/application/angular/context/query_parameters/constants.ts +++ b/src/plugins/discover/public/application/angular/context/query_parameters/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createInitialQueryParametersState } from './state'; export const MAX_CONTEXT_SIZE = 10000; // OpenSearch's default maximum size limit diff --git a/src/plugins/discover/public/application/angular/context/query_parameters/index.js b/src/plugins/discover/public/application/angular/context/query_parameters/index.js index 9be77c9fa585..03f172bd12cb 100644 --- a/src/plugins/discover/public/application/angular/context/query_parameters/index.js +++ b/src/plugins/discover/public/application/angular/context/query_parameters/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getQueryParameterActions } from './actions'; export { MAX_CONTEXT_SIZE, MIN_CONTEXT_SIZE, QUERY_PARAMETER_KEYS } from './constants'; export { createInitialQueryParametersState } from './state'; diff --git a/src/plugins/discover/public/application/angular/context/query_parameters/state.ts b/src/plugins/discover/public/application/angular/context/query_parameters/state.ts index b1bcee11c92d..a9f44a0f7bef 100644 --- a/src/plugins/discover/public/application/angular/context/query_parameters/state.ts +++ b/src/plugins/discover/public/application/angular/context/query_parameters/state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function createInitialQueryParametersState( defaultStepSize: number = 5, tieBreakerField: string = '_doc' diff --git a/src/plugins/discover/public/application/angular/context_app.js b/src/plugins/discover/public/application/angular/context_app.js index d6902a04a359..fa487c726612 100644 --- a/src/plugins/discover/public/application/angular/context_app.js +++ b/src/plugins/discover/public/application/angular/context_app.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { CONTEXT_STEP_SETTING, CONTEXT_TIE_BREAKER_FIELDS_SETTING } from '../../../common'; import { getAngularModule, getServices } from '../../opensearch_dashboards_services'; diff --git a/src/plugins/discover/public/application/angular/context_state.test.ts b/src/plugins/discover/public/application/angular/context_state.test.ts index e9cf3c82552c..23d4581a158b 100644 --- a/src/plugins/discover/public/application/angular/context_state.test.ts +++ b/src/plugins/discover/public/application/angular/context_state.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getState } from './context_state'; import { createBrowserHistory, History } from 'history'; import { FilterManager, Filter } from '../../../../data/public'; diff --git a/src/plugins/discover/public/application/angular/context_state.ts b/src/plugins/discover/public/application/angular/context_state.ts index 35662552dc78..1b19b1d43e78 100644 --- a/src/plugins/discover/public/application/angular/context_state.ts +++ b/src/plugins/discover/public/application/angular/context_state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import _ from 'lodash'; import { History } from 'history'; import { NotificationsStart } from 'opensearch-dashboards/public'; diff --git a/src/plugins/discover/public/application/angular/directives/debounce/debounce.js b/src/plugins/discover/public/application/angular/directives/debounce/debounce.js index 975f9d9864c0..da0f4893b909 100644 --- a/src/plugins/discover/public/application/angular/directives/debounce/debounce.js +++ b/src/plugins/discover/public/application/angular/directives/debounce/debounce.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; // Debounce service, angularized version of lodash debounce // borrowed heavily from https://github.com/shahata/angular-debounce diff --git a/src/plugins/discover/public/application/angular/directives/debounce/debounce.test.ts b/src/plugins/discover/public/application/angular/directives/debounce/debounce.test.ts index 4368e10ef50c..635ed560df40 100644 --- a/src/plugins/discover/public/application/angular/directives/debounce/debounce.test.ts +++ b/src/plugins/discover/public/application/angular/directives/debounce/debounce.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon, { SinonSpy } from 'sinon'; import angular, { auto, ITimeoutService } from 'angular'; import 'angular-mocks'; diff --git a/src/plugins/discover/public/application/angular/directives/debounce/index.js b/src/plugins/discover/public/application/angular/directives/debounce/index.js index 92eef14b92f3..6acd0d680d4d 100644 --- a/src/plugins/discover/public/application/angular/directives/debounce/index.js +++ b/src/plugins/discover/public/application/angular/directives/debounce/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createDebounceProviderTimeout } from './debounce'; diff --git a/src/plugins/discover/public/application/angular/directives/fixed_scroll.js b/src/plugins/discover/public/application/angular/directives/fixed_scroll.js index 277bd17ecb3a..6b80caaa1f71 100644 --- a/src/plugins/discover/public/application/angular/directives/fixed_scroll.js +++ b/src/plugins/discover/public/application/angular/directives/fixed_scroll.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; import _ from 'lodash'; import { createDebounceProviderTimeout } from './debounce'; diff --git a/src/plugins/discover/public/application/angular/directives/fixed_scroll.test.js b/src/plugins/discover/public/application/angular/directives/fixed_scroll.test.js index a744f08b062e..cf0e6d9f331c 100644 --- a/src/plugins/discover/public/application/angular/directives/fixed_scroll.test.js +++ b/src/plugins/discover/public/application/angular/directives/fixed_scroll.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import angular from 'angular'; import 'angular-mocks'; import $ from 'jquery'; diff --git a/src/plugins/discover/public/application/angular/directives/histogram.tsx b/src/plugins/discover/public/application/angular/directives/histogram.tsx index 202856c9168e..42f47dabbca1 100644 --- a/src/plugins/discover/public/application/angular/directives/histogram.tsx +++ b/src/plugins/discover/public/application/angular/directives/histogram.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiFlexGroup, EuiFlexItem, EuiIcon, EuiSpacer } from '@elastic/eui'; import moment from 'moment-timezone'; import { unitOfTime } from 'moment'; diff --git a/src/plugins/discover/public/application/angular/directives/index.js b/src/plugins/discover/public/application/angular/directives/index.js index 9020f86552a8..d81152164c42 100644 --- a/src/plugins/discover/public/application/angular/directives/index.js +++ b/src/plugins/discover/public/application/angular/directives/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DiscoverNoResults } from './no_results'; import { DiscoverUninitialized } from './uninitialized'; import { DiscoverHistogram } from './histogram'; diff --git a/src/plugins/discover/public/application/angular/directives/no_results.js b/src/plugins/discover/public/application/angular/directives/no_results.js index 07b7a6e0114c..1495296e9dbb 100644 --- a/src/plugins/discover/public/application/angular/directives/no_results.js +++ b/src/plugins/discover/public/application/angular/directives/no_results.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component, Fragment } from 'react'; import { FormattedMessage, I18nProvider } from '@osd/i18n/react'; import PropTypes from 'prop-types'; diff --git a/src/plugins/discover/public/application/angular/directives/no_results.test.js b/src/plugins/discover/public/application/angular/directives/no_results.test.js index 1761b9ebd28a..e6b1c6b73eb3 100644 --- a/src/plugins/discover/public/application/angular/directives/no_results.test.js +++ b/src/plugins/discover/public/application/angular/directives/no_results.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { renderWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/discover/public/application/angular/directives/render_complete.ts b/src/plugins/discover/public/application/angular/directives/render_complete.ts index e81724ea693a..4409910a8e5c 100644 --- a/src/plugins/discover/public/application/angular/directives/render_complete.ts +++ b/src/plugins/discover/public/application/angular/directives/render_complete.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { IScope } from 'angular'; import { RenderCompleteListener } from '../../../../../opensearch_dashboards_utils/public'; diff --git a/src/plugins/discover/public/application/angular/directives/uninitialized.tsx b/src/plugins/discover/public/application/angular/directives/uninitialized.tsx index cde0425a3643..aa347e2e798c 100644 --- a/src/plugins/discover/public/application/angular/directives/uninitialized.tsx +++ b/src/plugins/discover/public/application/angular/directives/uninitialized.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { FormattedMessage, I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/discover/public/application/angular/discover.js b/src/plugins/discover/public/application/angular/discover.js index 228ff49ea1c6..de244e3c44b6 100644 --- a/src/plugins/discover/public/application/angular/discover.js +++ b/src/plugins/discover/public/application/angular/discover.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import React from 'react'; import { Subscription, Subject, merge } from 'rxjs'; diff --git a/src/plugins/discover/public/application/angular/discover_state.test.ts b/src/plugins/discover/public/application/angular/discover_state.test.ts index adb8d6ac295f..96225d4a2a53 100644 --- a/src/plugins/discover/public/application/angular/discover_state.test.ts +++ b/src/plugins/discover/public/application/angular/discover_state.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getState, GetStateReturn } from './discover_state'; import { createBrowserHistory, History } from 'history'; diff --git a/src/plugins/discover/public/application/angular/discover_state.ts b/src/plugins/discover/public/application/angular/discover_state.ts index a8f86ba5fa54..0570b64d24d9 100644 --- a/src/plugins/discover/public/application/angular/discover_state.ts +++ b/src/plugins/discover/public/application/angular/discover_state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { isEqual } from 'lodash'; import { History } from 'history'; import { NotificationsStart } from 'opensearch-dashboards/public'; diff --git a/src/plugins/discover/public/application/angular/doc.ts b/src/plugins/discover/public/application/angular/doc.ts index 83c0a6f79058..584815be9342 100644 --- a/src/plugins/discover/public/application/angular/doc.ts +++ b/src/plugins/discover/public/application/angular/doc.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { getAngularModule, getServices } from '../../opensearch_dashboards_services'; // @ts-ignore import { getRootBreadcrumbs } from '../helpers/breadcrumbs'; diff --git a/src/plugins/discover/public/application/angular/doc_table/actions/columns.ts b/src/plugins/discover/public/application/angular/doc_table/actions/columns.ts index febe400bcec6..877ee7db8f55 100644 --- a/src/plugins/discover/public/application/angular/doc_table/actions/columns.ts +++ b/src/plugins/discover/public/application/angular/doc_table/actions/columns.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Helper function to provide a fallback to a single _source column if the given array of columns * is empty, and removes _source if there are more than 1 columns given diff --git a/src/plugins/discover/public/application/angular/doc_table/components/pager/index.ts b/src/plugins/discover/public/application/angular/doc_table/components/pager/index.ts index fc0381bb4ca9..a0f5278d7881 100644 --- a/src/plugins/discover/public/application/angular/doc_table/components/pager/index.ts +++ b/src/plugins/discover/public/application/angular/doc_table/components/pager/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { ToolBarPagerText } from './tool_bar_pager_text'; import { ToolBarPagerButtons } from './tool_bar_pager_buttons'; diff --git a/src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_buttons.test.tsx b/src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_buttons.test.tsx index 7595d4e56bac..204d0b161c68 100644 --- a/src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_buttons.test.tsx +++ b/src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_buttons.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mountWithIntl, shallowWithIntl } from 'test_utils/enzyme_helpers'; import { ToolBarPagerButtons } from './tool_bar_pager_buttons'; diff --git a/src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_buttons.tsx b/src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_buttons.tsx index 7b8a39d4a0fc..04956583291c 100644 --- a/src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_buttons.tsx +++ b/src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_buttons.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_text.test.tsx b/src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_text.test.tsx index e03552cb146b..4b13de634f04 100644 --- a/src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_text.test.tsx +++ b/src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_text.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { renderWithIntl } from 'test_utils/enzyme_helpers'; import { ToolBarPagerText } from './tool_bar_pager_text'; diff --git a/src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_text.tsx b/src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_text.tsx index db293d83de62..28110891a2f9 100644 --- a/src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_text.tsx +++ b/src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_text.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { FormattedMessage, I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/discover/public/application/angular/doc_table/components/row_headers.test.js b/src/plugins/discover/public/application/angular/doc_table/components/row_headers.test.js index bb602b011d50..5ece8659260d 100644 --- a/src/plugins/discover/public/application/angular/doc_table/components/row_headers.test.js +++ b/src/plugins/discover/public/application/angular/doc_table/components/row_headers.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import angular from 'angular'; import 'angular-mocks'; import 'angular-sanitize'; diff --git a/src/plugins/discover/public/application/angular/doc_table/components/table_header.ts b/src/plugins/discover/public/application/angular/doc_table/components/table_header.ts index 3d01a4532fd4..1c60685d279e 100644 --- a/src/plugins/discover/public/application/angular/doc_table/components/table_header.ts +++ b/src/plugins/discover/public/application/angular/doc_table/components/table_header.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { TableHeader } from './table_header/table_header'; import { getServices } from '../../../../opensearch_dashboards_services'; import { SORT_DEFAULT_ORDER_SETTING, DOC_HIDE_TIME_COLUMN_SETTING } from '../../../../../common'; diff --git a/src/plugins/discover/public/application/angular/doc_table/components/table_header/helpers.tsx b/src/plugins/discover/public/application/angular/doc_table/components/table_header/helpers.tsx index 60208f30e2bd..477b72f5b199 100644 --- a/src/plugins/discover/public/application/angular/doc_table/components/table_header/helpers.tsx +++ b/src/plugins/discover/public/application/angular/doc_table/components/table_header/helpers.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { IndexPattern } from '../../../../../opensearch_dashboards_services'; import { shortenDottedString } from '../../../../helpers'; diff --git a/src/plugins/discover/public/application/angular/doc_table/components/table_header/table_header.test.tsx b/src/plugins/discover/public/application/angular/doc_table/components/table_header/table_header.test.tsx index 0d926598e591..2e486976bbdf 100644 --- a/src/plugins/discover/public/application/angular/doc_table/components/table_header/table_header.test.tsx +++ b/src/plugins/discover/public/application/angular/doc_table/components/table_header/table_header.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { TableHeader } from './table_header'; diff --git a/src/plugins/discover/public/application/angular/doc_table/components/table_header/table_header.tsx b/src/plugins/discover/public/application/angular/doc_table/components/table_header/table_header.tsx index e3be41be10e9..6a9efdac5273 100644 --- a/src/plugins/discover/public/application/angular/doc_table/components/table_header/table_header.tsx +++ b/src/plugins/discover/public/application/angular/doc_table/components/table_header/table_header.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { IndexPattern } from '../../../../../opensearch_dashboards_services'; // @ts-ignore diff --git a/src/plugins/discover/public/application/angular/doc_table/components/table_header/table_header_column.tsx b/src/plugins/discover/public/application/angular/doc_table/components/table_header/table_header_column.tsx index 7d9a397d44a3..81dad59c6d34 100644 --- a/src/plugins/discover/public/application/angular/doc_table/components/table_header/table_header_column.tsx +++ b/src/plugins/discover/public/application/angular/doc_table/components/table_header/table_header_column.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { i18n } from '@osd/i18n'; import { EuiToolTip } from '@elastic/eui'; diff --git a/src/plugins/discover/public/application/angular/doc_table/components/table_row.ts b/src/plugins/discover/public/application/angular/doc_table/components/table_row.ts index d4622bdc67dc..4131798f5df3 100644 --- a/src/plugins/discover/public/application/angular/doc_table/components/table_row.ts +++ b/src/plugins/discover/public/application/angular/doc_table/components/table_row.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { find, template } from 'lodash'; import { stringify } from 'query-string'; import $ from 'jquery'; diff --git a/src/plugins/discover/public/application/angular/doc_table/create_doc_table_react.tsx b/src/plugins/discover/public/application/angular/doc_table/create_doc_table_react.tsx index 7c34f202a7e3..8997179781d0 100644 --- a/src/plugins/discover/public/application/angular/doc_table/create_doc_table_react.tsx +++ b/src/plugins/discover/public/application/angular/doc_table/create_doc_table_react.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import angular, { auto, ICompileService, IScope } from 'angular'; import { render } from 'react-dom'; import React, { useRef, useEffect } from 'react'; diff --git a/src/plugins/discover/public/application/angular/doc_table/doc_table.test.js b/src/plugins/discover/public/application/angular/doc_table/doc_table.test.js index 5e4c2bf967c7..bd087ac3547f 100644 --- a/src/plugins/discover/public/application/angular/doc_table/doc_table.test.js +++ b/src/plugins/discover/public/application/angular/doc_table/doc_table.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import angular from 'angular'; import _ from 'lodash'; import 'angular-mocks'; diff --git a/src/plugins/discover/public/application/angular/doc_table/doc_table.ts b/src/plugins/discover/public/application/angular/doc_table/doc_table.ts index ec6d35921031..2c68ad4a89ff 100644 --- a/src/plugins/discover/public/application/angular/doc_table/doc_table.ts +++ b/src/plugins/discover/public/application/angular/doc_table/doc_table.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import html from './doc_table.html'; import { dispatchRenderComplete } from '../../../../../opensearch_dashboards_utils/public'; import { SAMPLE_SIZE_SETTING } from '../../../../common'; diff --git a/src/plugins/discover/public/application/angular/doc_table/doc_table_strings.js b/src/plugins/discover/public/application/angular/doc_table/doc_table_strings.js index 20640a0d7f34..4a0457638faa 100644 --- a/src/plugins/discover/public/application/angular/doc_table/doc_table_strings.js +++ b/src/plugins/discover/public/application/angular/doc_table/doc_table_strings.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; /** diff --git a/src/plugins/discover/public/application/angular/doc_table/index.ts b/src/plugins/discover/public/application/angular/doc_table/index.ts index 3e485dbb7f94..c51ce33cc28f 100644 --- a/src/plugins/discover/public/application/angular/doc_table/index.ts +++ b/src/plugins/discover/public/application/angular/doc_table/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createDocTableDirective } from './doc_table'; export { getSort, getSortArray } from './lib/get_sort'; export { getSortForSearchSource } from './lib/get_sort_for_search_source'; diff --git a/src/plugins/discover/public/application/angular/doc_table/infinite_scroll.ts b/src/plugins/discover/public/application/angular/doc_table/infinite_scroll.ts index d2758dc97bfb..2a59d94aa5c4 100644 --- a/src/plugins/discover/public/application/angular/doc_table/infinite_scroll.ts +++ b/src/plugins/discover/public/application/angular/doc_table/infinite_scroll.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; interface LazyScope extends ng.IScope { diff --git a/src/plugins/discover/public/application/angular/doc_table/lib/get_default_sort.ts b/src/plugins/discover/public/application/angular/doc_table/lib/get_default_sort.ts index 0a3cc54a31a1..d22c963d219c 100644 --- a/src/plugins/discover/public/application/angular/doc_table/lib/get_default_sort.ts +++ b/src/plugins/discover/public/application/angular/doc_table/lib/get_default_sort.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { IndexPattern } from '../../../../opensearch_dashboards_services'; // @ts-ignore import { isSortable } from './get_sort'; diff --git a/src/plugins/discover/public/application/angular/doc_table/lib/get_sort.test.ts b/src/plugins/discover/public/application/angular/doc_table/lib/get_sort.test.ts index 2da5f16c14af..30c302bccd72 100644 --- a/src/plugins/discover/public/application/angular/doc_table/lib/get_sort.test.ts +++ b/src/plugins/discover/public/application/angular/doc_table/lib/get_sort.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getSort, getSortArray } from './get_sort'; // @ts-ignore import FixturesStubbedLogstashIndexPatternProvider from 'fixtures/stubbed_logstash_index_pattern'; diff --git a/src/plugins/discover/public/application/angular/doc_table/lib/get_sort.ts b/src/plugins/discover/public/application/angular/doc_table/lib/get_sort.ts index 1325dc0c1eac..2a65d7be5de1 100644 --- a/src/plugins/discover/public/application/angular/doc_table/lib/get_sort.ts +++ b/src/plugins/discover/public/application/angular/doc_table/lib/get_sort.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { IndexPattern } from '../../../../../../data/public'; diff --git a/src/plugins/discover/public/application/angular/doc_table/lib/get_sort_for_search_source.ts b/src/plugins/discover/public/application/angular/doc_table/lib/get_sort_for_search_source.ts index 690135fa3ab5..f83c764565c5 100644 --- a/src/plugins/discover/public/application/angular/doc_table/lib/get_sort_for_search_source.ts +++ b/src/plugins/discover/public/application/angular/doc_table/lib/get_sort_for_search_source.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { OpenSearchQuerySortValue, IndexPattern } from '../../../../opensearch_dashboards_services'; import { SortOrder } from '../components/table_header/helpers'; import { getSort } from './get_sort'; diff --git a/src/plugins/discover/public/application/angular/doc_table/lib/pager/index.js b/src/plugins/discover/public/application/angular/doc_table/lib/pager/index.js index 79d593bdb2ce..e400b3b52226 100644 --- a/src/plugins/discover/public/application/angular/doc_table/lib/pager/index.js +++ b/src/plugins/discover/public/application/angular/doc_table/lib/pager/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './pager_factory'; export { Pager } from './pager'; diff --git a/src/plugins/discover/public/application/angular/doc_table/lib/pager/pager.js b/src/plugins/discover/public/application/angular/doc_table/lib/pager/pager.js index 7d0cb69fee26..55b8c670317a 100644 --- a/src/plugins/discover/public/application/angular/doc_table/lib/pager/pager.js +++ b/src/plugins/discover/public/application/angular/doc_table/lib/pager/pager.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - function clamp(val, min, max) { return Math.min(Math.max(min, val), max); } diff --git a/src/plugins/discover/public/application/angular/doc_table/lib/pager/pager_factory.ts b/src/plugins/discover/public/application/angular/doc_table/lib/pager/pager_factory.ts index e51f04431dee..febb6428e53b 100644 --- a/src/plugins/discover/public/application/angular/doc_table/lib/pager/pager_factory.ts +++ b/src/plugins/discover/public/application/angular/doc_table/lib/pager/pager_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ // @ts-ignore import { Pager } from './pager'; diff --git a/src/plugins/discover/public/application/angular/doc_viewer.tsx b/src/plugins/discover/public/application/angular/doc_viewer.tsx index 20b21a297596..9072594bf478 100644 --- a/src/plugins/discover/public/application/angular/doc_viewer.tsx +++ b/src/plugins/discover/public/application/angular/doc_viewer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { DocViewer } from '../components/doc_viewer/doc_viewer'; diff --git a/src/plugins/discover/public/application/angular/helpers/index.ts b/src/plugins/discover/public/application/angular/helpers/index.ts index 7af9249dee37..eb569f6985d6 100644 --- a/src/plugins/discover/public/application/angular/helpers/index.ts +++ b/src/plugins/discover/public/application/angular/helpers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { buildPointSeriesData } from './point_series'; diff --git a/src/plugins/discover/public/application/angular/helpers/point_series.ts b/src/plugins/discover/public/application/angular/helpers/point_series.ts index 34a7c1b1f089..34b35453cb55 100644 --- a/src/plugins/discover/public/application/angular/helpers/point_series.ts +++ b/src/plugins/discover/public/application/angular/helpers/point_series.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { uniq } from 'lodash'; import { Duration, Moment } from 'moment'; import { Unit } from '@elastic/datemath'; diff --git a/src/plugins/discover/public/application/angular/index.ts b/src/plugins/discover/public/application/angular/index.ts index ded9f263a62e..f9b905759c06 100644 --- a/src/plugins/discover/public/application/angular/index.ts +++ b/src/plugins/discover/public/application/angular/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ // required for i18nIdDirective import 'angular-sanitize'; // required for ngRoute diff --git a/src/plugins/discover/public/application/angular/redirect.ts b/src/plugins/discover/public/application/angular/redirect.ts index e4195b9cdbc9..d8c03e42abb7 100644 --- a/src/plugins/discover/public/application/angular/redirect.ts +++ b/src/plugins/discover/public/application/angular/redirect.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { getAngularModule, getServices, getUrlTracker } from '../../opensearch_dashboards_services'; getAngularModule().config(($routeProvider: any) => { diff --git a/src/plugins/discover/public/application/angular/response_handler.js b/src/plugins/discover/public/application/angular/response_handler.js index f124fa6ef50a..853de0086168 100644 --- a/src/plugins/discover/public/application/angular/response_handler.js +++ b/src/plugins/discover/public/application/angular/response_handler.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getServices } from '../../opensearch_dashboards_services'; import { buildPointSeriesData } from './helpers'; diff --git a/src/plugins/discover/public/application/application.ts b/src/plugins/discover/public/application/application.ts index 915f58ba3175..49fd743d76ef 100644 --- a/src/plugins/discover/public/application/application.ts +++ b/src/plugins/discover/public/application/application.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index.scss'; import angular from 'angular'; import { getServices } from '../opensearch_dashboards_services'; diff --git a/src/plugins/discover/public/application/components/context_error_message/context_error_message.test.tsx b/src/plugins/discover/public/application/components/context_error_message/context_error_message.test.tsx index 04c4e31a0ad7..30b57eaf0dc5 100644 --- a/src/plugins/discover/public/application/components/context_error_message/context_error_message.test.tsx +++ b/src/plugins/discover/public/application/components/context_error_message/context_error_message.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { ReactWrapper } from 'enzyme'; diff --git a/src/plugins/discover/public/application/components/context_error_message/context_error_message.tsx b/src/plugins/discover/public/application/components/context_error_message/context_error_message.tsx index 25c2defa01b8..8fe36f592275 100644 --- a/src/plugins/discover/public/application/components/context_error_message/context_error_message.tsx +++ b/src/plugins/discover/public/application/components/context_error_message/context_error_message.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiCallOut, EuiText } from '@elastic/eui'; import { FormattedMessage, I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/discover/public/application/components/context_error_message/context_error_message_directive.ts b/src/plugins/discover/public/application/components/context_error_message/context_error_message_directive.ts index c7e08ab6d9cd..077682c67d06 100644 --- a/src/plugins/discover/public/application/components/context_error_message/context_error_message_directive.ts +++ b/src/plugins/discover/public/application/components/context_error_message/context_error_message_directive.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { ContextErrorMessage } from './context_error_message'; export function createContextErrorMessageDirective(reactDirective: any) { diff --git a/src/plugins/discover/public/application/components/context_error_message/index.ts b/src/plugins/discover/public/application/components/context_error_message/index.ts index e3e7e6d54482..99cd662ecca3 100644 --- a/src/plugins/discover/public/application/components/context_error_message/index.ts +++ b/src/plugins/discover/public/application/components/context_error_message/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ContextErrorMessage } from './context_error_message'; export { createContextErrorMessageDirective } from './context_error_message_directive'; diff --git a/src/plugins/discover/public/application/components/create_discover_legacy_directive.ts b/src/plugins/discover/public/application/components/create_discover_legacy_directive.ts index c2f1a869c105..09cc33964862 100644 --- a/src/plugins/discover/public/application/components/create_discover_legacy_directive.ts +++ b/src/plugins/discover/public/application/components/create_discover_legacy_directive.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DiscoverLegacy } from './discover_legacy'; export function createDiscoverLegacyDirective(reactDirective: any) { diff --git a/src/plugins/discover/public/application/components/discover_legacy.tsx b/src/plugins/discover/public/application/components/discover_legacy.tsx index e283d41c42e9..d0ca79ca4100 100644 --- a/src/plugins/discover/public/application/components/discover_legacy.tsx +++ b/src/plugins/discover/public/application/components/discover_legacy.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useState, useCallback, useEffect } from 'react'; import classNames from 'classnames'; import { EuiButtonEmpty, EuiButtonIcon } from '@elastic/eui'; diff --git a/src/plugins/discover/public/application/components/doc/doc.test.tsx b/src/plugins/discover/public/application/components/doc/doc.test.tsx index b6423086bc25..b107ae46b37a 100644 --- a/src/plugins/discover/public/application/components/doc/doc.test.tsx +++ b/src/plugins/discover/public/application/components/doc/doc.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { throwError, of } from 'rxjs'; import React from 'react'; import { act } from 'react-dom/test-utils'; diff --git a/src/plugins/discover/public/application/components/doc/doc.tsx b/src/plugins/discover/public/application/components/doc/doc.tsx index 18de6eadaee1..204a16d64757 100644 --- a/src/plugins/discover/public/application/components/doc/doc.tsx +++ b/src/plugins/discover/public/application/components/doc/doc.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { FormattedMessage, I18nProvider } from '@osd/i18n/react'; import { EuiCallOut, EuiLink, EuiLoadingSpinner, EuiPageContent } from '@elastic/eui'; diff --git a/src/plugins/discover/public/application/components/doc/use_opensearch_doc_search.test.tsx b/src/plugins/discover/public/application/components/doc/use_opensearch_doc_search.test.tsx index 590aa285c9f7..cb716a4f17cb 100644 --- a/src/plugins/discover/public/application/components/doc/use_opensearch_doc_search.test.tsx +++ b/src/plugins/discover/public/application/components/doc/use_opensearch_doc_search.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { renderHook, act } from '@testing-library/react-hooks'; import { buildSearchBody, diff --git a/src/plugins/discover/public/application/components/doc/use_opensearch_doc_search.ts b/src/plugins/discover/public/application/components/doc/use_opensearch_doc_search.ts index b2824b7198dd..8d1aa123e43d 100644 --- a/src/plugins/discover/public/application/components/doc/use_opensearch_doc_search.ts +++ b/src/plugins/discover/public/application/components/doc/use_opensearch_doc_search.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { useEffect, useState } from 'react'; import { IndexPattern, getServices } from '../../../opensearch_dashboards_services'; import { DocProps } from './doc'; diff --git a/src/plugins/discover/public/application/components/doc_viewer/doc_viewer.test.tsx b/src/plugins/discover/public/application/components/doc_viewer/doc_viewer.test.tsx index d919b570f2c9..843ad5788253 100644 --- a/src/plugins/discover/public/application/components/doc_viewer/doc_viewer.test.tsx +++ b/src/plugins/discover/public/application/components/doc_viewer/doc_viewer.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { mount, shallow } from 'enzyme'; import { DocViewer } from './doc_viewer'; diff --git a/src/plugins/discover/public/application/components/doc_viewer/doc_viewer.tsx b/src/plugins/discover/public/application/components/doc_viewer/doc_viewer.tsx index 101e0d05fb51..d165c9bd05b8 100644 --- a/src/plugins/discover/public/application/components/doc_viewer/doc_viewer.tsx +++ b/src/plugins/discover/public/application/components/doc_viewer/doc_viewer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import './doc_viewer.scss'; import React from 'react'; import { EuiTabbedContent } from '@elastic/eui'; diff --git a/src/plugins/discover/public/application/components/doc_viewer/doc_viewer_render_error.tsx b/src/plugins/discover/public/application/components/doc_viewer/doc_viewer_render_error.tsx index 6087940bc2c3..1cb14d191a57 100644 --- a/src/plugins/discover/public/application/components/doc_viewer/doc_viewer_render_error.tsx +++ b/src/plugins/discover/public/application/components/doc_viewer/doc_viewer_render_error.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiCallOut, EuiCodeBlock } from '@elastic/eui'; import { formatMsg, formatStack } from '../../../../../opensearch_dashboards_legacy/public'; diff --git a/src/plugins/discover/public/application/components/doc_viewer/doc_viewer_render_tab.test.tsx b/src/plugins/discover/public/application/components/doc_viewer/doc_viewer_render_tab.test.tsx index f5d5d9233aff..83d857b24fc5 100644 --- a/src/plugins/discover/public/application/components/doc_viewer/doc_viewer_render_tab.test.tsx +++ b/src/plugins/discover/public/application/components/doc_viewer/doc_viewer_render_tab.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { mount } from 'enzyme'; import { DocViewRenderTab } from './doc_viewer_render_tab'; diff --git a/src/plugins/discover/public/application/components/doc_viewer/doc_viewer_render_tab.tsx b/src/plugins/discover/public/application/components/doc_viewer/doc_viewer_render_tab.tsx index cbd1832082b5..edc7f40c5e43 100644 --- a/src/plugins/discover/public/application/components/doc_viewer/doc_viewer_render_tab.tsx +++ b/src/plugins/discover/public/application/components/doc_viewer/doc_viewer_render_tab.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useRef, useEffect } from 'react'; import { DocViewRenderFn, DocViewRenderProps } from '../../doc_views/doc_views_types'; diff --git a/src/plugins/discover/public/application/components/doc_viewer/doc_viewer_tab.tsx b/src/plugins/discover/public/application/components/doc_viewer/doc_viewer_tab.tsx index 935a7ebfec7c..6e7a5f1ac434 100644 --- a/src/plugins/discover/public/application/components/doc_viewer/doc_viewer_tab.tsx +++ b/src/plugins/discover/public/application/components/doc_viewer/doc_viewer_tab.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { I18nProvider } from '@osd/i18n/react'; import { DocViewRenderTab } from './doc_viewer_render_tab'; diff --git a/src/plugins/discover/public/application/components/field_name/field_name.test.tsx b/src/plugins/discover/public/application/components/field_name/field_name.test.tsx index c3f5d8e31264..54dc902837d0 100644 --- a/src/plugins/discover/public/application/components/field_name/field_name.test.tsx +++ b/src/plugins/discover/public/application/components/field_name/field_name.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { render } from 'enzyme'; import { FieldName } from './field_name'; diff --git a/src/plugins/discover/public/application/components/field_name/field_name.tsx b/src/plugins/discover/public/application/components/field_name/field_name.tsx index 86a618d0b3ac..bbd9ab79d0fb 100644 --- a/src/plugins/discover/public/application/components/field_name/field_name.tsx +++ b/src/plugins/discover/public/application/components/field_name/field_name.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiFlexGroup, EuiFlexItem, EuiToolTip } from '@elastic/eui'; diff --git a/src/plugins/discover/public/application/components/field_name/field_type_name.ts b/src/plugins/discover/public/application/components/field_name/field_type_name.ts index a9d5ab27b5d5..38b18792d3e4 100644 --- a/src/plugins/discover/public/application/components/field_name/field_type_name.ts +++ b/src/plugins/discover/public/application/components/field_name/field_type_name.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; export function getFieldTypeName(type: string) { diff --git a/src/plugins/discover/public/application/components/help_menu/help_menu_util.js b/src/plugins/discover/public/application/components/help_menu/help_menu_util.js index 7a0cede7f9bd..39ea94046d7c 100644 --- a/src/plugins/discover/public/application/components/help_menu/help_menu_util.js +++ b/src/plugins/discover/public/application/components/help_menu/help_menu_util.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { getServices } from '../../../opensearch_dashboards_services'; const { docLinks } = getServices(); diff --git a/src/plugins/discover/public/application/components/hits_counter/hits_counter.test.tsx b/src/plugins/discover/public/application/components/hits_counter/hits_counter.test.tsx index 8702a973a00b..05435ccae99e 100644 --- a/src/plugins/discover/public/application/components/hits_counter/hits_counter.test.tsx +++ b/src/plugins/discover/public/application/components/hits_counter/hits_counter.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { ReactWrapper } from 'enzyme'; diff --git a/src/plugins/discover/public/application/components/hits_counter/hits_counter.tsx b/src/plugins/discover/public/application/components/hits_counter/hits_counter.tsx index c5b98cc55181..3355b733202b 100644 --- a/src/plugins/discover/public/application/components/hits_counter/hits_counter.tsx +++ b/src/plugins/discover/public/application/components/hits_counter/hits_counter.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiButtonEmpty, EuiFlexGroup, EuiFlexItem, EuiText } from '@elastic/eui'; import { FormattedMessage, I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/discover/public/application/components/hits_counter/index.ts b/src/plugins/discover/public/application/components/hits_counter/index.ts index 3b72c06330c9..213cf96e0cc8 100644 --- a/src/plugins/discover/public/application/components/hits_counter/index.ts +++ b/src/plugins/discover/public/application/components/hits_counter/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { HitsCounter } from './hits_counter'; diff --git a/src/plugins/discover/public/application/components/json_code_block/json_code_block.test.tsx b/src/plugins/discover/public/application/components/json_code_block/json_code_block.test.tsx index 9b9754c3cb8a..2cb700b4d2ac 100644 --- a/src/plugins/discover/public/application/components/json_code_block/json_code_block.test.tsx +++ b/src/plugins/discover/public/application/components/json_code_block/json_code_block.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { shallow } from 'enzyme'; import { JsonCodeBlock } from './json_code_block'; diff --git a/src/plugins/discover/public/application/components/json_code_block/json_code_block.tsx b/src/plugins/discover/public/application/components/json_code_block/json_code_block.tsx index ad910619a2cc..f33cae438cb2 100644 --- a/src/plugins/discover/public/application/components/json_code_block/json_code_block.tsx +++ b/src/plugins/discover/public/application/components/json_code_block/json_code_block.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiCodeBlock } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/discover/public/application/components/loading_spinner/loading_spinner.test.tsx b/src/plugins/discover/public/application/components/loading_spinner/loading_spinner.test.tsx index 4271b0c6551a..5bc6aa29136b 100644 --- a/src/plugins/discover/public/application/components/loading_spinner/loading_spinner.test.tsx +++ b/src/plugins/discover/public/application/components/loading_spinner/loading_spinner.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { ReactWrapper } from 'enzyme'; diff --git a/src/plugins/discover/public/application/components/loading_spinner/loading_spinner.tsx b/src/plugins/discover/public/application/components/loading_spinner/loading_spinner.tsx index c99247230e86..697c7a136d60 100644 --- a/src/plugins/discover/public/application/components/loading_spinner/loading_spinner.tsx +++ b/src/plugins/discover/public/application/components/loading_spinner/loading_spinner.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiLoadingSpinner, EuiTitle, EuiSpacer } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/discover/public/application/components/sidebar/change_indexpattern.tsx b/src/plugins/discover/public/application/components/sidebar/change_indexpattern.tsx index 2cc75de64a13..553031f06721 100644 --- a/src/plugins/discover/public/application/components/sidebar/change_indexpattern.tsx +++ b/src/plugins/discover/public/application/components/sidebar/change_indexpattern.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import React, { useState } from 'react'; import { diff --git a/src/plugins/discover/public/application/components/sidebar/discover_field.test.tsx b/src/plugins/discover/public/application/components/sidebar/discover_field.test.tsx index b0ba2873fae9..39c5c0abed0d 100644 --- a/src/plugins/discover/public/application/components/sidebar/discover_field.test.tsx +++ b/src/plugins/discover/public/application/components/sidebar/discover_field.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { findTestSubject } from '@elastic/eui/lib/test'; // @ts-ignore diff --git a/src/plugins/discover/public/application/components/sidebar/discover_field.tsx b/src/plugins/discover/public/application/components/sidebar/discover_field.tsx index 13a9d2c7679b..157cb88e782a 100644 --- a/src/plugins/discover/public/application/components/sidebar/discover_field.tsx +++ b/src/plugins/discover/public/application/components/sidebar/discover_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useState } from 'react'; import { EuiPopover, EuiPopoverTitle, EuiButtonIcon, EuiToolTip } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/discover/public/application/components/sidebar/discover_field_bucket.tsx b/src/plugins/discover/public/application/components/sidebar/discover_field_bucket.tsx index ff7d929a2d08..0f5e0750e0c1 100644 --- a/src/plugins/discover/public/application/components/sidebar/discover_field_bucket.tsx +++ b/src/plugins/discover/public/application/components/sidebar/discover_field_bucket.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiText, EuiButtonIcon, EuiFlexGroup, EuiFlexItem, EuiSpacer } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/discover/public/application/components/sidebar/discover_field_details.test.tsx b/src/plugins/discover/public/application/components/sidebar/discover_field_details.test.tsx index a1d0bc2cca39..c57300f3032b 100644 --- a/src/plugins/discover/public/application/components/sidebar/discover_field_details.test.tsx +++ b/src/plugins/discover/public/application/components/sidebar/discover_field_details.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { findTestSubject } from '@elastic/eui/lib/test'; // @ts-ignore diff --git a/src/plugins/discover/public/application/components/sidebar/discover_field_details.tsx b/src/plugins/discover/public/application/components/sidebar/discover_field_details.tsx index bd6ef169f069..1fbcebbc0c8c 100644 --- a/src/plugins/discover/public/application/components/sidebar/discover_field_details.tsx +++ b/src/plugins/discover/public/application/components/sidebar/discover_field_details.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useState, useEffect } from 'react'; import { EuiLink, EuiIconTip, EuiText, EuiPopoverFooter, EuiButton, EuiSpacer } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/discover/public/application/components/sidebar/discover_field_search.test.tsx b/src/plugins/discover/public/application/components/sidebar/discover_field_search.test.tsx index e7a396e90bf8..6e2e3cb1664b 100644 --- a/src/plugins/discover/public/application/components/sidebar/discover_field_search.test.tsx +++ b/src/plugins/discover/public/application/components/sidebar/discover_field_search.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { EventHandler, MouseEvent as ReactMouseEvent } from 'react'; import { act } from 'react-dom/test-utils'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/discover/public/application/components/sidebar/discover_field_search.tsx b/src/plugins/discover/public/application/components/sidebar/discover_field_search.tsx index 55e6e4a8d34e..4a1390cb1955 100644 --- a/src/plugins/discover/public/application/components/sidebar/discover_field_search.tsx +++ b/src/plugins/discover/public/application/components/sidebar/discover_field_search.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { OptionHTMLAttributes, ReactNode, useState } from 'react'; import { i18n } from '@osd/i18n'; import { diff --git a/src/plugins/discover/public/application/components/sidebar/discover_index_pattern.test.tsx b/src/plugins/discover/public/application/components/sidebar/discover_index_pattern.test.tsx index 3404857e2b8c..566a54b538f0 100644 --- a/src/plugins/discover/public/application/components/sidebar/discover_index_pattern.test.tsx +++ b/src/plugins/discover/public/application/components/sidebar/discover_index_pattern.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { shallowWithIntl as shallow } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/discover/public/application/components/sidebar/discover_index_pattern.tsx b/src/plugins/discover/public/application/components/sidebar/discover_index_pattern.tsx index 41a17c044090..18e874aecb2d 100644 --- a/src/plugins/discover/public/application/components/sidebar/discover_index_pattern.tsx +++ b/src/plugins/discover/public/application/components/sidebar/discover_index_pattern.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useState, useEffect } from 'react'; import { SavedObject } from 'opensearch-dashboards/public'; import { IIndexPattern, IndexPatternAttributes } from 'src/plugins/data/public'; diff --git a/src/plugins/discover/public/application/components/sidebar/discover_index_pattern_title.tsx b/src/plugins/discover/public/application/components/sidebar/discover_index_pattern_title.tsx index f7e5a54898e4..30b50a9006c8 100644 --- a/src/plugins/discover/public/application/components/sidebar/discover_index_pattern_title.tsx +++ b/src/plugins/discover/public/application/components/sidebar/discover_index_pattern_title.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiToolTip, EuiFlexItem, EuiFlexGroup, EuiTitle, EuiButtonEmpty } from '@elastic/eui'; diff --git a/src/plugins/discover/public/application/components/sidebar/discover_sidebar.test.tsx b/src/plugins/discover/public/application/components/sidebar/discover_sidebar.test.tsx index 7efbda66b7aa..dbc8c8962466 100644 --- a/src/plugins/discover/public/application/components/sidebar/discover_sidebar.test.tsx +++ b/src/plugins/discover/public/application/components/sidebar/discover_sidebar.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { ReactWrapper } from 'enzyme'; import { findTestSubject } from '@elastic/eui/lib/test'; diff --git a/src/plugins/discover/public/application/components/sidebar/discover_sidebar.tsx b/src/plugins/discover/public/application/components/sidebar/discover_sidebar.tsx index ee82bb3bb7b6..f957b93a4cc4 100644 --- a/src/plugins/discover/public/application/components/sidebar/discover_sidebar.tsx +++ b/src/plugins/discover/public/application/components/sidebar/discover_sidebar.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import './discover_sidebar.scss'; import React, { useCallback, useEffect, useState, useMemo } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/discover/public/application/components/sidebar/index.ts b/src/plugins/discover/public/application/components/sidebar/index.ts index dea55641bcfe..2799d47da83f 100644 --- a/src/plugins/discover/public/application/components/sidebar/index.ts +++ b/src/plugins/discover/public/application/components/sidebar/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DiscoverSidebar } from './discover_sidebar'; diff --git a/src/plugins/discover/public/application/components/sidebar/lib/field_calculator.js b/src/plugins/discover/public/application/components/sidebar/lib/field_calculator.js index d52a66bc9ca6..1662b4971435 100644 --- a/src/plugins/discover/public/application/components/sidebar/lib/field_calculator.js +++ b/src/plugins/discover/public/application/components/sidebar/lib/field_calculator.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/discover/public/application/components/sidebar/lib/field_calculator.test.ts b/src/plugins/discover/public/application/components/sidebar/lib/field_calculator.test.ts index 7b07778d7e6f..b517e5d11165 100644 --- a/src/plugins/discover/public/application/components/sidebar/lib/field_calculator.test.ts +++ b/src/plugins/discover/public/application/components/sidebar/lib/field_calculator.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; // @ts-ignore import realHits from 'fixtures/real_hits.js'; diff --git a/src/plugins/discover/public/application/components/sidebar/lib/field_filter.test.ts b/src/plugins/discover/public/application/components/sidebar/lib/field_filter.test.ts index 5cb0da4af248..a21d93cb5bc4 100644 --- a/src/plugins/discover/public/application/components/sidebar/lib/field_filter.test.ts +++ b/src/plugins/discover/public/application/components/sidebar/lib/field_filter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getDefaultFieldFilter, setFieldFilterProp, isFieldFiltered } from './field_filter'; import { IndexPatternField } from '../../../../../../data/public'; diff --git a/src/plugins/discover/public/application/components/sidebar/lib/field_filter.ts b/src/plugins/discover/public/application/components/sidebar/lib/field_filter.ts index 510f2682e327..d72af29b43e0 100644 --- a/src/plugins/discover/public/application/components/sidebar/lib/field_filter.ts +++ b/src/plugins/discover/public/application/components/sidebar/lib/field_filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IndexPatternField } from '../../../../../../data/public'; export interface FieldFilterState { diff --git a/src/plugins/discover/public/application/components/sidebar/lib/get_details.ts b/src/plugins/discover/public/application/components/sidebar/lib/get_details.ts index 1d80ceb2c965..fb8f22e202cd 100644 --- a/src/plugins/discover/public/application/components/sidebar/lib/get_details.ts +++ b/src/plugins/discover/public/application/components/sidebar/lib/get_details.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore import { fieldCalculator } from './field_calculator'; import { IndexPattern, IndexPatternField } from '../../../../../../data/public'; diff --git a/src/plugins/discover/public/application/components/sidebar/lib/get_field_type_name.ts b/src/plugins/discover/public/application/components/sidebar/lib/get_field_type_name.ts index a9d5ab27b5d5..38b18792d3e4 100644 --- a/src/plugins/discover/public/application/components/sidebar/lib/get_field_type_name.ts +++ b/src/plugins/discover/public/application/components/sidebar/lib/get_field_type_name.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; export function getFieldTypeName(type: string) { diff --git a/src/plugins/discover/public/application/components/sidebar/lib/get_index_pattern_field_list.ts b/src/plugins/discover/public/application/components/sidebar/lib/get_index_pattern_field_list.ts index e013b74f0b38..b3a8ff5cd8d9 100644 --- a/src/plugins/discover/public/application/components/sidebar/lib/get_index_pattern_field_list.ts +++ b/src/plugins/discover/public/application/components/sidebar/lib/get_index_pattern_field_list.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { difference } from 'lodash'; import { IndexPattern, IndexPatternField } from 'src/plugins/data/public'; diff --git a/src/plugins/discover/public/application/components/sidebar/lib/get_warnings.ts b/src/plugins/discover/public/application/components/sidebar/lib/get_warnings.ts index 9b33b47df78b..770a0ce664e4 100644 --- a/src/plugins/discover/public/application/components/sidebar/lib/get_warnings.ts +++ b/src/plugins/discover/public/application/components/sidebar/lib/get_warnings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; import { IndexPatternField } from '../../../../../../data/public'; diff --git a/src/plugins/discover/public/application/components/sidebar/lib/group_fields.test.ts b/src/plugins/discover/public/application/components/sidebar/lib/group_fields.test.ts index 793154a78c9a..7301ce3a4c96 100644 --- a/src/plugins/discover/public/application/components/sidebar/lib/group_fields.test.ts +++ b/src/plugins/discover/public/application/components/sidebar/lib/group_fields.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { groupFields } from './group_fields'; import { getDefaultFieldFilter } from './field_filter'; diff --git a/src/plugins/discover/public/application/components/sidebar/lib/group_fields.tsx b/src/plugins/discover/public/application/components/sidebar/lib/group_fields.tsx index aa8852d53cce..fad1db402467 100644 --- a/src/plugins/discover/public/application/components/sidebar/lib/group_fields.tsx +++ b/src/plugins/discover/public/application/components/sidebar/lib/group_fields.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { IndexPatternField } from 'src/plugins/data/public'; import { FieldFilterState, isFieldFiltered } from './field_filter'; diff --git a/src/plugins/discover/public/application/components/sidebar/lib/visualize_trigger_utils.ts b/src/plugins/discover/public/application/components/sidebar/lib/visualize_trigger_utils.ts index 84771b4f41d0..36a6bcf2e329 100644 --- a/src/plugins/discover/public/application/components/sidebar/lib/visualize_trigger_utils.ts +++ b/src/plugins/discover/public/application/components/sidebar/lib/visualize_trigger_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { VISUALIZE_FIELD_TRIGGER, VISUALIZE_GEO_FIELD_TRIGGER, diff --git a/src/plugins/discover/public/application/components/sidebar/string_progress_bar.tsx b/src/plugins/discover/public/application/components/sidebar/string_progress_bar.tsx index f6113456a444..dba087d0f9ed 100644 --- a/src/plugins/discover/public/application/components/sidebar/string_progress_bar.tsx +++ b/src/plugins/discover/public/application/components/sidebar/string_progress_bar.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiProgress } from '@elastic/eui'; diff --git a/src/plugins/discover/public/application/components/sidebar/types.ts b/src/plugins/discover/public/application/components/sidebar/types.ts index 7004e1369607..b254057b0de0 100644 --- a/src/plugins/discover/public/application/components/sidebar/types.ts +++ b/src/plugins/discover/public/application/components/sidebar/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface IndexPatternRef { id: string; title: string; diff --git a/src/plugins/discover/public/application/components/skip_bottom_button/index.ts b/src/plugins/discover/public/application/components/skip_bottom_button/index.ts index 8e3bc58ea6a0..094d8e286875 100644 --- a/src/plugins/discover/public/application/components/skip_bottom_button/index.ts +++ b/src/plugins/discover/public/application/components/skip_bottom_button/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SkipBottomButton } from './skip_bottom_button'; diff --git a/src/plugins/discover/public/application/components/skip_bottom_button/skip_bottom_button.test.tsx b/src/plugins/discover/public/application/components/skip_bottom_button/skip_bottom_button.test.tsx index 7e58ce588190..28ffef9dae86 100644 --- a/src/plugins/discover/public/application/components/skip_bottom_button/skip_bottom_button.test.tsx +++ b/src/plugins/discover/public/application/components/skip_bottom_button/skip_bottom_button.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { ReactWrapper } from 'enzyme'; diff --git a/src/plugins/discover/public/application/components/skip_bottom_button/skip_bottom_button.tsx b/src/plugins/discover/public/application/components/skip_bottom_button/skip_bottom_button.tsx index 81e48dcebb06..a1e5754cb312 100644 --- a/src/plugins/discover/public/application/components/skip_bottom_button/skip_bottom_button.tsx +++ b/src/plugins/discover/public/application/components/skip_bottom_button/skip_bottom_button.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiSkipLink } from '@elastic/eui'; import { FormattedMessage, I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/discover/public/application/components/table/table.test.tsx b/src/plugins/discover/public/application/components/table/table.test.tsx index 7ec7dc886da5..bb10fc137bcb 100644 --- a/src/plugins/discover/public/application/components/table/table.test.tsx +++ b/src/plugins/discover/public/application/components/table/table.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { mount } from 'enzyme'; import { findTestSubject } from '@elastic/eui/lib/test'; diff --git a/src/plugins/discover/public/application/components/table/table.tsx b/src/plugins/discover/public/application/components/table/table.tsx index a5d64aca9f07..90167a515985 100644 --- a/src/plugins/discover/public/application/components/table/table.tsx +++ b/src/plugins/discover/public/application/components/table/table.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useState } from 'react'; import { escapeRegExp } from 'lodash'; import { DocViewTableRow } from './table_row'; diff --git a/src/plugins/discover/public/application/components/table/table_helper.test.ts b/src/plugins/discover/public/application/components/table/table_helper.test.ts index 5f75b5830d8f..20c1092ef86d 100644 --- a/src/plugins/discover/public/application/components/table/table_helper.test.ts +++ b/src/plugins/discover/public/application/components/table/table_helper.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { arrayContainsObjects } from './table_helper'; describe('arrayContainsObjects', () => { diff --git a/src/plugins/discover/public/application/components/table/table_helper.tsx b/src/plugins/discover/public/application/components/table/table_helper.tsx index dac8a78c70b6..2e63b43b8310 100644 --- a/src/plugins/discover/public/application/components/table/table_helper.tsx +++ b/src/plugins/discover/public/application/components/table/table_helper.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Returns true if the given array contains at least 1 object */ diff --git a/src/plugins/discover/public/application/components/table/table_row.tsx b/src/plugins/discover/public/application/components/table/table_row.tsx index 130d4ca19391..95ba38106e3e 100644 --- a/src/plugins/discover/public/application/components/table/table_row.tsx +++ b/src/plugins/discover/public/application/components/table/table_row.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import classNames from 'classnames'; import React, { ReactNode } from 'react'; import { FieldMapping, DocViewFilterFn } from '../../doc_views/doc_views_types'; diff --git a/src/plugins/discover/public/application/components/table/table_row_btn_collapse.tsx b/src/plugins/discover/public/application/components/table/table_row_btn_collapse.tsx index a2ad0c7d2fe5..de25c73e9c95 100644 --- a/src/plugins/discover/public/application/components/table/table_row_btn_collapse.tsx +++ b/src/plugins/discover/public/application/components/table/table_row_btn_collapse.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { i18n } from '@osd/i18n'; import { EuiToolTip, EuiButtonIcon } from '@elastic/eui'; diff --git a/src/plugins/discover/public/application/components/table/table_row_btn_filter_add.tsx b/src/plugins/discover/public/application/components/table/table_row_btn_filter_add.tsx index acd2e9889dda..1707861faf28 100644 --- a/src/plugins/discover/public/application/components/table/table_row_btn_filter_add.tsx +++ b/src/plugins/discover/public/application/components/table/table_row_btn_filter_add.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; import { EuiToolTip, EuiButtonIcon } from '@elastic/eui'; diff --git a/src/plugins/discover/public/application/components/table/table_row_btn_filter_exists.tsx b/src/plugins/discover/public/application/components/table/table_row_btn_filter_exists.tsx index e8c2ebdf5c5f..d4f401282e14 100644 --- a/src/plugins/discover/public/application/components/table/table_row_btn_filter_exists.tsx +++ b/src/plugins/discover/public/application/components/table/table_row_btn_filter_exists.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; import { EuiToolTip, EuiButtonIcon } from '@elastic/eui'; diff --git a/src/plugins/discover/public/application/components/table/table_row_btn_filter_remove.tsx b/src/plugins/discover/public/application/components/table/table_row_btn_filter_remove.tsx index 0de1c4062e60..3b58fbfdc282 100644 --- a/src/plugins/discover/public/application/components/table/table_row_btn_filter_remove.tsx +++ b/src/plugins/discover/public/application/components/table/table_row_btn_filter_remove.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; import { EuiToolTip, EuiButtonIcon } from '@elastic/eui'; diff --git a/src/plugins/discover/public/application/components/table/table_row_btn_toggle_column.tsx b/src/plugins/discover/public/application/components/table/table_row_btn_toggle_column.tsx index 3caa3de37fd2..74f0972fa0ee 100644 --- a/src/plugins/discover/public/application/components/table/table_row_btn_toggle_column.tsx +++ b/src/plugins/discover/public/application/components/table/table_row_btn_toggle_column.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; import { EuiToolTip, EuiButtonIcon } from '@elastic/eui'; diff --git a/src/plugins/discover/public/application/components/table/table_row_icon_no_mapping.tsx b/src/plugins/discover/public/application/components/table/table_row_icon_no_mapping.tsx index 60b93a859dfa..edc4bea91bd8 100644 --- a/src/plugins/discover/public/application/components/table/table_row_icon_no_mapping.tsx +++ b/src/plugins/discover/public/application/components/table/table_row_icon_no_mapping.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiIconTip } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/discover/public/application/components/table/table_row_icon_underscore.tsx b/src/plugins/discover/public/application/components/table/table_row_icon_underscore.tsx index fb74d162fcee..f1d09e2c8d44 100644 --- a/src/plugins/discover/public/application/components/table/table_row_icon_underscore.tsx +++ b/src/plugins/discover/public/application/components/table/table_row_icon_underscore.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiIconTip } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/discover/public/application/components/timechart_header/index.ts b/src/plugins/discover/public/application/components/timechart_header/index.ts index 6908346ea45d..880610ac57e9 100644 --- a/src/plugins/discover/public/application/components/timechart_header/index.ts +++ b/src/plugins/discover/public/application/components/timechart_header/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { TimechartHeader } from './timechart_header'; diff --git a/src/plugins/discover/public/application/components/timechart_header/timechart_header.test.tsx b/src/plugins/discover/public/application/components/timechart_header/timechart_header.test.tsx index 0a64c9c11b63..4a88e469a086 100644 --- a/src/plugins/discover/public/application/components/timechart_header/timechart_header.test.tsx +++ b/src/plugins/discover/public/application/components/timechart_header/timechart_header.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { ReactWrapper } from 'enzyme'; diff --git a/src/plugins/discover/public/application/components/timechart_header/timechart_header.tsx b/src/plugins/discover/public/application/components/timechart_header/timechart_header.tsx index 8163dd73f715..b73e8b162570 100644 --- a/src/plugins/discover/public/application/components/timechart_header/timechart_header.tsx +++ b/src/plugins/discover/public/application/components/timechart_header/timechart_header.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useState, useEffect, useCallback } from 'react'; import { EuiFlexGroup, diff --git a/src/plugins/discover/public/application/components/top_nav/open_search_panel.js b/src/plugins/discover/public/application/components/top_nav/open_search_panel.js index ce5169c78429..f575b8dee625 100644 --- a/src/plugins/discover/public/application/components/top_nav/open_search_panel.js +++ b/src/plugins/discover/public/application/components/top_nav/open_search_panel.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import rison from 'rison-node'; diff --git a/src/plugins/discover/public/application/components/top_nav/open_search_panel.test.js b/src/plugins/discover/public/application/components/top_nav/open_search_panel.test.js index 2d39f743cf97..6316471e9a40 100644 --- a/src/plugins/discover/public/application/components/top_nav/open_search_panel.test.js +++ b/src/plugins/discover/public/application/components/top_nav/open_search_panel.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/discover/public/application/components/top_nav/show_open_search_panel.js b/src/plugins/discover/public/application/components/top_nav/show_open_search_panel.js index af05dbdc28c8..8cb550f49f16 100644 --- a/src/plugins/discover/public/application/components/top_nav/show_open_search_panel.js +++ b/src/plugins/discover/public/application/components/top_nav/show_open_search_panel.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { OpenSearchPanel } from './open_search_panel'; diff --git a/src/plugins/discover/public/application/doc_views/doc_views_helpers.tsx b/src/plugins/discover/public/application/doc_views/doc_views_helpers.tsx index 03f3a7d9f186..3ec87455e837 100644 --- a/src/plugins/discover/public/application/doc_views/doc_views_helpers.tsx +++ b/src/plugins/discover/public/application/doc_views/doc_views_helpers.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { auto, IController } from 'angular'; import React from 'react'; import { render } from 'react-dom'; diff --git a/src/plugins/discover/public/application/doc_views/doc_views_registry.ts b/src/plugins/discover/public/application/doc_views/doc_views_registry.ts index 2d711dcde525..56f167b5f2cc 100644 --- a/src/plugins/discover/public/application/doc_views/doc_views_registry.ts +++ b/src/plugins/discover/public/application/doc_views/doc_views_registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { auto } from 'angular'; import { convertDirectiveToRenderFn } from './doc_views_helpers'; import { DocView, DocViewInput, OpenSearchSearchHit, DocViewInputFn } from './doc_views_types'; diff --git a/src/plugins/discover/public/application/doc_views/doc_views_types.ts b/src/plugins/discover/public/application/doc_views/doc_views_types.ts index 49d43425544e..961fc98516f6 100644 --- a/src/plugins/discover/public/application/doc_views/doc_views_types.ts +++ b/src/plugins/discover/public/application/doc_views/doc_views_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { ComponentType } from 'react'; import { IScope } from 'angular'; import { SearchResponse } from 'elasticsearch'; diff --git a/src/plugins/discover/public/application/embeddable/constants.ts b/src/plugins/discover/public/application/embeddable/constants.ts index 44ce5718c5d9..82f428ea4e4b 100644 --- a/src/plugins/discover/public/application/embeddable/constants.ts +++ b/src/plugins/discover/public/application/embeddable/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,8 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export const SEARCH_EMBEDDABLE_TYPE = 'search'; diff --git a/src/plugins/discover/public/application/embeddable/index.ts b/src/plugins/discover/public/application/embeddable/index.ts index 543d3b7ca589..ecb5e98f43c1 100644 --- a/src/plugins/discover/public/application/embeddable/index.ts +++ b/src/plugins/discover/public/application/embeddable/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SEARCH_EMBEDDABLE_TYPE } from './constants'; export * from './types'; export * from './search_embeddable_factory'; diff --git a/src/plugins/discover/public/application/embeddable/search_embeddable.ts b/src/plugins/discover/public/application/embeddable/search_embeddable.ts index 6d470ae74cff..933f807f8153 100644 --- a/src/plugins/discover/public/application/embeddable/search_embeddable.ts +++ b/src/plugins/discover/public/application/embeddable/search_embeddable.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import './search_embeddable.scss'; import angular from 'angular'; import _ from 'lodash'; diff --git a/src/plugins/discover/public/application/embeddable/search_embeddable_factory.ts b/src/plugins/discover/public/application/embeddable/search_embeddable_factory.ts index bffd3dc16306..9b8c540713ce 100644 --- a/src/plugins/discover/public/application/embeddable/search_embeddable_factory.ts +++ b/src/plugins/discover/public/application/embeddable/search_embeddable_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { auto } from 'angular'; import { i18n } from '@osd/i18n'; import { UiActionsStart } from 'src/plugins/ui_actions/public'; diff --git a/src/plugins/discover/public/application/embeddable/types.ts b/src/plugins/discover/public/application/embeddable/types.ts index 16ff564b36c1..864f954588dd 100644 --- a/src/plugins/discover/public/application/embeddable/types.ts +++ b/src/plugins/discover/public/application/embeddable/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Embeddable, EmbeddableInput, diff --git a/src/plugins/discover/public/application/helpers/breadcrumbs.ts b/src/plugins/discover/public/application/helpers/breadcrumbs.ts index d7fb7bb0359c..e30f50206aef 100644 --- a/src/plugins/discover/public/application/helpers/breadcrumbs.ts +++ b/src/plugins/discover/public/application/helpers/breadcrumbs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; export function getRootBreadcrumbs() { diff --git a/src/plugins/discover/public/application/helpers/format_number_with_commas.ts b/src/plugins/discover/public/application/helpers/format_number_with_commas.ts index 31d6b351c064..b1b3c96e0958 100644 --- a/src/plugins/discover/public/application/helpers/format_number_with_commas.ts +++ b/src/plugins/discover/public/application/helpers/format_number_with_commas.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const COMMA_SEPARATOR_RE = /(\d)(?=(\d{3})+(?!\d))/g; /** diff --git a/src/plugins/discover/public/application/helpers/get_index_pattern_id.ts b/src/plugins/discover/public/application/helpers/get_index_pattern_id.ts index 707f092018eb..dfb02c0b0740 100644 --- a/src/plugins/discover/public/application/helpers/get_index_pattern_id.ts +++ b/src/plugins/discover/public/application/helpers/get_index_pattern_id.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IIndexPattern } from '../../../../data/common/index_patterns'; export function findIndexPatternById( diff --git a/src/plugins/discover/public/application/helpers/get_switch_index_pattern_app_state.test.ts b/src/plugins/discover/public/application/helpers/get_switch_index_pattern_app_state.test.ts index 0a9341db43e7..c1a8acb04ac3 100644 --- a/src/plugins/discover/public/application/helpers/get_switch_index_pattern_app_state.test.ts +++ b/src/plugins/discover/public/application/helpers/get_switch_index_pattern_app_state.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getSwitchIndexPatternAppState } from './get_switch_index_pattern_app_state'; import { IIndexPatternFieldList, IndexPattern } from '../../../../data/common/index_patterns'; diff --git a/src/plugins/discover/public/application/helpers/get_switch_index_pattern_app_state.ts b/src/plugins/discover/public/application/helpers/get_switch_index_pattern_app_state.ts index 86b5921c7f34..51835910a402 100644 --- a/src/plugins/discover/public/application/helpers/get_switch_index_pattern_app_state.ts +++ b/src/plugins/discover/public/application/helpers/get_switch_index_pattern_app_state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { getSortArray } from '../angular/doc_table'; import { SortPairArr } from '../angular/doc_table/lib/get_sort'; import { IndexPattern } from '../../opensearch_dashboards_services'; diff --git a/src/plugins/discover/public/application/helpers/index.ts b/src/plugins/discover/public/application/helpers/index.ts index 820bc55ca412..d765fdf60cee 100644 --- a/src/plugins/discover/public/application/helpers/index.ts +++ b/src/plugins/discover/public/application/helpers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { shortenDottedString } from './shorten_dotted_string'; export { formatNumWithCommas } from './format_number_with_commas'; diff --git a/src/plugins/discover/public/application/helpers/migrate_legacy_query.ts b/src/plugins/discover/public/application/helpers/migrate_legacy_query.ts index 0a41aa82a8ff..90458c135b98 100644 --- a/src/plugins/discover/public/application/helpers/migrate_legacy_query.ts +++ b/src/plugins/discover/public/application/helpers/migrate_legacy_query.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { has } from 'lodash'; import { Query } from 'src/plugins/data/public'; diff --git a/src/plugins/discover/public/application/helpers/popularize_field.test.ts b/src/plugins/discover/public/application/helpers/popularize_field.test.ts index 004104d18209..cdd49c0f77f1 100644 --- a/src/plugins/discover/public/application/helpers/popularize_field.test.ts +++ b/src/plugins/discover/public/application/helpers/popularize_field.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IndexPattern, IndexPatternsService } from '../../../../data/public'; import { popularizeField } from './popularize_field'; diff --git a/src/plugins/discover/public/application/helpers/popularize_field.ts b/src/plugins/discover/public/application/helpers/popularize_field.ts index 5b8cf1926968..e7c4b900fa19 100644 --- a/src/plugins/discover/public/application/helpers/popularize_field.ts +++ b/src/plugins/discover/public/application/helpers/popularize_field.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IndexPattern, IndexPatternsService } from '../../../../data/public'; async function popularizeField( diff --git a/src/plugins/discover/public/application/helpers/shorten_dotted_string.ts b/src/plugins/discover/public/application/helpers/shorten_dotted_string.ts index 98ffa73461fa..39450f8c82c0 100644 --- a/src/plugins/discover/public/application/helpers/shorten_dotted_string.ts +++ b/src/plugins/discover/public/application/helpers/shorten_dotted_string.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const DOT_PREFIX_RE = /(.).+?\./g; /** diff --git a/src/plugins/discover/public/application/helpers/validate_time_range.test.ts b/src/plugins/discover/public/application/helpers/validate_time_range.test.ts index 1de5253a533e..902f3d8a4b62 100644 --- a/src/plugins/discover/public/application/helpers/validate_time_range.test.ts +++ b/src/plugins/discover/public/application/helpers/validate_time_range.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { validateTimeRange } from './validate_time_range'; import { notificationServiceMock } from '../../../../../core/public/mocks'; diff --git a/src/plugins/discover/public/application/helpers/validate_time_range.ts b/src/plugins/discover/public/application/helpers/validate_time_range.ts index 8fcd1daa75e5..d23a84aabb14 100644 --- a/src/plugins/discover/public/application/helpers/validate_time_range.ts +++ b/src/plugins/discover/public/application/helpers/validate_time_range.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import dateMath from '@elastic/datemath'; import { i18n } from '@osd/i18n'; import { ToastsStart } from 'opensearch-dashboards/public'; diff --git a/src/plugins/discover/public/build_services.ts b/src/plugins/discover/public/build_services.ts index 162c25f8dcaf..3fdafcff0c40 100644 --- a/src/plugins/discover/public/build_services.ts +++ b/src/plugins/discover/public/build_services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { History } from 'history'; import { diff --git a/src/plugins/discover/public/get_inner_angular.ts b/src/plugins/discover/public/get_inner_angular.ts index cae6f7fc12e1..d23d539895e4 100644 --- a/src/plugins/discover/public/get_inner_angular.ts +++ b/src/plugins/discover/public/get_inner_angular.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // inner angular imports // these are necessary to bootstrap the local angular. // They can stay even after NP cutover diff --git a/src/plugins/discover/public/index.ts b/src/plugins/discover/public/index.ts index fe8311c65d9f..6c9ab46b656e 100644 --- a/src/plugins/discover/public/index.ts +++ b/src/plugins/discover/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { DiscoverPlugin } from './plugin'; diff --git a/src/plugins/discover/public/mocks.ts b/src/plugins/discover/public/mocks.ts index 98a1ab37a57b..6f4d7b8ea4f7 100644 --- a/src/plugins/discover/public/mocks.ts +++ b/src/plugins/discover/public/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DiscoverSetup, DiscoverStart } from '.'; export type Setup = jest.Mocked; diff --git a/src/plugins/discover/public/opensearch_dashboards_services.ts b/src/plugins/discover/public/opensearch_dashboards_services.ts index 5a1c5af5e5da..eb06e88ecacf 100644 --- a/src/plugins/discover/public/opensearch_dashboards_services.ts +++ b/src/plugins/discover/public/opensearch_dashboards_services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { createHashHistory } from 'history'; import { ScopedHistory, AppMountParameters } from 'opensearch-dashboards/public'; diff --git a/src/plugins/discover/public/plugin.ts b/src/plugins/discover/public/plugin.ts index 7757bfb7e235..ea8659489d40 100644 --- a/src/plugins/discover/public/plugin.ts +++ b/src/plugins/discover/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import angular, { auto } from 'angular'; import { BehaviorSubject } from 'rxjs'; diff --git a/src/plugins/discover/public/register_feature.ts b/src/plugins/discover/public/register_feature.ts index 117de49ee255..7e5d7d9ed332 100644 --- a/src/plugins/discover/public/register_feature.ts +++ b/src/plugins/discover/public/register_feature.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; import { FeatureCatalogueCategory, HomePublicPluginSetup } from '../../home/public'; diff --git a/src/plugins/discover/public/saved_searches/_saved_search.ts b/src/plugins/discover/public/saved_searches/_saved_search.ts index fe4c5d93ca5f..55cd59104ecb 100644 --- a/src/plugins/discover/public/saved_searches/_saved_search.ts +++ b/src/plugins/discover/public/saved_searches/_saved_search.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { createSavedObjectClass, SavedObject, diff --git a/src/plugins/discover/public/saved_searches/index.ts b/src/plugins/discover/public/saved_searches/index.ts index 9d0053439ba9..f576a9a9377a 100644 --- a/src/plugins/discover/public/saved_searches/index.ts +++ b/src/plugins/discover/public/saved_searches/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createSavedSearchesLoader } from './saved_searches'; export { SavedSearch, SavedSearchLoader } from './types'; diff --git a/src/plugins/discover/public/saved_searches/saved_searches.ts b/src/plugins/discover/public/saved_searches/saved_searches.ts index a20cfb2392ec..dd3243568159 100644 --- a/src/plugins/discover/public/saved_searches/saved_searches.ts +++ b/src/plugins/discover/public/saved_searches/saved_searches.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectLoader, SavedObjectOpenSearchDashboardsServices, diff --git a/src/plugins/discover/public/saved_searches/types.ts b/src/plugins/discover/public/saved_searches/types.ts index 08a5d6b58cba..e02fd65e6899 100644 --- a/src/plugins/discover/public/saved_searches/types.ts +++ b/src/plugins/discover/public/saved_searches/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ISearchSource } from '../../../data/public'; export type SortOrder = [string, string]; diff --git a/src/plugins/discover/public/url_generator.test.ts b/src/plugins/discover/public/url_generator.test.ts index fcda7abf7527..c352dd5133a4 100644 --- a/src/plugins/discover/public/url_generator.test.ts +++ b/src/plugins/discover/public/url_generator.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DiscoverUrlGenerator } from './url_generator'; import { hashedItemStore, getStatesFromOsdUrl } from '../../opensearch_dashboards_utils/public'; import { mockStorage } from '../../opensearch_dashboards_utils/public/storage/hashed_item_store/mock'; diff --git a/src/plugins/discover/public/url_generator.ts b/src/plugins/discover/public/url_generator.ts index ac3606202375..25e8517c8c9d 100644 --- a/src/plugins/discover/public/url_generator.ts +++ b/src/plugins/discover/public/url_generator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TimeRange, Filter, diff --git a/src/plugins/discover/server/capabilities_provider.ts b/src/plugins/discover/server/capabilities_provider.ts index 62c3f57592e6..ecbefd8f4bb8 100644 --- a/src/plugins/discover/server/capabilities_provider.ts +++ b/src/plugins/discover/server/capabilities_provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const capabilitiesProvider = () => ({ discover: { show: true, diff --git a/src/plugins/discover/server/index.ts b/src/plugins/discover/server/index.ts index 43d1d9236e8b..e7691cec7e6d 100644 --- a/src/plugins/discover/server/index.ts +++ b/src/plugins/discover/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DiscoverServerPlugin } from './plugin'; export const plugin = () => new DiscoverServerPlugin(); diff --git a/src/plugins/discover/server/plugin.ts b/src/plugins/discover/server/plugin.ts index 4ef27060f21c..3c4425712d22 100644 --- a/src/plugins/discover/server/plugin.ts +++ b/src/plugins/discover/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, CoreStart, Plugin } from 'opensearch-dashboards/server'; import { uiSettings } from './ui_settings'; import { capabilitiesProvider } from './capabilities_provider'; diff --git a/src/plugins/discover/server/saved_objects/index.ts b/src/plugins/discover/server/saved_objects/index.ts index 2f82324fcf45..14395729968e 100644 --- a/src/plugins/discover/server/saved_objects/index.ts +++ b/src/plugins/discover/server/saved_objects/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { searchSavedObjectType } from './search'; diff --git a/src/plugins/discover/server/saved_objects/search.ts b/src/plugins/discover/server/saved_objects/search.ts index bffc8f1f7845..252d45cfb774 100644 --- a/src/plugins/discover/server/saved_objects/search.ts +++ b/src/plugins/discover/server/saved_objects/search.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsType } from 'opensearch-dashboards/server'; import { searchMigrations } from './search_migrations'; diff --git a/src/plugins/discover/server/saved_objects/search_migrations.test.ts b/src/plugins/discover/server/saved_objects/search_migrations.test.ts index 11c468254128..dbf8e3a2109f 100644 --- a/src/plugins/discover/server/saved_objects/search_migrations.test.ts +++ b/src/plugins/discover/server/saved_objects/search_migrations.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectMigrationContext } from 'opensearch-dashboards/server'; import { searchMigrations } from './search_migrations'; diff --git a/src/plugins/discover/server/saved_objects/search_migrations.ts b/src/plugins/discover/server/saved_objects/search_migrations.ts index ec318ac9ffe4..712ce3e57c96 100644 --- a/src/plugins/discover/server/saved_objects/search_migrations.ts +++ b/src/plugins/discover/server/saved_objects/search_migrations.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { flow, get } from 'lodash'; import { SavedObjectMigrationFn } from 'opensearch-dashboards/server'; import { DEFAULT_QUERY_LANGUAGE } from '../../../data/common'; diff --git a/src/plugins/discover/server/ui_settings.ts b/src/plugins/discover/server/ui_settings.ts index 0f19d3d4cf63..70eab306e7fb 100644 --- a/src/plugins/discover/server/ui_settings.ts +++ b/src/plugins/discover/server/ui_settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { schema } from '@osd/config-schema'; diff --git a/src/plugins/embeddable/common/lib/migrate_base_input.ts b/src/plugins/embeddable/common/lib/migrate_base_input.ts index a07082dacaff..7f08b95f91e6 100644 --- a/src/plugins/embeddable/common/lib/migrate_base_input.ts +++ b/src/plugins/embeddable/common/lib/migrate_base_input.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectReference } from '../../../../core/types'; import { EmbeddableInput } from '../types'; diff --git a/src/plugins/embeddable/common/types.ts b/src/plugins/embeddable/common/types.ts index 208eff9577b2..c513d2dcea04 100644 --- a/src/plugins/embeddable/common/types.ts +++ b/src/plugins/embeddable/common/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SerializableState } from '../../opensearch_dashboards_utils/common'; import { Query, TimeRange } from '../../data/common/query'; import { Filter } from '../../data/common/opensearch_query/filters'; diff --git a/src/plugins/embeddable/public/bootstrap.ts b/src/plugins/embeddable/public/bootstrap.ts index 1a3ad3b624e3..531842c521f3 100644 --- a/src/plugins/embeddable/public/bootstrap.ts +++ b/src/plugins/embeddable/public/bootstrap.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { UiActionsSetup } from '../../ui_actions/public'; import { contextMenuTrigger, diff --git a/src/plugins/embeddable/public/components/panel_options_menu/index.tsx b/src/plugins/embeddable/public/components/panel_options_menu/index.tsx index c0e5806894f2..d18dab152b5d 100644 --- a/src/plugins/embeddable/public/components/panel_options_menu/index.tsx +++ b/src/plugins/embeddable/public/components/panel_options_menu/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import React, { useState, useEffect } from 'react'; import { diff --git a/src/plugins/embeddable/public/index.ts b/src/plugins/embeddable/public/index.ts index 6c21efcb80e6..5bfbdedb7e0d 100644 --- a/src/plugins/embeddable/public/index.ts +++ b/src/plugins/embeddable/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index.scss'; import { PluginInitializerContext } from 'src/core/public'; diff --git a/src/plugins/embeddable/public/lib/actions/edit_panel_action.test.tsx b/src/plugins/embeddable/public/lib/actions/edit_panel_action.test.tsx index 896a6f278158..3458cd29ca73 100644 --- a/src/plugins/embeddable/public/lib/actions/edit_panel_action.test.tsx +++ b/src/plugins/embeddable/public/lib/actions/edit_panel_action.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EditPanelAction } from './edit_panel_action'; import { Embeddable, EmbeddableInput, SavedObjectEmbeddableInput } from '../embeddables'; import { ViewMode } from '../types'; diff --git a/src/plugins/embeddable/public/lib/actions/edit_panel_action.ts b/src/plugins/embeddable/public/lib/actions/edit_panel_action.ts index e916032e859c..ae1b4992b1e9 100644 --- a/src/plugins/embeddable/public/lib/actions/edit_panel_action.ts +++ b/src/plugins/embeddable/public/lib/actions/edit_panel_action.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ApplicationStart } from 'opensearch-dashboards/public'; import { Action } from 'src/plugins/ui_actions/public'; diff --git a/src/plugins/embeddable/public/lib/actions/index.ts b/src/plugins/embeddable/public/lib/actions/index.ts index e173d9b0e4a6..c1dc968f5f43 100644 --- a/src/plugins/embeddable/public/lib/actions/index.ts +++ b/src/plugins/embeddable/public/lib/actions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './edit_panel_action'; diff --git a/src/plugins/embeddable/public/lib/containers/container.ts b/src/plugins/embeddable/public/lib/containers/container.ts index d72437bc57ae..96e687398b71 100644 --- a/src/plugins/embeddable/public/lib/containers/container.ts +++ b/src/plugins/embeddable/public/lib/containers/container.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import uuid from 'uuid'; import { merge, Subscription } from 'rxjs'; import { diff --git a/src/plugins/embeddable/public/lib/containers/embeddable_child_panel.test.tsx b/src/plugins/embeddable/public/lib/containers/embeddable_child_panel.test.tsx index 8a2d4b8546bf..2e53448c75b0 100644 --- a/src/plugins/embeddable/public/lib/containers/embeddable_child_panel.test.tsx +++ b/src/plugins/embeddable/public/lib/containers/embeddable_child_panel.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { nextTick } from 'test_utils/enzyme_helpers'; import { EmbeddableChildPanel } from './embeddable_child_panel'; diff --git a/src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx b/src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx index 7bb55ad15247..d879b11a2047 100644 --- a/src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx +++ b/src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import classNames from 'classnames'; import React from 'react'; diff --git a/src/plugins/embeddable/public/lib/containers/i_container.ts b/src/plugins/embeddable/public/lib/containers/i_container.ts index ad3ee35720f4..80561feb25d0 100644 --- a/src/plugins/embeddable/public/lib/containers/i_container.ts +++ b/src/plugins/embeddable/public/lib/containers/i_container.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Embeddable, EmbeddableInput, diff --git a/src/plugins/embeddable/public/lib/containers/index.ts b/src/plugins/embeddable/public/lib/containers/index.ts index ae526e1381d7..de795c1a457a 100644 --- a/src/plugins/embeddable/public/lib/containers/index.ts +++ b/src/plugins/embeddable/public/lib/containers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { IContainer, PanelState, ContainerInput, ContainerOutput } from './i_container'; export { Container } from './container'; export * from './embeddable_child_panel'; diff --git a/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts b/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts index 1db20f30ee49..9c8dc6ef4fd3 100644 --- a/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts +++ b/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectAttributes } from 'opensearch-dashboards/public'; import { EmbeddableFactoryDefinition } from './embeddable_factory_definition'; import { EmbeddableInput, EmbeddableOutput, IEmbeddable } from './i_embeddable'; diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable.test.tsx b/src/plugins/embeddable/public/lib/embeddables/embeddable.test.tsx index 4fd04628f433..74e12c398383 100644 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable.test.tsx +++ b/src/plugins/embeddable/public/lib/embeddables/embeddable.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable max-classes-per-file */ import { skip } from 'rxjs/operators'; diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable.tsx b/src/plugins/embeddable/public/lib/embeddables/embeddable.tsx index 95af92f30362..e32d58c462a9 100644 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable.tsx +++ b/src/plugins/embeddable/public/lib/embeddables/embeddable.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeep, isEqual } from 'lodash'; import * as Rx from 'rxjs'; import { distinctUntilChanged, map } from 'rxjs/operators'; diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts b/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts index 859a2aa5e03b..0d337077dd9e 100644 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts +++ b/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectAttributes } from 'src/core/public'; import { SavedObjectMetaData } from '../../../../saved_objects/public'; import { EmbeddableInput, EmbeddableOutput, IEmbeddable } from './i_embeddable'; diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts b/src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts index 1dda8bb7eb58..7c0035492371 100644 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts +++ b/src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectAttributes } from 'opensearch-dashboards/server'; import { IEmbeddable } from './i_embeddable'; import { EmbeddableFactory } from './embeddable_factory'; diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.test.tsx b/src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.test.tsx index ff077e8ff251..63f0c2d950a2 100644 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.test.tsx +++ b/src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { waitFor } from '@testing-library/dom'; import { render } from '@testing-library/react'; diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.tsx b/src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.tsx index 1328a10aec30..f2a4e1c035ce 100644 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.tsx +++ b/src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useState } from 'react'; import { EmbeddableInput, IEmbeddable } from './i_embeddable'; import { EmbeddableRoot } from './embeddable_root'; diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_root.test.tsx b/src/plugins/embeddable/public/lib/embeddables/embeddable_root.test.tsx index 3ebeeb5803a2..badeda5d4aef 100644 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable_root.test.tsx +++ b/src/plugins/embeddable/public/lib/embeddables/embeddable_root.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { HelloWorldEmbeddable } from '../../../../../../examples/embeddable_examples/public'; import { EmbeddableRoot } from './embeddable_root'; diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_root.tsx b/src/plugins/embeddable/public/lib/embeddables/embeddable_root.tsx index 8ccd9ec7e303..eeb036de9b51 100644 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable_root.tsx +++ b/src/plugins/embeddable/public/lib/embeddables/embeddable_root.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiLoadingSpinner } from '@elastic/eui'; import { EuiText } from '@elastic/eui'; diff --git a/src/plugins/embeddable/public/lib/embeddables/error_embeddable.test.tsx b/src/plugins/embeddable/public/lib/embeddables/error_embeddable.test.tsx index 2eee0f32646c..1514fa5a3bb0 100644 --- a/src/plugins/embeddable/public/lib/embeddables/error_embeddable.test.tsx +++ b/src/plugins/embeddable/public/lib/embeddables/error_embeddable.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { waitFor, render } from '@testing-library/react'; import { ErrorEmbeddable } from './error_embeddable'; diff --git a/src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx b/src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx index 43ce8f0797d9..96b1d8220457 100644 --- a/src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx +++ b/src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiText, EuiIcon, EuiSpacer } from '@elastic/eui'; import React from 'react'; import ReactDOM from 'react-dom'; diff --git a/src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts b/src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts index 24dff37e34d0..594107001f1c 100644 --- a/src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts +++ b/src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { Adapters } from '../types'; import { IContainer } from '../containers/i_container'; diff --git a/src/plugins/embeddable/public/lib/embeddables/index.ts b/src/plugins/embeddable/public/lib/embeddables/index.ts index 286df363e2c2..4e3854f47987 100644 --- a/src/plugins/embeddable/public/lib/embeddables/index.ts +++ b/src/plugins/embeddable/public/lib/embeddables/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { EmbeddableOutput, EmbeddableInput, IEmbeddable } from './i_embeddable'; export { Embeddable } from './embeddable'; export * from './embeddable_factory'; diff --git a/src/plugins/embeddable/public/lib/embeddables/saved_object_embeddable.ts b/src/plugins/embeddable/public/lib/embeddables/saved_object_embeddable.ts index ded435dc7a90..7c9b64d1636d 100644 --- a/src/plugins/embeddable/public/lib/embeddables/saved_object_embeddable.ts +++ b/src/plugins/embeddable/public/lib/embeddables/saved_object_embeddable.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EmbeddableInput } from '..'; export interface SavedObjectEmbeddableInput extends EmbeddableInput { diff --git a/src/plugins/embeddable/public/lib/embeddables/with_subscription.tsx b/src/plugins/embeddable/public/lib/embeddables/with_subscription.tsx index 070a1adda0ab..979d8d67158f 100644 --- a/src/plugins/embeddable/public/lib/embeddables/with_subscription.tsx +++ b/src/plugins/embeddable/public/lib/embeddables/with_subscription.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import * as Rx from 'rxjs'; import { IEmbeddable, EmbeddableInput, EmbeddableOutput } from './i_embeddable'; diff --git a/src/plugins/embeddable/public/lib/errors.test.ts b/src/plugins/embeddable/public/lib/errors.test.ts index 67df364fa65b..3266637d84f7 100644 --- a/src/plugins/embeddable/public/lib/errors.test.ts +++ b/src/plugins/embeddable/public/lib/errors.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IncompatibleActionError } from 'src/plugins/ui_actions/public'; import { PanelNotFoundError, EmbeddableFactoryNotFoundError } from './errors'; diff --git a/src/plugins/embeddable/public/lib/errors.ts b/src/plugins/embeddable/public/lib/errors.ts index 8a5b3b0717b8..6561c463890f 100644 --- a/src/plugins/embeddable/public/lib/errors.ts +++ b/src/plugins/embeddable/public/lib/errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable max-classes-per-file */ import { i18n } from '@osd/i18n'; diff --git a/src/plugins/embeddable/public/lib/index.ts b/src/plugins/embeddable/public/lib/index.ts index 0366b000027c..a414502a00c4 100644 --- a/src/plugins/embeddable/public/lib/index.ts +++ b/src/plugins/embeddable/public/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './errors'; export * from './embeddables'; export * from './types'; diff --git a/src/plugins/embeddable/public/lib/inspector.ts b/src/plugins/embeddable/public/lib/inspector.ts index 7602f19b0e3e..5262a054113c 100644 --- a/src/plugins/embeddable/public/lib/inspector.ts +++ b/src/plugins/embeddable/public/lib/inspector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from '../../../inspector/public'; diff --git a/src/plugins/embeddable/public/lib/panel/embeddable_error_label.tsx b/src/plugins/embeddable/public/lib/panel/embeddable_error_label.tsx index cad5f965fd44..de4229abdd4f 100644 --- a/src/plugins/embeddable/public/lib/panel/embeddable_error_label.tsx +++ b/src/plugins/embeddable/public/lib/panel/embeddable_error_label.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiBadge, EuiToolTip } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/embeddable/public/lib/panel/embeddable_panel.test.tsx b/src/plugins/embeddable/public/lib/panel/embeddable_panel.test.tsx index b529a0634516..072bcd93d32f 100644 --- a/src/plugins/embeddable/public/lib/panel/embeddable_panel.test.tsx +++ b/src/plugins/embeddable/public/lib/panel/embeddable_panel.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount } from 'enzyme'; import { nextTick } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx b/src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx index 0563e731ba2c..616ccb65493d 100644 --- a/src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx +++ b/src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { EuiContextMenuPanelDescriptor, EuiPanel, htmlIdGenerator } from '@elastic/eui'; import classNames from 'classnames'; import React from 'react'; diff --git a/src/plugins/embeddable/public/lib/panel/index.ts b/src/plugins/embeddable/public/lib/panel/index.ts index 39ecaf250a8b..7a64ddadc49f 100644 --- a/src/plugins/embeddable/public/lib/panel/index.ts +++ b/src/plugins/embeddable/public/lib/panel/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './embeddable_panel'; export * from './panel_header'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/index.ts b/src/plugins/embeddable/public/lib/panel/panel_header/index.ts index 864df55ee507..493bf64a419f 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/index.ts +++ b/src/plugins/embeddable/public/lib/panel/panel_header/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './panel_actions'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.test.tsx b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.test.tsx index c3888dd0792b..784721e9d6d2 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.test.tsx +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ViewMode, EmbeddableOutput, isErrorEmbeddable } from '../../../../'; import { AddPanelAction } from './add_panel_action'; import { diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts index 2fea820b5a91..f406c9f25ff9 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; import { Action, ActionExecutionContext } from 'src/plugins/ui_actions/public'; import { NotificationsStart, OverlayStart } from 'src/core/public'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.test.tsx b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.test.tsx index f509f89799fc..232c2ca82d15 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.test.tsx +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { EuiFlyout } from '@elastic/eui'; import { AddPanelFlyout } from './add_panel_flyout'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx index ffe293d7dccc..473424984c2f 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; import { FormattedMessage } from '@osd/i18n/react'; import React, { ReactElement } from 'react'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/index.ts b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/index.ts index 56132c137086..639f94379c3b 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/index.ts +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './add_panel_action'; export * from './open_add_panel_flyout'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx index a12750ea9fef..0cf2f66fe2b3 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { NotificationsStart, OverlayStart } from 'src/core/public'; import { EmbeddableStart } from '../../../../../plugin'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/saved_object_finder_create_new.tsx b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/saved_object_finder_create_new.tsx index c969450f1e2c..c69835f2d7c3 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/saved_object_finder_create_new.tsx +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/saved_object_finder_create_new.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { ReactElement, useState } from 'react'; import { EuiButton } from '@elastic/eui'; import { EuiContextMenuPanel } from '@elastic/eui'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/tests/saved_object_finder_create_new.test.tsx b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/tests/saved_object_finder_create_new.test.tsx index 921ba0f45781..0eb4792c03b8 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/tests/saved_object_finder_create_new.test.tsx +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/tests/saved_object_finder_create_new.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { SavedObjectFinderCreateNew } from '../saved_object_finder_create_new'; import { shallow } from 'enzyme'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/customize_panel_action.test.ts b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/customize_panel_action.test.ts index 815c499f8434..bd3da79797c3 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/customize_panel_action.test.ts +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/customize_panel_action.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Container, isErrorEmbeddable } from '../../../..'; import { nextTick } from 'test_utils/enzyme_helpers'; import { CustomizePanelTitleAction } from './customize_panel_action'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/customize_panel_action.ts b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/customize_panel_action.ts index ed497dede8d2..7eedcc6dbb0e 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/customize_panel_action.ts +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/customize_panel_action.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Action } from 'src/plugins/ui_actions/public'; import { ViewMode } from '../../../../types'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/customize_panel_modal.tsx b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/customize_panel_modal.tsx index c1c858ebb4e1..e62644bd6a4d 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/customize_panel_modal.tsx +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/customize_panel_modal.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/customize_title_form.tsx b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/customize_title_form.tsx index e2ca47eab2a3..eb3abc40b8b5 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/customize_title_form.tsx +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/customize_title_form.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ChangeEvent } from 'react'; import { EuiButtonEmpty, EuiFieldText, EuiFormRow } from '@elastic/eui'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/index.ts b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/index.ts index 7c1142db7f9a..cf733abf1a0a 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/index.ts +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/customize_title/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './customize_panel_action'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/index.ts b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/index.ts index 6c071d743b02..707a76361a00 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/index.ts +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './inspect_panel_action'; export * from './add_panel'; export * from './remove_panel_action'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/inspect_panel_action.test.tsx b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/inspect_panel_action.test.tsx index 9968e63d517f..e3d28380bdf2 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/inspect_panel_action.test.tsx +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/inspect_panel_action.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { InspectPanelAction } from './inspect_panel_action'; import { FilterableContainer, diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/inspect_panel_action.ts b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/inspect_panel_action.ts index 2a0633238423..d0b3d2316b77 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/inspect_panel_action.ts +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/inspect_panel_action.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Action } from 'src/plugins/ui_actions/public'; import { Start as InspectorStartContract } from 'src/plugins/inspector/public'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/remove_panel_action.test.tsx b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/remove_panel_action.test.tsx index 9c55a8ee32db..0910c54f9b9e 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/remove_panel_action.test.tsx +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/remove_panel_action.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EmbeddableOutput, isErrorEmbeddable } from '../../../'; import { RemovePanelAction } from './remove_panel_action'; import { EmbeddableStart } from '../../../../plugin'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/remove_panel_action.ts b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/remove_panel_action.ts index 640f65ea4149..22419874c813 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/remove_panel_action.ts +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/remove_panel_action.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; import { Action, IncompatibleActionError } from '../../../ui_actions'; import { ContainerInput, IContainer } from '../../../containers'; diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_header.tsx b/src/plugins/embeddable/public/lib/panel/panel_header/panel_header.tsx index d927e1ffa1ef..192cbb3ae5df 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_header.tsx +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_header.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; import { EuiContextMenuPanelDescriptor, diff --git a/src/plugins/embeddable/public/lib/panel/panel_header/panel_options_menu.tsx b/src/plugins/embeddable/public/lib/panel/panel_header/panel_options_menu.tsx index adb06226dd59..dfcfb18ea362 100644 --- a/src/plugins/embeddable/public/lib/panel/panel_header/panel_options_menu.tsx +++ b/src/plugins/embeddable/public/lib/panel/panel_header/panel_options_menu.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import React from 'react'; diff --git a/src/plugins/embeddable/public/lib/reference_or_value_embeddable/index.ts b/src/plugins/embeddable/public/lib/reference_or_value_embeddable/index.ts index f6a7726d9cdc..9a9dae53bb3e 100644 --- a/src/plugins/embeddable/public/lib/reference_or_value_embeddable/index.ts +++ b/src/plugins/embeddable/public/lib/reference_or_value_embeddable/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ReferenceOrValueEmbeddable, isReferenceOrValueEmbeddable } from './types'; diff --git a/src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts b/src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts index 395a41f02315..2818afe76ee6 100644 --- a/src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts +++ b/src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EmbeddableInput, SavedObjectEmbeddableInput } from '..'; /** diff --git a/src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts b/src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts index 2125a46433cf..372ad8aad2de 100644 --- a/src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts +++ b/src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { coreMock, scopedHistoryMock } from '../../../../../core/public/mocks'; import { EmbeddableStateTransfer } from '.'; import { ApplicationStart, PublicAppInfo } from '../../../../../core/public'; diff --git a/src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts b/src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts index 3ea88de902af..57aeaa856acc 100644 --- a/src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts +++ b/src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeep } from 'lodash'; import { ScopedHistory, ApplicationStart, PublicAppInfo } from '../../../../../core/public'; import { diff --git a/src/plugins/embeddable/public/lib/state_transfer/index.ts b/src/plugins/embeddable/public/lib/state_transfer/index.ts index ca945cae3bfd..535789967cb8 100644 --- a/src/plugins/embeddable/public/lib/state_transfer/index.ts +++ b/src/plugins/embeddable/public/lib/state_transfer/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { EmbeddableStateTransfer } from './embeddable_state_transfer'; export { EmbeddableEditorState, EmbeddablePackageState } from './types'; diff --git a/src/plugins/embeddable/public/lib/state_transfer/types.ts b/src/plugins/embeddable/public/lib/state_transfer/types.ts index 6350cd8e6cb4..98e257c80e5f 100644 --- a/src/plugins/embeddable/public/lib/state_transfer/types.ts +++ b/src/plugins/embeddable/public/lib/state_transfer/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Optional } from '@osd/utility-types'; import { EmbeddableInput, SavedObjectEmbeddableInput } from '..'; diff --git a/src/plugins/embeddable/public/lib/test_samples/actions/edit_mode_action.ts b/src/plugins/embeddable/public/lib/test_samples/actions/edit_mode_action.ts index c3184310d7f6..9b9d2fcdbfc4 100644 --- a/src/plugins/embeddable/public/lib/test_samples/actions/edit_mode_action.ts +++ b/src/plugins/embeddable/public/lib/test_samples/actions/edit_mode_action.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createAction, ActionType } from '../../ui_actions'; import { ViewMode } from '../../types'; import { IEmbeddable } from '../..'; diff --git a/src/plugins/embeddable/public/lib/test_samples/actions/get_message_modal.tsx b/src/plugins/embeddable/public/lib/test_samples/actions/get_message_modal.tsx index 6f1c2cfda65c..251fc1d89bad 100644 --- a/src/plugins/embeddable/public/lib/test_samples/actions/get_message_modal.tsx +++ b/src/plugins/embeddable/public/lib/test_samples/actions/get_message_modal.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiForm, EuiFormRow, diff --git a/src/plugins/embeddable/public/lib/test_samples/actions/index.ts b/src/plugins/embeddable/public/lib/test_samples/actions/index.ts index 4a4892bac56b..948b258669de 100644 --- a/src/plugins/embeddable/public/lib/test_samples/actions/index.ts +++ b/src/plugins/embeddable/public/lib/test_samples/actions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './edit_mode_action'; export * from './say_hello_action'; export * from './send_message_action'; diff --git a/src/plugins/embeddable/public/lib/test_samples/actions/say_hello_action.tsx b/src/plugins/embeddable/public/lib/test_samples/actions/say_hello_action.tsx index b207c61eb89c..a3144a37dab8 100644 --- a/src/plugins/embeddable/public/lib/test_samples/actions/say_hello_action.tsx +++ b/src/plugins/embeddable/public/lib/test_samples/actions/say_hello_action.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IncompatibleActionError, ActionType, ActionDefinitionByType } from '../../ui_actions'; import { EmbeddableInput, Embeddable, EmbeddableOutput, IEmbeddable } from '../../embeddables'; diff --git a/src/plugins/embeddable/public/lib/test_samples/actions/send_message_action.tsx b/src/plugins/embeddable/public/lib/test_samples/actions/send_message_action.tsx index 960d563c45ed..b3664d8188ad 100644 --- a/src/plugins/embeddable/public/lib/test_samples/actions/send_message_action.tsx +++ b/src/plugins/embeddable/public/lib/test_samples/actions/send_message_action.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiFlyoutBody } from '@elastic/eui'; import { createAction, IncompatibleActionError, ActionType } from '../../ui_actions'; diff --git a/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/contact_card.tsx b/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/contact_card.tsx index bd69f39d38dc..7fb5a6195f6d 100644 --- a/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/contact_card.tsx +++ b/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/contact_card.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiCard, EuiFlexItem, EuiFlexGroup, EuiFormRow } from '@elastic/eui'; diff --git a/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/contact_card_embeddable.tsx b/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/contact_card_embeddable.tsx index 0b56f11cacf8..91f446bc8823 100644 --- a/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/contact_card_embeddable.tsx +++ b/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/contact_card_embeddable.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import ReactDom from 'react-dom'; import { Subscription } from 'rxjs'; diff --git a/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/contact_card_embeddable_factory.tsx b/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/contact_card_embeddable_factory.tsx index b79bba67d222..cc50b9e44a9a 100644 --- a/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/contact_card_embeddable_factory.tsx +++ b/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/contact_card_embeddable_factory.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; import { UiActionsStart } from 'src/plugins/ui_actions/public'; diff --git a/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/contact_card_initializer.tsx b/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/contact_card_initializer.tsx index 41242034f090..28bf1c19a84b 100644 --- a/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/contact_card_initializer.tsx +++ b/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/contact_card_initializer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiForm, EuiFormRow, diff --git a/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/index.ts b/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/index.ts index fc055107fd53..0feb77858d41 100644 --- a/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/index.ts +++ b/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './contact_card'; export * from './contact_card_embeddable'; export * from './contact_card_embeddable_factory'; diff --git a/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/slow_contact_card_embeddable_factory.ts b/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/slow_contact_card_embeddable_factory.ts index 0adb58105675..1ae6821c95f3 100644 --- a/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/slow_contact_card_embeddable_factory.ts +++ b/src/plugins/embeddable/public/lib/test_samples/embeddables/contact_card/slow_contact_card_embeddable_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiActionsStart } from 'src/plugins/ui_actions/public'; import { Container, EmbeddableFactoryDefinition } from '../../..'; import { ContactCardEmbeddable, ContactCardEmbeddableInput } from './contact_card_embeddable'; diff --git a/src/plugins/embeddable/public/lib/test_samples/embeddables/empty_embeddable.tsx b/src/plugins/embeddable/public/lib/test_samples/embeddables/empty_embeddable.tsx index 666cd849ec78..46845eaa5d4b 100644 --- a/src/plugins/embeddable/public/lib/test_samples/embeddables/empty_embeddable.tsx +++ b/src/plugins/embeddable/public/lib/test_samples/embeddables/empty_embeddable.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Embeddable, EmbeddableInput, EmbeddableOutput } from '../..'; export const EMPTY_EMBEDDABLE = 'EMPTY_EMBEDDABLE'; diff --git a/src/plugins/embeddable/public/lib/test_samples/embeddables/filterable_container.tsx b/src/plugins/embeddable/public/lib/test_samples/embeddables/filterable_container.tsx index 0157e609f968..ad29ea1a0e69 100644 --- a/src/plugins/embeddable/public/lib/test_samples/embeddables/filterable_container.tsx +++ b/src/plugins/embeddable/public/lib/test_samples/embeddables/filterable_container.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Container, ContainerInput } from '../../containers'; import { Filter } from '../../../../../data/public'; import { EmbeddableStart } from '../../../plugin'; diff --git a/src/plugins/embeddable/public/lib/test_samples/embeddables/filterable_container_factory.ts b/src/plugins/embeddable/public/lib/test_samples/embeddables/filterable_container_factory.ts index ca0ce32291e1..39ae39a1a277 100644 --- a/src/plugins/embeddable/public/lib/test_samples/embeddables/filterable_container_factory.ts +++ b/src/plugins/embeddable/public/lib/test_samples/embeddables/filterable_container_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Container, EmbeddableFactoryDefinition } from '../..'; import { diff --git a/src/plugins/embeddable/public/lib/test_samples/embeddables/filterable_embeddable.tsx b/src/plugins/embeddable/public/lib/test_samples/embeddables/filterable_embeddable.tsx index dd68933a762f..328b76286307 100644 --- a/src/plugins/embeddable/public/lib/test_samples/embeddables/filterable_embeddable.tsx +++ b/src/plugins/embeddable/public/lib/test_samples/embeddables/filterable_embeddable.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IContainer } from '../../containers'; import { EmbeddableOutput, EmbeddableInput, Embeddable } from '../../embeddables'; import { Filter } from '../../../../../data/public'; diff --git a/src/plugins/embeddable/public/lib/test_samples/embeddables/filterable_embeddable_factory.ts b/src/plugins/embeddable/public/lib/test_samples/embeddables/filterable_embeddable_factory.ts index c426c46940e8..a3bf635b1803 100644 --- a/src/plugins/embeddable/public/lib/test_samples/embeddables/filterable_embeddable_factory.ts +++ b/src/plugins/embeddable/public/lib/test_samples/embeddables/filterable_embeddable_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { FilterableEmbeddable, diff --git a/src/plugins/embeddable/public/lib/test_samples/embeddables/hello_world_container.tsx b/src/plugins/embeddable/public/lib/test_samples/embeddables/hello_world_container.tsx index 6c85d44e728f..c4e8c5878b43 100644 --- a/src/plugins/embeddable/public/lib/test_samples/embeddables/hello_world_container.tsx +++ b/src/plugins/embeddable/public/lib/test_samples/embeddables/hello_world_container.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import ReactDOM from 'react-dom'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/embeddable/public/lib/test_samples/embeddables/hello_world_container_component.tsx b/src/plugins/embeddable/public/lib/test_samples/embeddables/hello_world_container_component.tsx index 03365aaf0e45..35aba8e2bf1f 100644 --- a/src/plugins/embeddable/public/lib/test_samples/embeddables/hello_world_container_component.tsx +++ b/src/plugins/embeddable/public/lib/test_samples/embeddables/hello_world_container_component.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { Component, RefObject } from 'react'; import { Subscription } from 'rxjs'; diff --git a/src/plugins/embeddable/public/lib/test_samples/embeddables/index.ts b/src/plugins/embeddable/public/lib/test_samples/embeddables/index.ts index 8c6e2d1526c5..b53e3f599f97 100644 --- a/src/plugins/embeddable/public/lib/test_samples/embeddables/index.ts +++ b/src/plugins/embeddable/public/lib/test_samples/embeddables/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './contact_card'; export * from './empty_embeddable'; export * from './filterable_container'; diff --git a/src/plugins/embeddable/public/lib/test_samples/index.ts b/src/plugins/embeddable/public/lib/test_samples/index.ts index c27a60ca13a2..d2b2a7a1cfca 100644 --- a/src/plugins/embeddable/public/lib/test_samples/index.ts +++ b/src/plugins/embeddable/public/lib/test_samples/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './actions'; export * from './embeddables'; diff --git a/src/plugins/embeddable/public/lib/triggers/index.ts b/src/plugins/embeddable/public/lib/triggers/index.ts index 94d5676feb3d..b22b6fb8a21f 100644 --- a/src/plugins/embeddable/public/lib/triggers/index.ts +++ b/src/plugins/embeddable/public/lib/triggers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './triggers'; diff --git a/src/plugins/embeddable/public/lib/triggers/triggers.ts b/src/plugins/embeddable/public/lib/triggers/triggers.ts index 1c7540de70d4..e2391be2a346 100644 --- a/src/plugins/embeddable/public/lib/triggers/triggers.ts +++ b/src/plugins/embeddable/public/lib/triggers/triggers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchDashboardsDatatable } from '../../../../expressions'; import { Trigger } from '../../../../ui_actions/public'; import { IEmbeddable } from '..'; diff --git a/src/plugins/embeddable/public/lib/types.ts b/src/plugins/embeddable/public/lib/types.ts index 473275682dd5..76da1a0578b1 100644 --- a/src/plugins/embeddable/public/lib/types.ts +++ b/src/plugins/embeddable/public/lib/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Adapters } from './inspector'; export interface Trigger { diff --git a/src/plugins/embeddable/public/lib/ui_actions.ts b/src/plugins/embeddable/public/lib/ui_actions.ts index 7e33450b1846..a09f86ea3db2 100644 --- a/src/plugins/embeddable/public/lib/ui_actions.ts +++ b/src/plugins/embeddable/public/lib/ui_actions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from '../../../ui_actions/public'; diff --git a/src/plugins/embeddable/public/mocks.tsx b/src/plugins/embeddable/public/mocks.tsx index 559860ef00a8..69745351c78d 100644 --- a/src/plugins/embeddable/public/mocks.tsx +++ b/src/plugins/embeddable/public/mocks.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EmbeddableStart, diff --git a/src/plugins/embeddable/public/plugin.test.ts b/src/plugins/embeddable/public/plugin.test.ts index 89624eadd98a..192578f5ac83 100644 --- a/src/plugins/embeddable/public/plugin.test.ts +++ b/src/plugins/embeddable/public/plugin.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { coreMock } from '../../../core/public/mocks'; import { testPlugin } from './tests/test_plugin'; import { EmbeddableFactoryProvider } from './types'; diff --git a/src/plugins/embeddable/public/plugin.tsx b/src/plugins/embeddable/public/plugin.tsx index be975cb16957..26fc159304ed 100644 --- a/src/plugins/embeddable/public/plugin.tsx +++ b/src/plugins/embeddable/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { Subscription } from 'rxjs'; import { identity } from 'lodash'; diff --git a/src/plugins/embeddable/public/tests/container.test.ts b/src/plugins/embeddable/public/tests/container.test.ts index c60f4fab4df6..981e98b03c43 100644 --- a/src/plugins/embeddable/public/tests/container.test.ts +++ b/src/plugins/embeddable/public/tests/container.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { skip } from 'rxjs/operators'; import { diff --git a/src/plugins/embeddable/public/tests/customize_panel_modal.test.tsx b/src/plugins/embeddable/public/tests/customize_panel_modal.test.tsx index 12b88f71a43b..2aaeb5e898a7 100644 --- a/src/plugins/embeddable/public/tests/customize_panel_modal.test.tsx +++ b/src/plugins/embeddable/public/tests/customize_panel_modal.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { findTestSubject } from '@elastic/eui/lib/test'; import * as React from 'react'; import { Container, isErrorEmbeddable } from '../lib'; diff --git a/src/plugins/embeddable/public/tests/explicit_input.test.ts b/src/plugins/embeddable/public/tests/explicit_input.test.ts index 99b2f4e71a41..c6b9dacd8f29 100644 --- a/src/plugins/embeddable/public/tests/explicit_input.test.ts +++ b/src/plugins/embeddable/public/tests/explicit_input.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { skip } from 'rxjs/operators'; import { testPlugin } from './test_plugin'; import { diff --git a/src/plugins/embeddable/public/tests/get_embeddable_factories.test.ts b/src/plugins/embeddable/public/tests/get_embeddable_factories.test.ts index 0996f3142a24..258fa54b4823 100644 --- a/src/plugins/embeddable/public/tests/get_embeddable_factories.test.ts +++ b/src/plugins/embeddable/public/tests/get_embeddable_factories.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { testPlugin } from './test_plugin'; import { FilterableContainerFactory } from '../lib/test_samples/embeddables/filterable_container_factory'; import { ContactCardEmbeddableFactory } from '../lib/test_samples/embeddables/contact_card/contact_card_embeddable_factory'; diff --git a/src/plugins/embeddable/public/tests/helpers.ts b/src/plugins/embeddable/public/tests/helpers.ts index e2c424b6db5f..889940c396f4 100644 --- a/src/plugins/embeddable/public/tests/helpers.ts +++ b/src/plugins/embeddable/public/tests/helpers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const expectErrorAsync = (fn: (...args: unknown[]) => Promise): Promise => { return fn() .then(() => { diff --git a/src/plugins/embeddable/public/tests/test_plugin.ts b/src/plugins/embeddable/public/tests/test_plugin.ts index 27d76c28311f..c2a66a19c13a 100644 --- a/src/plugins/embeddable/public/tests/test_plugin.ts +++ b/src/plugins/embeddable/public/tests/test_plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, CoreStart } from 'src/core/public'; import { UiActionsStart } from '../../../ui_actions/public'; import { uiActionsPluginMock } from '../../../ui_actions/public/mocks'; diff --git a/src/plugins/embeddable/public/types.ts b/src/plugins/embeddable/public/types.ts index 616d96d1139a..a03dcc33938f 100644 --- a/src/plugins/embeddable/public/types.ts +++ b/src/plugins/embeddable/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectAttributes } from 'opensearch-dashboards/public'; import { EmbeddableFactory, diff --git a/src/plugins/embeddable/server/index.ts b/src/plugins/embeddable/server/index.ts index 129e06c8616d..64e9e05d19c8 100644 --- a/src/plugins/embeddable/server/index.ts +++ b/src/plugins/embeddable/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EmbeddableServerPlugin, EmbeddableSetup } from './plugin'; export { EmbeddableSetup }; diff --git a/src/plugins/embeddable/server/plugin.ts b/src/plugins/embeddable/server/plugin.ts index dc8a416c1cbb..a4516cb61e9f 100644 --- a/src/plugins/embeddable/server/plugin.ts +++ b/src/plugins/embeddable/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, CoreStart, Plugin, SavedObjectReference } from 'opensearch-dashboards/server'; import { identity } from 'lodash'; import { diff --git a/src/plugins/embeddable/server/types.ts b/src/plugins/embeddable/server/types.ts index fd41f370a103..47fe6e166d72 100644 --- a/src/plugins/embeddable/server/types.ts +++ b/src/plugins/embeddable/server/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PersistableState, PersistableStateDefinition, diff --git a/src/plugins/expressions/common/ast/build_expression.test.ts b/src/plugins/expressions/common/ast/build_expression.test.ts index 11d3241c184f..85a6a6d0b932 100644 --- a/src/plugins/expressions/common/ast/build_expression.test.ts +++ b/src/plugins/expressions/common/ast/build_expression.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionAstExpression } from './types'; import { buildExpression, isExpressionAstBuilder, isExpressionAst } from './build_expression'; import { buildExpressionFunction, ExpressionAstFunctionBuilder } from './build_function'; diff --git a/src/plugins/expressions/common/ast/build_expression.ts b/src/plugins/expressions/common/ast/build_expression.ts index e84c810ecc31..47ea9f0ae33c 100644 --- a/src/plugins/expressions/common/ast/build_expression.ts +++ b/src/plugins/expressions/common/ast/build_expression.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AnyExpressionFunctionDefinition } from '../expression_functions/types'; import { ExpressionAstExpression, ExpressionAstFunction } from './types'; import { diff --git a/src/plugins/expressions/common/ast/build_function.test.ts b/src/plugins/expressions/common/ast/build_function.test.ts index 99b26d7469bf..c372f4e951d1 100644 --- a/src/plugins/expressions/common/ast/build_function.test.ts +++ b/src/plugins/expressions/common/ast/build_function.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionAstExpression } from './types'; import { buildExpression } from './build_expression'; import { buildExpressionFunction } from './build_function'; diff --git a/src/plugins/expressions/common/ast/build_function.ts b/src/plugins/expressions/common/ast/build_function.ts index 8ad994c23859..3ad2211c48b6 100644 --- a/src/plugins/expressions/common/ast/build_function.ts +++ b/src/plugins/expressions/common/ast/build_function.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionAstFunction } from './types'; import { AnyExpressionFunctionDefinition, diff --git a/src/plugins/expressions/common/ast/format.test.ts b/src/plugins/expressions/common/ast/format.test.ts index 00fb1f04d8ef..11b68bc7d0ee 100644 --- a/src/plugins/expressions/common/ast/format.test.ts +++ b/src/plugins/expressions/common/ast/format.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionAstExpression, ExpressionAstArgument } from './types'; import { format } from './format'; diff --git a/src/plugins/expressions/common/ast/format.ts b/src/plugins/expressions/common/ast/format.ts index bd3accffeb7f..59c5fcc23254 100644 --- a/src/plugins/expressions/common/ast/format.ts +++ b/src/plugins/expressions/common/ast/format.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionAstExpression, ExpressionAstArgument } from './types'; // eslint-disable-next-line @typescript-eslint/no-var-requires diff --git a/src/plugins/expressions/common/ast/format_expression.test.ts b/src/plugins/expressions/common/ast/format_expression.test.ts index 6f1a0ea07c10..12ccf0213fe8 100644 --- a/src/plugins/expressions/common/ast/format_expression.test.ts +++ b/src/plugins/expressions/common/ast/format_expression.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { formatExpression } from './format_expression'; describe('formatExpression()', () => { diff --git a/src/plugins/expressions/common/ast/format_expression.ts b/src/plugins/expressions/common/ast/format_expression.ts index ed0ba15891c1..21b99a8774e0 100644 --- a/src/plugins/expressions/common/ast/format_expression.ts +++ b/src/plugins/expressions/common/ast/format_expression.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionAstExpression } from './types'; import { format } from './format'; diff --git a/src/plugins/expressions/common/ast/index.ts b/src/plugins/expressions/common/ast/index.ts index 592bd378091e..fba7da0daddb 100644 --- a/src/plugins/expressions/common/ast/index.ts +++ b/src/plugins/expressions/common/ast/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './build_expression'; export * from './build_function'; export * from './format_expression'; diff --git a/src/plugins/expressions/common/ast/parse.test.ts b/src/plugins/expressions/common/ast/parse.test.ts index 0174219b2c83..426e4525317c 100644 --- a/src/plugins/expressions/common/ast/parse.test.ts +++ b/src/plugins/expressions/common/ast/parse.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parse } from './parse'; describe('parse()', () => { diff --git a/src/plugins/expressions/common/ast/parse.ts b/src/plugins/expressions/common/ast/parse.ts index dd2efab15b73..209f34676bb8 100644 --- a/src/plugins/expressions/common/ast/parse.ts +++ b/src/plugins/expressions/common/ast/parse.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionAstExpression, ExpressionAstArgument } from './types'; // eslint-disable-next-line @typescript-eslint/no-var-requires diff --git a/src/plugins/expressions/common/ast/parse_expression.test.ts b/src/plugins/expressions/common/ast/parse_expression.test.ts index c5577ca16766..bc45646db887 100644 --- a/src/plugins/expressions/common/ast/parse_expression.test.ts +++ b/src/plugins/expressions/common/ast/parse_expression.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parseExpression } from './parse_expression'; describe('parseExpression()', () => { diff --git a/src/plugins/expressions/common/ast/parse_expression.ts b/src/plugins/expressions/common/ast/parse_expression.ts index 5a15d35e0dbe..6a4074f6beee 100644 --- a/src/plugins/expressions/common/ast/parse_expression.ts +++ b/src/plugins/expressions/common/ast/parse_expression.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionAstExpression } from './types'; import { parse } from './parse'; diff --git a/src/plugins/expressions/common/ast/types.ts b/src/plugins/expressions/common/ast/types.ts index 395e8238e7ab..2e06ef74b7ca 100644 --- a/src/plugins/expressions/common/ast/types.ts +++ b/src/plugins/expressions/common/ast/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionValue, ExpressionValueError } from '../expression_types'; export type ExpressionAstNode = diff --git a/src/plugins/expressions/common/execution/container.ts b/src/plugins/expressions/common/execution/container.ts index 49260c25a405..02f5fcf45d62 100644 --- a/src/plugins/expressions/common/execution/container.ts +++ b/src/plugins/expressions/common/execution/container.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { StateContainer, createStateContainer, diff --git a/src/plugins/expressions/common/execution/execution.abortion.test.ts b/src/plugins/expressions/common/execution/execution.abortion.test.ts index a8cdc049a380..338fc913116d 100644 --- a/src/plugins/expressions/common/execution/execution.abortion.test.ts +++ b/src/plugins/expressions/common/execution/execution.abortion.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Execution } from './execution'; import { parseExpression } from '../ast'; import { createUnitTestExecutor } from '../test_helpers'; diff --git a/src/plugins/expressions/common/execution/execution.test.ts b/src/plugins/expressions/common/execution/execution.test.ts index fbdbad8b315e..3af8c97b4de5 100644 --- a/src/plugins/expressions/common/execution/execution.test.ts +++ b/src/plugins/expressions/common/execution/execution.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Execution } from './execution'; import { parseExpression, ExpressionAstExpression } from '../ast'; import { createUnitTestExecutor } from '../test_helpers'; diff --git a/src/plugins/expressions/common/execution/execution.ts b/src/plugins/expressions/common/execution/execution.ts index 6377a362ee70..d848013951f4 100644 --- a/src/plugins/expressions/common/execution/execution.ts +++ b/src/plugins/expressions/common/execution/execution.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { keys, last, mapValues, reduce, zipObject } from 'lodash'; import { Executor, ExpressionExecOptions } from '../executor'; import { createExecutionContainer, ExecutionContainer } from './container'; diff --git a/src/plugins/expressions/common/execution/execution_contract.test.ts b/src/plugins/expressions/common/execution/execution_contract.test.ts index ad93b0daabb6..96a3ebf34966 100644 --- a/src/plugins/expressions/common/execution/execution_contract.test.ts +++ b/src/plugins/expressions/common/execution/execution_contract.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Execution } from './execution'; import { parseExpression } from '../ast'; import { createUnitTestExecutor } from '../test_helpers'; diff --git a/src/plugins/expressions/common/execution/execution_contract.ts b/src/plugins/expressions/common/execution/execution_contract.ts index f574afa1a69d..e95e1b434cf1 100644 --- a/src/plugins/expressions/common/execution/execution_contract.ts +++ b/src/plugins/expressions/common/execution/execution_contract.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Execution } from './execution'; /** diff --git a/src/plugins/expressions/common/execution/index.ts b/src/plugins/expressions/common/execution/index.ts index 5a1e67cadd18..80cb2a5f88f6 100644 --- a/src/plugins/expressions/common/execution/index.ts +++ b/src/plugins/expressions/common/execution/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './types'; export * from './container'; export * from './execution'; diff --git a/src/plugins/expressions/common/execution/types.ts b/src/plugins/expressions/common/execution/types.ts index 9d3586d28688..2cb28af63eb9 100644 --- a/src/plugins/expressions/common/execution/types.ts +++ b/src/plugins/expressions/common/execution/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionType } from '../expression_types'; import { Adapters, DataAdapter, RequestAdapter } from '../../../inspector/common'; import { TimeRange, Query, Filter } from '../../../data/common'; diff --git a/src/plugins/expressions/common/executor/container.ts b/src/plugins/expressions/common/executor/container.ts index d092203d7b0b..9e437c7fe37c 100644 --- a/src/plugins/expressions/common/executor/container.ts +++ b/src/plugins/expressions/common/executor/container.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { StateContainer, createStateContainer, diff --git a/src/plugins/expressions/common/executor/executor.execution.test.ts b/src/plugins/expressions/common/executor/executor.execution.test.ts index 59188a7a99fd..eaafc01db135 100644 --- a/src/plugins/expressions/common/executor/executor.execution.test.ts +++ b/src/plugins/expressions/common/executor/executor.execution.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Executor } from './executor'; import { parseExpression } from '../ast'; diff --git a/src/plugins/expressions/common/executor/executor.test.ts b/src/plugins/expressions/common/executor/executor.test.ts index 88e744b0c93b..22ec11ad14d6 100644 --- a/src/plugins/expressions/common/executor/executor.test.ts +++ b/src/plugins/expressions/common/executor/executor.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Executor } from './executor'; import * as expressionTypes from '../expression_types'; import * as expressionFunctions from '../expression_functions'; diff --git a/src/plugins/expressions/common/executor/executor.ts b/src/plugins/expressions/common/executor/executor.ts index 0d2efb0ab0cb..de8f9bb7d302 100644 --- a/src/plugins/expressions/common/executor/executor.ts +++ b/src/plugins/expressions/common/executor/executor.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable max-classes-per-file */ import { ExecutorState, ExecutorContainer } from './container'; diff --git a/src/plugins/expressions/common/executor/index.ts b/src/plugins/expressions/common/executor/index.ts index 59b05dd479cb..9177451de517 100644 --- a/src/plugins/expressions/common/executor/index.ts +++ b/src/plugins/expressions/common/executor/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './container'; export * from './executor'; diff --git a/src/plugins/expressions/common/expression_functions/arguments.ts b/src/plugins/expressions/common/expression_functions/arguments.ts index bad0635258f6..9a7305e03044 100644 --- a/src/plugins/expressions/common/expression_functions/arguments.ts +++ b/src/plugins/expressions/common/expression_functions/arguments.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { KnownTypeToString, TypeString, UnmappedTypeStrings } from '../types/common'; /** @@ -48,9 +46,9 @@ export type ArgumentType = * representation of the type. */ // prettier-ignore -type ArrayTypeToArgumentString = - T extends Array ? TypeString : - T extends null ? 'null' : +type ArrayTypeToArgumentString = + T extends Array ? TypeString : + T extends null ? 'null' : never; /** @@ -58,9 +56,9 @@ type ArrayTypeToArgumentString = * string-based representation of the return type. */ // prettier-ignore -type UnresolvedTypeToArgumentString = - T extends (...args: any) => infer ElementType ? TypeString : - T extends null ? 'null' : +type UnresolvedTypeToArgumentString = + T extends (...args: any) => infer ElementType ? TypeString : + T extends null ? 'null' : never; /** @@ -68,10 +66,10 @@ type UnresolvedTypeToArgumentString = * string-based representation of the return type. */ // prettier-ignore -type UnresolvedArrayTypeToArgumentString = +type UnresolvedArrayTypeToArgumentString = T extends Array<(...args: any) => infer ElementType> ? TypeString : - T extends (...args: any) => infer ElementType ? ArrayTypeToArgumentString : - T extends null ? 'null' : + T extends (...args: any) => infer ElementType ? ArrayTypeToArgumentString : + T extends null ? 'null' : never; /** A type containing properties common to all Function Arguments. */ diff --git a/src/plugins/expressions/common/expression_functions/expression_function.ts b/src/plugins/expressions/common/expression_functions/expression_function.ts index 7a6398b83c7b..3c0e748d3fae 100644 --- a/src/plugins/expressions/common/expression_functions/expression_function.ts +++ b/src/plugins/expressions/common/expression_functions/expression_function.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AnyExpressionFunctionDefinition } from './types'; import { ExpressionFunctionParameter } from './expression_function_parameter'; import { ExpressionValue } from '../expression_types/types'; diff --git a/src/plugins/expressions/common/expression_functions/expression_function_parameter.ts b/src/plugins/expressions/common/expression_functions/expression_function_parameter.ts index 7f7810ed636f..44ef92a0476c 100644 --- a/src/plugins/expressions/common/expression_functions/expression_function_parameter.ts +++ b/src/plugins/expressions/common/expression_functions/expression_function_parameter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ArgumentType } from './arguments'; export class ExpressionFunctionParameter { diff --git a/src/plugins/expressions/common/expression_functions/expression_function_parameters.test.ts b/src/plugins/expressions/common/expression_functions/expression_function_parameters.test.ts index ecec36156949..b478d3dc005d 100644 --- a/src/plugins/expressions/common/expression_functions/expression_function_parameters.test.ts +++ b/src/plugins/expressions/common/expression_functions/expression_function_parameters.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionFunctionParameter } from './expression_function_parameter'; describe('ExpressionFunctionParameter', () => { diff --git a/src/plugins/expressions/common/expression_functions/index.ts b/src/plugins/expressions/common/expression_functions/index.ts index 1b095c11d710..58c7ee0d1db9 100644 --- a/src/plugins/expressions/common/expression_functions/index.ts +++ b/src/plugins/expressions/common/expression_functions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './types'; export * from './arguments'; export * from './expression_function_parameter'; diff --git a/src/plugins/expressions/common/expression_functions/specs/clog.ts b/src/plugins/expressions/common/expression_functions/specs/clog.ts index c41339fd9908..d311d1c2e8c2 100644 --- a/src/plugins/expressions/common/expression_functions/specs/clog.ts +++ b/src/plugins/expressions/common/expression_functions/specs/clog.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionFunctionDefinition } from '../types'; export type ExpressionFunctionClog = ExpressionFunctionDefinition<'clog', unknown, {}, unknown>; diff --git a/src/plugins/expressions/common/expression_functions/specs/font.ts b/src/plugins/expressions/common/expression_functions/specs/font.ts index 1bb47158725e..2d7dfa74b795 100644 --- a/src/plugins/expressions/common/expression_functions/specs/font.ts +++ b/src/plugins/expressions/common/expression_functions/specs/font.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from '../types'; import { openSans, FontLabel as FontFamily } from '../../fonts'; diff --git a/src/plugins/expressions/common/expression_functions/specs/index.ts b/src/plugins/expressions/common/expression_functions/specs/index.ts index 6116c6ef43b2..57a21a294f97 100644 --- a/src/plugins/expressions/common/expression_functions/specs/index.ts +++ b/src/plugins/expressions/common/expression_functions/specs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { clog } from './clog'; import { font } from './font'; import { opensearchDashboards } from './opensearch_dashboards'; diff --git a/src/plugins/expressions/common/expression_functions/specs/opensearch_dashboards.ts b/src/plugins/expressions/common/expression_functions/specs/opensearch_dashboards.ts index 27fc98d96dce..18e9feb2c5c0 100644 --- a/src/plugins/expressions/common/expression_functions/specs/opensearch_dashboards.ts +++ b/src/plugins/expressions/common/expression_functions/specs/opensearch_dashboards.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from '../types'; import { ExpressionValueSearchContext } from '../../expression_types'; diff --git a/src/plugins/expressions/common/expression_functions/specs/opensearch_dashboards_context.ts b/src/plugins/expressions/common/expression_functions/specs/opensearch_dashboards_context.ts index 7fda44f90f3c..8891e38bba33 100644 --- a/src/plugins/expressions/common/expression_functions/specs/opensearch_dashboards_context.ts +++ b/src/plugins/expressions/common/expression_functions/specs/opensearch_dashboards_context.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { uniqBy } from 'lodash'; import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from '../../expression_functions'; diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/font.test.ts b/src/plugins/expressions/common/expression_functions/specs/tests/font.test.ts index 94e0174679f2..7b9f801e4537 100644 --- a/src/plugins/expressions/common/expression_functions/specs/tests/font.test.ts +++ b/src/plugins/expressions/common/expression_functions/specs/tests/font.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { openSans } from '../../../fonts'; import { font } from '../font'; import { functionWrapper } from './utils'; diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/opensearch_dashboards.test.ts b/src/plugins/expressions/common/expression_functions/specs/tests/opensearch_dashboards.test.ts index 8a8902c07e07..3c95358f2faf 100644 --- a/src/plugins/expressions/common/expression_functions/specs/tests/opensearch_dashboards.test.ts +++ b/src/plugins/expressions/common/expression_functions/specs/tests/opensearch_dashboards.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from './utils'; import { opensearchDashboards } from '../opensearch_dashboards'; import { ExecutionContext } from '../../../execution/types'; diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/theme.test.ts b/src/plugins/expressions/common/expression_functions/specs/tests/theme.test.ts index 4864e0cc356e..2f1bbb13270b 100644 --- a/src/plugins/expressions/common/expression_functions/specs/tests/theme.test.ts +++ b/src/plugins/expressions/common/expression_functions/specs/tests/theme.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from './utils'; import { theme } from '../theme'; import { ExecutionContext } from '../../../execution/types'; diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/utils.ts b/src/plugins/expressions/common/expression_functions/specs/tests/utils.ts index 4a80dc884fb3..9ab0413c6ddf 100644 --- a/src/plugins/expressions/common/expression_functions/specs/tests/utils.ts +++ b/src/plugins/expressions/common/expression_functions/specs/tests/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapValues } from 'lodash'; import { AnyExpressionFunctionDefinition } from '../../types'; import { ExecutionContext } from '../../../execution/types'; diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/var.test.ts b/src/plugins/expressions/common/expression_functions/specs/tests/var.test.ts index 98db122e26b5..614f850abe06 100644 --- a/src/plugins/expressions/common/expression_functions/specs/tests/var.test.ts +++ b/src/plugins/expressions/common/expression_functions/specs/tests/var.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from './utils'; import { variable } from '../var'; import { ExecutionContext } from '../../../execution/types'; diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/var_set.test.ts b/src/plugins/expressions/common/expression_functions/specs/tests/var_set.test.ts index 482039f59e4e..faf9618eecc9 100644 --- a/src/plugins/expressions/common/expression_functions/specs/tests/var_set.test.ts +++ b/src/plugins/expressions/common/expression_functions/specs/tests/var_set.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from './utils'; import { variableSet } from '../var_set'; import { ExecutionContext } from '../../../execution/types'; diff --git a/src/plugins/expressions/common/expression_functions/specs/theme.ts b/src/plugins/expressions/common/expression_functions/specs/theme.ts index 7255a88ffb86..c393a22cbc40 100644 --- a/src/plugins/expressions/common/expression_functions/specs/theme.ts +++ b/src/plugins/expressions/common/expression_functions/specs/theme.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { get } from 'lodash'; import { ExpressionFunctionDefinition } from '../types'; diff --git a/src/plugins/expressions/common/expression_functions/specs/var.ts b/src/plugins/expressions/common/expression_functions/specs/var.ts index 38a691765b34..1a2e924cf5a3 100644 --- a/src/plugins/expressions/common/expression_functions/specs/var.ts +++ b/src/plugins/expressions/common/expression_functions/specs/var.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from '../types'; diff --git a/src/plugins/expressions/common/expression_functions/specs/var_set.ts b/src/plugins/expressions/common/expression_functions/specs/var_set.ts index f90c7efbd891..66acd73630f6 100644 --- a/src/plugins/expressions/common/expression_functions/specs/var_set.ts +++ b/src/plugins/expressions/common/expression_functions/specs/var_set.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition } from '../types'; diff --git a/src/plugins/expressions/common/expression_functions/types.ts b/src/plugins/expressions/common/expression_functions/types.ts index e0a2bc4d3ce2..a9d876d658d2 100644 --- a/src/plugins/expressions/common/expression_functions/types.ts +++ b/src/plugins/expressions/common/expression_functions/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UnwrapPromiseOrReturn } from '@osd/utility-types'; import { ArgumentType } from './arguments'; import { TypeToString } from '../types/common'; diff --git a/src/plugins/expressions/common/expression_renderers/expression_renderer.ts b/src/plugins/expressions/common/expression_renderers/expression_renderer.ts index c8514cd937a3..e94a79dfc140 100644 --- a/src/plugins/expressions/common/expression_renderers/expression_renderer.ts +++ b/src/plugins/expressions/common/expression_renderers/expression_renderer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionRenderDefinition } from './types'; export class ExpressionRenderer { diff --git a/src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts b/src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts index d918177d18f3..6623f7269d70 100644 --- a/src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts +++ b/src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IRegistry } from '../types'; import { ExpressionRenderer } from './expression_renderer'; import { AnyExpressionRenderDefinition } from './types'; diff --git a/src/plugins/expressions/common/expression_renderers/index.ts b/src/plugins/expressions/common/expression_renderers/index.ts index e6ede1e87424..01f7a0f59aa1 100644 --- a/src/plugins/expressions/common/expression_renderers/index.ts +++ b/src/plugins/expressions/common/expression_renderers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './types'; export * from './expression_renderer'; export * from './expression_renderer_registry'; diff --git a/src/plugins/expressions/common/expression_renderers/types.ts b/src/plugins/expressions/common/expression_renderers/types.ts index 4733af2b8529..133a328424b2 100644 --- a/src/plugins/expressions/common/expression_renderers/types.ts +++ b/src/plugins/expressions/common/expression_renderers/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface ExpressionRenderDefinition { /** * Technical name of the renderer, used as ID to identify renderer in diff --git a/src/plugins/expressions/common/expression_types/expression_type.test.ts b/src/plugins/expressions/common/expression_types/expression_type.test.ts index 09757aca0bb4..5b577090940b 100644 --- a/src/plugins/expressions/common/expression_types/expression_type.test.ts +++ b/src/plugins/expressions/common/expression_types/expression_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionType } from './expression_type'; import { ExpressionTypeDefinition } from './types'; import { ExpressionValueRender } from './specs'; diff --git a/src/plugins/expressions/common/expression_types/expression_type.ts b/src/plugins/expressions/common/expression_types/expression_type.ts index f48829966944..142af8091996 100644 --- a/src/plugins/expressions/common/expression_types/expression_type.ts +++ b/src/plugins/expressions/common/expression_types/expression_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AnyExpressionTypeDefinition, ExpressionValue, ExpressionValueConverter } from './types'; import { getType } from './get_type'; diff --git a/src/plugins/expressions/common/expression_types/get_type.test.ts b/src/plugins/expressions/common/expression_types/get_type.test.ts index 818f056dab56..9a6fc9fc7446 100644 --- a/src/plugins/expressions/common/expression_types/get_type.test.ts +++ b/src/plugins/expressions/common/expression_types/get_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getType } from './get_type'; describe('getType()', () => { diff --git a/src/plugins/expressions/common/expression_types/get_type.ts b/src/plugins/expressions/common/expression_types/get_type.ts index dd3751c8d012..ba7dfd7170d4 100644 --- a/src/plugins/expressions/common/expression_types/get_type.ts +++ b/src/plugins/expressions/common/expression_types/get_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function getType(node: any) { if (node == null) return 'null'; if (typeof node === 'object') { diff --git a/src/plugins/expressions/common/expression_types/index.ts b/src/plugins/expressions/common/expression_types/index.ts index 30cab918110c..3a3f4e4581f4 100644 --- a/src/plugins/expressions/common/expression_types/index.ts +++ b/src/plugins/expressions/common/expression_types/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './types'; export * from './get_type'; export * from './serialize_provider'; diff --git a/src/plugins/expressions/common/expression_types/serialize_provider.ts b/src/plugins/expressions/common/expression_types/serialize_provider.ts index 8a3e85c7b84e..1c72a39281c1 100644 --- a/src/plugins/expressions/common/expression_types/serialize_provider.ts +++ b/src/plugins/expressions/common/expression_types/serialize_provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionType } from './expression_type'; import { ExpressionValue } from './types'; import { getType } from './get_type'; diff --git a/src/plugins/expressions/common/expression_types/specs/boolean.ts b/src/plugins/expressions/common/expression_types/specs/boolean.ts index b1c4748392cc..9d992c457797 100644 --- a/src/plugins/expressions/common/expression_types/specs/boolean.ts +++ b/src/plugins/expressions/common/expression_types/specs/boolean.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionTypeDefinition } from '../types'; import { Datatable } from './datatable'; import { ExpressionValueRender } from './render'; diff --git a/src/plugins/expressions/common/expression_types/specs/datatable.ts b/src/plugins/expressions/common/expression_types/specs/datatable.ts index 4b797ea8e67e..979704a34ac1 100644 --- a/src/plugins/expressions/common/expression_types/specs/datatable.ts +++ b/src/plugins/expressions/common/expression_types/specs/datatable.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { map, pick, zipObject } from 'lodash'; import { ExpressionTypeDefinition } from '../types'; diff --git a/src/plugins/expressions/common/expression_types/specs/error.ts b/src/plugins/expressions/common/expression_types/specs/error.ts index 6978ace5d696..f3dd6bb60af8 100644 --- a/src/plugins/expressions/common/expression_types/specs/error.ts +++ b/src/plugins/expressions/common/expression_types/specs/error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionTypeDefinition, ExpressionValueBoxed } from '../types'; import { ExpressionValueRender } from './render'; import { getType } from '../get_type'; diff --git a/src/plugins/expressions/common/expression_types/specs/filter.ts b/src/plugins/expressions/common/expression_types/specs/filter.ts index 3df927f7c980..4f8fb2ac212e 100644 --- a/src/plugins/expressions/common/expression_types/specs/filter.ts +++ b/src/plugins/expressions/common/expression_types/specs/filter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionTypeDefinition, ExpressionValueBoxed } from '../types'; /** diff --git a/src/plugins/expressions/common/expression_types/specs/image.ts b/src/plugins/expressions/common/expression_types/specs/image.ts index 5b293c474c51..09fe21fb9016 100644 --- a/src/plugins/expressions/common/expression_types/specs/image.ts +++ b/src/plugins/expressions/common/expression_types/specs/image.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionTypeDefinition } from '../types'; import { ExpressionValueRender } from './render'; diff --git a/src/plugins/expressions/common/expression_types/specs/index.ts b/src/plugins/expressions/common/expression_types/specs/index.ts index 050d3d0bdb28..2ef7379fa0fd 100644 --- a/src/plugins/expressions/common/expression_types/specs/index.ts +++ b/src/plugins/expressions/common/expression_types/specs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { boolean } from './boolean'; import { datatable } from './datatable'; import { error } from './error'; diff --git a/src/plugins/expressions/common/expression_types/specs/null.ts b/src/plugins/expressions/common/expression_types/specs/null.ts index 130d3140b36c..31a348b7435d 100644 --- a/src/plugins/expressions/common/expression_types/specs/null.ts +++ b/src/plugins/expressions/common/expression_types/specs/null.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionTypeDefinition } from '../types'; const name = 'null'; diff --git a/src/plugins/expressions/common/expression_types/specs/num.ts b/src/plugins/expressions/common/expression_types/specs/num.ts index 4395e7de5aef..37862ee5bc86 100644 --- a/src/plugins/expressions/common/expression_types/specs/num.ts +++ b/src/plugins/expressions/common/expression_types/specs/num.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionTypeDefinition, ExpressionValueBoxed } from '../types'; import { Datatable } from './datatable'; diff --git a/src/plugins/expressions/common/expression_types/specs/number.ts b/src/plugins/expressions/common/expression_types/specs/number.ts index dac5886c0c8a..06293530dabd 100644 --- a/src/plugins/expressions/common/expression_types/specs/number.ts +++ b/src/plugins/expressions/common/expression_types/specs/number.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionTypeDefinition } from '../types'; import { Datatable } from './datatable'; diff --git a/src/plugins/expressions/common/expression_types/specs/opensearch_dashboards_context.ts b/src/plugins/expressions/common/expression_types/specs/opensearch_dashboards_context.ts index 2ffed808185c..23f1ea9bae5d 100644 --- a/src/plugins/expressions/common/expression_types/specs/opensearch_dashboards_context.ts +++ b/src/plugins/expressions/common/expression_types/specs/opensearch_dashboards_context.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionValueBoxed } from '../types'; import { ExecutionContextSearch } from '../../execution/types'; diff --git a/src/plugins/expressions/common/expression_types/specs/opensearch_dashboards_datatable.ts b/src/plugins/expressions/common/expression_types/specs/opensearch_dashboards_datatable.ts index d75d03553be6..cf41dc946df6 100644 --- a/src/plugins/expressions/common/expression_types/specs/opensearch_dashboards_datatable.ts +++ b/src/plugins/expressions/common/expression_types/specs/opensearch_dashboards_datatable.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { map } from 'lodash'; import { SerializedFieldFormat } from '../../types/common'; import { Datatable, PointSeries, PointSeriesColumn } from '.'; diff --git a/src/plugins/expressions/common/expression_types/specs/pointseries.ts b/src/plugins/expressions/common/expression_types/specs/pointseries.ts index 7dc1a38b12e7..5773b21ddc3c 100644 --- a/src/plugins/expressions/common/expression_types/specs/pointseries.ts +++ b/src/plugins/expressions/common/expression_types/specs/pointseries.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionTypeDefinition, ExpressionValueBoxed } from '../types'; import { Datatable } from './datatable'; import { ExpressionValueRender } from './render'; diff --git a/src/plugins/expressions/common/expression_types/specs/range.ts b/src/plugins/expressions/common/expression_types/specs/range.ts index f0bc49e98032..253e257f87eb 100644 --- a/src/plugins/expressions/common/expression_types/specs/range.ts +++ b/src/plugins/expressions/common/expression_types/specs/range.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionTypeDefinition } from '../types'; import { ExpressionValueRender } from '.'; diff --git a/src/plugins/expressions/common/expression_types/specs/render.ts b/src/plugins/expressions/common/expression_types/specs/render.ts index 89b947dca8c1..a111b30a9c25 100644 --- a/src/plugins/expressions/common/expression_types/specs/render.ts +++ b/src/plugins/expressions/common/expression_types/specs/render.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionTypeDefinition, ExpressionValueBoxed } from '../types'; const name = 'render'; diff --git a/src/plugins/expressions/common/expression_types/specs/shape.ts b/src/plugins/expressions/common/expression_types/specs/shape.ts index 968ac4bae5c1..b01964a8c53e 100644 --- a/src/plugins/expressions/common/expression_types/specs/shape.ts +++ b/src/plugins/expressions/common/expression_types/specs/shape.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionTypeDefinition } from '../types'; import { ExpressionValueRender } from './render'; diff --git a/src/plugins/expressions/common/expression_types/specs/string.ts b/src/plugins/expressions/common/expression_types/specs/string.ts index 3b68be7a6001..8781923ac9cd 100644 --- a/src/plugins/expressions/common/expression_types/specs/string.ts +++ b/src/plugins/expressions/common/expression_types/specs/string.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionTypeDefinition } from '../types'; import { Datatable } from './datatable'; import { ExpressionValueRender } from './render'; diff --git a/src/plugins/expressions/common/expression_types/specs/style.ts b/src/plugins/expressions/common/expression_types/specs/style.ts index c008f6c3ab76..b46b052e9548 100644 --- a/src/plugins/expressions/common/expression_types/specs/style.ts +++ b/src/plugins/expressions/common/expression_types/specs/style.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionTypeDefinition } from '../types'; import { ExpressionTypeStyle } from '../../types/style'; diff --git a/src/plugins/expressions/common/expression_types/specs/tests/number.test.ts b/src/plugins/expressions/common/expression_types/specs/tests/number.test.ts index 376d9e22fb3e..197ead65eeb1 100644 --- a/src/plugins/expressions/common/expression_types/specs/tests/number.test.ts +++ b/src/plugins/expressions/common/expression_types/specs/tests/number.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { number } from '../number'; describe('number', () => { diff --git a/src/plugins/expressions/common/expression_types/types.ts b/src/plugins/expressions/common/expression_types/types.ts index 8de1fdd50f4a..80ec89d584c6 100644 --- a/src/plugins/expressions/common/expression_types/types.ts +++ b/src/plugins/expressions/common/expression_types/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export type ExpressionValueUnboxed = any; export type ExpressionValueBoxed = { diff --git a/src/plugins/expressions/common/fonts.ts b/src/plugins/expressions/common/fonts.ts index d33983c292bd..23557010c6a3 100644 --- a/src/plugins/expressions/common/fonts.ts +++ b/src/plugins/expressions/common/fonts.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * This type contains a unions of all supported font labels, or the the name of * the font the user would see in a UI. diff --git a/src/plugins/expressions/common/index.ts b/src/plugins/expressions/common/index.ts index d94148bad2b2..c2d0705a0ab4 100644 --- a/src/plugins/expressions/common/index.ts +++ b/src/plugins/expressions/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './types'; export * from './ast'; export * from './fonts'; diff --git a/src/plugins/expressions/common/mocks.ts b/src/plugins/expressions/common/mocks.ts index d724a37a3ba1..4fd434de7d5f 100644 --- a/src/plugins/expressions/common/mocks.ts +++ b/src/plugins/expressions/common/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExecutionContext } from './execution/types'; export const createMockExecutionContext = ( diff --git a/src/plugins/expressions/common/service/expressions_services.test.ts b/src/plugins/expressions/common/service/expressions_services.test.ts index e293c14cd42e..b77b060d90e6 100644 --- a/src/plugins/expressions/common/service/expressions_services.test.ts +++ b/src/plugins/expressions/common/service/expressions_services.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionsService } from './expressions_services'; describe('ExpressionsService', () => { diff --git a/src/plugins/expressions/common/service/expressions_services.ts b/src/plugins/expressions/common/service/expressions_services.ts index 7ea986dc361d..617498be25c3 100644 --- a/src/plugins/expressions/common/service/expressions_services.ts +++ b/src/plugins/expressions/common/service/expressions_services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Executor } from '../executor'; import { ExpressionRendererRegistry } from '../expression_renderers'; import { ExpressionAstExpression } from '../ast'; diff --git a/src/plugins/expressions/common/service/index.ts b/src/plugins/expressions/common/service/index.ts index 11d447ab2580..4653970fc9d9 100644 --- a/src/plugins/expressions/common/service/index.ts +++ b/src/plugins/expressions/common/service/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './expressions_services'; diff --git a/src/plugins/expressions/common/test_helpers/create_unit_test_executor.ts b/src/plugins/expressions/common/test_helpers/create_unit_test_executor.ts index 11ebd771f4d5..200de344a878 100644 --- a/src/plugins/expressions/common/test_helpers/create_unit_test_executor.ts +++ b/src/plugins/expressions/common/test_helpers/create_unit_test_executor.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Executor } from '../executor'; import { functionTestSpecs } from './expression_functions'; diff --git a/src/plugins/expressions/common/test_helpers/expression_functions/access.ts b/src/plugins/expressions/common/test_helpers/expression_functions/access.ts index 6d8ad8b54fed..89eb31f0c840 100644 --- a/src/plugins/expressions/common/test_helpers/expression_functions/access.ts +++ b/src/plugins/expressions/common/test_helpers/expression_functions/access.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionFunctionDefinition } from '../../expression_functions'; export const access: ExpressionFunctionDefinition<'access', any, { key: string }, any> = { diff --git a/src/plugins/expressions/common/test_helpers/expression_functions/add.ts b/src/plugins/expressions/common/test_helpers/expression_functions/add.ts index a16f709d161c..08186c12ead0 100644 --- a/src/plugins/expressions/common/test_helpers/expression_functions/add.ts +++ b/src/plugins/expressions/common/test_helpers/expression_functions/add.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionFunctionDefinition } from '../../expression_functions'; import { ExpressionValueNum } from '../../expression_types'; diff --git a/src/plugins/expressions/common/test_helpers/expression_functions/error.ts b/src/plugins/expressions/common/test_helpers/expression_functions/error.ts index 6760d4f694c6..5c0df6147ebb 100644 --- a/src/plugins/expressions/common/test_helpers/expression_functions/error.ts +++ b/src/plugins/expressions/common/test_helpers/expression_functions/error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionFunctionDefinition } from '../../expression_functions'; import { ExpressionValueNum } from '../../expression_types'; diff --git a/src/plugins/expressions/common/test_helpers/expression_functions/index.ts b/src/plugins/expressions/common/test_helpers/expression_functions/index.ts index 3fd9e0690617..a0dca2a8863f 100644 --- a/src/plugins/expressions/common/test_helpers/expression_functions/index.ts +++ b/src/plugins/expressions/common/test_helpers/expression_functions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { access } from './access'; import { add } from './add'; import { error } from './error'; diff --git a/src/plugins/expressions/common/test_helpers/expression_functions/introspect_context.ts b/src/plugins/expressions/common/test_helpers/expression_functions/introspect_context.ts index 17fe50c95327..784138f3d049 100644 --- a/src/plugins/expressions/common/test_helpers/expression_functions/introspect_context.ts +++ b/src/plugins/expressions/common/test_helpers/expression_functions/introspect_context.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionFunctionDefinition } from '../../expression_functions'; export const introspectContext: ExpressionFunctionDefinition< diff --git a/src/plugins/expressions/common/test_helpers/expression_functions/mult.ts b/src/plugins/expressions/common/test_helpers/expression_functions/mult.ts index 00e0686215df..a3664a2a2594 100644 --- a/src/plugins/expressions/common/test_helpers/expression_functions/mult.ts +++ b/src/plugins/expressions/common/test_helpers/expression_functions/mult.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionFunctionDefinition } from '../../expression_functions'; import { ExpressionValueNum } from '../../expression_types'; diff --git a/src/plugins/expressions/common/test_helpers/expression_functions/sleep.ts b/src/plugins/expressions/common/test_helpers/expression_functions/sleep.ts index e7223a343e28..bb4fc45f097a 100644 --- a/src/plugins/expressions/common/test_helpers/expression_functions/sleep.ts +++ b/src/plugins/expressions/common/test_helpers/expression_functions/sleep.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionFunctionDefinition } from '../../expression_functions'; export const sleep: ExpressionFunctionDefinition<'sleep', any, { time: number }, any> = { diff --git a/src/plugins/expressions/common/test_helpers/index.ts b/src/plugins/expressions/common/test_helpers/index.ts index 6cb7442051ec..1a4ddfc97175 100644 --- a/src/plugins/expressions/common/test_helpers/index.ts +++ b/src/plugins/expressions/common/test_helpers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './create_unit_test_executor'; diff --git a/src/plugins/expressions/common/types/common.ts b/src/plugins/expressions/common/types/common.ts index ae6f163771e2..44720d85dfb9 100644 --- a/src/plugins/expressions/common/types/common.ts +++ b/src/plugins/expressions/common/types/common.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UnwrapPromiseOrReturn } from '@osd/utility-types'; /** diff --git a/src/plugins/expressions/common/types/index.ts b/src/plugins/expressions/common/types/index.ts index 9f75e75eebd7..6c6ec7a4f4b3 100644 --- a/src/plugins/expressions/common/types/index.ts +++ b/src/plugins/expressions/common/types/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { TypeToString, KnownTypeToString, diff --git a/src/plugins/expressions/common/types/registry.ts b/src/plugins/expressions/common/types/registry.ts index 7f80659710e2..bb4b7dc8c973 100644 --- a/src/plugins/expressions/common/types/registry.ts +++ b/src/plugins/expressions/common/types/registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface IRegistry { get(id: string): T | null; diff --git a/src/plugins/expressions/common/types/style.ts b/src/plugins/expressions/common/types/style.ts index 4d4619b2e0f2..f847f4d6c89f 100644 --- a/src/plugins/expressions/common/types/style.ts +++ b/src/plugins/expressions/common/types/style.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FontLabel } from '../fonts'; /** diff --git a/src/plugins/expressions/common/util/create_error.ts b/src/plugins/expressions/common/util/create_error.ts index 3f74c5044922..bab37ecb3938 100644 --- a/src/plugins/expressions/common/util/create_error.ts +++ b/src/plugins/expressions/common/util/create_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionValueError } from '../../common'; type ErrorLike = Partial>; diff --git a/src/plugins/expressions/common/util/get_by_alias.ts b/src/plugins/expressions/common/util/get_by_alias.ts index b8cc299fd994..d2924ab80d33 100644 --- a/src/plugins/expressions/common/util/get_by_alias.ts +++ b/src/plugins/expressions/common/util/get_by_alias.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * This is used for looking up function/argument definitions. It looks through * the given object/array for a case-insensitive match, which could be either the diff --git a/src/plugins/expressions/common/util/index.ts b/src/plugins/expressions/common/util/index.ts index 93074c045d0c..760eff017fb6 100644 --- a/src/plugins/expressions/common/util/index.ts +++ b/src/plugins/expressions/common/util/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './create_error'; export * from './get_by_alias'; diff --git a/src/plugins/expressions/index.ts b/src/plugins/expressions/index.ts index 2b7547ca040f..f80a07f05e81 100644 --- a/src/plugins/expressions/index.ts +++ b/src/plugins/expressions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './common'; diff --git a/src/plugins/expressions/public/index.ts b/src/plugins/expressions/public/index.ts index ef270e816345..2062cb2a6fe7 100644 --- a/src/plugins/expressions/public/index.ts +++ b/src/plugins/expressions/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index.scss'; import { PluginInitializerContext } from '../../../core/public'; diff --git a/src/plugins/expressions/public/loader.test.ts b/src/plugins/expressions/public/loader.test.ts index 85872880160c..15742e0c517e 100644 --- a/src/plugins/expressions/public/loader.test.ts +++ b/src/plugins/expressions/public/loader.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { first, skip, toArray } from 'rxjs/operators'; import { loader, ExpressionLoader } from './loader'; import { Observable } from 'rxjs'; diff --git a/src/plugins/expressions/public/loader.ts b/src/plugins/expressions/public/loader.ts index f0d4bd678104..6b1b126062a5 100644 --- a/src/plugins/expressions/public/loader.ts +++ b/src/plugins/expressions/public/loader.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject, Observable, Subject } from 'rxjs'; import { filter, map } from 'rxjs/operators'; import { defaults } from 'lodash'; diff --git a/src/plugins/expressions/public/mocks.tsx b/src/plugins/expressions/public/mocks.tsx index 09a82cd47e47..f6a8ee9046b7 100644 --- a/src/plugins/expressions/public/mocks.tsx +++ b/src/plugins/expressions/public/mocks.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { ExpressionsSetup, ExpressionsStart, plugin as pluginInitializer } from '.'; diff --git a/src/plugins/expressions/public/plugin.test.ts b/src/plugins/expressions/public/plugin.test.ts index f222134535f6..5a82774999e9 100644 --- a/src/plugins/expressions/public/plugin.test.ts +++ b/src/plugins/expressions/public/plugin.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expressionsPluginMock } from './mocks'; import { add } from '../common/test_helpers/expression_functions/add'; import { ExpressionsService } from '../common'; diff --git a/src/plugins/expressions/public/plugin.ts b/src/plugins/expressions/public/plugin.ts index 438bcbd917a6..849e23e8c3ec 100644 --- a/src/plugins/expressions/public/plugin.ts +++ b/src/plugins/expressions/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, CoreSetup, CoreStart, Plugin } from 'src/core/public'; import { ExpressionsService, diff --git a/src/plugins/expressions/public/react_expression_renderer.test.tsx b/src/plugins/expressions/public/react_expression_renderer.test.tsx index c44096d6319a..27f8756a4db2 100644 --- a/src/plugins/expressions/public/react_expression_renderer.test.tsx +++ b/src/plugins/expressions/public/react_expression_renderer.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { act } from 'react-dom/test-utils'; import { Subject } from 'rxjs'; diff --git a/src/plugins/expressions/public/react_expression_renderer.tsx b/src/plugins/expressions/public/react_expression_renderer.tsx index a30392c42b09..6d6760756c51 100644 --- a/src/plugins/expressions/public/react_expression_renderer.tsx +++ b/src/plugins/expressions/public/react_expression_renderer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useRef, useEffect, useState, useLayoutEffect } from 'react'; import classNames from 'classnames'; import { Observable, Subscription } from 'rxjs'; diff --git a/src/plugins/expressions/public/render.test.ts b/src/plugins/expressions/public/render.test.ts index bf24b1e5f558..73ecab2a0061 100644 --- a/src/plugins/expressions/public/render.test.ts +++ b/src/plugins/expressions/public/render.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionRenderHandler, render } from './render'; import { Observable } from 'rxjs'; import { ExpressionRenderError } from './types'; diff --git a/src/plugins/expressions/public/render.ts b/src/plugins/expressions/public/render.ts index de21b5526e1c..c009707f6d42 100644 --- a/src/plugins/expressions/public/render.ts +++ b/src/plugins/expressions/public/render.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { Observable } from 'rxjs'; import { filter } from 'rxjs/operators'; diff --git a/src/plugins/expressions/public/render_error_handler.ts b/src/plugins/expressions/public/render_error_handler.ts index f461d5800d13..c8e00d19c664 100644 --- a/src/plugins/expressions/public/render_error_handler.ts +++ b/src/plugins/expressions/public/render_error_handler.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { RenderErrorHandlerFnType, ExpressionRenderError } from './types'; import { getNotifications } from './services'; diff --git a/src/plugins/expressions/public/services.ts b/src/plugins/expressions/public/services.ts index 3617087463a4..16910768f4ef 100644 --- a/src/plugins/expressions/public/services.ts +++ b/src/plugins/expressions/public/services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { NotificationsStart } from 'opensearch-dashboards/public'; import { createGetterSetter } from '../../opensearch_dashboards_utils/public'; import { ExpressionsService, ExpressionRendererRegistry } from '../common'; diff --git a/src/plugins/expressions/public/types/index.ts b/src/plugins/expressions/public/types/index.ts index 55d64043eddb..6528f8d755df 100644 --- a/src/plugins/expressions/public/types/index.ts +++ b/src/plugins/expressions/public/types/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Adapters } from '../../../inspector/public'; import { IInterpreterRenderHandlers, diff --git a/src/plugins/expressions/server/index.ts b/src/plugins/expressions/server/index.ts index 6affea5402fb..2fb337d5eaaf 100644 --- a/src/plugins/expressions/server/index.ts +++ b/src/plugins/expressions/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'src/core/server'; import { ExpressionsServerPlugin } from './plugin'; diff --git a/src/plugins/expressions/server/mocks.ts b/src/plugins/expressions/server/mocks.ts index ffc86cfcb278..458eb3714e9d 100644 --- a/src/plugins/expressions/server/mocks.ts +++ b/src/plugins/expressions/server/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionsServerSetup, ExpressionsServerStart } from '.'; import { plugin as pluginInitializer } from '.'; import { coreMock } from '../../../core/server/mocks'; diff --git a/src/plugins/expressions/server/plugin.test.ts b/src/plugins/expressions/server/plugin.test.ts index 6186b56b59d3..58303d6c261d 100644 --- a/src/plugins/expressions/server/plugin.test.ts +++ b/src/plugins/expressions/server/plugin.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expressionsPluginMock } from './mocks'; import { add } from '../common/test_helpers/expression_functions/add'; diff --git a/src/plugins/expressions/server/plugin.ts b/src/plugins/expressions/server/plugin.ts index e54e98b7a0c4..07c5ff7da72d 100644 --- a/src/plugins/expressions/server/plugin.ts +++ b/src/plugins/expressions/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreStart, CoreSetup, Plugin, PluginInitializerContext } from 'src/core/server'; import { ExpressionsService, ExpressionsServiceSetup, ExpressionsServiceStart } from '../common'; diff --git a/src/plugins/home/common/constants.ts b/src/plugins/home/common/constants.ts index 900e69c573ee..02141864655f 100644 --- a/src/plugins/home/common/constants.ts +++ b/src/plugins/home/common/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const PLUGIN_ID = 'home'; export const HOME_APP_BASE_PATH = `/app/${PLUGIN_ID}`; diff --git a/src/plugins/home/common/instruction_variant.ts b/src/plugins/home/common/instruction_variant.ts index ce12dd13de3f..f905ffe4b720 100644 --- a/src/plugins/home/common/instruction_variant.ts +++ b/src/plugins/home/common/instruction_variant.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const INSTRUCTION_VARIANT = { ESC: 'esc', OSX: 'osx', diff --git a/src/plugins/home/config.ts b/src/plugins/home/config.ts index 31f8311d383e..e3372ce77767 100644 --- a/src/plugins/home/config.ts +++ b/src/plugins/home/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export const configSchema = schema.object({ diff --git a/src/plugins/home/public/application/application.tsx b/src/plugins/home/public/application/application.tsx index 4712b8b45973..80b628c56b3b 100644 --- a/src/plugins/home/public/application/application.tsx +++ b/src/plugins/home/public/application/application.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/home/public/application/components/_add_data.scss b/src/plugins/home/public/application/components/_add_data.scss index 81400e4de452..28805ab08830 100644 --- a/src/plugins/home/public/application/components/_add_data.scss +++ b/src/plugins/home/public/application/components/_add_data.scss @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // Accounting for no `flush="both"` prop on EuiButtonEmpty .homDataAdd__actionButton { margin-right: 0; diff --git a/src/plugins/home/public/application/components/_home.scss b/src/plugins/home/public/application/components/_home.scss index 8f68c508e5f4..3195fcbb0367 100644 --- a/src/plugins/home/public/application/components/_home.scss +++ b/src/plugins/home/public/application/components/_home.scss @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - .homWrapper { background-color: $euiColorEmptyShade; display: flex; diff --git a/src/plugins/home/public/application/components/_solutions_section.scss b/src/plugins/home/public/application/components/_solutions_section.scss index 4978d6d9891a..1f1026b31ab8 100644 --- a/src/plugins/home/public/application/components/_solutions_section.scss +++ b/src/plugins/home/public/application/components/_solutions_section.scss @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - .homSolutions { margin-top: -($euiSizeXL + $euiSizeL + $euiSizeM); } diff --git a/src/plugins/home/public/application/components/add_data/add_data.test.tsx b/src/plugins/home/public/application/components/add_data/add_data.test.tsx index 5e3a9e976050..6bd3bbf494b8 100644 --- a/src/plugins/home/public/application/components/add_data/add_data.test.tsx +++ b/src/plugins/home/public/application/components/add_data/add_data.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { AddData } from './add_data'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/home/public/application/components/add_data/add_data.tsx b/src/plugins/home/public/application/components/add_data/add_data.tsx index 22002c4218ef..db23f00ef553 100644 --- a/src/plugins/home/public/application/components/add_data/add_data.tsx +++ b/src/plugins/home/public/application/components/add_data/add_data.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FC } from 'react'; import PropTypes from 'prop-types'; import { EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiTitle } from '@elastic/eui'; diff --git a/src/plugins/home/public/application/components/add_data/index.ts b/src/plugins/home/public/application/components/add_data/index.ts index 8a918039b4ec..8c56e973ee43 100644 --- a/src/plugins/home/public/application/components/add_data/index.ts +++ b/src/plugins/home/public/application/components/add_data/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './add_data'; diff --git a/src/plugins/home/public/application/components/app_navigation_handler.ts b/src/plugins/home/public/application/components/app_navigation_handler.ts index 060135d37387..3484f0be382e 100644 --- a/src/plugins/home/public/application/components/app_navigation_handler.ts +++ b/src/plugins/home/public/application/components/app_navigation_handler.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MouseEvent } from 'react'; import { getServices } from '../opensearch_dashboards_services'; diff --git a/src/plugins/home/public/application/components/feature_directory.js b/src/plugins/home/public/application/components/feature_directory.js index 5b3d0f214de3..812cbc384163 100644 --- a/src/plugins/home/public/application/components/feature_directory.js +++ b/src/plugins/home/public/application/components/feature_directory.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import { Synopsis } from './synopsis'; diff --git a/src/plugins/home/public/application/components/home.js b/src/plugins/home/public/application/components/home.js index ef5aeede6fec..2852ed4cda19 100644 --- a/src/plugins/home/public/application/components/home.js +++ b/src/plugins/home/public/application/components/home.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/home/public/application/components/home.test.js b/src/plugins/home/public/application/components/home.test.js index 072e21eff9bd..444c5f388bb2 100644 --- a/src/plugins/home/public/application/components/home.test.js +++ b/src/plugins/home/public/application/components/home.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import sinon from 'sinon'; import { shallow } from 'enzyme'; diff --git a/src/plugins/home/public/application/components/home_app.js b/src/plugins/home/public/application/components/home_app.js index a75be58d3ef2..4e8dd16dd998 100644 --- a/src/plugins/home/public/application/components/home_app.js +++ b/src/plugins/home/public/application/components/home_app.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { I18nProvider } from '@osd/i18n/react'; import PropTypes from 'prop-types'; diff --git a/src/plugins/home/public/application/components/manage_data/index.tsx b/src/plugins/home/public/application/components/manage_data/index.tsx index d19259c66b29..ccfb138578a8 100644 --- a/src/plugins/home/public/application/components/manage_data/index.tsx +++ b/src/plugins/home/public/application/components/manage_data/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './manage_data'; diff --git a/src/plugins/home/public/application/components/manage_data/manage_data.test.tsx b/src/plugins/home/public/application/components/manage_data/manage_data.test.tsx index 70a82e76109f..652b0330b6c4 100644 --- a/src/plugins/home/public/application/components/manage_data/manage_data.test.tsx +++ b/src/plugins/home/public/application/components/manage_data/manage_data.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { ManageData } from './manage_data'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/home/public/application/components/manage_data/manage_data.tsx b/src/plugins/home/public/application/components/manage_data/manage_data.tsx index 31bc5e75078f..9d50926313dd 100644 --- a/src/plugins/home/public/application/components/manage_data/manage_data.tsx +++ b/src/plugins/home/public/application/components/manage_data/manage_data.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FC } from 'react'; import PropTypes from 'prop-types'; import { EuiFlexGroup, EuiHorizontalRule, EuiSpacer, EuiTitle, EuiFlexItem } from '@elastic/eui'; diff --git a/src/plugins/home/public/application/components/recently_accessed.js b/src/plugins/home/public/application/components/recently_accessed.js index 7cacc9cbaf39..dcd8365fc2f7 100644 --- a/src/plugins/home/public/application/components/recently_accessed.js +++ b/src/plugins/home/public/application/components/recently_accessed.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import PropTypes from 'prop-types'; diff --git a/src/plugins/home/public/application/components/recently_accessed.test.js b/src/plugins/home/public/application/components/recently_accessed.test.js index c6a7458f4114..8407156a70f7 100644 --- a/src/plugins/home/public/application/components/recently_accessed.test.js +++ b/src/plugins/home/public/application/components/recently_accessed.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { RecentlyAccessed, NUM_LONG_LINKS } from './recently_accessed'; diff --git a/src/plugins/home/public/application/components/sample_data/index.tsx b/src/plugins/home/public/application/components/sample_data/index.tsx index cdf67eec1b89..d8f92926294e 100644 --- a/src/plugins/home/public/application/components/sample_data/index.tsx +++ b/src/plugins/home/public/application/components/sample_data/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* * The UI and related logic for the welcome screen that *should* show only * when it is enabled (the default) and there is no OpenSearch Dashboards-consumed data diff --git a/src/plugins/home/public/application/components/sample_data_set_card.js b/src/plugins/home/public/application/components/sample_data_set_card.js index 2b128e307891..3ec86826639a 100644 --- a/src/plugins/home/public/application/components/sample_data_set_card.js +++ b/src/plugins/home/public/application/components/sample_data_set_card.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import { diff --git a/src/plugins/home/public/application/components/sample_data_set_cards.js b/src/plugins/home/public/application/components/sample_data_set_cards.js index 8a7f7ad4f184..31735d203dda 100644 --- a/src/plugins/home/public/application/components/sample_data_set_cards.js +++ b/src/plugins/home/public/application/components/sample_data_set_cards.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import React from 'react'; import PropTypes from 'prop-types'; diff --git a/src/plugins/home/public/application/components/sample_data_view_data_button.js b/src/plugins/home/public/application/components/sample_data_view_data_button.js index 2733ccf42ee1..875917aa454d 100644 --- a/src/plugins/home/public/application/components/sample_data_view_data_button.js +++ b/src/plugins/home/public/application/components/sample_data_view_data_button.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import { EuiButton, EuiContextMenu, EuiIcon, EuiPopover } from '@elastic/eui'; diff --git a/src/plugins/home/public/application/components/sample_data_view_data_button.test.js b/src/plugins/home/public/application/components/sample_data_view_data_button.test.js index b4e176a95c7e..11b0e617f764 100644 --- a/src/plugins/home/public/application/components/sample_data_view_data_button.test.js +++ b/src/plugins/home/public/application/components/sample_data_view_data_button.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/home/public/application/components/solutions_section/index.ts b/src/plugins/home/public/application/components/solutions_section/index.ts index ecb3ef193cf2..7e18259ce7f1 100644 --- a/src/plugins/home/public/application/components/solutions_section/index.ts +++ b/src/plugins/home/public/application/components/solutions_section/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './solutions_section'; diff --git a/src/plugins/home/public/application/components/solutions_section/solution_panel.test.tsx b/src/plugins/home/public/application/components/solutions_section/solution_panel.test.tsx index 04ec4e10749a..e638687b0ca7 100644 --- a/src/plugins/home/public/application/components/solutions_section/solution_panel.test.tsx +++ b/src/plugins/home/public/application/components/solutions_section/solution_panel.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { SolutionPanel } from './solution_panel'; diff --git a/src/plugins/home/public/application/components/solutions_section/solution_panel.tsx b/src/plugins/home/public/application/components/solutions_section/solution_panel.tsx index fd5a99932e44..c5b692450b3c 100644 --- a/src/plugins/home/public/application/components/solutions_section/solution_panel.tsx +++ b/src/plugins/home/public/application/components/solutions_section/solution_panel.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FC } from 'react'; import { EuiFlexGroup, EuiFlexItem, EuiPanel, EuiSpacer, EuiText } from '@elastic/eui'; import { FeatureCatalogueEntry, FeatureCatalogueSolution } from '../../../'; diff --git a/src/plugins/home/public/application/components/solutions_section/solution_title.test.tsx b/src/plugins/home/public/application/components/solutions_section/solution_title.test.tsx index b865589f448c..5d4a6ebf079c 100644 --- a/src/plugins/home/public/application/components/solutions_section/solution_title.test.tsx +++ b/src/plugins/home/public/application/components/solutions_section/solution_title.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { SolutionTitle } from './solution_title'; diff --git a/src/plugins/home/public/application/components/solutions_section/solution_title.tsx b/src/plugins/home/public/application/components/solutions_section/solution_title.tsx index 35af9b55bb4d..8a0db3ac1afb 100644 --- a/src/plugins/home/public/application/components/solutions_section/solution_title.tsx +++ b/src/plugins/home/public/application/components/solutions_section/solution_title.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FC } from 'react'; import { EuiFlexGroup, diff --git a/src/plugins/home/public/application/components/solutions_section/solutions_section.test.tsx b/src/plugins/home/public/application/components/solutions_section/solutions_section.test.tsx index 79d78d862216..1e48e0aa4956 100644 --- a/src/plugins/home/public/application/components/solutions_section/solutions_section.test.tsx +++ b/src/plugins/home/public/application/components/solutions_section/solutions_section.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { SolutionsSection } from './solutions_section'; diff --git a/src/plugins/home/public/application/components/solutions_section/solutions_section.tsx b/src/plugins/home/public/application/components/solutions_section/solutions_section.tsx index d747f5feffc7..8c9685f04908 100644 --- a/src/plugins/home/public/application/components/solutions_section/solutions_section.tsx +++ b/src/plugins/home/public/application/components/solutions_section/solutions_section.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FC } from 'react'; import PropTypes from 'prop-types'; import { EuiFlexGroup, EuiFlexItem, EuiHorizontalRule, EuiScreenReaderOnly } from '@elastic/eui'; diff --git a/src/plugins/home/public/application/components/synopsis.js b/src/plugins/home/public/application/components/synopsis.js index 71cba0815b98..4c1c23821ecc 100644 --- a/src/plugins/home/public/application/components/synopsis.js +++ b/src/plugins/home/public/application/components/synopsis.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/src/plugins/home/public/application/components/synopsis.test.js b/src/plugins/home/public/application/components/synopsis.test.js index 2f0944951880..22b1030aa8f0 100644 --- a/src/plugins/home/public/application/components/synopsis.test.js +++ b/src/plugins/home/public/application/components/synopsis.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/home/public/application/components/tutorial/content.js b/src/plugins/home/public/application/components/tutorial/content.js index 5c9c07365479..ebd0ce641168 100644 --- a/src/plugins/home/public/application/components/tutorial/content.js +++ b/src/plugins/home/public/application/components/tutorial/content.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import { Markdown } from '../../../../../opensearch_dashboards_react/public'; diff --git a/src/plugins/home/public/application/components/tutorial/content.test.js b/src/plugins/home/public/application/components/tutorial/content.test.js index 8e679d7885cc..7080ef28933d 100644 --- a/src/plugins/home/public/application/components/tutorial/content.test.js +++ b/src/plugins/home/public/application/components/tutorial/content.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/home/public/application/components/tutorial/footer.js b/src/plugins/home/public/application/components/tutorial/footer.js index 8969b97aac0d..816e0cf69c54 100644 --- a/src/plugins/home/public/application/components/tutorial/footer.js +++ b/src/plugins/home/public/application/components/tutorial/footer.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; diff --git a/src/plugins/home/public/application/components/tutorial/footer.test.js b/src/plugins/home/public/application/components/tutorial/footer.test.js index 1867c6a5d316..9cc9eedf8f23 100644 --- a/src/plugins/home/public/application/components/tutorial/footer.test.js +++ b/src/plugins/home/public/application/components/tutorial/footer.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/home/public/application/components/tutorial/instruction.js b/src/plugins/home/public/application/components/tutorial/instruction.js index c7fe27392f8c..89f80cf6cf74 100644 --- a/src/plugins/home/public/application/components/tutorial/instruction.js +++ b/src/plugins/home/public/application/components/tutorial/instruction.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import { Content } from './content'; diff --git a/src/plugins/home/public/application/components/tutorial/instruction_set.js b/src/plugins/home/public/application/components/tutorial/instruction_set.js index 22c8d124f579..dc4cf40c3802 100644 --- a/src/plugins/home/public/application/components/tutorial/instruction_set.js +++ b/src/plugins/home/public/application/components/tutorial/instruction_set.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import { Instruction } from './instruction'; diff --git a/src/plugins/home/public/application/components/tutorial/instruction_set.test.js b/src/plugins/home/public/application/components/tutorial/instruction_set.test.js index 01d5250d36a2..b5144e0024ea 100644 --- a/src/plugins/home/public/application/components/tutorial/instruction_set.test.js +++ b/src/plugins/home/public/application/components/tutorial/instruction_set.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/home/public/application/components/tutorial/introduction.js b/src/plugins/home/public/application/components/tutorial/introduction.js index fe4da6af6fb8..f66828039296 100644 --- a/src/plugins/home/public/application/components/tutorial/introduction.js +++ b/src/plugins/home/public/application/components/tutorial/introduction.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import { Content } from './content'; diff --git a/src/plugins/home/public/application/components/tutorial/introduction.test.js b/src/plugins/home/public/application/components/tutorial/introduction.test.js index b1b701b18b56..4a5e6ace3b95 100644 --- a/src/plugins/home/public/application/components/tutorial/introduction.test.js +++ b/src/plugins/home/public/application/components/tutorial/introduction.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/home/public/application/components/tutorial/number_parameter.js b/src/plugins/home/public/application/components/tutorial/number_parameter.js index 95b8d93464ae..9147ed50014f 100644 --- a/src/plugins/home/public/application/components/tutorial/number_parameter.js +++ b/src/plugins/home/public/application/components/tutorial/number_parameter.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; diff --git a/src/plugins/home/public/application/components/tutorial/parameter_form.js b/src/plugins/home/public/application/components/tutorial/parameter_form.js index c1adad60e3ea..0a4d4bc5f6a9 100644 --- a/src/plugins/home/public/application/components/tutorial/parameter_form.js +++ b/src/plugins/home/public/application/components/tutorial/parameter_form.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import { NumberParameter } from './number_parameter'; diff --git a/src/plugins/home/public/application/components/tutorial/replace_template_strings.js b/src/plugins/home/public/application/components/tutorial/replace_template_strings.js index ea61ef84f58b..94042906c75c 100644 --- a/src/plugins/home/public/application/components/tutorial/replace_template_strings.js +++ b/src/plugins/home/public/application/components/tutorial/replace_template_strings.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Writer } from 'mustache'; import { getServices } from '../../opensearch_dashboards_services'; diff --git a/src/plugins/home/public/application/components/tutorial/saved_objects_installer.js b/src/plugins/home/public/application/components/tutorial/saved_objects_installer.js index d3560e3fede7..f93d13f649d9 100644 --- a/src/plugins/home/public/application/components/tutorial/saved_objects_installer.js +++ b/src/plugins/home/public/application/components/tutorial/saved_objects_installer.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable no-multi-str*/ import { injectI18n } from '@osd/i18n/react'; diff --git a/src/plugins/home/public/application/components/tutorial/saved_objects_installer.test.js b/src/plugins/home/public/application/components/tutorial/saved_objects_installer.test.js index 09fe269bad4a..02eeb1c17292 100644 --- a/src/plugins/home/public/application/components/tutorial/saved_objects_installer.test.js +++ b/src/plugins/home/public/application/components/tutorial/saved_objects_installer.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { findTestSubject } from '@elastic/eui/lib/test'; import { shallowWithIntl, mountWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/home/public/application/components/tutorial/status_check_states.js b/src/plugins/home/public/application/components/tutorial/status_check_states.js index 4d951d4bdb18..f71613af4141 100644 --- a/src/plugins/home/public/application/components/tutorial/status_check_states.js +++ b/src/plugins/home/public/application/components/tutorial/status_check_states.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const HAS_DATA = 'has_data'; export const FETCHING = 'FETCHING'; export const NO_DATA = 'NO_DATA'; diff --git a/src/plugins/home/public/application/components/tutorial/string_parameter.js b/src/plugins/home/public/application/components/tutorial/string_parameter.js index c1ada5d06ab0..333eff71677a 100644 --- a/src/plugins/home/public/application/components/tutorial/string_parameter.js +++ b/src/plugins/home/public/application/components/tutorial/string_parameter.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; diff --git a/src/plugins/home/public/application/components/tutorial/tutorial.js b/src/plugins/home/public/application/components/tutorial/tutorial.js index e4f1655b0458..973cb6a69acb 100644 --- a/src/plugins/home/public/application/components/tutorial/tutorial.js +++ b/src/plugins/home/public/application/components/tutorial/tutorial.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import React from 'react'; import PropTypes from 'prop-types'; diff --git a/src/plugins/home/public/application/components/tutorial/tutorial.test.js b/src/plugins/home/public/application/components/tutorial/tutorial.test.js index e03fd5fc077b..2b994741465f 100644 --- a/src/plugins/home/public/application/components/tutorial/tutorial.test.js +++ b/src/plugins/home/public/application/components/tutorial/tutorial.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithIntl, mountWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/home/public/application/components/tutorial_directory.js b/src/plugins/home/public/application/components/tutorial_directory.js index 84e2c49f8183..268000540ba1 100644 --- a/src/plugins/home/public/application/components/tutorial_directory.js +++ b/src/plugins/home/public/application/components/tutorial_directory.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import React from 'react'; import PropTypes from 'prop-types'; diff --git a/src/plugins/home/public/application/components/welcome.test.tsx b/src/plugins/home/public/application/components/welcome.test.tsx index 8b48275656b9..6a08c977e157 100644 --- a/src/plugins/home/public/application/components/welcome.test.tsx +++ b/src/plugins/home/public/application/components/welcome.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { Welcome } from './welcome'; diff --git a/src/plugins/home/public/application/components/welcome.tsx b/src/plugins/home/public/application/components/welcome.tsx index 7574526f327f..9581a700e833 100644 --- a/src/plugins/home/public/application/components/welcome.tsx +++ b/src/plugins/home/public/application/components/welcome.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* * The UI and related logic for the welcome screen that *should* show only * when it is enabled (the default) and there is no OpenSearch Dashboards-consumed data diff --git a/src/plugins/home/public/application/index.ts b/src/plugins/home/public/application/index.ts index 067febd65898..ba5ccc3e62fa 100644 --- a/src/plugins/home/public/application/index.ts +++ b/src/plugins/home/public/application/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { renderApp } from './application'; diff --git a/src/plugins/home/public/application/load_tutorials.js b/src/plugins/home/public/application/load_tutorials.js index 007370751437..08b6d0a37d38 100644 --- a/src/plugins/home/public/application/load_tutorials.js +++ b/src/plugins/home/public/application/load_tutorials.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { getServices } from './opensearch_dashboards_services'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/home/public/application/opensearch_dashboards_services.ts b/src/plugins/home/public/application/opensearch_dashboards_services.ts index ba5df59466ea..84d174984fac 100644 --- a/src/plugins/home/public/application/opensearch_dashboards_services.ts +++ b/src/plugins/home/public/application/opensearch_dashboards_services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ChromeStart, DocLinksStart, diff --git a/src/plugins/home/public/application/sample_data_client.js b/src/plugins/home/public/application/sample_data_client.js index baab247e06a3..bf30f516dfc7 100644 --- a/src/plugins/home/public/application/sample_data_client.js +++ b/src/plugins/home/public/application/sample_data_client.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getServices } from './opensearch_dashboards_services'; const sampleDataUrl = '/api/sample_data'; diff --git a/src/plugins/home/public/index.ts b/src/plugins/home/public/index.ts index 5c268914e1b5..58ad10cdf04b 100644 --- a/src/plugins/home/public/index.ts +++ b/src/plugins/home/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/public'; export { diff --git a/src/plugins/home/public/mocks/index.ts b/src/plugins/home/public/mocks/index.ts index 0f6701e30741..da84d42dd5ca 100644 --- a/src/plugins/home/public/mocks/index.ts +++ b/src/plugins/home/public/mocks/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { featureCatalogueRegistryMock } from '../services/feature_catalogue/feature_catalogue_registry.mock'; import { environmentServiceMock } from '../services/environment/environment.mock'; import { configSchema } from '../../config'; diff --git a/src/plugins/home/public/plugin.test.mocks.ts b/src/plugins/home/public/plugin.test.mocks.ts index 0a8dfd820fed..942130e5e9f6 100644 --- a/src/plugins/home/public/plugin.test.mocks.ts +++ b/src/plugins/home/public/plugin.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { featureCatalogueRegistryMock } from './services/feature_catalogue/feature_catalogue_registry.mock'; import { environmentServiceMock } from './services/environment/environment.mock'; import { tutorialServiceMock } from './services/tutorials/tutorial_service.mock'; diff --git a/src/plugins/home/public/plugin.test.ts b/src/plugins/home/public/plugin.test.ts index 639701584f29..c311b6ee0fe5 100644 --- a/src/plugins/home/public/plugin.test.ts +++ b/src/plugins/home/public/plugin.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { registryMock, environmentMock, tutorialMock } from './plugin.test.mocks'; import { HomePublicPlugin } from './plugin'; import { coreMock } from '../../../core/public/mocks'; diff --git a/src/plugins/home/public/plugin.ts b/src/plugins/home/public/plugin.ts index 9c9d021190d0..03823c5da179 100644 --- a/src/plugins/home/public/plugin.ts +++ b/src/plugins/home/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AppMountParameters, CoreSetup, diff --git a/src/plugins/home/public/services/environment/environment.mock.ts b/src/plugins/home/public/services/environment/environment.mock.ts index bffc36c44294..38491ab0998a 100644 --- a/src/plugins/home/public/services/environment/environment.mock.ts +++ b/src/plugins/home/public/services/environment/environment.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EnvironmentService, EnvironmentServiceSetup } from './environment'; const createSetupMock = (): jest.Mocked => { diff --git a/src/plugins/home/public/services/environment/environment.test.ts b/src/plugins/home/public/services/environment/environment.test.ts index 13737bddd601..d2fe9dfc3077 100644 --- a/src/plugins/home/public/services/environment/environment.test.ts +++ b/src/plugins/home/public/services/environment/environment.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EnvironmentService } from './environment'; describe('EnvironmentService', () => { diff --git a/src/plugins/home/public/services/environment/environment.ts b/src/plugins/home/public/services/environment/environment.ts index 7919ac044d4f..66f38b13c625 100644 --- a/src/plugins/home/public/services/environment/environment.ts +++ b/src/plugins/home/public/services/environment/environment.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** @public */ export interface Environment { /** diff --git a/src/plugins/home/public/services/environment/index.ts b/src/plugins/home/public/services/environment/index.ts index 7b144359bac9..764134a9de9f 100644 --- a/src/plugins/home/public/services/environment/index.ts +++ b/src/plugins/home/public/services/environment/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { EnvironmentService, Environment, EnvironmentServiceSetup } from './environment'; diff --git a/src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.mock.ts b/src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.mock.ts index 502c0a1d7921..1e71ec839c26 100644 --- a/src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.mock.ts +++ b/src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FeatureCatalogueRegistrySetup, FeatureCatalogueRegistry, diff --git a/src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.test.ts b/src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.test.ts index 5878d858b05a..cd72355ece00 100644 --- a/src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.test.ts +++ b/src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FeatureCatalogueRegistry, FeatureCatalogueCategory, diff --git a/src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.ts b/src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.ts index da5f4cea75f5..331c95d1180e 100644 --- a/src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.ts +++ b/src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Capabilities } from 'src/core/public'; import { IconType } from '@elastic/eui'; diff --git a/src/plugins/home/public/services/feature_catalogue/index.ts b/src/plugins/home/public/services/feature_catalogue/index.ts index 55431eda15ec..29f6c3c4de37 100644 --- a/src/plugins/home/public/services/feature_catalogue/index.ts +++ b/src/plugins/home/public/services/feature_catalogue/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { FeatureCatalogueCategory, FeatureCatalogueEntry, diff --git a/src/plugins/home/public/services/index.ts b/src/plugins/home/public/services/index.ts index f0e69d4bc13b..854ad7f6c646 100644 --- a/src/plugins/home/public/services/index.ts +++ b/src/plugins/home/public/services/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './feature_catalogue'; export * from './environment'; export * from './tutorials'; diff --git a/src/plugins/home/public/services/tutorials/index.ts b/src/plugins/home/public/services/tutorials/index.ts index 8c33c650d79f..56e71d51c226 100644 --- a/src/plugins/home/public/services/tutorials/index.ts +++ b/src/plugins/home/public/services/tutorials/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { TutorialService, TutorialVariables, diff --git a/src/plugins/home/public/services/tutorials/tutorial_service.mock.ts b/src/plugins/home/public/services/tutorials/tutorial_service.mock.ts index 4905060fb37f..23cfa543ede3 100644 --- a/src/plugins/home/public/services/tutorials/tutorial_service.mock.ts +++ b/src/plugins/home/public/services/tutorials/tutorial_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TutorialService, TutorialServiceSetup } from './tutorial_service'; const createSetupMock = (): jest.Mocked => { diff --git a/src/plugins/home/public/services/tutorials/tutorial_service.test.tsx b/src/plugins/home/public/services/tutorials/tutorial_service.test.tsx index 2213f11b57ba..1ab879416d18 100644 --- a/src/plugins/home/public/services/tutorials/tutorial_service.test.tsx +++ b/src/plugins/home/public/services/tutorials/tutorial_service.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { TutorialService } from './tutorial_service'; diff --git a/src/plugins/home/public/services/tutorials/tutorial_service.ts b/src/plugins/home/public/services/tutorials/tutorial_service.ts index b75d3b2a496d..a0a592bb7d17 100644 --- a/src/plugins/home/public/services/tutorials/tutorial_service.ts +++ b/src/plugins/home/public/services/tutorials/tutorial_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; /** @public */ diff --git a/src/plugins/home/server/capabilities_provider.ts b/src/plugins/home/server/capabilities_provider.ts index fc5f3749be04..2912cd8cee76 100644 --- a/src/plugins/home/server/capabilities_provider.ts +++ b/src/plugins/home/server/capabilities_provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const capabilitiesProvider = () => ({ catalogue: { discover: true, diff --git a/src/plugins/home/server/index.ts b/src/plugins/home/server/index.ts index 5835d995932c..47c321243b5d 100644 --- a/src/plugins/home/server/index.ts +++ b/src/plugins/home/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { HomeServerPluginSetup, HomeServerPluginStart } from './plugin'; export { TutorialProvider } from './services'; export { SampleDatasetProvider, SampleDataRegistrySetup } from './services'; diff --git a/src/plugins/home/server/plugin.test.mocks.ts b/src/plugins/home/server/plugin.test.mocks.ts index bcb0afb3d86e..b1de28fdbd10 100644 --- a/src/plugins/home/server/plugin.test.mocks.ts +++ b/src/plugins/home/server/plugin.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { tutorialsRegistryMock } from './services/tutorials/tutorials_registry.mock'; import { sampleDataRegistryMock } from './services/sample_data/sample_data_registry.mock'; diff --git a/src/plugins/home/server/plugin.test.ts b/src/plugins/home/server/plugin.test.ts index 8f7d0e7fa85e..25416c244b29 100644 --- a/src/plugins/home/server/plugin.test.ts +++ b/src/plugins/home/server/plugin.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { registryForTutorialsMock, registryForSampleDataMock } from './plugin.test.mocks'; import { HomeServerPlugin } from './plugin'; import { coreMock, httpServiceMock } from '../../../core/server/mocks'; diff --git a/src/plugins/home/server/plugin.ts b/src/plugins/home/server/plugin.ts index ec789e6a24a4..7074355c899f 100644 --- a/src/plugins/home/server/plugin.ts +++ b/src/plugins/home/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CoreSetup, Plugin, PluginInitializerContext } from 'opensearch-dashboards/server'; import { TutorialsRegistry, diff --git a/src/plugins/home/server/routes/fetch_opensearch_hits_status.ts b/src/plugins/home/server/routes/fetch_opensearch_hits_status.ts index a458bea6805a..0bc0da981886 100644 --- a/src/plugins/home/server/routes/fetch_opensearch_hits_status.ts +++ b/src/plugins/home/server/routes/fetch_opensearch_hits_status.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { IRouter } from 'src/core/server'; diff --git a/src/plugins/home/server/routes/index.ts b/src/plugins/home/server/routes/index.ts index a0db6c6d3662..c0aef557c1a2 100644 --- a/src/plugins/home/server/routes/index.ts +++ b/src/plugins/home/server/routes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IRouter } from 'src/core/server'; import { registerHitsStatusRoute } from './fetch_opensearch_hits_status'; diff --git a/src/plugins/home/server/saved_objects/index.ts b/src/plugins/home/server/saved_objects/index.ts index 289c8ad7dec8..93dced7a353b 100644 --- a/src/plugins/home/server/saved_objects/index.ts +++ b/src/plugins/home/server/saved_objects/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { sampleDataTelemetry } from './sample_data_telemetry'; diff --git a/src/plugins/home/server/saved_objects/sample_data_telemetry.ts b/src/plugins/home/server/saved_objects/sample_data_telemetry.ts index 9a13db350791..9a2c8edf5bf3 100644 --- a/src/plugins/home/server/saved_objects/sample_data_telemetry.ts +++ b/src/plugins/home/server/saved_objects/sample_data_telemetry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SavedObjectsType } from 'opensearch-dashboards/server'; export const sampleDataTelemetry: SavedObjectsType = { diff --git a/src/plugins/home/server/services/index.ts b/src/plugins/home/server/services/index.ts index 7da1a59132ab..40a66f886998 100644 --- a/src/plugins/home/server/services/index.ts +++ b/src/plugins/home/server/services/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ // provided to other plugins as APIs // should model the plugin lifecycle diff --git a/src/plugins/home/server/services/sample_data/data_sets/ecommerce/field_mappings.ts b/src/plugins/home/server/services/sample_data/data_sets/ecommerce/field_mappings.ts index 639157955548..c0e7b3c15b25 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/ecommerce/field_mappings.ts +++ b/src/plugins/home/server/services/sample_data/data_sets/ecommerce/field_mappings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const fieldMappings = { category: { type: 'text', diff --git a/src/plugins/home/server/services/sample_data/data_sets/ecommerce/index.ts b/src/plugins/home/server/services/sample_data/data_sets/ecommerce/index.ts index f3614653583b..43cf0925a8b4 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/ecommerce/index.ts +++ b/src/plugins/home/server/services/sample_data/data_sets/ecommerce/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import path from 'path'; import { i18n } from '@osd/i18n'; import { getSavedObjects } from './saved_objects'; diff --git a/src/plugins/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts b/src/plugins/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts index d0551a6a2122..81fb2fa21256 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts +++ b/src/plugins/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint max-len: 0 */ import { i18n } from '@osd/i18n'; diff --git a/src/plugins/home/server/services/sample_data/data_sets/flights/field_mappings.ts b/src/plugins/home/server/services/sample_data/data_sets/flights/field_mappings.ts index 93a9d6add069..7e3a97557adb 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/flights/field_mappings.ts +++ b/src/plugins/home/server/services/sample_data/data_sets/flights/field_mappings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const fieldMappings = { timestamp: { type: 'date', diff --git a/src/plugins/home/server/services/sample_data/data_sets/flights/index.ts b/src/plugins/home/server/services/sample_data/data_sets/flights/index.ts index d354fd9e8b47..e90cdaea3b8a 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/flights/index.ts +++ b/src/plugins/home/server/services/sample_data/data_sets/flights/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import path from 'path'; import { i18n } from '@osd/i18n'; import { getSavedObjects } from './saved_objects'; diff --git a/src/plugins/home/server/services/sample_data/data_sets/flights/saved_objects.ts b/src/plugins/home/server/services/sample_data/data_sets/flights/saved_objects.ts index 8e7f7acd63a7..a31d76e535cb 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/flights/saved_objects.ts +++ b/src/plugins/home/server/services/sample_data/data_sets/flights/saved_objects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint max-len: 0 */ /* eslint-disable */ diff --git a/src/plugins/home/server/services/sample_data/data_sets/index.ts b/src/plugins/home/server/services/sample_data/data_sets/index.ts index 27d92a7d5b01..a75115950f93 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/index.ts +++ b/src/plugins/home/server/services/sample_data/data_sets/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { flightsSpecProvider } from './flights'; export { logsSpecProvider } from './logs'; export { ecommerceSpecProvider } from './ecommerce'; diff --git a/src/plugins/home/server/services/sample_data/data_sets/logs/field_mappings.ts b/src/plugins/home/server/services/sample_data/data_sets/logs/field_mappings.ts index fc4dbb1091a3..e2028fb02db7 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/logs/field_mappings.ts +++ b/src/plugins/home/server/services/sample_data/data_sets/logs/field_mappings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const fieldMappings = { request: { type: 'text', diff --git a/src/plugins/home/server/services/sample_data/data_sets/logs/index.ts b/src/plugins/home/server/services/sample_data/data_sets/logs/index.ts index 95b3a237fa3a..1438de8ad64f 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/logs/index.ts +++ b/src/plugins/home/server/services/sample_data/data_sets/logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import path from 'path'; import { i18n } from '@osd/i18n'; import { getSavedObjects } from './saved_objects'; diff --git a/src/plugins/home/server/services/sample_data/data_sets/logs/saved_objects.ts b/src/plugins/home/server/services/sample_data/data_sets/logs/saved_objects.ts index 9fe31a87a867..e5587b01ad8c 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/logs/saved_objects.ts +++ b/src/plugins/home/server/services/sample_data/data_sets/logs/saved_objects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint max-len: 0 */ import { i18n } from '@osd/i18n'; import { SavedObject } from 'opensearch-dashboards/server'; diff --git a/src/plugins/home/server/services/sample_data/index.ts b/src/plugins/home/server/services/sample_data/index.ts index e34f2ebe55e6..d56bafeb7c4b 100644 --- a/src/plugins/home/server/services/sample_data/index.ts +++ b/src/plugins/home/server/services/sample_data/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { SampleDataRegistry, SampleDataRegistrySetup, diff --git a/src/plugins/home/server/services/sample_data/lib/create_index_name.ts b/src/plugins/home/server/services/sample_data/lib/create_index_name.ts index 795a48f4ea1d..532c07d23dca 100644 --- a/src/plugins/home/server/services/sample_data/lib/create_index_name.ts +++ b/src/plugins/home/server/services/sample_data/lib/create_index_name.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const createIndexName = function (sampleDataSetId: string, dataIndexId: string): string { // Sample data schema was updated to support multiple indices in 6.5. // This if statement ensures that sample data sets that used a single index prior to the schema change diff --git a/src/plugins/home/server/services/sample_data/lib/load_data.ts b/src/plugins/home/server/services/sample_data/lib/load_data.ts index f958f9748948..4933e1c8e3d8 100644 --- a/src/plugins/home/server/services/sample_data/lib/load_data.ts +++ b/src/plugins/home/server/services/sample_data/lib/load_data.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import readline from 'readline'; import fs from 'fs'; import { createUnzip } from 'zlib'; diff --git a/src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types.ts b/src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types.ts index f9737378975d..86ac5bcc5779 100644 --- a/src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types.ts +++ b/src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SavedObject } from 'src/core/server'; export enum DatasetStatusTypes { diff --git a/src/plugins/home/server/services/sample_data/lib/sample_dataset_schema.ts b/src/plugins/home/server/services/sample_data/lib/sample_dataset_schema.ts index b3d653cde669..d5963b7568b3 100644 --- a/src/plugins/home/server/services/sample_data/lib/sample_dataset_schema.ts +++ b/src/plugins/home/server/services/sample_data/lib/sample_dataset_schema.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Joi from 'joi'; const dataIndexSchema = Joi.object({ diff --git a/src/plugins/home/server/services/sample_data/lib/translate_timestamp.ts b/src/plugins/home/server/services/sample_data/lib/translate_timestamp.ts index 4a7da45ab1ae..d90b76188cf0 100644 --- a/src/plugins/home/server/services/sample_data/lib/translate_timestamp.ts +++ b/src/plugins/home/server/services/sample_data/lib/translate_timestamp.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const MILLISECONDS_IN_DAY = 86400000; function iso8601ToDateIgnoringTime(iso8601: string) { diff --git a/src/plugins/home/server/services/sample_data/routes/index.ts b/src/plugins/home/server/services/sample_data/routes/index.ts index 4280e2fb952d..3e7f3b3db5fa 100644 --- a/src/plugins/home/server/services/sample_data/routes/index.ts +++ b/src/plugins/home/server/services/sample_data/routes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { createListRoute } from './list'; export { createInstallRoute } from './install'; export { createUninstallRoute } from './uninstall'; diff --git a/src/plugins/home/server/services/sample_data/routes/install.ts b/src/plugins/home/server/services/sample_data/routes/install.ts index 3d9534be2833..eec5f0d5bc86 100644 --- a/src/plugins/home/server/services/sample_data/routes/install.ts +++ b/src/plugins/home/server/services/sample_data/routes/install.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { schema } from '@osd/config-schema'; import { IRouter, Logger, RequestHandlerContext } from 'src/core/server'; import { SampleDatasetSchema } from '../lib/sample_dataset_registry_types'; diff --git a/src/plugins/home/server/services/sample_data/routes/list.ts b/src/plugins/home/server/services/sample_data/routes/list.ts index b460ab803443..a0665132dd10 100644 --- a/src/plugins/home/server/services/sample_data/routes/list.ts +++ b/src/plugins/home/server/services/sample_data/routes/list.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { IRouter } from 'src/core/server'; import { SampleDatasetSchema } from '../lib/sample_dataset_registry_types'; import { createIndexName } from '../lib/create_index_name'; diff --git a/src/plugins/home/server/services/sample_data/routes/uninstall.ts b/src/plugins/home/server/services/sample_data/routes/uninstall.ts index 3d5150a24083..e38a2224aae8 100644 --- a/src/plugins/home/server/services/sample_data/routes/uninstall.ts +++ b/src/plugins/home/server/services/sample_data/routes/uninstall.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { schema } from '@osd/config-schema'; import _ from 'lodash'; import { IRouter } from 'src/core/server'; diff --git a/src/plugins/home/server/services/sample_data/sample_data_registry.mock.ts b/src/plugins/home/server/services/sample_data/sample_data_registry.mock.ts index 3ffe4c542569..d5f72f608bcf 100644 --- a/src/plugins/home/server/services/sample_data/sample_data_registry.mock.ts +++ b/src/plugins/home/server/services/sample_data/sample_data_registry.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SampleDataRegistrySetup, SampleDataRegistryStart, diff --git a/src/plugins/home/server/services/sample_data/sample_data_registry.ts b/src/plugins/home/server/services/sample_data/sample_data_registry.ts index ddb740df811c..d90de532c339 100644 --- a/src/plugins/home/server/services/sample_data/sample_data_registry.ts +++ b/src/plugins/home/server/services/sample_data/sample_data_registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Joi from 'joi'; import { CoreSetup, PluginInitializerContext } from 'src/core/server'; import { SavedObject } from 'src/core/public'; diff --git a/src/plugins/home/server/services/sample_data/usage/collector.ts b/src/plugins/home/server/services/sample_data/usage/collector.ts index 5d2f4791cba7..bceb925ab13a 100644 --- a/src/plugins/home/server/services/sample_data/usage/collector.ts +++ b/src/plugins/home/server/services/sample_data/usage/collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/server'; import { first } from 'rxjs/operators'; import { fetchProvider, TelemetryResponse } from './collector_fetch'; diff --git a/src/plugins/home/server/services/sample_data/usage/collector_fetch.test.ts b/src/plugins/home/server/services/sample_data/usage/collector_fetch.test.ts index dc9913aea860..6d22ab2410f7 100644 --- a/src/plugins/home/server/services/sample_data/usage/collector_fetch.test.ts +++ b/src/plugins/home/server/services/sample_data/usage/collector_fetch.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon from 'sinon'; import { fetchProvider } from './collector_fetch'; diff --git a/src/plugins/home/server/services/sample_data/usage/collector_fetch.ts b/src/plugins/home/server/services/sample_data/usage/collector_fetch.ts index b0fa4d3958bc..c4ee162ac94e 100644 --- a/src/plugins/home/server/services/sample_data/usage/collector_fetch.ts +++ b/src/plugins/home/server/services/sample_data/usage/collector_fetch.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import moment from 'moment'; diff --git a/src/plugins/home/server/services/sample_data/usage/index.ts b/src/plugins/home/server/services/sample_data/usage/index.ts index 5c7ef8b54375..77ce44b3bc17 100644 --- a/src/plugins/home/server/services/sample_data/usage/index.ts +++ b/src/plugins/home/server/services/sample_data/usage/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { makeSampleDataUsageCollector } from './collector'; export { usage } from './usage'; diff --git a/src/plugins/home/server/services/sample_data/usage/usage.ts b/src/plugins/home/server/services/sample_data/usage/usage.ts index c50dabf28bc0..3f8c3539dbb7 100644 --- a/src/plugins/home/server/services/sample_data/usage/usage.ts +++ b/src/plugins/home/server/services/sample_data/usage/usage.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Logger, SavedObjectsServiceStart } from 'opensearch-dashboards/server'; const SAVED_OBJECT_ID = 'sample-data-telemetry'; diff --git a/src/plugins/home/server/services/tutorials/index.ts b/src/plugins/home/server/services/tutorials/index.ts index fe1f3fd71516..9811ce762d19 100644 --- a/src/plugins/home/server/services/tutorials/index.ts +++ b/src/plugins/home/server/services/tutorials/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { TutorialsRegistry, TutorialsRegistrySetup, diff --git a/src/plugins/home/server/services/tutorials/lib/tutorial_schema.ts b/src/plugins/home/server/services/tutorials/lib/tutorial_schema.ts index 7c27346588de..c8be95ca5a10 100644 --- a/src/plugins/home/server/services/tutorials/lib/tutorial_schema.ts +++ b/src/plugins/home/server/services/tutorials/lib/tutorial_schema.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Joi from 'joi'; const PARAM_TYPES = { diff --git a/src/plugins/home/server/services/tutorials/lib/tutorials_registry_types.ts b/src/plugins/home/server/services/tutorials/lib/tutorials_registry_types.ts index f2eff2ffa431..508025202c52 100644 --- a/src/plugins/home/server/services/tutorials/lib/tutorials_registry_types.ts +++ b/src/plugins/home/server/services/tutorials/lib/tutorials_registry_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { IconType } from '@elastic/eui'; import { OpenSearchDashboardsRequest } from 'src/core/server'; diff --git a/src/plugins/home/server/services/tutorials/tutorials_registry.mock.ts b/src/plugins/home/server/services/tutorials/tutorials_registry.mock.ts index 27ff5b989409..99cdbd11fad9 100644 --- a/src/plugins/home/server/services/tutorials/tutorials_registry.mock.ts +++ b/src/plugins/home/server/services/tutorials/tutorials_registry.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TutorialsRegistrySetup, TutorialsRegistryStart, diff --git a/src/plugins/home/server/services/tutorials/tutorials_registry.test.ts b/src/plugins/home/server/services/tutorials/tutorials_registry.test.ts index 32359b7d1602..d3d74e855184 100644 --- a/src/plugins/home/server/services/tutorials/tutorials_registry.test.ts +++ b/src/plugins/home/server/services/tutorials/tutorials_registry.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TutorialsRegistry } from './tutorials_registry'; import { coreMock } from '../../../../../core/server/mocks'; import { CoreSetup } from '../../../../../core/server'; diff --git a/src/plugins/home/server/services/tutorials/tutorials_registry.ts b/src/plugins/home/server/services/tutorials/tutorials_registry.ts index 7b851166ea33..39c14060e30a 100644 --- a/src/plugins/home/server/services/tutorials/tutorials_registry.ts +++ b/src/plugins/home/server/services/tutorials/tutorials_registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Joi from 'joi'; import { CoreSetup } from 'src/core/server'; import { diff --git a/src/plugins/home/server/tutorials/activemq_logs/index.ts b/src/plugins/home/server/tutorials/activemq_logs/index.ts index ab18057ef1e0..4dfd29812f23 100644 --- a/src/plugins/home/server/tutorials/activemq_logs/index.ts +++ b/src/plugins/home/server/tutorials/activemq_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/activemq_metrics/index.ts b/src/plugins/home/server/tutorials/activemq_metrics/index.ts index 567713c6ea1b..9824816c2412 100644 --- a/src/plugins/home/server/tutorials/activemq_metrics/index.ts +++ b/src/plugins/home/server/tutorials/activemq_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; import { diff --git a/src/plugins/home/server/tutorials/aerospike_metrics/index.ts b/src/plugins/home/server/tutorials/aerospike_metrics/index.ts index cfa088cd15fe..bad23346c7d6 100644 --- a/src/plugins/home/server/tutorials/aerospike_metrics/index.ts +++ b/src/plugins/home/server/tutorials/aerospike_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; import { diff --git a/src/plugins/home/server/tutorials/apache_logs/index.ts b/src/plugins/home/server/tutorials/apache_logs/index.ts index bd34668e0521..b9e6f435ff61 100644 --- a/src/plugins/home/server/tutorials/apache_logs/index.ts +++ b/src/plugins/home/server/tutorials/apache_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/apache_metrics/index.ts b/src/plugins/home/server/tutorials/apache_metrics/index.ts index 86edc40640bc..c384777debb9 100644 --- a/src/plugins/home/server/tutorials/apache_metrics/index.ts +++ b/src/plugins/home/server/tutorials/apache_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/auditbeat/index.ts b/src/plugins/home/server/tutorials/auditbeat/index.ts index 57f23814abd9..bc52bc14ece6 100644 --- a/src/plugins/home/server/tutorials/auditbeat/index.ts +++ b/src/plugins/home/server/tutorials/auditbeat/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/auditbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/auditd_logs/index.ts b/src/plugins/home/server/tutorials/auditd_logs/index.ts index 7b4ef757a196..050c3c683aa5 100644 --- a/src/plugins/home/server/tutorials/auditd_logs/index.ts +++ b/src/plugins/home/server/tutorials/auditd_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/aws_logs/index.ts b/src/plugins/home/server/tutorials/aws_logs/index.ts index c86090f9a544..2d987bf98290 100644 --- a/src/plugins/home/server/tutorials/aws_logs/index.ts +++ b/src/plugins/home/server/tutorials/aws_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/aws_metrics/index.ts b/src/plugins/home/server/tutorials/aws_metrics/index.ts index 569a438ef101..f239f224eb5a 100644 --- a/src/plugins/home/server/tutorials/aws_metrics/index.ts +++ b/src/plugins/home/server/tutorials/aws_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/azure_logs/index.ts b/src/plugins/home/server/tutorials/azure_logs/index.ts index e89461e63819..08d089aa6422 100644 --- a/src/plugins/home/server/tutorials/azure_logs/index.ts +++ b/src/plugins/home/server/tutorials/azure_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/azure_metrics/index.ts b/src/plugins/home/server/tutorials/azure_metrics/index.ts index 94e492d3f94a..b93f697a331a 100644 --- a/src/plugins/home/server/tutorials/azure_metrics/index.ts +++ b/src/plugins/home/server/tutorials/azure_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/barracuda_logs/index.ts b/src/plugins/home/server/tutorials/barracuda_logs/index.ts index df3b046f0d83..5d1f49e798f8 100644 --- a/src/plugins/home/server/tutorials/barracuda_logs/index.ts +++ b/src/plugins/home/server/tutorials/barracuda_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/bluecoat_logs/index.ts b/src/plugins/home/server/tutorials/bluecoat_logs/index.ts index 0058f05e7d72..44e2bcc8a759 100644 --- a/src/plugins/home/server/tutorials/bluecoat_logs/index.ts +++ b/src/plugins/home/server/tutorials/bluecoat_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/cef_logs/index.ts b/src/plugins/home/server/tutorials/cef_logs/index.ts index 99dea2d977c4..4972b3a5ccb2 100644 --- a/src/plugins/home/server/tutorials/cef_logs/index.ts +++ b/src/plugins/home/server/tutorials/cef_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/ceph_metrics/index.ts b/src/plugins/home/server/tutorials/ceph_metrics/index.ts index 1b34a481430f..c23e03196c2c 100644 --- a/src/plugins/home/server/tutorials/ceph_metrics/index.ts +++ b/src/plugins/home/server/tutorials/ceph_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/checkpoint_logs/index.ts b/src/plugins/home/server/tutorials/checkpoint_logs/index.ts index 049098317bc3..623c4138090e 100644 --- a/src/plugins/home/server/tutorials/checkpoint_logs/index.ts +++ b/src/plugins/home/server/tutorials/checkpoint_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/cisco_logs/index.ts b/src/plugins/home/server/tutorials/cisco_logs/index.ts index adb585cdba6f..a092515db467 100644 --- a/src/plugins/home/server/tutorials/cisco_logs/index.ts +++ b/src/plugins/home/server/tutorials/cisco_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/cloudwatch_logs/index.ts b/src/plugins/home/server/tutorials/cloudwatch_logs/index.ts index 994c6744a23c..744943fbb376 100644 --- a/src/plugins/home/server/tutorials/cloudwatch_logs/index.ts +++ b/src/plugins/home/server/tutorials/cloudwatch_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/functionbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/cockroachdb_metrics/index.ts b/src/plugins/home/server/tutorials/cockroachdb_metrics/index.ts index 06d52f3d7963..e846b00fdf64 100644 --- a/src/plugins/home/server/tutorials/cockroachdb_metrics/index.ts +++ b/src/plugins/home/server/tutorials/cockroachdb_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/consul_metrics/index.ts b/src/plugins/home/server/tutorials/consul_metrics/index.ts index a21db316e841..b1c710e036fc 100644 --- a/src/plugins/home/server/tutorials/consul_metrics/index.ts +++ b/src/plugins/home/server/tutorials/consul_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/coredns_logs/index.ts b/src/plugins/home/server/tutorials/coredns_logs/index.ts index f3abd8c462b5..e62d81fb27bb 100644 --- a/src/plugins/home/server/tutorials/coredns_logs/index.ts +++ b/src/plugins/home/server/tutorials/coredns_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/coredns_metrics/index.ts b/src/plugins/home/server/tutorials/coredns_metrics/index.ts index a43b8580c847..8287bf1a8deb 100644 --- a/src/plugins/home/server/tutorials/coredns_metrics/index.ts +++ b/src/plugins/home/server/tutorials/coredns_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/couchbase_metrics/index.ts b/src/plugins/home/server/tutorials/couchbase_metrics/index.ts index 8b434ae7e9b8..cdbd82e0d498 100644 --- a/src/plugins/home/server/tutorials/couchbase_metrics/index.ts +++ b/src/plugins/home/server/tutorials/couchbase_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/couchdb_metrics/index.ts b/src/plugins/home/server/tutorials/couchdb_metrics/index.ts index 71c0bf7b68ed..4c68b66281c4 100644 --- a/src/plugins/home/server/tutorials/couchdb_metrics/index.ts +++ b/src/plugins/home/server/tutorials/couchdb_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/crowdstrike_logs/index.ts b/src/plugins/home/server/tutorials/crowdstrike_logs/index.ts index cc0164967cae..6035d0f5f727 100644 --- a/src/plugins/home/server/tutorials/crowdstrike_logs/index.ts +++ b/src/plugins/home/server/tutorials/crowdstrike_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/cylance_logs/index.ts b/src/plugins/home/server/tutorials/cylance_logs/index.ts index d8edc3f70284..cfef44a8cb3d 100644 --- a/src/plugins/home/server/tutorials/cylance_logs/index.ts +++ b/src/plugins/home/server/tutorials/cylance_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/docker_metrics/index.ts b/src/plugins/home/server/tutorials/docker_metrics/index.ts index 09545bc06d78..9a396b81e34f 100644 --- a/src/plugins/home/server/tutorials/docker_metrics/index.ts +++ b/src/plugins/home/server/tutorials/docker_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/dropwizard_metrics/index.ts b/src/plugins/home/server/tutorials/dropwizard_metrics/index.ts index e141046aaff2..e279176e8ff9 100644 --- a/src/plugins/home/server/tutorials/dropwizard_metrics/index.ts +++ b/src/plugins/home/server/tutorials/dropwizard_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/envoyproxy_logs/index.ts b/src/plugins/home/server/tutorials/envoyproxy_logs/index.ts index c8764108ef5b..5e9ffb3202cf 100644 --- a/src/plugins/home/server/tutorials/envoyproxy_logs/index.ts +++ b/src/plugins/home/server/tutorials/envoyproxy_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/envoyproxy_metrics/index.ts b/src/plugins/home/server/tutorials/envoyproxy_metrics/index.ts index 9de1c5a8098a..7a0ba555eef1 100644 --- a/src/plugins/home/server/tutorials/envoyproxy_metrics/index.ts +++ b/src/plugins/home/server/tutorials/envoyproxy_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/etcd_metrics/index.ts b/src/plugins/home/server/tutorials/etcd_metrics/index.ts index a153b4c2c9e6..31bcb5369323 100644 --- a/src/plugins/home/server/tutorials/etcd_metrics/index.ts +++ b/src/plugins/home/server/tutorials/etcd_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/f5_logs/index.ts b/src/plugins/home/server/tutorials/f5_logs/index.ts index 26e9e93d4495..0170bf6cc118 100644 --- a/src/plugins/home/server/tutorials/f5_logs/index.ts +++ b/src/plugins/home/server/tutorials/f5_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/fortinet_logs/index.ts b/src/plugins/home/server/tutorials/fortinet_logs/index.ts index bd868df1d2e5..425ee062c741 100644 --- a/src/plugins/home/server/tutorials/fortinet_logs/index.ts +++ b/src/plugins/home/server/tutorials/fortinet_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/golang_metrics/index.ts b/src/plugins/home/server/tutorials/golang_metrics/index.ts index 21ab047a0c7a..1f20d2f48bba 100644 --- a/src/plugins/home/server/tutorials/golang_metrics/index.ts +++ b/src/plugins/home/server/tutorials/golang_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/googlecloud_logs/index.ts b/src/plugins/home/server/tutorials/googlecloud_logs/index.ts index 138982c07b11..6118c215ea94 100644 --- a/src/plugins/home/server/tutorials/googlecloud_logs/index.ts +++ b/src/plugins/home/server/tutorials/googlecloud_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/googlecloud_metrics/index.ts b/src/plugins/home/server/tutorials/googlecloud_metrics/index.ts index 56838e6da4f6..b19fdb456f9b 100644 --- a/src/plugins/home/server/tutorials/googlecloud_metrics/index.ts +++ b/src/plugins/home/server/tutorials/googlecloud_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/gsuite_logs/index.ts b/src/plugins/home/server/tutorials/gsuite_logs/index.ts index 3a67926afd04..b2dc118cc60a 100644 --- a/src/plugins/home/server/tutorials/gsuite_logs/index.ts +++ b/src/plugins/home/server/tutorials/gsuite_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/haproxy_logs/index.ts b/src/plugins/home/server/tutorials/haproxy_logs/index.ts index fcaaad874c35..0eb3b84291ff 100644 --- a/src/plugins/home/server/tutorials/haproxy_logs/index.ts +++ b/src/plugins/home/server/tutorials/haproxy_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/haproxy_metrics/index.ts b/src/plugins/home/server/tutorials/haproxy_metrics/index.ts index 7d532031ed83..be275726877a 100644 --- a/src/plugins/home/server/tutorials/haproxy_metrics/index.ts +++ b/src/plugins/home/server/tutorials/haproxy_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/ibmmq_logs/index.ts b/src/plugins/home/server/tutorials/ibmmq_logs/index.ts index 210ddd2ee2f0..f0bd4b218ff8 100644 --- a/src/plugins/home/server/tutorials/ibmmq_logs/index.ts +++ b/src/plugins/home/server/tutorials/ibmmq_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/ibmmq_metrics/index.ts b/src/plugins/home/server/tutorials/ibmmq_metrics/index.ts index 13858362a28d..1b90dff20b67 100644 --- a/src/plugins/home/server/tutorials/ibmmq_metrics/index.ts +++ b/src/plugins/home/server/tutorials/ibmmq_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/icinga_logs/index.ts b/src/plugins/home/server/tutorials/icinga_logs/index.ts index 251e87744b96..5c3cf2772012 100644 --- a/src/plugins/home/server/tutorials/icinga_logs/index.ts +++ b/src/plugins/home/server/tutorials/icinga_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/iis_logs/index.ts b/src/plugins/home/server/tutorials/iis_logs/index.ts index 3f9d83b0de88..99a6dca970c4 100644 --- a/src/plugins/home/server/tutorials/iis_logs/index.ts +++ b/src/plugins/home/server/tutorials/iis_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/iis_metrics/index.ts b/src/plugins/home/server/tutorials/iis_metrics/index.ts index 6e6e481300eb..d0317dbc280d 100644 --- a/src/plugins/home/server/tutorials/iis_metrics/index.ts +++ b/src/plugins/home/server/tutorials/iis_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/imperva_logs/index.ts b/src/plugins/home/server/tutorials/imperva_logs/index.ts index 78e8c3418aa1..32249c202d0d 100644 --- a/src/plugins/home/server/tutorials/imperva_logs/index.ts +++ b/src/plugins/home/server/tutorials/imperva_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/infoblox_logs/index.ts b/src/plugins/home/server/tutorials/infoblox_logs/index.ts index 54a3a410aa2d..c65024d90fd4 100644 --- a/src/plugins/home/server/tutorials/infoblox_logs/index.ts +++ b/src/plugins/home/server/tutorials/infoblox_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts index 5cab7ae0fa6f..875c108e9a72 100644 --- a/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { INSTRUCTION_VARIANT } from '../../../common/instruction_variant'; import { getSpaceIdForBeatsTutorial } from './get_space_id_for_beats_tutorial'; diff --git a/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts index 3686e5ce4a3c..0d47f760dd0c 100644 --- a/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { INSTRUCTION_VARIANT } from '../../../common/instruction_variant'; import { getSpaceIdForBeatsTutorial } from './get_space_id_for_beats_tutorial'; diff --git a/src/plugins/home/server/tutorials/instructions/functionbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/functionbeat_instructions.ts index 26d8b9848bc3..add467f39645 100644 --- a/src/plugins/home/server/tutorials/instructions/functionbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/functionbeat_instructions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { INSTRUCTION_VARIANT } from '../../../common/instruction_variant'; import { getSpaceIdForBeatsTutorial } from './get_space_id_for_beats_tutorial'; diff --git a/src/plugins/home/server/tutorials/instructions/get_space_id_for_beats_tutorial.ts b/src/plugins/home/server/tutorials/instructions/get_space_id_for_beats_tutorial.ts index 1a69f64e5790..2b1082c31c59 100644 --- a/src/plugins/home/server/tutorials/instructions/get_space_id_for_beats_tutorial.ts +++ b/src/plugins/home/server/tutorials/instructions/get_space_id_for_beats_tutorial.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TutorialContext } from '../../services/tutorials/lib/tutorials_registry_types'; /** diff --git a/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts index 28b1de2b15fd..4c85c0dbc960 100644 --- a/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { INSTRUCTION_VARIANT } from '../../../common/instruction_variant'; import { getSpaceIdForBeatsTutorial } from './get_space_id_for_beats_tutorial'; diff --git a/src/plugins/home/server/tutorials/instructions/logstash_instructions.ts b/src/plugins/home/server/tutorials/instructions/logstash_instructions.ts index b88eda46e376..defab1fc357b 100644 --- a/src/plugins/home/server/tutorials/instructions/logstash_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/logstash_instructions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; export const createLogstashInstructions = () => ({ diff --git a/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts index fcb8360b19ab..9a14075eab75 100644 --- a/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { INSTRUCTION_VARIANT } from '../../../common/instruction_variant'; import { getSpaceIdForBeatsTutorial } from './get_space_id_for_beats_tutorial'; diff --git a/src/plugins/home/server/tutorials/instructions/param_types.ts b/src/plugins/home/server/tutorials/instructions/param_types.ts index af4f3aa7cd82..f5c04d8e6490 100644 --- a/src/plugins/home/server/tutorials/instructions/param_types.ts +++ b/src/plugins/home/server/tutorials/instructions/param_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const PARAM_TYPES = { NUMBER: 'number', STRING: 'string', diff --git a/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts index c33cd89b28e2..099750e7aa42 100644 --- a/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { INSTRUCTION_VARIANT } from '../../../common/instruction_variant'; import { getSpaceIdForBeatsTutorial } from './get_space_id_for_beats_tutorial'; diff --git a/src/plugins/home/server/tutorials/iptables_logs/index.ts b/src/plugins/home/server/tutorials/iptables_logs/index.ts index 2b7d003438e2..a102ac9035ac 100644 --- a/src/plugins/home/server/tutorials/iptables_logs/index.ts +++ b/src/plugins/home/server/tutorials/iptables_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/juniper_logs/index.ts b/src/plugins/home/server/tutorials/juniper_logs/index.ts index 827e79888c9b..12976d28a37f 100644 --- a/src/plugins/home/server/tutorials/juniper_logs/index.ts +++ b/src/plugins/home/server/tutorials/juniper_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/kafka_logs/index.ts b/src/plugins/home/server/tutorials/kafka_logs/index.ts index 16edd0acf06c..fb5a71c7d172 100644 --- a/src/plugins/home/server/tutorials/kafka_logs/index.ts +++ b/src/plugins/home/server/tutorials/kafka_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/kafka_metrics/index.ts b/src/plugins/home/server/tutorials/kafka_metrics/index.ts index 4fc232a90a53..f9c8cc3a9b71 100644 --- a/src/plugins/home/server/tutorials/kafka_metrics/index.ts +++ b/src/plugins/home/server/tutorials/kafka_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/kubernetes_metrics/index.ts b/src/plugins/home/server/tutorials/kubernetes_metrics/index.ts index f1df198d295a..afb884a40bdf 100644 --- a/src/plugins/home/server/tutorials/kubernetes_metrics/index.ts +++ b/src/plugins/home/server/tutorials/kubernetes_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/logstash_logs/index.ts b/src/plugins/home/server/tutorials/logstash_logs/index.ts index 58b4dfcc5be0..e6124122b4b5 100644 --- a/src/plugins/home/server/tutorials/logstash_logs/index.ts +++ b/src/plugins/home/server/tutorials/logstash_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/logstash_metrics/index.ts b/src/plugins/home/server/tutorials/logstash_metrics/index.ts index 7688481cd811..1a0f11ada0d3 100644 --- a/src/plugins/home/server/tutorials/logstash_metrics/index.ts +++ b/src/plugins/home/server/tutorials/logstash_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/memcached_metrics/index.ts b/src/plugins/home/server/tutorials/memcached_metrics/index.ts index 02bb04cc65f1..ad4dc9f7eb63 100644 --- a/src/plugins/home/server/tutorials/memcached_metrics/index.ts +++ b/src/plugins/home/server/tutorials/memcached_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/microsoft_logs/index.ts b/src/plugins/home/server/tutorials/microsoft_logs/index.ts index 0df9b8c99afb..e3a6809cc2da 100644 --- a/src/plugins/home/server/tutorials/microsoft_logs/index.ts +++ b/src/plugins/home/server/tutorials/microsoft_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/misp_logs/index.ts b/src/plugins/home/server/tutorials/misp_logs/index.ts index 6ef39f4cd3e1..4b8520404d5e 100644 --- a/src/plugins/home/server/tutorials/misp_logs/index.ts +++ b/src/plugins/home/server/tutorials/misp_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/mongodb_logs/index.ts b/src/plugins/home/server/tutorials/mongodb_logs/index.ts index 845100e50efe..3d5c31e5b4b5 100644 --- a/src/plugins/home/server/tutorials/mongodb_logs/index.ts +++ b/src/plugins/home/server/tutorials/mongodb_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/mongodb_metrics/index.ts b/src/plugins/home/server/tutorials/mongodb_metrics/index.ts index d6c92ff04437..d37ea911cb7e 100644 --- a/src/plugins/home/server/tutorials/mongodb_metrics/index.ts +++ b/src/plugins/home/server/tutorials/mongodb_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/mssql_logs/index.ts b/src/plugins/home/server/tutorials/mssql_logs/index.ts index 56933cf723d8..def69212224c 100644 --- a/src/plugins/home/server/tutorials/mssql_logs/index.ts +++ b/src/plugins/home/server/tutorials/mssql_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/mssql_metrics/index.ts b/src/plugins/home/server/tutorials/mssql_metrics/index.ts index 64794ad46271..8396d4f91fc6 100644 --- a/src/plugins/home/server/tutorials/mssql_metrics/index.ts +++ b/src/plugins/home/server/tutorials/mssql_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/munin_metrics/index.ts b/src/plugins/home/server/tutorials/munin_metrics/index.ts index 857362e65842..19ff696ffdaf 100644 --- a/src/plugins/home/server/tutorials/munin_metrics/index.ts +++ b/src/plugins/home/server/tutorials/munin_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/mysql_logs/index.ts b/src/plugins/home/server/tutorials/mysql_logs/index.ts index 7750e5272783..b0f5ab1af118 100644 --- a/src/plugins/home/server/tutorials/mysql_logs/index.ts +++ b/src/plugins/home/server/tutorials/mysql_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/mysql_metrics/index.ts b/src/plugins/home/server/tutorials/mysql_metrics/index.ts index b425429ed75f..1a4e958cd422 100644 --- a/src/plugins/home/server/tutorials/mysql_metrics/index.ts +++ b/src/plugins/home/server/tutorials/mysql_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/nats_logs/index.ts b/src/plugins/home/server/tutorials/nats_logs/index.ts index 22dffc2c8b77..d25c8e29bc03 100644 --- a/src/plugins/home/server/tutorials/nats_logs/index.ts +++ b/src/plugins/home/server/tutorials/nats_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/nats_metrics/index.ts b/src/plugins/home/server/tutorials/nats_metrics/index.ts index 6ce915f98273..c477b42770e9 100644 --- a/src/plugins/home/server/tutorials/nats_metrics/index.ts +++ b/src/plugins/home/server/tutorials/nats_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/netflow_logs/index.ts b/src/plugins/home/server/tutorials/netflow_logs/index.ts index e92b0f1fe8f2..d49ce65aeedc 100644 --- a/src/plugins/home/server/tutorials/netflow_logs/index.ts +++ b/src/plugins/home/server/tutorials/netflow_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/netscout_logs/index.ts b/src/plugins/home/server/tutorials/netscout_logs/index.ts index d6c1260126e8..7e4b6e7706b9 100644 --- a/src/plugins/home/server/tutorials/netscout_logs/index.ts +++ b/src/plugins/home/server/tutorials/netscout_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/nginx_logs/index.ts b/src/plugins/home/server/tutorials/nginx_logs/index.ts index 32477581d72c..d1c7e08a7fc8 100644 --- a/src/plugins/home/server/tutorials/nginx_logs/index.ts +++ b/src/plugins/home/server/tutorials/nginx_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/nginx_metrics/index.ts b/src/plugins/home/server/tutorials/nginx_metrics/index.ts index 445489dae5c8..c9ce79c469ae 100644 --- a/src/plugins/home/server/tutorials/nginx_metrics/index.ts +++ b/src/plugins/home/server/tutorials/nginx_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/o365_logs/index.ts b/src/plugins/home/server/tutorials/o365_logs/index.ts index 8054677ab520..af4ed9c759f4 100644 --- a/src/plugins/home/server/tutorials/o365_logs/index.ts +++ b/src/plugins/home/server/tutorials/o365_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/okta_logs/index.ts b/src/plugins/home/server/tutorials/okta_logs/index.ts index 6e84b9c5f19c..9a1b5f3b5a30 100644 --- a/src/plugins/home/server/tutorials/okta_logs/index.ts +++ b/src/plugins/home/server/tutorials/okta_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/openmetrics_metrics/index.ts b/src/plugins/home/server/tutorials/openmetrics_metrics/index.ts index 4af54611bda6..eb725892a523 100644 --- a/src/plugins/home/server/tutorials/openmetrics_metrics/index.ts +++ b/src/plugins/home/server/tutorials/openmetrics_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/opensearch_dashboards_logs/index.ts b/src/plugins/home/server/tutorials/opensearch_dashboards_logs/index.ts index 169c42957df1..7de5253c7f33 100644 --- a/src/plugins/home/server/tutorials/opensearch_dashboards_logs/index.ts +++ b/src/plugins/home/server/tutorials/opensearch_dashboards_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/opensearch_dashboards_metrics/index.ts b/src/plugins/home/server/tutorials/opensearch_dashboards_metrics/index.ts index 26f1f171a4aa..7eaec9b72a99 100644 --- a/src/plugins/home/server/tutorials/opensearch_dashboards_metrics/index.ts +++ b/src/plugins/home/server/tutorials/opensearch_dashboards_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/opensearch_logs/index.ts b/src/plugins/home/server/tutorials/opensearch_logs/index.ts index 90120cae2c6d..59589e596822 100644 --- a/src/plugins/home/server/tutorials/opensearch_logs/index.ts +++ b/src/plugins/home/server/tutorials/opensearch_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/opensearch_metrics/index.ts b/src/plugins/home/server/tutorials/opensearch_metrics/index.ts index 92aa95640168..e7a2559d2df8 100644 --- a/src/plugins/home/server/tutorials/opensearch_metrics/index.ts +++ b/src/plugins/home/server/tutorials/opensearch_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/oracle_metrics/index.ts b/src/plugins/home/server/tutorials/oracle_metrics/index.ts index 54456a150211..d4b3b29d4c4b 100644 --- a/src/plugins/home/server/tutorials/oracle_metrics/index.ts +++ b/src/plugins/home/server/tutorials/oracle_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/osquery_logs/index.ts b/src/plugins/home/server/tutorials/osquery_logs/index.ts index a0fe0d7f6075..5956dc5cbc62 100644 --- a/src/plugins/home/server/tutorials/osquery_logs/index.ts +++ b/src/plugins/home/server/tutorials/osquery_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/panw_logs/index.ts b/src/plugins/home/server/tutorials/panw_logs/index.ts index ccc03a9a80f0..f713024deab1 100644 --- a/src/plugins/home/server/tutorials/panw_logs/index.ts +++ b/src/plugins/home/server/tutorials/panw_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/php_fpm_metrics/index.ts b/src/plugins/home/server/tutorials/php_fpm_metrics/index.ts index d6d4740c5435..2089e5d8154f 100644 --- a/src/plugins/home/server/tutorials/php_fpm_metrics/index.ts +++ b/src/plugins/home/server/tutorials/php_fpm_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/postgresql_logs/index.ts b/src/plugins/home/server/tutorials/postgresql_logs/index.ts index fd62bfa83d24..ebd4eb988700 100644 --- a/src/plugins/home/server/tutorials/postgresql_logs/index.ts +++ b/src/plugins/home/server/tutorials/postgresql_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/postgresql_metrics/index.ts b/src/plugins/home/server/tutorials/postgresql_metrics/index.ts index 752f58cf33f3..dd4464084636 100644 --- a/src/plugins/home/server/tutorials/postgresql_metrics/index.ts +++ b/src/plugins/home/server/tutorials/postgresql_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/prometheus_metrics/index.ts b/src/plugins/home/server/tutorials/prometheus_metrics/index.ts index a5a8b6719524..14e0cf53f3ff 100644 --- a/src/plugins/home/server/tutorials/prometheus_metrics/index.ts +++ b/src/plugins/home/server/tutorials/prometheus_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/rabbitmq_logs/index.ts b/src/plugins/home/server/tutorials/rabbitmq_logs/index.ts index c6b60b7785dc..e3f0f730a20b 100644 --- a/src/plugins/home/server/tutorials/rabbitmq_logs/index.ts +++ b/src/plugins/home/server/tutorials/rabbitmq_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/rabbitmq_metrics/index.ts b/src/plugins/home/server/tutorials/rabbitmq_metrics/index.ts index e76e501aff1c..50cae7495f67 100644 --- a/src/plugins/home/server/tutorials/rabbitmq_metrics/index.ts +++ b/src/plugins/home/server/tutorials/rabbitmq_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/radware_logs/index.ts b/src/plugins/home/server/tutorials/radware_logs/index.ts index e6f4a40e5697..9b7862d27162 100644 --- a/src/plugins/home/server/tutorials/radware_logs/index.ts +++ b/src/plugins/home/server/tutorials/radware_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/redis_logs/index.ts b/src/plugins/home/server/tutorials/redis_logs/index.ts index 66f0f9ee9e70..1a73c8c9a5e1 100644 --- a/src/plugins/home/server/tutorials/redis_logs/index.ts +++ b/src/plugins/home/server/tutorials/redis_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/redis_metrics/index.ts b/src/plugins/home/server/tutorials/redis_metrics/index.ts index 2cf4e42b67d0..d6d63dfc4787 100644 --- a/src/plugins/home/server/tutorials/redis_metrics/index.ts +++ b/src/plugins/home/server/tutorials/redis_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/redisenterprise_metrics/index.ts b/src/plugins/home/server/tutorials/redisenterprise_metrics/index.ts index f9e57789fc0b..ef0d922d63f1 100644 --- a/src/plugins/home/server/tutorials/redisenterprise_metrics/index.ts +++ b/src/plugins/home/server/tutorials/redisenterprise_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/register.ts b/src/plugins/home/server/tutorials/register.ts index bf4f90e55017..0f6b045b2c38 100644 --- a/src/plugins/home/server/tutorials/register.ts +++ b/src/plugins/home/server/tutorials/register.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { activemqLogsSpecProvider } from './activemq_logs'; import { activemqMetricsSpecProvider } from './activemq_metrics'; import { aerospikeMetricsSpecProvider } from './aerospike_metrics'; diff --git a/src/plugins/home/server/tutorials/santa_logs/index.ts b/src/plugins/home/server/tutorials/santa_logs/index.ts index 8f66e0563fa7..46642bdce5e8 100644 --- a/src/plugins/home/server/tutorials/santa_logs/index.ts +++ b/src/plugins/home/server/tutorials/santa_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/sonicwall_logs/index.ts b/src/plugins/home/server/tutorials/sonicwall_logs/index.ts index 029e841ce6c9..69872d0d8aa3 100644 --- a/src/plugins/home/server/tutorials/sonicwall_logs/index.ts +++ b/src/plugins/home/server/tutorials/sonicwall_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/sophos_logs/index.ts b/src/plugins/home/server/tutorials/sophos_logs/index.ts index f43438c415ed..d1c1f62adadd 100644 --- a/src/plugins/home/server/tutorials/sophos_logs/index.ts +++ b/src/plugins/home/server/tutorials/sophos_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/squid_logs/index.ts b/src/plugins/home/server/tutorials/squid_logs/index.ts index c0b3f0831646..b88d1e995df7 100644 --- a/src/plugins/home/server/tutorials/squid_logs/index.ts +++ b/src/plugins/home/server/tutorials/squid_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/stan_metrics/index.ts b/src/plugins/home/server/tutorials/stan_metrics/index.ts index f93bbe5645d0..288756abfb1d 100644 --- a/src/plugins/home/server/tutorials/stan_metrics/index.ts +++ b/src/plugins/home/server/tutorials/stan_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/statsd_metrics/index.ts b/src/plugins/home/server/tutorials/statsd_metrics/index.ts index d899769e8124..f7c84b57c986 100644 --- a/src/plugins/home/server/tutorials/statsd_metrics/index.ts +++ b/src/plugins/home/server/tutorials/statsd_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory, TutorialSchema } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/suricata_logs/index.ts b/src/plugins/home/server/tutorials/suricata_logs/index.ts index d63a829ca8fd..138c1e32fbaf 100644 --- a/src/plugins/home/server/tutorials/suricata_logs/index.ts +++ b/src/plugins/home/server/tutorials/suricata_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/system_logs/index.ts b/src/plugins/home/server/tutorials/system_logs/index.ts index 2382fe9852ae..0809fba7455c 100644 --- a/src/plugins/home/server/tutorials/system_logs/index.ts +++ b/src/plugins/home/server/tutorials/system_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/system_metrics/index.ts b/src/plugins/home/server/tutorials/system_metrics/index.ts index 1f60b1e2ed66..db61a3681087 100644 --- a/src/plugins/home/server/tutorials/system_metrics/index.ts +++ b/src/plugins/home/server/tutorials/system_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/tomcat_logs/index.ts b/src/plugins/home/server/tutorials/tomcat_logs/index.ts index e6fb7abc5d23..3feb56928311 100644 --- a/src/plugins/home/server/tutorials/tomcat_logs/index.ts +++ b/src/plugins/home/server/tutorials/tomcat_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/traefik_logs/index.ts b/src/plugins/home/server/tutorials/traefik_logs/index.ts index 62906ee97076..5f8c1609d8f7 100644 --- a/src/plugins/home/server/tutorials/traefik_logs/index.ts +++ b/src/plugins/home/server/tutorials/traefik_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/traefik_metrics/index.ts b/src/plugins/home/server/tutorials/traefik_metrics/index.ts index 795885db8169..7388492aaa2f 100644 --- a/src/plugins/home/server/tutorials/traefik_metrics/index.ts +++ b/src/plugins/home/server/tutorials/traefik_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory, TutorialSchema } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/uptime_monitors/index.ts b/src/plugins/home/server/tutorials/uptime_monitors/index.ts index 75f8887501e6..f01fcfe700f2 100644 --- a/src/plugins/home/server/tutorials/uptime_monitors/index.ts +++ b/src/plugins/home/server/tutorials/uptime_monitors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/heartbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/uwsgi_metrics/index.ts b/src/plugins/home/server/tutorials/uwsgi_metrics/index.ts index bcd35b1eb4af..ddc3782d4b73 100644 --- a/src/plugins/home/server/tutorials/uwsgi_metrics/index.ts +++ b/src/plugins/home/server/tutorials/uwsgi_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/vsphere_metrics/index.ts b/src/plugins/home/server/tutorials/vsphere_metrics/index.ts index 023f8bc16af3..6ad1e0abb16d 100644 --- a/src/plugins/home/server/tutorials/vsphere_metrics/index.ts +++ b/src/plugins/home/server/tutorials/vsphere_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/windows_event_logs/index.ts b/src/plugins/home/server/tutorials/windows_event_logs/index.ts index c7ae42522690..09ed6fbb385c 100644 --- a/src/plugins/home/server/tutorials/windows_event_logs/index.ts +++ b/src/plugins/home/server/tutorials/windows_event_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/winlogbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/windows_metrics/index.ts b/src/plugins/home/server/tutorials/windows_metrics/index.ts index 4cc936378555..a6a74894a730 100644 --- a/src/plugins/home/server/tutorials/windows_metrics/index.ts +++ b/src/plugins/home/server/tutorials/windows_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/zeek_logs/index.ts b/src/plugins/home/server/tutorials/zeek_logs/index.ts index ffbb43de65ee..2a712aec603c 100644 --- a/src/plugins/home/server/tutorials/zeek_logs/index.ts +++ b/src/plugins/home/server/tutorials/zeek_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/home/server/tutorials/zookeeper_metrics/index.ts b/src/plugins/home/server/tutorials/zookeeper_metrics/index.ts index 1bbba088caec..bf5b988d33bc 100644 --- a/src/plugins/home/server/tutorials/zookeeper_metrics/index.ts +++ b/src/plugins/home/server/tutorials/zookeeper_metrics/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/metricbeat_instructions'; diff --git a/src/plugins/home/server/tutorials/zscaler_logs/index.ts b/src/plugins/home/server/tutorials/zscaler_logs/index.ts index 5a555900a3aa..f0cc5b1d81b3 100644 --- a/src/plugins/home/server/tutorials/zscaler_logs/index.ts +++ b/src/plugins/home/server/tutorials/zscaler_logs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { TutorialsCategory } from '../../services/tutorials'; import { onPremInstructions } from '../instructions/filebeat_instructions'; diff --git a/src/plugins/index_pattern_management/public/components/breadcrumbs.ts b/src/plugins/index_pattern_management/public/components/breadcrumbs.ts index 3e5d5bf01c04..0f9739c47a03 100644 --- a/src/plugins/index_pattern_management/public/components/breadcrumbs.ts +++ b/src/plugins/index_pattern_management/public/components/breadcrumbs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { IndexPattern } from '../../../data/public'; diff --git a/src/plugins/index_pattern_management/public/components/create_button/create_button.tsx b/src/plugins/index_pattern_management/public/components/create_button/create_button.tsx index 1d69dab532de..af67a5e317ce 100644 --- a/src/plugins/index_pattern_management/public/components/create_button/create_button.tsx +++ b/src/plugins/index_pattern_management/public/components/create_button/create_button.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore import { euiColorAccent } from '@elastic/eui/dist/eui_theme_light.json'; import React, { Component, Fragment } from 'react'; diff --git a/src/plugins/index_pattern_management/public/components/create_button/index.ts b/src/plugins/index_pattern_management/public/components/create_button/index.ts index bd30e65e5ada..d648cc498ce2 100644 --- a/src/plugins/index_pattern_management/public/components/create_button/index.ts +++ b/src/plugins/index_pattern_management/public/components/create_button/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { CreateButton } from './create_button'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/header/header.test.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/header/header.test.tsx index 376ccfca6f56..41ef277add9f 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/header/header.test.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/header/header.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { Header } from '../header'; import { mount } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/header/header.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/header/header.tsx index 47c06b608d0a..8caffa19ed9a 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/header/header.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/header/header.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiBetaBadge, EuiSpacer, EuiTitle, EuiText, EuiCode, EuiLink } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/header/index.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/header/index.ts index 10b81ca55ac0..47ff6e19434b 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/header/index.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/header/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Header } from './header'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/loading_state/index.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/loading_state/index.ts index 4014faf3afb0..0c7a0e04f1ca 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/loading_state/index.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/loading_state/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { LoadingState } from './loading_state'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/loading_state/loading_state.test.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/loading_state/loading_state.test.tsx index d99aaf22ccc3..9dd56a88b281 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/loading_state/loading_state.test.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/loading_state/loading_state.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { LoadingState } from '../loading_state'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/loading_state/loading_state.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/loading_state/loading_state.tsx index a0adb07b7ce9..0e105570fc79 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/loading_state/loading_state.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/loading_state/loading_state.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFlexGroup, EuiFlexItem, EuiLoadingSpinner, EuiTitle } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/header/header.test.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/header/header.test.tsx index 0201e56f0d1c..e4b9b62eeca3 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/header/header.test.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/header/header.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { Header } from '../header'; import { shallowWithI18nProvider } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/header/header.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/header/header.tsx index a8657828e140..d2876765f662 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/header/header.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/header/header.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/header/index.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/header/index.ts index 10b81ca55ac0..47ff6e19434b 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/header/index.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/header/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Header } from './header'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/indices_list/index.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/indices_list/index.ts index c0a291546351..93f295586719 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/indices_list/index.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/indices_list/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { IndicesList } from './indices_list'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/indices_list/indices_list.test.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/indices_list/indices_list.test.tsx index e1a0ec233b40..e5785ee9971f 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/indices_list/indices_list.test.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/indices_list/indices_list.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { IndicesList } from '../indices_list'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/indices_list/indices_list.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/indices_list/indices_list.tsx index c2b139bbfb3a..104faa96b20a 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/indices_list/indices_list.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/indices_list/indices_list.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/loading_indices/index.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/loading_indices/index.ts index 84f09917935f..89000134b8bf 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/loading_indices/index.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/loading_indices/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { LoadingIndices } from './loading_indices'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/loading_indices/loading_indices.test.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/loading_indices/loading_indices.test.tsx index 2e6fe54fd3bd..5ce2e61842bf 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/loading_indices/loading_indices.test.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/loading_indices/loading_indices.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { LoadingIndices } from '../loading_indices'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/loading_indices/loading_indices.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/loading_indices/loading_indices.tsx index e0bb5201757e..4a1aa9cc4671 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/loading_indices/loading_indices.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/loading_indices/loading_indices.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFlexGroup, EuiFlexItem, EuiTitle, EuiLoadingSpinner } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/status_message/index.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/status_message/index.ts index 80e7c28a23a7..58d701f39715 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/status_message/index.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/status_message/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { StatusMessage } from './status_message'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/status_message/status_message.test.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/status_message/status_message.test.tsx index 7f74f2d9ad34..acac488b1641 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/status_message/status_message.test.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/status_message/status_message.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { StatusMessage } from '../status_message'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/status_message/status_message.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/status_message/status_message.tsx index 5c459fef9fe0..afa798de34dc 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/status_message/status_message.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/components/status_message/status_message.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiCallOut } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/index.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/index.ts index b8105a9f9f11..7a697ff03fca 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/index.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { StepIndexPattern } from './step_index_pattern'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/step_index_pattern.test.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/step_index_pattern.test.tsx index aea1959686cb..27816e91d11d 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/step_index_pattern.test.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/step_index_pattern.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { SavedObjectsFindResponsePublic } from 'opensearch-dashboards/public'; import { StepIndexPattern, canPreselectTimeField } from './step_index_pattern'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/step_index_pattern.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/step_index_pattern.tsx index 8a5dacb5b374..0b81d14d0e0d 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/step_index_pattern.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_index_pattern/step_index_pattern.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { EuiSpacer, EuiCallOut, EuiSwitchEvent } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/action_buttons/action_buttons.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/action_buttons/action_buttons.tsx index f8e818266233..baedecfbee01 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/action_buttons/action_buttons.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/action_buttons/action_buttons.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFlexGroup, EuiFlexItem, EuiButton, EuiButtonEmpty } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/action_buttons/index.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/action_buttons/index.ts index 6c276dca6de0..ce1f37a1b25d 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/action_buttons/index.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/action_buttons/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ActionButtons } from './action_buttons'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/advanced_options/advanced_options.test.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/advanced_options/advanced_options.test.tsx index 6abea82606fe..ce684a7779b9 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/advanced_options/advanced_options.test.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/advanced_options/advanced_options.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { AdvancedOptions } from '../advanced_options'; import { shallowWithI18nProvider } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/advanced_options/advanced_options.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/advanced_options/advanced_options.tsx index 8d42ff3c635c..d1e7bc5c6b44 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/advanced_options/advanced_options.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/advanced_options/advanced_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiForm, EuiFormRow, EuiFieldText, EuiButtonEmpty, EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/advanced_options/index.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/advanced_options/index.ts index f88c2faa0edd..29b1b766f867 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/advanced_options/index.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/advanced_options/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { AdvancedOptions } from './advanced_options'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/header/header.test.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/header/header.test.tsx index f0865fb69e57..e7701dd1f892 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/header/header.test.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/header/header.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { Header } from '../header'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/header/header.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/header/header.tsx index 3c34d49cbfd2..823afbf9a780 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/header/header.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/header/header.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiTitle, EuiSpacer, EuiText } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/header/index.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/header/index.ts index 10b81ca55ac0..47ff6e19434b 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/header/index.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/header/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Header } from './header'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/time_field/index.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/time_field/index.ts index 60d634581c45..926e5d9c13e9 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/time_field/index.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/time_field/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { TimeField } from './time_field'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/time_field/time_field.test.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/time_field/time_field.test.tsx index 2f7163194a76..b1c4653adb07 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/time_field/time_field.test.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/time_field/time_field.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { TimeField } from '../time_field'; import { shallowWithI18nProvider } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/time_field/time_field.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/time_field/time_field.tsx index 97af73c91095..23d5d492004a 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/time_field/time_field.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/time_field/time_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/index.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/index.ts index 70ccd309602d..a350e353f651 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/index.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { StepTimeField } from './step_time_field'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/step_time_field.test.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/step_time_field.test.tsx index 5f5d4dee9928..15d1d46f70b1 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/step_time_field.test.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/step_time_field.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { IndexPatternCreationConfig } from '../../../../../../../plugins/index_pattern_management/public'; import { IFieldType } from '../../../../../../../plugins/data/public'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/step_time_field.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/step_time_field.tsx index d3c94df88545..312e37fc90ea 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/step_time_field.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/step_time_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { EuiCallOut, diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/constants/index.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/constants/index.ts index 83dd7b440250..2ff120ce9723 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/constants/index.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/constants/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // This isn't ideal. We want to avoid searching for 20 indices // then filtering out the majority of them because they are system indices. // We'd like to filter system indices out in the query diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/create_index_pattern_wizard.test.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/create_index_pattern_wizard.test.tsx index ab3b217f1616..b4be3a6cb214 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/create_index_pattern_wizard.test.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/create_index_pattern_wizard.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CreateIndexPatternWizard } from './create_index_pattern_wizard'; import { IndexPattern } from '../../../../../plugins/data/public'; import { mockManagementPlugin } from '../../mocks'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/create_index_pattern_wizard.tsx b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/create_index_pattern_wizard.tsx index f823d20cb144..59b0e8bfc6a6 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/create_index_pattern_wizard.tsx +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/create_index_pattern_wizard.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ReactElement, Component } from 'react'; import { diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/index.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/index.ts index 4bfbe252164e..929f5183b982 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/index.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { CreateIndexPatternWizardWithRouter } from './create_index_pattern_wizard'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/can_append_wildcard.test.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/can_append_wildcard.test.ts index dcf449cdce1e..f77036cbc435 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/can_append_wildcard.test.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/can_append_wildcard.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { canAppendWildcard } from './can_append_wildcard'; describe('canAppendWildcard', () => { diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/can_append_wildcard.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/can_append_wildcard.ts index ef47c5dab1aa..2af1a2a6e717 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/can_append_wildcard.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/can_append_wildcard.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const canAppendWildcard = (keyPressed: string) => { // If it's not a letter, number or is something longer, reject it if (!keyPressed || !/[a-z0-9]/i.test(keyPressed) || keyPressed.length !== 1) { diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/contains_illegal_characters.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/contains_illegal_characters.ts index a1c9aaa51403..57ac75a86ad3 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/contains_illegal_characters.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/contains_illegal_characters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function containsIllegalCharacters(pattern: string, illegalCharacters: string[]) { return illegalCharacters.some((char) => pattern.includes(char)); } diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/contains_invalid_characters.test.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/contains_invalid_characters.test.ts index 7a1f3e7e58f0..252bbfe1f363 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/contains_invalid_characters.test.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/contains_invalid_characters.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { containsIllegalCharacters } from './contains_illegal_characters'; describe('containsIllegalCharacters', () => { diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/ensure_minimum_time.test.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/ensure_minimum_time.test.ts index 5400947e2737..75eec7e4d820 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/ensure_minimum_time.test.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/ensure_minimum_time.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ensureMinimumTime } from './ensure_minimum_time'; describe('ensureMinimumTime', () => { diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/ensure_minimum_time.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/ensure_minimum_time.ts index d85b24392fdb..6dca33ca239f 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/ensure_minimum_time.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/ensure_minimum_time.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * When you make an async request, typically you want to show the user a spinner while they wait. * However, if the request takes less than 300 ms, the spinner will flicker in the UI and the user diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/extract_time_fields.test.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/extract_time_fields.test.ts index 96289199ca27..0fd42fc140ec 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/extract_time_fields.test.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/extract_time_fields.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { extractTimeFields } from './extract_time_fields'; describe('extractTimeFields', () => { diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/extract_time_fields.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/extract_time_fields.ts index ddc7ef19be4f..90e65979c525 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/extract_time_fields.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/extract_time_fields.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { IFieldType } from '../../../../../../plugins/data/public'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_indices.test.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_indices.test.ts index 3e78a7bd6638..0d8b215394a0 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_indices.test.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_indices.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getIndices, responseToItemArray, dedupeMatchedItems } from './get_indices'; import { httpServiceMock } from '../../../../../../core/public/mocks'; import { ResolveIndexResponseItemIndexAttrs, MatchedItem } from '../types'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_indices.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_indices.ts index 1ecac63d4f6c..9d68b93aa7fd 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_indices.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_indices.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { sortBy } from 'lodash'; import { HttpStart } from 'opensearch-dashboards/public'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_matched_indices.test.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_matched_indices.test.ts index 8244fb9dbb7a..a2c26748f664 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_matched_indices.test.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_matched_indices.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getMatchedIndices } from './get_matched_indices'; import { Tag, MatchedItem } from '../types'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_matched_indices.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_matched_indices.ts index aaa7c3711c81..60b713aaf027 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_matched_indices.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_matched_indices.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MAX_NUMBER_OF_MATCHING_INDICES } from '../constants'; function isSystemIndex(index: string): boolean { diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/index.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/index.ts index 8c64bf0a34a9..b9e7771be27f 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/index.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { canAppendWildcard } from './can_append_wildcard'; export { ensureMinimumTime } from './ensure_minimum_time'; diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/types.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/types.ts index ca3904c933ae..b427a0e6fa60 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/types.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface MatchedItem { name: string; tags: Tag[]; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/constants.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/constants.ts index dc17500c2da1..a09ecf71e98d 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/constants.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const TAB_INDEXED_FIELDS = 'indexedFields'; export const TAB_SCRIPTED_FIELDS = 'scriptedFields'; export const TAB_SOURCE_FILTERS = 'sourceFilters'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx index 2ef0252d4ecc..0301c5253d5f 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { withRouter, RouteComponentProps } from 'react-router-dom'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx index 08422fb5856b..ac9c11c04915 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useState } from 'react'; import { withRouter, RouteComponentProps } from 'react-router-dom'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/index.ts index c5924f1d63f8..6b7cef7c8cbf 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { CreateEditField } from './create_edit_field'; export { CreateEditFieldContainer } from './create_edit_field_container'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx index e4da7602bde1..8cfcadbcc08d 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { filter } from 'lodash'; import React, { useEffect, useState, useCallback } from 'react'; import { withRouter, RouteComponentProps } from 'react-router-dom'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx index 8a857a13898d..4803d8cb6d9f 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useState } from 'react'; import { withRouter, RouteComponentProps } from 'react-router-dom'; import { IndexPattern } from '../../../../../plugins/data/public'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_state_container.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_state_container.ts index aec94d49fe2f..6a5f29800bd4 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_state_container.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_state_container.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createHashHistory } from 'history'; import { createStateContainer, diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/index.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/index.tsx index 8c73179d1178..edce5173900f 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/index.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { EditIndexPattern } from './edit_index_pattern'; export { EditIndexPatternContainer } from './edit_index_pattern_container'; export { CreateEditField } from './create_edit_field'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index.ts index c17b79093ecd..4bed80f42dc5 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { IndexHeader } from './index_header'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx index 9025836c0e67..f378bfea05c2 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; import { EuiFlexGroup, EuiToolTip, EuiFlexItem, EuiTitle, EuiButtonIcon } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/index.ts index 382ac7ada333..3d0e6c83a35b 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './table'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.test.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.test.tsx index d8cce5bd1c57..0d3dcbe9cf6e 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.test.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { IIndexPattern } from 'src/plugins/data/public'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx index 53efca4c7a5d..86902fbddb7d 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { PureComponent } from 'react'; import { EuiIcon, EuiInMemoryTable, EuiIconTip, EuiBasicTableColumn } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/index.ts index bcfd1124605f..d3247b7c2624 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { IndexedFieldsTable } from './indexed_fields_table'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.test.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.test.tsx index e7fd10788e14..77db08444b00 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.test.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { IndexPatternField, IndexPattern } from 'src/plugins/data/public'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx index 9651e3ed8ae5..1353fdae1d9d 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { createSelector } from 'reselect'; import { IndexPatternField, IndexPattern, IFieldType } from '../../../../../../plugins/data/public'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/lib/get_field_format.test.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/lib/get_field_format.test.ts index cf148c87d45a..69873cfaa3db 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/lib/get_field_format.test.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/lib/get_field_format.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IIndexPattern } from '../../../../../../data/public'; import { getFieldFormat } from './get_field_format'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/lib/get_field_format.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/lib/get_field_format.ts index e02987c48bcb..631d75be8be7 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/lib/get_field_format.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/lib/get_field_format.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { IIndexPattern } from '../../../../../../data/public'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/lib/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/lib/index.ts index 7fef4aadb401..42eec14995a3 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/lib/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getFieldFormat } from './get_field_format'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts index 94a03ae59252..6dc542dc709b 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IFieldType } from '../../../../../../plugins/data/public'; export interface IndexedFieldItem extends IFieldType { diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.test.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.test.tsx index 6d5941b95f40..59ecc480db97 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.test.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.tsx index 90b8c3f6690c..7aea88afd0f3 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiCallOut, EuiLink, EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/index.ts index d3d264b8d275..a62c11874af8 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { CallOuts } from './call_outs'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/confirmation_modal.test.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/confirmation_modal.test.tsx index 07d20d820d43..f06afd998678 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/confirmation_modal.test.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/confirmation_modal.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/confirmation_modal.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/confirmation_modal.tsx index eb6f58a52e93..fad90850d69e 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/confirmation_modal.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/confirmation_modal.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { i18n } from '@osd/i18n'; import { EUI_MODAL_CONFIRM_BUTTON, EuiConfirmModal, EuiOverlayMask } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/index.ts index c2bc5d3424f1..5c1705f9a1ac 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DeleteScritpedFieldConfirmationModal } from './confirmation_modal'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.test.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.test.tsx index 6cd734d25993..3d2d065b516f 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.test.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { renderWithIntl } from 'test_utils/enzyme_helpers'; import { RouteComponentProps } from 'react-router-dom'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.tsx index 7b28941c7c55..5223e0eac525 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { withRouter, RouteComponentProps } from 'react-router-dom'; import { EuiButton, EuiFlexGroup, EuiFlexItem, EuiText, EuiTitle } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/header/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/header/index.ts index 10b81ca55ac0..47ff6e19434b 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/header/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/header/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Header } from './header'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/index.ts index baea273b0afa..cd2d0a3f9951 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Table } from './table'; export { Header } from './header'; export { CallOuts } from './call_outs'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/index.ts index 324f6202c1a1..5b06f35151cc 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Table } from './table'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.test.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.test.tsx index 319b0b777842..dfb31256bb81 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.test.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx index 26407493ea7f..8f4e71c7483d 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { PureComponent } from 'react'; import { get } from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/index.ts index bd7cfadac1e2..224bc5b56627 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ScriptedFieldsTable } from './scripted_fields_table'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_field_table.test.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_field_table.test.tsx index 9fabaedfbfc7..78905dab4d74 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_field_table.test.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_field_table.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx index be91721c4a29..3213e15f606c 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { EuiSpacer } from '@elastic/eui'; import { diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/types.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/types.ts index c28fe7e4e429..78dc3208f5a5 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/types.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** @internal **/ export interface ScriptedFieldItem { name: string; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.test.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.test.tsx index fd767b2847fe..c0a4d9d0dd9e 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.test.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.tsx index d7e91b9254a7..6c97af5c6fba 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState, useCallback } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/index.ts index f66c3021f406..201563d0a123 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { AddFilter } from './add_filter'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/confirmation_modal.test.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/confirmation_modal.test.tsx index 07f4d86a4b6b..6f9dc458bfdf 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/confirmation_modal.test.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/confirmation_modal.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/confirmation_modal.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/confirmation_modal.tsx index edef27128140..250c364daeb1 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/confirmation_modal.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/confirmation_modal.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/index.ts index 40ab8248e3ed..f3015e3a6f79 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DeleteFilterConfirmationModal } from './confirmation_modal'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/header/header.test.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/header/header.test.tsx index 438e4069896d..3229d3eba153 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/header/header.test.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/header/header.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/header/header.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/header/header.tsx index 2644874fb93f..f7bda847e0ce 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/header/header.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/header/header.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiTitle, EuiText, EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/header/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/header/index.ts index 10b81ca55ac0..47ff6e19434b 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/header/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/header/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Header } from './header'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/index.ts index 26b9d1e2248c..92a614498ecd 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { AddFilter } from './add_filter'; export { DeleteFilterConfirmationModal } from './confirmation_modal'; export { Header } from './header'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/index.ts index 324f6202c1a1..5b06f35151cc 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Table } from './table'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.test.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.test.tsx index 5cc46878a16f..210f27f156ad 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.test.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ReactElement } from 'react'; import { shallow, ShallowWrapper } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx index 02205ec3c772..9ce6a01303fb 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/index.ts index 4f88d92facde..70331f6800d2 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SourceFiltersTable } from './source_filters_table'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.test.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.test.tsx index ddb6101a2085..03aae5820bed 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.test.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx index 7e506b2c1e8b..74e9b72fc1b3 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { createSelector } from 'reselect'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/types.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/types.ts index d149fbaff1c3..c7f4c5ca8cb2 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/types.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** @internal **/ export interface SourceFiltersTableFilter { value: string; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/index.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/index.ts index 0102026978f3..185237eca8ec 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/index.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Tabs } from './tabs'; diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx index b7dda01137b7..8c1586b3a916 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState, useCallback, useEffect, Fragment, useMemo } from 'react'; import { RouteComponentProps } from 'react-router-dom'; import { diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts b/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts index ce73169dbd43..8053a01ba494 100644 --- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts +++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Dictionary, countBy, defaults, uniq } from 'lodash'; import { i18n } from '@osd/i18n'; import { IndexPattern, IndexPatternField } from '../../../../../../plugins/data/public'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/bytes/bytes.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/bytes/bytes.test.tsx index 71bbd014a3eb..2ad14f4c313a 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/bytes/bytes.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/bytes/bytes.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/bytes/bytes.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/bytes/bytes.ts index 9d2b6059eaee..ceabb69a5ee3 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/bytes/bytes.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/bytes/bytes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { NumberFormatEditor } from '../number'; import { defaultState } from '../default'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/bytes/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/bytes/index.ts index a999ff2198d4..275a5ce04cc4 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/bytes/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/bytes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { BytesFormatEditor } from './bytes'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/color/color.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/color/color.test.tsx index d6a92ee4b23a..69b945dc05db 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/color/color.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/color/color.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithI18nProvider } from 'test_utils/enzyme_helpers'; import { FieldFormat } from 'src/plugins/data/public'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/color/color.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/color/color.tsx index 05e0eec31cde..d3ca3eae9bd2 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/color/color.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/color/color.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import { EuiBasicTable, EuiButton, EuiColorPicker, EuiFieldText, EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/color/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/color/index.ts index 151f0b500dab..6d0f094e0e74 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/color/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/color/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ColorFormatEditor } from './color'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date/date.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date/date.test.tsx index 9ff62c31e8ce..dd81272ed05c 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date/date.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date/date.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { FieldFormat } from 'src/plugins/data/public'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date/date.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date/date.tsx index 10c60b1a2c8d..df6ceb7ea328 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date/date.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date/date.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import moment from 'moment'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date/index.ts index a8d4eb2d984e..391dcaeb81aa 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DateFormatEditor } from './date'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date_nanos/date_nanos.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date_nanos/date_nanos.test.tsx index 995a95be2bd0..52809dfcfc80 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date_nanos/date_nanos.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date_nanos/date_nanos.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { FieldFormat } from '../../../../../../../../data/public'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date_nanos/date_nanos.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date_nanos/date_nanos.tsx index 42a346bf9132..4533a871743d 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date_nanos/date_nanos.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date_nanos/date_nanos.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import { EuiCode, EuiFieldText, EuiFormRow, EuiIcon, EuiLink } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date_nanos/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date_nanos/index.ts index 43034f1207d0..ee60985d2e8c 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date_nanos/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/date_nanos/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DateNanosFormatEditor } from './date_nanos'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/default/default.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/default/default.test.tsx index 95cbc5788c70..738b6d554dbf 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/default/default.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/default/default.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { FieldFormat } from 'src/plugins/data/public'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/default/default.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/default/default.tsx index f73f22596f08..9d461f5d70e5 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/default/default.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/default/default.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { PureComponent, ReactText } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/default/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/default/index.ts index d97c1871931b..77067d9120a1 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/default/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/default/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DefaultFormatEditor, defaultState, FormatEditorProps, FormatEditorState } from './default'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/duration/duration.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/duration/duration.test.tsx index d8f3ecd230a7..6285e1dc2175 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/duration/duration.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/duration/duration.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/duration/duration.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/duration/duration.tsx index d1a3ae768ff2..d9c1f5584854 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/duration/duration.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/duration/duration.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import { DurationFormat } from 'src/plugins/data/common'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/duration/index.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/duration/index.tsx index fffcb7303e45..f68d9975951a 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/duration/index.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/duration/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DurationFormatEditor } from './duration'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/index.ts index 5309c07a7596..ebd3eff5d8c0 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { DefaultFormatEditor } from './default'; export { BytesFormatEditor } from './bytes'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/number/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/number/index.ts index bd5d325a18ef..40e104f8c930 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/number/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/number/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { NumberFormatEditor } from './number'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/number/number.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/number/number.test.tsx index 53bc0bbf0826..f8b2859b8cc4 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/number/number.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/number/number.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { FieldFormat } from 'src/plugins/data/public'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/number/number.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/number/number.tsx index f1b14d2fda68..47672f9b195b 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/number/number.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/number/number.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import { EuiCode, EuiFieldText, EuiFormRow, EuiIcon, EuiLink } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/percent/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/percent/index.ts index 886c8dd0fe6d..810d7e294dc9 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/percent/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/percent/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { PercentFormatEditor } from './percent'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/percent/percent.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/percent/percent.test.tsx index 2d0423f5e2ff..b31c2dea899d 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/percent/percent.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/percent/percent.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { FieldFormat } from '../../../../../../../../data/public'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/percent/percent.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/percent/percent.tsx index 651916c4a325..5f9366dcbb37 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/percent/percent.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/percent/percent.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { NumberFormatEditor } from '../number'; import { defaultState } from '../default'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/static_lookup/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/static_lookup/index.ts index a6af0346fc6c..2eb0eb2e6f50 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/static_lookup/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/static_lookup/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { StaticLookupFormatEditor } from './static_lookup'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/static_lookup/static_lookup.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/static_lookup/static_lookup.test.tsx index 9ff6f85045c6..158727783d94 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/static_lookup/static_lookup.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/static_lookup/static_lookup.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithI18nProvider } from '../../../../../../../../../test_utils/public/enzyme_helpers'; import { StaticLookupFormatEditorFormatParams } from './static_lookup'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/static_lookup/static_lookup.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/static_lookup/static_lookup.tsx index 1054d78781ff..a9dc931357ba 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/static_lookup/static_lookup.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/static_lookup/static_lookup.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import { EuiBasicTable, EuiButton, EuiFieldText, EuiFormRow, EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/string/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/string/index.ts index 9dffce91d3d1..70d947fbe1ab 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/string/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/string/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { StringFormatEditor } from './string'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/string/string.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/string/string.test.tsx index 25153c31a7b7..2420542d57bc 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/string/string.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/string/string.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { FieldFormat } from 'src/plugins/data/public'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/string/string.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/string/string.tsx index fafdcd6e3669..483b8fbc8fa2 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/string/string.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/string/string.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import { EuiFormRow, EuiSelect } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/truncate/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/truncate/index.ts index 3d8e6d49744c..ea02e5ff78ca 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/truncate/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/truncate/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { TruncateFormatEditor } from './truncate'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/truncate/sample.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/truncate/sample.ts index 2bbeb44b025b..76cae8a01ce8 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/truncate/sample.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/truncate/sample.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const sample = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae sem consequat, sollicitudin enim a, feugiat mi. Curabitur congue laoreet elit, eu dictum nisi commodo ut. Nullam congue sem a blandit commodo. Suspendisse eleifend sodales leo ac hendrerit. Nam fringilla tempor fermentum. Ut tristique pharetra sapien sit amet pharetra. Ut turpis massa, viverra id erat quis, fringilla vehicula risus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus tincidunt gravida gravida. Praesent et ligula viverra, semper lacus in, tristique elit. Cras ac eleifend diam. Nulla facilisi. Morbi id sagittis magna. Sed fringilla, magna in suscipit aliquet."; // eslint-disable-line diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/truncate/truncate.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/truncate/truncate.test.tsx index 271e21862e40..7400d4486542 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/truncate/truncate.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/truncate/truncate.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ChangeEvent } from 'react'; import { shallow } from 'enzyme'; import { EuiFieldNumber } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/truncate/truncate.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/truncate/truncate.tsx index db4fd9e976d4..3c1e040e76c3 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/truncate/truncate.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/truncate/truncate.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import { EuiFieldNumber, EuiFormRow } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/index.ts index 36d6ae89e590..03f891df4947 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { UrlFormatEditor } from './url'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/label_template_flyout.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/label_template_flyout.test.tsx index 65e00beae65d..9dc2599251ba 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/label_template_flyout.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/label_template_flyout.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithI18nProvider } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/label_template_flyout.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/label_template_flyout.tsx index 5263c1399c88..c372084947f3 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/label_template_flyout.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/label_template_flyout.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiBasicTable, EuiCode, EuiFlyout, EuiFlyoutBody, EuiText } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url.test.tsx index 11d7b8c6e975..a8f68b881613 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { FieldFormat } from 'src/plugins/data/public'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url.tsx index 3988390a6280..3d470b331d08 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import { diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url_template_flyout.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url_template_flyout.test.tsx index 3952801378f9..ecb469872158 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url_template_flyout.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url_template_flyout.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithI18nProvider } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url_template_flyout.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url_template_flyout.tsx index ec3b018a4564..40c5499a0be2 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url_template_flyout.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/url_template_flyout.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiBasicTable, EuiCode, EuiFlyout, EuiFlyoutBody, EuiText } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/field_format_editor.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/field_format_editor.test.tsx index 4c0641222245..d7f8a7494a6f 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/field_format_editor.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/field_format_editor.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { PureComponent } from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/field_format_editor.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/field_format_editor.tsx index 5402a4a4b80c..da06a5bd0253 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/field_format_editor.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/field_format_editor.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { PureComponent, Fragment } from 'react'; import { DefaultFormatEditor } from '../../components/field_format_editor/editors/default'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/index.ts index 6a6e8ea23eaa..060bc2149098 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { FieldFormatEditor } from './field_format_editor'; export * from './editors'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/samples/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/samples/index.ts index f3ca4b24189b..db9f3e73ee8c 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/samples/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/samples/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { FormatEditorSamples } from './samples'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/samples/samples.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/samples/samples.test.tsx index eab748647719..c44673c3acb5 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/samples/samples.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/samples/samples.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithI18nProvider } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/samples/samples.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/samples/samples.tsx index cc671aabf7f7..4361efef7b4c 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/samples/samples.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/samples/samples.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './samples.scss'; import React, { PureComponent } from 'react'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/disabled_call_out.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/disabled_call_out.test.tsx index b7449e26cc92..35282270ec1e 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/disabled_call_out.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/disabled_call_out.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/disabled_call_out.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/disabled_call_out.tsx index 10ef90516bee..3c962203225b 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/disabled_call_out.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/disabled_call_out.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import { EuiCallOut, EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/index.ts index 3744b1962a6f..c8b8475082c1 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ScriptingDisabledCallOut } from './disabled_call_out'; export { ScriptingWarningCallOut } from './warning_call_out'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/warning_call_out.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/warning_call_out.test.tsx index 326da8cd45d1..0d154ebc3970 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/warning_call_out.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/warning_call_out.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount } from 'enzyme'; import { wrapWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/warning_call_out.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/warning_call_out.tsx index 9ed6dbe1ee56..510bf575ac53 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/warning_call_out.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_call_outs/warning_call_out.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import { EuiCallOut, EuiIcon, EuiLink, EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.test.tsx index f485118f01f5..30f64d7c5131 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx index 0abbfac11605..d2331f7f8d6f 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFlyout, EuiFlyoutBody, EuiTabbedContent } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/index.ts index 62d56d95aea7..22bb91385b76 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ScriptingHelpFlyout } from './help_flyout'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/scripting_syntax.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/scripting_syntax.tsx index 11d23b1fcab1..63b71040d8c4 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/scripting_syntax.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/scripting_syntax.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import { EuiCode, EuiIcon, EuiLink, EuiText, EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx index 2558d2687a5e..905b2237d5c2 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './test_script.scss'; import React, { Component, Fragment } from 'react'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts index b8a1dbe69d14..464d573d3320 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getOsdTypeNames } from '../../../../../data/public'; export const FIELD_TYPES_BY_LANG = { diff --git a/src/plugins/index_pattern_management/public/components/field_editor/field_editor.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/field_editor.test.tsx index 7c29a7416868..bf59d08a10d7 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/field_editor.test.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/field_editor.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IndexPattern, IndexPatternField, FieldFormatInstanceType } from 'src/plugins/data/public'; jest.mock('brace/mode/groovy', () => ({})); diff --git a/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx b/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx index 44680fb1c6b3..4f58445dd80a 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { PureComponent, Fragment } from 'react'; import { intersection, union, get } from 'lodash'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/index.ts index 83c2bc4267a4..686ea1d270fb 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { FieldEditor } from './field_editor'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/lib/index.ts b/src/plugins/index_pattern_management/public/components/field_editor/lib/index.ts index 4c48bce03dce..8357c0c3a614 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/lib/index.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { executeScript, isScriptValid } from './validate_script'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/lib/validate_script.ts b/src/plugins/index_pattern_management/public/components/field_editor/lib/validate_script.ts index 0bb6ffa19971..7b3506cec286 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/lib/validate_script.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/lib/validate_script.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpStart } from 'src/core/public'; import { ExecuteScriptParams, ExecuteScriptResult } from '../types'; diff --git a/src/plugins/index_pattern_management/public/components/field_editor/types.ts b/src/plugins/index_pattern_management/public/components/field_editor/types.ts index 9094d14783a1..f5ab73950510 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/types.ts +++ b/src/plugins/index_pattern_management/public/components/field_editor/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ReactText } from 'react'; import { Query } from 'src/plugins/data/public'; import { HttpStart } from 'src/core/public'; diff --git a/src/plugins/index_pattern_management/public/components/index.ts b/src/plugins/index_pattern_management/public/components/index.ts index 79cbaf1ddddf..43d89e80bf74 100644 --- a/src/plugins/index_pattern_management/public/components/index.ts +++ b/src/plugins/index_pattern_management/public/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { IndexPatternTableWithRouter } from './index_pattern_table'; export { EditIndexPattern, diff --git a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_index_pattern_prompt/assets/index_pattern_illustration.tsx b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_index_pattern_prompt/assets/index_pattern_illustration.tsx index 7a65fd2931d2..3a891ee8ad84 100644 --- a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_index_pattern_prompt/assets/index_pattern_illustration.tsx +++ b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_index_pattern_prompt/assets/index_pattern_illustration.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index_pattern_illustration.scss'; import React from 'react'; diff --git a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_index_pattern_prompt/empty_index_pattern_prompt.test.tsx b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_index_pattern_prompt/empty_index_pattern_prompt.test.tsx index b6d1cb3bdd43..c943b503f6b0 100644 --- a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_index_pattern_prompt/empty_index_pattern_prompt.test.tsx +++ b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_index_pattern_prompt/empty_index_pattern_prompt.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EmptyIndexPatternPrompt } from '../empty_index_pattern_prompt'; import { shallowWithI18nProvider } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_index_pattern_prompt/empty_index_pattern_prompt.tsx b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_index_pattern_prompt/empty_index_pattern_prompt.tsx index ce45f3765aca..bf6c069ac89a 100644 --- a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_index_pattern_prompt/empty_index_pattern_prompt.tsx +++ b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_index_pattern_prompt/empty_index_pattern_prompt.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import './empty_index_pattern_prompt.scss'; import React from 'react'; diff --git a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_index_pattern_prompt/index.tsx b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_index_pattern_prompt/index.tsx index 503aa5caaf3a..5f1ed566af50 100644 --- a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_index_pattern_prompt/index.tsx +++ b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_index_pattern_prompt/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { EmptyIndexPatternPrompt } from './empty_index_pattern_prompt'; diff --git a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/empty_state.test.tsx b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/empty_state.test.tsx index 1be99ee025e6..76756f092f77 100644 --- a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/empty_state.test.tsx +++ b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/empty_state.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EmptyState } from '../empty_state'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/empty_state.tsx b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/empty_state.tsx index aa6fa754de3e..c89563ed6e46 100644 --- a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/empty_state.tsx +++ b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/empty_state.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './empty_state.scss'; import React from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/index.ts b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/index.ts index f00ef6b1b665..ae554927f4cd 100644 --- a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/index.ts +++ b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { EmptyState } from './empty_state'; diff --git a/src/plugins/index_pattern_management/public/components/index_pattern_table/index.ts b/src/plugins/index_pattern_management/public/components/index_pattern_table/index.ts index cd68eb1b8b39..97c748788b30 100644 --- a/src/plugins/index_pattern_management/public/components/index_pattern_table/index.ts +++ b/src/plugins/index_pattern_management/public/components/index_pattern_table/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { IndexPatternTableWithRouter } from './index_pattern_table'; diff --git a/src/plugins/index_pattern_management/public/components/index_pattern_table/index_pattern_table.tsx b/src/plugins/index_pattern_management/public/components/index_pattern_table/index_pattern_table.tsx index 82b763cd5126..205c657421ee 100644 --- a/src/plugins/index_pattern_management/public/components/index_pattern_table/index_pattern_table.tsx +++ b/src/plugins/index_pattern_management/public/components/index_pattern_table/index_pattern_table.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiBadge, EuiButtonEmpty, diff --git a/src/plugins/index_pattern_management/public/components/test_utils.tsx b/src/plugins/index_pattern_management/public/components/test_utils.tsx index e4c1ea79172d..cef8c160902b 100644 --- a/src/plugins/index_pattern_management/public/components/test_utils.tsx +++ b/src/plugins/index_pattern_management/public/components/test_utils.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import { shallow } from 'enzyme'; diff --git a/src/plugins/index_pattern_management/public/components/types.ts b/src/plugins/index_pattern_management/public/components/types.ts index 6e6498b71530..6541450fc96e 100644 --- a/src/plugins/index_pattern_management/public/components/types.ts +++ b/src/plugins/index_pattern_management/public/components/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface IndexPatternCreationOption { text: string; description?: string; diff --git a/src/plugins/index_pattern_management/public/components/utils.test.ts b/src/plugins/index_pattern_management/public/components/utils.test.ts index 66f0bb271503..fea771fd7faa 100644 --- a/src/plugins/index_pattern_management/public/components/utils.test.ts +++ b/src/plugins/index_pattern_management/public/components/utils.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getIndexPatterns } from './utils'; import { coreMock } from '../../../../core/public/mocks'; import { mockManagementPlugin } from '../mocks'; diff --git a/src/plugins/index_pattern_management/public/components/utils.ts b/src/plugins/index_pattern_management/public/components/utils.ts index 3232cdf0c132..4d9ba4b396dd 100644 --- a/src/plugins/index_pattern_management/public/components/utils.ts +++ b/src/plugins/index_pattern_management/public/components/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { IIndexPattern } from 'src/plugins/data/public'; import { SavedObjectsClientContract } from 'src/core/public'; import { IndexPatternManagementStart } from '../plugin'; diff --git a/src/plugins/index_pattern_management/public/index.ts b/src/plugins/index_pattern_management/public/index.ts index a491e96e5dd4..5df23bc6e346 100644 --- a/src/plugins/index_pattern_management/public/index.ts +++ b/src/plugins/index_pattern_management/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Management Plugin - public * diff --git a/src/plugins/index_pattern_management/public/management_app/index.tsx b/src/plugins/index_pattern_management/public/management_app/index.tsx index 83cc47b4efad..9efa49b6e2b7 100644 --- a/src/plugins/index_pattern_management/public/management_app/index.tsx +++ b/src/plugins/index_pattern_management/public/management_app/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { mountManagementSection } from './mount_management_section'; diff --git a/src/plugins/index_pattern_management/public/management_app/mount_management_section.tsx b/src/plugins/index_pattern_management/public/management_app/mount_management_section.tsx index 55da643fd929..fbc00105f94e 100644 --- a/src/plugins/index_pattern_management/public/management_app/mount_management_section.tsx +++ b/src/plugins/index_pattern_management/public/management_app/mount_management_section.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { Router, Switch, Route } from 'react-router-dom'; diff --git a/src/plugins/index_pattern_management/public/mocks.ts b/src/plugins/index_pattern_management/public/mocks.ts index d448b2163a22..295bd7e3faee 100644 --- a/src/plugins/index_pattern_management/public/mocks.ts +++ b/src/plugins/index_pattern_management/public/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'src/core/public'; import { coreMock } from '../../../core/public/mocks'; import { managementPluginMock } from '../../management/public/mocks'; diff --git a/src/plugins/index_pattern_management/public/plugin.ts b/src/plugins/index_pattern_management/public/plugin.ts index 6d9b195d272a..fec813ae4e24 100644 --- a/src/plugins/index_pattern_management/public/plugin.ts +++ b/src/plugins/index_pattern_management/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { PluginInitializerContext, CoreSetup, CoreStart, Plugin } from 'src/core/public'; import { DataPublicPluginStart } from 'src/plugins/data/public'; diff --git a/src/plugins/index_pattern_management/public/scripting_languages/index.ts b/src/plugins/index_pattern_management/public/scripting_languages/index.ts index 6d21a13f130e..e16fbba144b8 100644 --- a/src/plugins/index_pattern_management/public/scripting_languages/index.ts +++ b/src/plugins/index_pattern_management/public/scripting_languages/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { HttpStart, NotificationsStart } from 'src/core/public'; diff --git a/src/plugins/index_pattern_management/public/service/creation/config.ts b/src/plugins/index_pattern_management/public/service/creation/config.ts index 392a6d8601c5..ab9ae1e3482f 100644 --- a/src/plugins/index_pattern_management/public/service/creation/config.ts +++ b/src/plugins/index_pattern_management/public/service/creation/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MatchedItem } from '../../components/create_index_pattern_wizard/types'; diff --git a/src/plugins/index_pattern_management/public/service/creation/index.ts b/src/plugins/index_pattern_management/public/service/creation/index.ts index 0afe43edb2ad..24611340ea83 100644 --- a/src/plugins/index_pattern_management/public/service/creation/index.ts +++ b/src/plugins/index_pattern_management/public/service/creation/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { IndexPatternCreationConfig, IndexPatternCreationOption } from './config'; export { IndexPatternCreationManager } from './manager'; diff --git a/src/plugins/index_pattern_management/public/service/creation/manager.ts b/src/plugins/index_pattern_management/public/service/creation/manager.ts index 8cbded2400e8..a721968a43c5 100644 --- a/src/plugins/index_pattern_management/public/service/creation/manager.ts +++ b/src/plugins/index_pattern_management/public/service/creation/manager.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpSetup } from '../../../../../core/public'; import { IndexPatternCreationConfig, UrlHandler, IndexPatternCreationOption } from './config'; diff --git a/src/plugins/index_pattern_management/public/service/environment/environment.mock.ts b/src/plugins/index_pattern_management/public/service/environment/environment.mock.ts index 9636d1aad757..00647a2a09e0 100644 --- a/src/plugins/index_pattern_management/public/service/environment/environment.mock.ts +++ b/src/plugins/index_pattern_management/public/service/environment/environment.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EnvironmentService, EnvironmentServiceSetup } from './environment'; import { MlCardState } from '../../types'; diff --git a/src/plugins/index_pattern_management/public/service/environment/environment.test.ts b/src/plugins/index_pattern_management/public/service/environment/environment.test.ts index 0f2b2532a92d..32de4a5d2bdc 100644 --- a/src/plugins/index_pattern_management/public/service/environment/environment.test.ts +++ b/src/plugins/index_pattern_management/public/service/environment/environment.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EnvironmentService } from './environment'; import { MlCardState } from '../../types'; diff --git a/src/plugins/index_pattern_management/public/service/environment/environment.ts b/src/plugins/index_pattern_management/public/service/environment/environment.ts index ccb34374d717..4cdf2e76e5b3 100644 --- a/src/plugins/index_pattern_management/public/service/environment/environment.ts +++ b/src/plugins/index_pattern_management/public/service/environment/environment.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MlCardState } from '../../types'; /** @public */ diff --git a/src/plugins/index_pattern_management/public/service/environment/index.ts b/src/plugins/index_pattern_management/public/service/environment/index.ts index 7b144359bac9..764134a9de9f 100644 --- a/src/plugins/index_pattern_management/public/service/environment/index.ts +++ b/src/plugins/index_pattern_management/public/service/environment/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { EnvironmentService, Environment, EnvironmentServiceSetup } from './environment'; diff --git a/src/plugins/index_pattern_management/public/service/field_format_editors/field_format_editors.ts b/src/plugins/index_pattern_management/public/service/field_format_editors/field_format_editors.ts index 3f0a03cdc4d3..284496e59295 100644 --- a/src/plugins/index_pattern_management/public/service/field_format_editors/field_format_editors.ts +++ b/src/plugins/index_pattern_management/public/service/field_format_editors/field_format_editors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DefaultFormatEditor } from '../../components/field_editor/components/field_format_editor'; export class FieldFormatEditors { diff --git a/src/plugins/index_pattern_management/public/service/field_format_editors/index.ts b/src/plugins/index_pattern_management/public/service/field_format_editors/index.ts index da1618167850..c3cea4484e06 100644 --- a/src/plugins/index_pattern_management/public/service/field_format_editors/index.ts +++ b/src/plugins/index_pattern_management/public/service/field_format_editors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { FieldFormatEditors } from './field_format_editors'; diff --git a/src/plugins/index_pattern_management/public/service/index.ts b/src/plugins/index_pattern_management/public/service/index.ts index 95632b6b5280..4315341d60d0 100644 --- a/src/plugins/index_pattern_management/public/service/index.ts +++ b/src/plugins/index_pattern_management/public/service/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './index_pattern_management_service'; export { IndexPatternCreationConfig, IndexPatternCreationOption } from './creation'; export { IndexPatternListConfig } from './list'; diff --git a/src/plugins/index_pattern_management/public/service/index_pattern_management_service.ts b/src/plugins/index_pattern_management/public/service/index_pattern_management_service.ts index 065e7e60b0bd..784728bb8355 100644 --- a/src/plugins/index_pattern_management/public/service/index_pattern_management_service.ts +++ b/src/plugins/index_pattern_management/public/service/index_pattern_management_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpSetup } from '../../../../core/public'; import { IndexPatternCreationManager, IndexPatternCreationConfig } from './creation'; import { IndexPatternListManager, IndexPatternListConfig } from './list'; diff --git a/src/plugins/index_pattern_management/public/service/list/config.ts b/src/plugins/index_pattern_management/public/service/list/config.ts index 04deae03261d..9e78a86001d5 100644 --- a/src/plugins/index_pattern_management/public/service/list/config.ts +++ b/src/plugins/index_pattern_management/public/service/list/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { IIndexPattern, IFieldType } from 'src/plugins/data/public'; import { SimpleSavedObject } from 'src/core/public'; diff --git a/src/plugins/index_pattern_management/public/service/list/index.ts b/src/plugins/index_pattern_management/public/service/list/index.ts index 54be5e78fbde..86cca786e6f2 100644 --- a/src/plugins/index_pattern_management/public/service/list/index.ts +++ b/src/plugins/index_pattern_management/public/service/list/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { IndexPatternListConfig } from './config'; export { IndexPatternListManager } from './manager'; diff --git a/src/plugins/index_pattern_management/public/service/list/manager.ts b/src/plugins/index_pattern_management/public/service/list/manager.ts index 199f8bce22c5..0d55915b5259 100644 --- a/src/plugins/index_pattern_management/public/service/list/manager.ts +++ b/src/plugins/index_pattern_management/public/service/list/manager.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IIndexPattern, IFieldType } from 'src/plugins/data/public'; import { SimpleSavedObject } from 'src/core/public'; import { IndexPatternListConfig, IndexPatternTag } from './config'; diff --git a/src/plugins/index_pattern_management/public/types.ts b/src/plugins/index_pattern_management/public/types.ts index 5aafe22ab769..aed20770afd4 100644 --- a/src/plugins/index_pattern_management/public/types.ts +++ b/src/plugins/index_pattern_management/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ChromeStart, ApplicationStart, diff --git a/src/plugins/index_pattern_management/server/index.ts b/src/plugins/index_pattern_management/server/index.ts index a596dec4c9a2..cdc3ebb59dd4 100644 --- a/src/plugins/index_pattern_management/server/index.ts +++ b/src/plugins/index_pattern_management/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'src/core/server'; import { IndexPatternManagementPlugin } from './plugin'; diff --git a/src/plugins/index_pattern_management/server/plugin.ts b/src/plugins/index_pattern_management/server/plugin.ts index da10fea7924b..d5b1b43b5406 100644 --- a/src/plugins/index_pattern_management/server/plugin.ts +++ b/src/plugins/index_pattern_management/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, CoreSetup, Plugin } from 'src/core/server'; import { registerPreviewScriptedFieldRoute, registerResolveIndexRoute } from './routes'; diff --git a/src/plugins/index_pattern_management/server/routes/index.ts b/src/plugins/index_pattern_management/server/routes/index.ts index 1a793ad08c24..c0e09a98bddc 100644 --- a/src/plugins/index_pattern_management/server/routes/index.ts +++ b/src/plugins/index_pattern_management/server/routes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './preview_scripted_field'; export * from './resolve_index'; diff --git a/src/plugins/index_pattern_management/server/routes/preview_scripted_field.test.ts b/src/plugins/index_pattern_management/server/routes/preview_scripted_field.test.ts index 4e6be5beac5f..0b1a617d3d10 100644 --- a/src/plugins/index_pattern_management/server/routes/preview_scripted_field.test.ts +++ b/src/plugins/index_pattern_management/server/routes/preview_scripted_field.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, RequestHandlerContext } from 'src/core/server'; import { coreMock, httpServerMock } from '../../../../../src/core/server/mocks'; import { registerPreviewScriptedFieldRoute } from './preview_scripted_field'; diff --git a/src/plugins/index_pattern_management/server/routes/preview_scripted_field.ts b/src/plugins/index_pattern_management/server/routes/preview_scripted_field.ts index 29021974ae54..211e19a3dcd3 100644 --- a/src/plugins/index_pattern_management/server/routes/preview_scripted_field.ts +++ b/src/plugins/index_pattern_management/server/routes/preview_scripted_field.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { IRouter } from 'src/core/server'; diff --git a/src/plugins/index_pattern_management/server/routes/resolve_index.ts b/src/plugins/index_pattern_management/server/routes/resolve_index.ts index cc647658b96b..091039458212 100644 --- a/src/plugins/index_pattern_management/server/routes/resolve_index.ts +++ b/src/plugins/index_pattern_management/server/routes/resolve_index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { IRouter } from 'src/core/server'; diff --git a/src/plugins/input_control_vis/public/components/editor/control_editor.tsx b/src/plugins/input_control_vis/public/components/editor/control_editor.tsx index 319378df2f92..ab6804171744 100644 --- a/src/plugins/input_control_vis/public/components/editor/control_editor.tsx +++ b/src/plugins/input_control_vis/public/components/editor/control_editor.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { PureComponent, ChangeEvent } from 'react'; import { injectI18n, FormattedMessage, InjectedIntlProps } from '@osd/i18n/react'; diff --git a/src/plugins/input_control_vis/public/components/editor/controls_tab.test.tsx b/src/plugins/input_control_vis/public/components/editor/controls_tab.test.tsx index 8ddc41ab52f8..e2355799d72d 100644 --- a/src/plugins/input_control_vis/public/components/editor/controls_tab.test.tsx +++ b/src/plugins/input_control_vis/public/components/editor/controls_tab.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithIntl, mountWithIntl } from 'test_utils/enzyme_helpers'; import { findTestSubject } from '@elastic/eui/lib/test'; diff --git a/src/plugins/input_control_vis/public/components/editor/controls_tab.tsx b/src/plugins/input_control_vis/public/components/editor/controls_tab.tsx index aff00fe0d8f9..a5c3201a3073 100644 --- a/src/plugins/input_control_vis/public/components/editor/controls_tab.tsx +++ b/src/plugins/input_control_vis/public/components/editor/controls_tab.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { PureComponent } from 'react'; import { injectI18n, FormattedMessage, InjectedIntlProps } from '@osd/i18n/react'; diff --git a/src/plugins/input_control_vis/public/components/editor/field_select.tsx b/src/plugins/input_control_vis/public/components/editor/field_select.tsx index 189527855f5d..6da76c7120a8 100644 --- a/src/plugins/input_control_vis/public/components/editor/field_select.tsx +++ b/src/plugins/input_control_vis/public/components/editor/field_select.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import React, { Component } from 'react'; diff --git a/src/plugins/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx b/src/plugins/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx index 7a13e2bd23c5..9bc6d177428c 100644 --- a/src/plugins/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx +++ b/src/plugins/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ComponentType } from 'react'; import { injectI18n, InjectedIntlProps } from '@osd/i18n/react'; import { EuiFormRow } from '@elastic/eui'; diff --git a/src/plugins/input_control_vis/public/components/editor/list_control_editor.test.tsx b/src/plugins/input_control_vis/public/components/editor/list_control_editor.test.tsx index c2a7e9110a2a..d8a36ac9b6c9 100644 --- a/src/plugins/input_control_vis/public/components/editor/list_control_editor.test.tsx +++ b/src/plugins/input_control_vis/public/components/editor/list_control_editor.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import sinon from 'sinon'; import { shallow } from 'enzyme'; diff --git a/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx b/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx index 1db60d9ddbb7..d5e2ddbe532a 100644 --- a/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx +++ b/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { PureComponent, ComponentType } from 'react'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/input_control_vis/public/components/editor/options_tab.test.tsx b/src/plugins/input_control_vis/public/components/editor/options_tab.test.tsx index c62b0681a55e..e344f7d4cf3b 100644 --- a/src/plugins/input_control_vis/public/components/editor/options_tab.test.tsx +++ b/src/plugins/input_control_vis/public/components/editor/options_tab.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/input_control_vis/public/components/editor/options_tab.tsx b/src/plugins/input_control_vis/public/components/editor/options_tab.tsx index e97bac99c989..f1081ffe46d1 100644 --- a/src/plugins/input_control_vis/public/components/editor/options_tab.tsx +++ b/src/plugins/input_control_vis/public/components/editor/options_tab.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { PureComponent } from 'react'; import { EuiForm, EuiFormRow, EuiSwitch } from '@elastic/eui'; diff --git a/src/plugins/input_control_vis/public/components/editor/range_control_editor.test.tsx b/src/plugins/input_control_vis/public/components/editor/range_control_editor.test.tsx index 4ae727212308..a8dcc0761f2c 100644 --- a/src/plugins/input_control_vis/public/components/editor/range_control_editor.test.tsx +++ b/src/plugins/input_control_vis/public/components/editor/range_control_editor.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { SinonSpy, spy, assert } from 'sinon'; diff --git a/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx b/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx index 6084c144891b..d9e18b6fc835 100644 --- a/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx +++ b/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { Component, Fragment, ComponentType } from 'react'; import { EuiFormRow, EuiFieldNumber } from '@elastic/eui'; diff --git a/src/plugins/input_control_vis/public/components/vis/form_row.test.tsx b/src/plugins/input_control_vis/public/components/vis/form_row.test.tsx index fbd94dc0e8f8..519feba3132f 100644 --- a/src/plugins/input_control_vis/public/components/vis/form_row.test.tsx +++ b/src/plugins/input_control_vis/public/components/vis/form_row.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/input_control_vis/public/components/vis/form_row.tsx b/src/plugins/input_control_vis/public/components/vis/form_row.tsx index b85add909f90..b5f6148b52e6 100644 --- a/src/plugins/input_control_vis/public/components/vis/form_row.tsx +++ b/src/plugins/input_control_vis/public/components/vis/form_row.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ReactElement } from 'react'; import { EuiFormRow, EuiToolTip, EuiIcon } from '@elastic/eui'; diff --git a/src/plugins/input_control_vis/public/components/vis/input_control_vis.test.tsx b/src/plugins/input_control_vis/public/components/vis/input_control_vis.test.tsx index 08138b3af0e8..1e931c084a55 100644 --- a/src/plugins/input_control_vis/public/components/vis/input_control_vis.test.tsx +++ b/src/plugins/input_control_vis/public/components/vis/input_control_vis.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import sinon from 'sinon'; import { shallow } from 'enzyme'; diff --git a/src/plugins/input_control_vis/public/components/vis/input_control_vis.tsx b/src/plugins/input_control_vis/public/components/vis/input_control_vis.tsx index bea24d397a7d..17ea8b856261 100644 --- a/src/plugins/input_control_vis/public/components/vis/input_control_vis.tsx +++ b/src/plugins/input_control_vis/public/components/vis/input_control_vis.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { EuiButton, EuiButtonEmpty, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/input_control_vis/public/components/vis/list_control.test.tsx b/src/plugins/input_control_vis/public/components/vis/list_control.test.tsx index 1a81e674221e..6e2b654de8e7 100644 --- a/src/plugins/input_control_vis/public/components/vis/list_control.test.tsx +++ b/src/plugins/input_control_vis/public/components/vis/list_control.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import sinon from 'sinon'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/input_control_vis/public/components/vis/list_control.tsx b/src/plugins/input_control_vis/public/components/vis/list_control.tsx index b7558313522b..f4713b3ac8d6 100644 --- a/src/plugins/input_control_vis/public/components/vis/list_control.tsx +++ b/src/plugins/input_control_vis/public/components/vis/list_control.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { PureComponent } from 'react'; import _ from 'lodash'; diff --git a/src/plugins/input_control_vis/public/components/vis/range_control.test.tsx b/src/plugins/input_control_vis/public/components/vis/range_control.test.tsx index 65e838063d96..0043d6a4fa33 100644 --- a/src/plugins/input_control_vis/public/components/vis/range_control.test.tsx +++ b/src/plugins/input_control_vis/public/components/vis/range_control.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/input_control_vis/public/components/vis/range_control.tsx b/src/plugins/input_control_vis/public/components/vis/range_control.tsx index 5a986e22f703..9ee39adfcac3 100644 --- a/src/plugins/input_control_vis/public/components/vis/range_control.tsx +++ b/src/plugins/input_control_vis/public/components/vis/range_control.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import React, { PureComponent } from 'react'; import { ValidatedDualRange } from '../../../../opensearch_dashboards_react/public'; diff --git a/src/plugins/input_control_vis/public/control/control.test.ts b/src/plugins/input_control_vis/public/control/control.test.ts index ad3a8c5b8d4d..8c5c0801a7f3 100644 --- a/src/plugins/input_control_vis/public/control/control.test.ts +++ b/src/plugins/input_control_vis/public/control/control.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { Control } from './control'; import { ControlParams } from '../editor_utils'; diff --git a/src/plugins/input_control_vis/public/control/control.ts b/src/plugins/input_control_vis/public/control/control.ts index 06ddcdbc4355..81fbb754051f 100644 --- a/src/plugins/input_control_vis/public/control/control.ts +++ b/src/plugins/input_control_vis/public/control/control.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/input_control_vis/public/control/control_factory.ts b/src/plugins/input_control_vis/public/control/control_factory.ts index 7f7bd5f9e3d8..83b6437e2b25 100644 --- a/src/plugins/input_control_vis/public/control/control_factory.ts +++ b/src/plugins/input_control_vis/public/control/control_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { rangeControlFactory } from './range_control_factory'; import { listControlFactory } from './list_control_factory'; import { ControlParams, CONTROL_TYPES } from '../editor_utils'; diff --git a/src/plugins/input_control_vis/public/control/create_search_source.ts b/src/plugins/input_control_vis/public/control/create_search_source.ts index 821b89b718de..34bcaaaf1b4c 100644 --- a/src/plugins/input_control_vis/public/control/create_search_source.ts +++ b/src/plugins/input_control_vis/public/control/create_search_source.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SearchSourceFields, PhraseFilter, diff --git a/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts b/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts index 2bb6a61ef814..8cb93992821b 100644 --- a/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts +++ b/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FilterManager } from './filter_manager'; diff --git a/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts b/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts index 0bc1982f1549..ef7db08a368c 100644 --- a/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts +++ b/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { FilterManager as QueryFilterManager, IndexPattern, Filter } from '../../../../data/public'; diff --git a/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts b/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts index ba0dce05cc89..7648830a2bb3 100644 --- a/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts +++ b/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { Filter, IndexPattern, FilterManager as QueryFilterManager } from '../../../../data/public'; diff --git a/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts b/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts index 2f05d2a44b50..027cd019f6dd 100644 --- a/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts +++ b/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { FilterManager } from './filter_manager'; diff --git a/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts b/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts index e39745a0c8e6..f9d672794590 100644 --- a/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts +++ b/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { RangeFilterManager } from './range_filter_manager'; diff --git a/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.ts b/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.ts index a3961f876011..4593eda41fa2 100644 --- a/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.ts +++ b/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { FilterManager } from './filter_manager'; diff --git a/src/plugins/input_control_vis/public/control/list_control_factory.test.ts b/src/plugins/input_control_vis/public/control/list_control_factory.test.ts index cd802935fe71..edf04b29b4c5 100644 --- a/src/plugins/input_control_vis/public/control/list_control_factory.test.ts +++ b/src/plugins/input_control_vis/public/control/list_control_factory.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { listControlFactory, ListControl } from './list_control_factory'; import { ControlParams, CONTROL_TYPES } from '../editor_utils'; import { getDepsMock, getSearchSourceMock } from '../test_utils'; diff --git a/src/plugins/input_control_vis/public/control/list_control_factory.ts b/src/plugins/input_control_vis/public/control/list_control_factory.ts index 4a5fc2bc2f16..28d8642efaf3 100644 --- a/src/plugins/input_control_vis/public/control/list_control_factory.ts +++ b/src/plugins/input_control_vis/public/control/list_control_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; import { diff --git a/src/plugins/input_control_vis/public/control/range_control_factory.test.ts b/src/plugins/input_control_vis/public/control/range_control_factory.test.ts index 52eb2b6620b7..c4a82280f9ed 100644 --- a/src/plugins/input_control_vis/public/control/range_control_factory.test.ts +++ b/src/plugins/input_control_vis/public/control/range_control_factory.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { rangeControlFactory } from './range_control_factory'; import { ControlParams, CONTROL_TYPES } from '../editor_utils'; import { getDepsMock, getSearchSourceMock } from '../test_utils'; diff --git a/src/plugins/input_control_vis/public/control/range_control_factory.ts b/src/plugins/input_control_vis/public/control/range_control_factory.ts index 9b989f60fb7a..191822d106cb 100644 --- a/src/plugins/input_control_vis/public/control/range_control_factory.ts +++ b/src/plugins/input_control_vis/public/control/range_control_factory.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/input_control_vis/public/editor_utils.ts b/src/plugins/input_control_vis/public/editor_utils.ts index 99d50b2269c0..d5ad606dc6a3 100644 --- a/src/plugins/input_control_vis/public/editor_utils.ts +++ b/src/plugins/input_control_vis/public/editor_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { $Values } from '@osd/utility-types'; export const CONTROL_TYPES = { diff --git a/src/plugins/input_control_vis/public/index.ts b/src/plugins/input_control_vis/public/index.ts index f12cfdd7f523..8c309ef994c9 100644 --- a/src/plugins/input_control_vis/public/index.ts +++ b/src/plugins/input_control_vis/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index.scss'; import { PluginInitializerContext } from '../../../core/public'; diff --git a/src/plugins/input_control_vis/public/input_control_fn.test.ts b/src/plugins/input_control_vis/public/input_control_fn.test.ts index 7c97fa4810e5..582598df0970 100644 --- a/src/plugins/input_control_vis/public/input_control_fn.test.ts +++ b/src/plugins/input_control_vis/public/input_control_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createInputControlVisFn } from './input_control_fn'; import { functionWrapper } from '../../expressions/common/expression_functions/specs/tests/utils'; diff --git a/src/plugins/input_control_vis/public/input_control_fn.ts b/src/plugins/input_control_vis/public/input_control_fn.ts index 9acb4d825f18..cdacedb64799 100644 --- a/src/plugins/input_control_vis/public/input_control_fn.ts +++ b/src/plugins/input_control_vis/public/input_control_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { diff --git a/src/plugins/input_control_vis/public/input_control_vis_type.ts b/src/plugins/input_control_vis/public/input_control_vis_type.ts index d5f57f531426..0e731be9ee2e 100644 --- a/src/plugins/input_control_vis/public/input_control_vis_type.ts +++ b/src/plugins/input_control_vis/public/input_control_vis_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { BaseVisTypeOptions } from 'src/plugins/visualizations/public'; diff --git a/src/plugins/input_control_vis/public/lineage/index.ts b/src/plugins/input_control_vis/public/lineage/index.ts index c8b7072b8b0f..266aed0f57a8 100644 --- a/src/plugins/input_control_vis/public/lineage/index.ts +++ b/src/plugins/input_control_vis/public/lineage/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getLineageMap } from './lineage_map'; export { getParentCandidates } from './parent_candidates'; diff --git a/src/plugins/input_control_vis/public/lineage/lineage_map.test.ts b/src/plugins/input_control_vis/public/lineage/lineage_map.test.ts index ce19c4a6797c..abc049f41404 100644 --- a/src/plugins/input_control_vis/public/lineage/lineage_map.test.ts +++ b/src/plugins/input_control_vis/public/lineage/lineage_map.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { getLineageMap } from './lineage_map'; import { CONTROL_TYPES, newControl } from '../editor_utils'; diff --git a/src/plugins/input_control_vis/public/lineage/lineage_map.ts b/src/plugins/input_control_vis/public/lineage/lineage_map.ts index e51249f1e003..9c120263a65f 100644 --- a/src/plugins/input_control_vis/public/lineage/lineage_map.ts +++ b/src/plugins/input_control_vis/public/lineage/lineage_map.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { ControlParams } from '../editor_utils'; diff --git a/src/plugins/input_control_vis/public/lineage/parent_candidates.test.ts b/src/plugins/input_control_vis/public/lineage/parent_candidates.test.ts index 1374fbf378c0..cbcab9ad63ec 100644 --- a/src/plugins/input_control_vis/public/lineage/parent_candidates.test.ts +++ b/src/plugins/input_control_vis/public/lineage/parent_candidates.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { getLineageMap } from './lineage_map'; import { getParentCandidates } from './parent_candidates'; diff --git a/src/plugins/input_control_vis/public/lineage/parent_candidates.ts b/src/plugins/input_control_vis/public/lineage/parent_candidates.ts index 29c23dc73a1a..fa41b5d5b5b5 100644 --- a/src/plugins/input_control_vis/public/lineage/parent_candidates.ts +++ b/src/plugins/input_control_vis/public/lineage/parent_candidates.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getTitle, ControlParams } from '../editor_utils'; export function getParentCandidates( diff --git a/src/plugins/input_control_vis/public/plugin.ts b/src/plugins/input_control_vis/public/plugin.ts index 2ba11eb1339f..9917efbfcd16 100644 --- a/src/plugins/input_control_vis/public/plugin.ts +++ b/src/plugins/input_control_vis/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { PluginInitializerContext, CoreSetup, diff --git a/src/plugins/input_control_vis/public/test_utils/get_deps_mock.tsx b/src/plugins/input_control_vis/public/test_utils/get_deps_mock.tsx index ed0208fedb3d..9440026cb0e3 100644 --- a/src/plugins/input_control_vis/public/test_utils/get_deps_mock.tsx +++ b/src/plugins/input_control_vis/public/test_utils/get_deps_mock.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { InputControlVisDependencies } from '../plugin'; import { getSearchSourceMock } from './get_search_service_mock'; diff --git a/src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts b/src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts index 8a15598df02b..4f59c4d5ac4b 100644 --- a/src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts +++ b/src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IIndexPattern } from 'src/plugins/data/public'; /** diff --git a/src/plugins/input_control_vis/public/test_utils/get_index_patterns_mock.ts b/src/plugins/input_control_vis/public/test_utils/get_index_patterns_mock.ts index efc57321c3c4..d1f9ab206b7f 100644 --- a/src/plugins/input_control_vis/public/test_utils/get_index_patterns_mock.ts +++ b/src/plugins/input_control_vis/public/test_utils/get_index_patterns_mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const getIndexPatternsMock = () => { return Promise.resolve([ { diff --git a/src/plugins/input_control_vis/public/test_utils/get_search_service_mock.ts b/src/plugins/input_control_vis/public/test_utils/get_search_service_mock.ts index b0b3ea8e80f7..d684c52eb06d 100644 --- a/src/plugins/input_control_vis/public/test_utils/get_search_service_mock.ts +++ b/src/plugins/input_control_vis/public/test_utils/get_search_service_mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const getSearchSourceMock = (opensearchSearchResponse?: any) => jest.fn().mockImplementation(() => ({ setParent: jest.fn(), diff --git a/src/plugins/input_control_vis/public/test_utils/index.ts b/src/plugins/input_control_vis/public/test_utils/index.ts index 867dfb614e94..b1bef9ae2c68 100644 --- a/src/plugins/input_control_vis/public/test_utils/index.ts +++ b/src/plugins/input_control_vis/public/test_utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getDepsMock } from './get_deps_mock'; export { getIndexPatternMock } from './get_index_pattern_mock'; export { getIndexPatternsMock } from './get_index_patterns_mock'; diff --git a/src/plugins/input_control_vis/public/test_utils/update_component.ts b/src/plugins/input_control_vis/public/test_utils/update_component.ts index b19ddb25f557..287c0343e910 100644 --- a/src/plugins/input_control_vis/public/test_utils/update_component.ts +++ b/src/plugins/input_control_vis/public/test_utils/update_component.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ShallowWrapper, ReactWrapper } from 'enzyme'; export const updateComponent = async ( diff --git a/src/plugins/input_control_vis/public/vis_controller.tsx b/src/plugins/input_control_vis/public/vis_controller.tsx index 9cd06eb4737d..8a70e964a11f 100644 --- a/src/plugins/input_control_vis/public/vis_controller.tsx +++ b/src/plugins/input_control_vis/public/vis_controller.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { isEqual } from 'lodash'; import { render, unmountComponentAtNode } from 'react-dom'; diff --git a/src/plugins/input_control_vis/server/index.ts b/src/plugins/input_control_vis/server/index.ts index 8d4bbf304d4c..553f77be5ae6 100644 --- a/src/plugins/input_control_vis/server/index.ts +++ b/src/plugins/input_control_vis/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, PluginConfigDescriptor, diff --git a/src/plugins/inspector/common/adapters/data/data_adapter.ts b/src/plugins/inspector/common/adapters/data/data_adapter.ts index f22d672b9201..a69d19a1e796 100644 --- a/src/plugins/inspector/common/adapters/data/data_adapter.ts +++ b/src/plugins/inspector/common/adapters/data/data_adapter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EventEmitter } from 'events'; import { TabularCallback, TabularHolder, TabularLoaderOptions } from './types'; diff --git a/src/plugins/inspector/common/adapters/data/data_adapters.test.ts b/src/plugins/inspector/common/adapters/data/data_adapters.test.ts index 10002514f874..f4f5835877c3 100644 --- a/src/plugins/inspector/common/adapters/data/data_adapters.test.ts +++ b/src/plugins/inspector/common/adapters/data/data_adapters.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DataAdapter } from './data_adapter'; describe('DataAdapter', () => { diff --git a/src/plugins/inspector/common/adapters/data/formatted_data.ts b/src/plugins/inspector/common/adapters/data/formatted_data.ts index e1c7c3710633..322852f5fe47 100644 --- a/src/plugins/inspector/common/adapters/data/formatted_data.ts +++ b/src/plugins/inspector/common/adapters/data/formatted_data.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - class FormattedData { constructor(public readonly raw: any, public readonly formatted: any) {} } diff --git a/src/plugins/inspector/common/adapters/data/index.ts b/src/plugins/inspector/common/adapters/data/index.ts index f547d2f9e5d7..0bfdcb3a6750 100644 --- a/src/plugins/inspector/common/adapters/data/index.ts +++ b/src/plugins/inspector/common/adapters/data/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { FormattedData } from './formatted_data'; export { DataAdapter } from './data_adapter'; diff --git a/src/plugins/inspector/common/adapters/data/types.ts b/src/plugins/inspector/common/adapters/data/types.ts index 5ed6442dcb1d..ce0a3afc8485 100644 --- a/src/plugins/inspector/common/adapters/data/types.ts +++ b/src/plugins/inspector/common/adapters/data/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // TODO: add a more specific TabularData type. export type TabularData = any; export type TabularCallback = () => TabularData | Promise; diff --git a/src/plugins/inspector/common/adapters/index.ts b/src/plugins/inspector/common/adapters/index.ts index c2e79a1f521c..f3c2f256babe 100644 --- a/src/plugins/inspector/common/adapters/index.ts +++ b/src/plugins/inspector/common/adapters/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Adapters } from './types'; export { DataAdapter, FormattedData } from './data'; export { diff --git a/src/plugins/inspector/common/adapters/request/index.ts b/src/plugins/inspector/common/adapters/request/index.ts index 62055718663e..8bf28bd27ce7 100644 --- a/src/plugins/inspector/common/adapters/request/index.ts +++ b/src/plugins/inspector/common/adapters/request/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { RequestStatistic, RequestStatistics, RequestStatus } from './types'; export { RequestAdapter } from './request_adapter'; export { RequestResponder } from './request_responder'; diff --git a/src/plugins/inspector/common/adapters/request/request_adapter.test.ts b/src/plugins/inspector/common/adapters/request/request_adapter.test.ts index c6ca7156d07d..bf68867645dd 100644 --- a/src/plugins/inspector/common/adapters/request/request_adapter.test.ts +++ b/src/plugins/inspector/common/adapters/request/request_adapter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { RequestAdapter } from './request_adapter'; import { Request } from './types'; diff --git a/src/plugins/inspector/common/adapters/request/request_adapter.ts b/src/plugins/inspector/common/adapters/request/request_adapter.ts index 0714aaafcd85..652e962b93b7 100644 --- a/src/plugins/inspector/common/adapters/request/request_adapter.ts +++ b/src/plugins/inspector/common/adapters/request/request_adapter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EventEmitter } from 'events'; import uuid from 'uuid/v4'; import { RequestResponder } from './request_responder'; diff --git a/src/plugins/inspector/common/adapters/request/request_responder.ts b/src/plugins/inspector/common/adapters/request/request_responder.ts index 285546eeafe5..a65d1b9bc9cd 100644 --- a/src/plugins/inspector/common/adapters/request/request_responder.ts +++ b/src/plugins/inspector/common/adapters/request/request_responder.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Request, RequestStatistics, RequestStatus, Response } from './types'; diff --git a/src/plugins/inspector/common/adapters/request/types.ts b/src/plugins/inspector/common/adapters/request/types.ts index 57a5026fa157..0c151be79129 100644 --- a/src/plugins/inspector/common/adapters/request/types.ts +++ b/src/plugins/inspector/common/adapters/request/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * The status a request can have. */ diff --git a/src/plugins/inspector/common/adapters/types.ts b/src/plugins/inspector/common/adapters/types.ts index 2d90ba6c9787..72b50224f3d4 100644 --- a/src/plugins/inspector/common/adapters/types.ts +++ b/src/plugins/inspector/common/adapters/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * The interface that the adapters used to open an inspector have to fullfill. */ diff --git a/src/plugins/inspector/common/index.ts b/src/plugins/inspector/common/index.ts index 5893fdc7dbea..c07186fe2715 100644 --- a/src/plugins/inspector/common/index.ts +++ b/src/plugins/inspector/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './adapters'; diff --git a/src/plugins/inspector/index.ts b/src/plugins/inspector/index.ts index 2b7547ca040f..f80a07f05e81 100644 --- a/src/plugins/inspector/index.ts +++ b/src/plugins/inspector/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './common'; diff --git a/src/plugins/inspector/public/index.ts b/src/plugins/inspector/public/index.ts index 162b11f3e1d1..f80973a75b1c 100644 --- a/src/plugins/inspector/public/index.ts +++ b/src/plugins/inspector/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index.scss'; import { PluginInitializerContext } from '../../../core/public'; diff --git a/src/plugins/inspector/public/mocks.ts b/src/plugins/inspector/public/mocks.ts index 2e7106d88d8c..ba950d54e045 100644 --- a/src/plugins/inspector/public/mocks.ts +++ b/src/plugins/inspector/public/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Setup as PluginSetup, Start as PluginStart } from '.'; import { InspectorViewRegistry } from './view_registry'; import { plugin as pluginInitializer } from '.'; diff --git a/src/plugins/inspector/public/plugin.tsx b/src/plugins/inspector/public/plugin.tsx index a80e33e04b05..e5a2a8a3d71d 100644 --- a/src/plugins/inspector/public/plugin.tsx +++ b/src/plugins/inspector/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import * as React from 'react'; import { PluginInitializerContext, CoreSetup, CoreStart, Plugin } from '../../../core/public'; diff --git a/src/plugins/inspector/public/test/is_available.test.ts b/src/plugins/inspector/public/test/is_available.test.ts index d9e563911452..6cfade1bc6ca 100644 --- a/src/plugins/inspector/public/test/is_available.test.ts +++ b/src/plugins/inspector/public/test/is_available.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { inspectorPluginMock } from '../mocks'; import { DataAdapter } from '../../common/adapters/data/data_adapter'; import { RequestAdapter } from '../../common/adapters/request/request_adapter'; diff --git a/src/plugins/inspector/public/test/open.test.ts b/src/plugins/inspector/public/test/open.test.ts index 649c9cd81663..19798b451d6b 100644 --- a/src/plugins/inspector/public/test/open.test.ts +++ b/src/plugins/inspector/public/test/open.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { inspectorPluginMock } from '../mocks'; describe('inspector', () => { diff --git a/src/plugins/inspector/public/types.ts b/src/plugins/inspector/public/types.ts index a9e73b2ee877..68578b873198 100644 --- a/src/plugins/inspector/public/types.ts +++ b/src/plugins/inspector/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OverlayRef } from '../../../core/public'; import { Adapters } from '../common'; diff --git a/src/plugins/inspector/public/ui/inspector_panel.test.tsx b/src/plugins/inspector/public/ui/inspector_panel.test.tsx index bb385d42ced9..e4e204c0dd2d 100644 --- a/src/plugins/inspector/public/ui/inspector_panel.test.tsx +++ b/src/plugins/inspector/public/ui/inspector_panel.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { InspectorPanel } from './inspector_panel'; diff --git a/src/plugins/inspector/public/ui/inspector_panel.tsx b/src/plugins/inspector/public/ui/inspector_panel.tsx index 29cec5f1466b..83426c7d5e0a 100644 --- a/src/plugins/inspector/public/ui/inspector_panel.tsx +++ b/src/plugins/inspector/public/ui/inspector_panel.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './inspector_panel.scss'; import { i18n } from '@osd/i18n'; import React, { Component } from 'react'; diff --git a/src/plugins/inspector/public/ui/inspector_view_chooser.tsx b/src/plugins/inspector/public/ui/inspector_view_chooser.tsx index 492fc47ccc7d..230066cea91e 100644 --- a/src/plugins/inspector/public/ui/inspector_view_chooser.tsx +++ b/src/plugins/inspector/public/ui/inspector_view_chooser.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FormattedMessage } from '@osd/i18n/react'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; diff --git a/src/plugins/inspector/public/view_registry.test.ts b/src/plugins/inspector/public/view_registry.test.ts index 5a1819536ca0..bd4b1916cbcf 100644 --- a/src/plugins/inspector/public/view_registry.test.ts +++ b/src/plugins/inspector/public/view_registry.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { InspectorViewRegistry } from './view_registry'; import { InspectorViewDescription } from './types'; diff --git a/src/plugins/inspector/public/view_registry.ts b/src/plugins/inspector/public/view_registry.ts index fdd0ce58655a..ba00c75bcdad 100644 --- a/src/plugins/inspector/public/view_registry.ts +++ b/src/plugins/inspector/public/view_registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EventEmitter } from 'events'; import { InspectorViewDescription } from './types'; import { Adapters } from '../common'; diff --git a/src/plugins/inspector/public/views/data/components/data_table.tsx b/src/plugins/inspector/public/views/data/components/data_table.tsx index efa36b3ae0d6..69066a5cb9c1 100644 --- a/src/plugins/inspector/public/views/data/components/data_table.tsx +++ b/src/plugins/inspector/public/views/data/components/data_table.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import PropTypes from 'prop-types'; diff --git a/src/plugins/inspector/public/views/data/components/data_view.test.tsx b/src/plugins/inspector/public/views/data/components/data_view.test.tsx index 496e34b726e7..a84653978e25 100644 --- a/src/plugins/inspector/public/views/data/components/data_view.test.tsx +++ b/src/plugins/inspector/public/views/data/components/data_view.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { getDataViewDescription } from '../index'; import { DataAdapter } from '../../../../common/adapters/data'; diff --git a/src/plugins/inspector/public/views/data/components/data_view.tsx b/src/plugins/inspector/public/views/data/components/data_view.tsx index fa97f39d18c2..ff242433084b 100644 --- a/src/plugins/inspector/public/views/data/components/data_view.tsx +++ b/src/plugins/inspector/public/views/data/components/data_view.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/inspector/public/views/data/components/download_options.tsx b/src/plugins/inspector/public/views/data/components/download_options.tsx index 508c4e0cb32d..ee0d45fe1af0 100644 --- a/src/plugins/inspector/public/views/data/components/download_options.tsx +++ b/src/plugins/inspector/public/views/data/components/download_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/inspector/public/views/data/index.tsx b/src/plugins/inspector/public/views/data/index.tsx index 1c8e18896ee1..df69a35a34ff 100644 --- a/src/plugins/inspector/public/views/data/index.tsx +++ b/src/plugins/inspector/public/views/data/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/inspector/public/views/data/lib/export_csv.ts b/src/plugins/inspector/public/views/data/lib/export_csv.ts index a2f54f9eef60..64f1b8e64899 100644 --- a/src/plugins/inspector/public/views/data/lib/export_csv.ts +++ b/src/plugins/inspector/public/views/data/lib/export_csv.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { isObject } from 'lodash'; // @ts-ignore diff --git a/src/plugins/inspector/public/views/data/types.ts b/src/plugins/inspector/public/views/data/types.ts index 1eb9f06cd4b5..7c90d3ee4fab 100644 --- a/src/plugins/inspector/public/views/data/types.ts +++ b/src/plugins/inspector/public/views/data/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface DataViewColumn { name: string; field: string; diff --git a/src/plugins/inspector/public/views/index.ts b/src/plugins/inspector/public/views/index.ts index 72038519846d..387ca85d945c 100644 --- a/src/plugins/inspector/public/views/index.ts +++ b/src/plugins/inspector/public/views/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getDataViewDescription } from './data'; export { getRequestsViewDescription } from './requests'; diff --git a/src/plugins/inspector/public/views/requests/components/details/index.ts b/src/plugins/inspector/public/views/requests/components/details/index.ts index 2ab34b662a2d..c24b851fd239 100644 --- a/src/plugins/inspector/public/views/requests/components/details/index.ts +++ b/src/plugins/inspector/public/views/requests/components/details/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { RequestDetailsRequest } from './req_details_request'; export { RequestDetailsResponse } from './req_details_response'; export { RequestDetailsStats } from './req_details_stats'; diff --git a/src/plugins/inspector/public/views/requests/components/details/req_details_request.tsx b/src/plugins/inspector/public/views/requests/components/details/req_details_request.tsx index 5747d1654a01..fe758e128322 100644 --- a/src/plugins/inspector/public/views/requests/components/details/req_details_request.tsx +++ b/src/plugins/inspector/public/views/requests/components/details/req_details_request.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { EuiCodeBlock } from '@elastic/eui'; diff --git a/src/plugins/inspector/public/views/requests/components/details/req_details_response.tsx b/src/plugins/inspector/public/views/requests/components/details/req_details_response.tsx index 2e9af0b3f449..d5cd80ec35e2 100644 --- a/src/plugins/inspector/public/views/requests/components/details/req_details_response.tsx +++ b/src/plugins/inspector/public/views/requests/components/details/req_details_response.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { EuiCodeBlock } from '@elastic/eui'; diff --git a/src/plugins/inspector/public/views/requests/components/details/req_details_stats.tsx b/src/plugins/inspector/public/views/requests/components/details/req_details_stats.tsx index 31ed8379c9e8..eb25f81b286e 100644 --- a/src/plugins/inspector/public/views/requests/components/details/req_details_stats.tsx +++ b/src/plugins/inspector/public/views/requests/components/details/req_details_stats.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { diff --git a/src/plugins/inspector/public/views/requests/components/request_details.tsx b/src/plugins/inspector/public/views/requests/components/request_details.tsx index e7565890d4b2..94cebe33927a 100644 --- a/src/plugins/inspector/public/views/requests/components/request_details.tsx +++ b/src/plugins/inspector/public/views/requests/components/request_details.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/inspector/public/views/requests/components/request_selector.tsx b/src/plugins/inspector/public/views/requests/components/request_selector.tsx index 66dad0e62d72..f3543ad5b6a4 100644 --- a/src/plugins/inspector/public/views/requests/components/request_selector.tsx +++ b/src/plugins/inspector/public/views/requests/components/request_selector.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { FormattedMessage } from '@osd/i18n/react'; import PropTypes from 'prop-types'; diff --git a/src/plugins/inspector/public/views/requests/components/requests_view.tsx b/src/plugins/inspector/public/views/requests/components/requests_view.tsx index 0a70cc2cd3cc..fc63dbbb132b 100644 --- a/src/plugins/inspector/public/views/requests/components/requests_view.tsx +++ b/src/plugins/inspector/public/views/requests/components/requests_view.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/inspector/public/views/requests/components/types.ts b/src/plugins/inspector/public/views/requests/components/types.ts index 772eafc9f408..db4f8b55ee0e 100644 --- a/src/plugins/inspector/public/views/requests/components/types.ts +++ b/src/plugins/inspector/public/views/requests/components/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Request } from '../../../../common/adapters/request/types'; export interface RequestDetailsProps { diff --git a/src/plugins/inspector/public/views/requests/index.ts b/src/plugins/inspector/public/views/requests/index.ts index b28614081571..6b32618a4d98 100644 --- a/src/plugins/inspector/public/views/requests/index.ts +++ b/src/plugins/inspector/public/views/requests/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; import { RequestsViewComponent } from './components/requests_view'; diff --git a/src/plugins/legacy_export/server/index.ts b/src/plugins/legacy_export/server/index.ts index d4bf96328aaa..6550957c1654 100644 --- a/src/plugins/legacy_export/server/index.ts +++ b/src/plugins/legacy_export/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from 'src/core/server'; import { LegacyExportPlugin } from './plugin'; diff --git a/src/plugins/legacy_export/server/lib/export/collect_references_deep.test.ts b/src/plugins/legacy_export/server/lib/export/collect_references_deep.test.ts index 24a386fc16e9..53f801b683c3 100644 --- a/src/plugins/legacy_export/server/lib/export/collect_references_deep.test.ts +++ b/src/plugins/legacy_export/server/lib/export/collect_references_deep.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObject, SavedObjectAttributes } from 'src/core/server'; import { savedObjectsClientMock } from '../../../../../core/server/mocks'; import { collectReferencesDeep } from './collect_references_deep'; diff --git a/src/plugins/legacy_export/server/lib/export/collect_references_deep.ts b/src/plugins/legacy_export/server/lib/export/collect_references_deep.ts index b21cdc491102..321a8f1fdb9f 100644 --- a/src/plugins/legacy_export/server/lib/export/collect_references_deep.ts +++ b/src/plugins/legacy_export/server/lib/export/collect_references_deep.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObject, SavedObjectsClientContract } from 'src/core/server'; const MAX_BULK_GET_SIZE = 10000; diff --git a/src/plugins/legacy_export/server/lib/export/export_dashboards.ts b/src/plugins/legacy_export/server/lib/export/export_dashboards.ts index 0419da305487..15b0847dd44b 100644 --- a/src/plugins/legacy_export/server/lib/export/export_dashboards.ts +++ b/src/plugins/legacy_export/server/lib/export/export_dashboards.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsClientContract } from 'src/core/server'; import { collectReferencesDeep } from './collect_references_deep'; diff --git a/src/plugins/legacy_export/server/lib/import/import_dashboards.test.ts b/src/plugins/legacy_export/server/lib/import/import_dashboards.test.ts index ace34751afab..a014c3867a77 100644 --- a/src/plugins/legacy_export/server/lib/import/import_dashboards.test.ts +++ b/src/plugins/legacy_export/server/lib/import/import_dashboards.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { savedObjectsClientMock } from '../../../../../core/server/mocks'; import { SavedObject } from '../../../../../core/server'; import { importDashboards } from './import_dashboards'; diff --git a/src/plugins/legacy_export/server/lib/import/import_dashboards.ts b/src/plugins/legacy_export/server/lib/import/import_dashboards.ts index 474f8cc6d379..6cb3b3e3b8b1 100644 --- a/src/plugins/legacy_export/server/lib/import/import_dashboards.ts +++ b/src/plugins/legacy_export/server/lib/import/import_dashboards.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObject, SavedObjectsClientContract } from 'src/core/server'; export async function importDashboards( diff --git a/src/plugins/legacy_export/server/lib/index.ts b/src/plugins/legacy_export/server/lib/index.ts index d8cfef4dc333..47ca22bf36be 100644 --- a/src/plugins/legacy_export/server/lib/index.ts +++ b/src/plugins/legacy_export/server/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { exportDashboards } from './export/export_dashboards'; export { importDashboards } from './import/import_dashboards'; diff --git a/src/plugins/legacy_export/server/plugin.ts b/src/plugins/legacy_export/server/plugin.ts index b690606abdc7..aec7689e9a23 100644 --- a/src/plugins/legacy_export/server/plugin.ts +++ b/src/plugins/legacy_export/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreSetup, PluginInitializerContext } from 'opensearch-dashboards/server'; import { first } from 'rxjs/operators'; import { registerRoutes } from './routes'; diff --git a/src/plugins/legacy_export/server/routes/export.ts b/src/plugins/legacy_export/server/routes/export.ts index 37ae9146b130..84e3ab5f994b 100644 --- a/src/plugins/legacy_export/server/routes/export.ts +++ b/src/plugins/legacy_export/server/routes/export.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { schema } from '@osd/config-schema'; import { IRouter } from 'src/core/server'; diff --git a/src/plugins/legacy_export/server/routes/import.ts b/src/plugins/legacy_export/server/routes/import.ts index aa9124939d08..90bed55de6e9 100644 --- a/src/plugins/legacy_export/server/routes/import.ts +++ b/src/plugins/legacy_export/server/routes/import.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { IRouter, SavedObject } from 'src/core/server'; import { importDashboards } from '../lib'; diff --git a/src/plugins/legacy_export/server/routes/index.ts b/src/plugins/legacy_export/server/routes/index.ts index 7b36194540d2..eef15095d70e 100644 --- a/src/plugins/legacy_export/server/routes/index.ts +++ b/src/plugins/legacy_export/server/routes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IRouter } from 'src/core/server'; import { registerImportRoute } from './import'; import { registerExportRoute } from './export'; diff --git a/src/plugins/management/common/contants.ts b/src/plugins/management/common/contants.ts index eee995f00dc9..47e418fc620f 100644 --- a/src/plugins/management/common/contants.ts +++ b/src/plugins/management/common/contants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const MANAGEMENT_APP_ID = 'management'; diff --git a/src/plugins/management/public/application.tsx b/src/plugins/management/public/application.tsx index 328908054c90..bcd33b502598 100644 --- a/src/plugins/management/public/application.tsx +++ b/src/plugins/management/public/application.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; diff --git a/src/plugins/management/public/components/index.ts b/src/plugins/management/public/components/index.ts index 397d55da0e42..8e6a93896f2f 100644 --- a/src/plugins/management/public/components/index.ts +++ b/src/plugins/management/public/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ManagementApp } from './management_app'; diff --git a/src/plugins/management/public/components/landing/index.ts b/src/plugins/management/public/components/landing/index.ts index 01af9ad24cb7..1f42219c240a 100644 --- a/src/plugins/management/public/components/landing/index.ts +++ b/src/plugins/management/public/components/landing/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ManagementLandingPage } from './landing'; diff --git a/src/plugins/management/public/components/landing/landing.tsx b/src/plugins/management/public/components/landing/landing.tsx index 577e64318bc0..1ef25934d103 100644 --- a/src/plugins/management/public/components/landing/landing.tsx +++ b/src/plugins/management/public/components/landing/landing.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/management/public/components/management_app/index.ts b/src/plugins/management/public/components/management_app/index.ts index 05131a85cb6b..11976b9f9e7d 100644 --- a/src/plugins/management/public/components/management_app/index.ts +++ b/src/plugins/management/public/components/management_app/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ManagementApp, ManagementAppDependencies } from './management_app'; diff --git a/src/plugins/management/public/components/management_app/management_app.tsx b/src/plugins/management/public/components/management_app/management_app.tsx index 1edf26fb530f..b2109ceb08ca 100644 --- a/src/plugins/management/public/components/management_app/management_app.tsx +++ b/src/plugins/management/public/components/management_app/management_app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useState, useEffect, useCallback } from 'react'; import { AppMountParameters, ChromeBreadcrumb, ScopedHistory } from 'opensearch-dashboards/public'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/management/public/components/management_app/management_router.tsx b/src/plugins/management/public/components/management_app/management_router.tsx index dcdbabf5f9a8..809c4fa2be3a 100644 --- a/src/plugins/management/public/components/management_app/management_router.tsx +++ b/src/plugins/management/public/components/management_app/management_router.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { memo } from 'react'; import { Route, Router, Switch } from 'react-router-dom'; import { EuiPageBody } from '@elastic/eui'; diff --git a/src/plugins/management/public/components/management_app_wrapper/index.tsx b/src/plugins/management/public/components/management_app_wrapper/index.tsx index 17d648e625b0..f8e722521c0b 100644 --- a/src/plugins/management/public/components/management_app_wrapper/index.tsx +++ b/src/plugins/management/public/components/management_app_wrapper/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ManagementAppWrapper } from './management_app_wrapper'; diff --git a/src/plugins/management/public/components/management_app_wrapper/management_app_wrapper.tsx b/src/plugins/management/public/components/management_app_wrapper/management_app_wrapper.tsx index 12bd56057f07..1fa6d320e531 100644 --- a/src/plugins/management/public/components/management_app_wrapper/management_app_wrapper.tsx +++ b/src/plugins/management/public/components/management_app_wrapper/management_app_wrapper.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { createRef, Component } from 'react'; import { ChromeBreadcrumb, AppMountParameters, ScopedHistory } from 'opensearch-dashboards/public'; diff --git a/src/plugins/management/public/components/management_sections.tsx b/src/plugins/management/public/components/management_sections.tsx index 5ee5774c1ea2..8360c4be8902 100644 --- a/src/plugins/management/public/components/management_sections.tsx +++ b/src/plugins/management/public/components/management_sections.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ManagementSectionId } from '../types'; diff --git a/src/plugins/management/public/components/management_sidebar_nav/index.ts b/src/plugins/management/public/components/management_sidebar_nav/index.ts index cbc2c8e3ea1b..b06a71752484 100644 --- a/src/plugins/management/public/components/management_sidebar_nav/index.ts +++ b/src/plugins/management/public/components/management_sidebar_nav/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ManagementSidebarNav } from './management_sidebar_nav'; diff --git a/src/plugins/management/public/components/management_sidebar_nav/management_sidebar_nav.tsx b/src/plugins/management/public/components/management_sidebar_nav/management_sidebar_nav.tsx index a2dfe110fb1b..bb99481fb2b5 100644 --- a/src/plugins/management/public/components/management_sidebar_nav/management_sidebar_nav.tsx +++ b/src/plugins/management/public/components/management_sidebar_nav/management_sidebar_nav.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState } from 'react'; import { i18n } from '@osd/i18n'; import { sortBy } from 'lodash'; diff --git a/src/plugins/management/public/index.ts b/src/plugins/management/public/index.ts index 5774e4d6d7a3..9bf982dfda42 100644 --- a/src/plugins/management/public/index.ts +++ b/src/plugins/management/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { ManagementPlugin } from './plugin'; diff --git a/src/plugins/management/public/management_sections_service.test.ts b/src/plugins/management/public/management_sections_service.test.ts index 8b243ef3e735..8f969bce8996 100644 --- a/src/plugins/management/public/management_sections_service.test.ts +++ b/src/plugins/management/public/management_sections_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ManagementSectionsService, getSectionsServiceStartPrivate, diff --git a/src/plugins/management/public/management_sections_service.ts b/src/plugins/management/public/management_sections_service.ts index 3ac209202c0f..81b8c7ac24af 100644 --- a/src/plugins/management/public/management_sections_service.ts +++ b/src/plugins/management/public/management_sections_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ManagementSection, RegisterManagementSectionArgs } from './utils'; import { IngestSection, diff --git a/src/plugins/management/public/mocks/index.ts b/src/plugins/management/public/mocks/index.ts index 99ae2a2f732b..447c9fcccbdc 100644 --- a/src/plugins/management/public/mocks/index.ts +++ b/src/plugins/management/public/mocks/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ManagementSetup, ManagementStart, DefinedSections } from '../types'; import { ManagementSection } from '../index'; diff --git a/src/plugins/management/public/plugin.ts b/src/plugins/management/public/plugin.ts index 7e947edd94b2..45e3cbf5064d 100644 --- a/src/plugins/management/public/plugin.ts +++ b/src/plugins/management/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { BehaviorSubject } from 'rxjs'; import { ManagementSetup, ManagementStart } from './types'; diff --git a/src/plugins/management/public/types.ts b/src/plugins/management/public/types.ts index fb8dd294e212..a00d409da8c9 100644 --- a/src/plugins/management/public/types.ts +++ b/src/plugins/management/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ScopedHistory, Capabilities } from 'opensearch-dashboards/public'; import { ManagementSection, RegisterManagementSectionArgs } from './utils'; import { ChromeBreadcrumb } from '../../../core/public/'; diff --git a/src/plugins/management/public/utils/breadcrumbs.ts b/src/plugins/management/public/utils/breadcrumbs.ts index 4bea2fda51dd..f2c572b60932 100644 --- a/src/plugins/management/public/utils/breadcrumbs.ts +++ b/src/plugins/management/public/utils/breadcrumbs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; export const MANAGEMENT_BREADCRUMB = { diff --git a/src/plugins/management/public/utils/index.ts b/src/plugins/management/public/utils/index.ts index a937adce6f91..855805eb7ea0 100644 --- a/src/plugins/management/public/utils/index.ts +++ b/src/plugins/management/public/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { MANAGEMENT_BREADCRUMB } from './breadcrumbs'; export { ManagementApp, RegisterManagementAppArgs } from './management_app'; export { ManagementSection, RegisterManagementSectionArgs } from './management_section'; diff --git a/src/plugins/management/public/utils/management_app.ts b/src/plugins/management/public/utils/management_app.ts index 01368a4fa79d..147b25380071 100644 --- a/src/plugins/management/public/utils/management_app.ts +++ b/src/plugins/management/public/utils/management_app.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CreateManagementItemArgs, Mount } from '../types'; import { ManagementItem } from './management_item'; diff --git a/src/plugins/management/public/utils/management_item.ts b/src/plugins/management/public/utils/management_item.ts index 004f335b319d..aa9ad45064ed 100644 --- a/src/plugins/management/public/utils/management_item.ts +++ b/src/plugins/management/public/utils/management_item.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CreateManagementItemArgs } from '../types'; export class ManagementItem { diff --git a/src/plugins/management/public/utils/management_section.test.ts b/src/plugins/management/public/utils/management_section.test.ts index 505b130cb032..2bc28c3e851e 100644 --- a/src/plugins/management/public/utils/management_section.test.ts +++ b/src/plugins/management/public/utils/management_section.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ManagementSection, RegisterManagementSectionArgs } from './management_section'; describe('ManagementSection', () => { diff --git a/src/plugins/management/public/utils/management_section.ts b/src/plugins/management/public/utils/management_section.ts index fa8ed62e7c29..6ac9eee4afed 100644 --- a/src/plugins/management/public/utils/management_section.ts +++ b/src/plugins/management/public/utils/management_section.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Assign } from '@osd/utility-types'; import { CreateManagementItemArgs, ManagementSectionId } from '../types'; import { ManagementItem } from './management_item'; diff --git a/src/plugins/management/server/capabilities_provider.ts b/src/plugins/management/server/capabilities_provider.ts index 7c8b4c602f0f..e3df4e02c682 100644 --- a/src/plugins/management/server/capabilities_provider.ts +++ b/src/plugins/management/server/capabilities_provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const capabilitiesProvider = () => ({ management: { /* diff --git a/src/plugins/management/server/index.ts b/src/plugins/management/server/index.ts index ae5cde38dd1c..9a09c766f2ed 100644 --- a/src/plugins/management/server/index.ts +++ b/src/plugins/management/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/server'; import { ManagementServerPlugin } from './plugin'; diff --git a/src/plugins/management/server/plugin.ts b/src/plugins/management/server/plugin.ts index ed9e01d23b64..50034fcc12e0 100644 --- a/src/plugins/management/server/plugin.ts +++ b/src/plugins/management/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, CoreSetup, diff --git a/src/plugins/maps_legacy/config.ts b/src/plugins/maps_legacy/config.ts index bacd342896b5..88de91170329 100644 --- a/src/plugins/maps_legacy/config.ts +++ b/src/plugins/maps_legacy/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; import { configSchema as tilemapSchema } from '../tile_map/config'; import { configSchema as regionmapSchema } from '../region_map/config'; diff --git a/src/plugins/maps_legacy/public/common/constants/origin.ts b/src/plugins/maps_legacy/public/common/constants/origin.ts index 1a318226e3fa..d14ae58810db 100644 --- a/src/plugins/maps_legacy/public/common/constants/origin.ts +++ b/src/plugins/maps_legacy/public/common/constants/origin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const ORIGIN = { // TODO: Rename EMS EMS: 'elastic_maps_service', diff --git a/src/plugins/maps_legacy/public/common/opensearch_maps_client.js b/src/plugins/maps_legacy/public/common/opensearch_maps_client.js index 72379555ea41..7214bccb0e15 100644 --- a/src/plugins/maps_legacy/public/common/opensearch_maps_client.js +++ b/src/plugins/maps_legacy/public/common/opensearch_maps_client.js @@ -1,9 +1,6 @@ /* + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 - * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. */ import { EMSClient } from '@elastic/ems-client'; diff --git a/src/plugins/maps_legacy/public/common/types/external_basemap_types.ts b/src/plugins/maps_legacy/public/common/types/external_basemap_types.ts index 9938159ccb67..28be27a9bcf9 100644 --- a/src/plugins/maps_legacy/public/common/types/external_basemap_types.ts +++ b/src/plugins/maps_legacy/public/common/types/external_basemap_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TmsLayer } from '../../index'; import { MapTypes } from './map_types'; diff --git a/src/plugins/maps_legacy/public/common/types/index.ts b/src/plugins/maps_legacy/public/common/types/index.ts index e2f9b0082eaf..45639b20e6cc 100644 --- a/src/plugins/maps_legacy/public/common/types/index.ts +++ b/src/plugins/maps_legacy/public/common/types/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Use * syntax so that these exports do not break when internal * types are stripped. diff --git a/src/plugins/maps_legacy/public/common/types/map_types.ts b/src/plugins/maps_legacy/public/common/types/map_types.ts index 4af59a2e3010..3335d7d4a986 100644 --- a/src/plugins/maps_legacy/public/common/types/map_types.ts +++ b/src/plugins/maps_legacy/public/common/types/map_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export enum MapTypes { ScaledCircleMarkers = 'Scaled Circle Markers', ShadedCircleMarkers = 'Shaded Circle Markers', diff --git a/src/plugins/maps_legacy/public/common/types/region_map_types.ts b/src/plugins/maps_legacy/public/common/types/region_map_types.ts index a7f55623b19a..58efaae5f640 100644 --- a/src/plugins/maps_legacy/public/common/types/region_map_types.ts +++ b/src/plugins/maps_legacy/public/common/types/region_map_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { VectorLayer, FileLayerField } from '../../index'; import { WMSOptions } from './external_basemap_types'; diff --git a/src/plugins/maps_legacy/public/components/wms_internal_options.tsx b/src/plugins/maps_legacy/public/components/wms_internal_options.tsx index dea10cef8621..a388e0608234 100644 --- a/src/plugins/maps_legacy/public/components/wms_internal_options.tsx +++ b/src/plugins/maps_legacy/public/components/wms_internal_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiLink, EuiSpacer, EuiText, EuiScreenReaderOnly } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/maps_legacy/public/components/wms_options.tsx b/src/plugins/maps_legacy/public/components/wms_options.tsx index 4e6e980e9207..e90c025f98f7 100644 --- a/src/plugins/maps_legacy/public/components/wms_options.tsx +++ b/src/plugins/maps_legacy/public/components/wms_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useMemo } from 'react'; import { EuiPanel, EuiSpacer, EuiTitle } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/maps_legacy/public/get_service_settings.ts b/src/plugins/maps_legacy/public/get_service_settings.ts index 84ffb339639f..10083efd338c 100644 --- a/src/plugins/maps_legacy/public/get_service_settings.ts +++ b/src/plugins/maps_legacy/public/get_service_settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { lazyLoadMapsLegacyModules } from './lazy_load_bundle'; // @ts-expect-error import { getMapsLegacyConfig } from './opensearch_dashboards_services'; diff --git a/src/plugins/maps_legacy/public/index.ts b/src/plugins/maps_legacy/public/index.ts index 00853f2ea1e9..25be07dc3ca1 100644 --- a/src/plugins/maps_legacy/public/index.ts +++ b/src/plugins/maps_legacy/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { MapsLegacyPlugin } from './plugin'; diff --git a/src/plugins/maps_legacy/public/lazy_load_bundle/index.ts b/src/plugins/maps_legacy/public/lazy_load_bundle/index.ts index c4da50a660d0..95ec9346c30d 100644 --- a/src/plugins/maps_legacy/public/lazy_load_bundle/index.ts +++ b/src/plugins/maps_legacy/public/lazy_load_bundle/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - let loadModulesPromise: Promise; interface LazyLoadedMapsLegacyModules { diff --git a/src/plugins/maps_legacy/public/lazy_load_bundle/lazy/index.ts b/src/plugins/maps_legacy/public/lazy_load_bundle/lazy/index.ts index 24a97724ad6e..f8647ed9c4b9 100644 --- a/src/plugins/maps_legacy/public/lazy_load_bundle/lazy/index.ts +++ b/src/plugins/maps_legacy/public/lazy_load_bundle/lazy/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-expect-error export { OpenSearchDashboardsMap } from '../../map/opensearch_dashboards_map'; // @ts-expect-error diff --git a/src/plugins/maps_legacy/public/leaflet.js b/src/plugins/maps_legacy/public/leaflet.js index 706b08d59416..31aac5f93b48 100644 --- a/src/plugins/maps_legacy/public/leaflet.js +++ b/src/plugins/maps_legacy/public/leaflet.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - if (!window.hasOwnProperty('L')) { require('leaflet/dist/leaflet.css'); window.L = require('leaflet/dist/leaflet.js'); diff --git a/src/plugins/maps_legacy/public/map/base_maps_visualization.js b/src/plugins/maps_legacy/public/map/base_maps_visualization.js index 079fc15ee7f6..b639fdf9bb7f 100644 --- a/src/plugins/maps_legacy/public/map/base_maps_visualization.js +++ b/src/plugins/maps_legacy/public/map/base_maps_visualization.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import * as Rx from 'rxjs'; import { filter, first } from 'rxjs/operators'; diff --git a/src/plugins/maps_legacy/public/map/color_util.js b/src/plugins/maps_legacy/public/map/color_util.js index b6f55c67ba6c..0a5f1724af6d 100644 --- a/src/plugins/maps_legacy/public/map/color_util.js +++ b/src/plugins/maps_legacy/public/map/color_util.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function getLegendColors(colorRamp, numLegendColors = 4) { const colors = []; colors[0] = getColor(colorRamp, 0); diff --git a/src/plugins/maps_legacy/public/map/convert_to_geojson.js b/src/plugins/maps_legacy/public/map/convert_to_geojson.js index 0fd8d08dba41..00ea1acea7c4 100644 --- a/src/plugins/maps_legacy/public/map/convert_to_geojson.js +++ b/src/plugins/maps_legacy/public/map/convert_to_geojson.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { decodeGeoHash } from './decode_geo_hash'; import { gridDimensions } from './grid_dimensions'; diff --git a/src/plugins/maps_legacy/public/map/decode_geo_hash.test.ts b/src/plugins/maps_legacy/public/map/decode_geo_hash.test.ts index f3dbf0011858..027f12c49e63 100644 --- a/src/plugins/maps_legacy/public/map/decode_geo_hash.test.ts +++ b/src/plugins/maps_legacy/public/map/decode_geo_hash.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { geohashColumns, decodeGeoHash } from './decode_geo_hash'; test('geohashColumns', () => { diff --git a/src/plugins/maps_legacy/public/map/decode_geo_hash.ts b/src/plugins/maps_legacy/public/map/decode_geo_hash.ts index 4c714b28ba8d..cbe218dda668 100644 --- a/src/plugins/maps_legacy/public/map/decode_geo_hash.ts +++ b/src/plugins/maps_legacy/public/map/decode_geo_hash.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - interface DecodedGeoHash { latitude: number[]; longitude: number[]; diff --git a/src/plugins/maps_legacy/public/map/grid_dimensions.js b/src/plugins/maps_legacy/public/map/grid_dimensions.js index 369eb02cfc39..9ed969cca255 100644 --- a/src/plugins/maps_legacy/public/map/grid_dimensions.js +++ b/src/plugins/maps_legacy/public/map/grid_dimensions.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // geohash precision mapping of geohash grid cell dimensions (width x height, in meters) at equator. // https://opensearch.org/docs/latest/opensearch/bucket-agg/#geo_distance-geohash_grid const gridAtEquator = { diff --git a/src/plugins/maps_legacy/public/map/map_messages.js b/src/plugins/maps_legacy/public/map/map_messages.js index 7a580681d0af..bce3220a5dc3 100644 --- a/src/plugins/maps_legacy/public/map/map_messages.js +++ b/src/plugins/maps_legacy/public/map/map_messages.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable react/no-multi-comp */ import React, { Fragment } from 'react'; import ReactDOM from 'react-dom'; diff --git a/src/plugins/maps_legacy/public/map/opensearch_dashboards_map.js b/src/plugins/maps_legacy/public/map/opensearch_dashboards_map.js index 0824c9c62c14..0031d99fc0fe 100644 --- a/src/plugins/maps_legacy/public/map/opensearch_dashboards_map.js +++ b/src/plugins/maps_legacy/public/map/opensearch_dashboards_map.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EventEmitter } from 'events'; import { createZoomWarningMsg, diff --git a/src/plugins/maps_legacy/public/map/opensearch_dashboards_map_layer.js b/src/plugins/maps_legacy/public/map/opensearch_dashboards_map_layer.js index b8929d7281ed..2395a1568980 100644 --- a/src/plugins/maps_legacy/public/map/opensearch_dashboards_map_layer.js +++ b/src/plugins/maps_legacy/public/map/opensearch_dashboards_map_layer.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EventEmitter } from 'events'; export class OpenSearchDashboardsMapLayer extends EventEmitter { diff --git a/src/plugins/maps_legacy/public/map/precision.ts b/src/plugins/maps_legacy/public/map/precision.ts index 21115bd1b81b..f74859d65b8e 100644 --- a/src/plugins/maps_legacy/public/map/precision.ts +++ b/src/plugins/maps_legacy/public/map/precision.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore import { getUiSettings } from '../opensearch_dashboards_services'; import { geohashColumns } from './decode_geo_hash'; diff --git a/src/plugins/maps_legacy/public/map/service_settings.js b/src/plugins/maps_legacy/public/map/service_settings.js index 5b256a10cfa4..9e2d6296d548 100644 --- a/src/plugins/maps_legacy/public/map/service_settings.js +++ b/src/plugins/maps_legacy/public/map/service_settings.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import MarkdownIt from 'markdown-it'; import { EMSClient } from '@elastic/ems-client'; diff --git a/src/plugins/maps_legacy/public/map/service_settings.test.js b/src/plugins/maps_legacy/public/map/service_settings.test.js index 661fc167dc4a..5e4affbf2e7c 100644 --- a/src/plugins/maps_legacy/public/map/service_settings.test.js +++ b/src/plugins/maps_legacy/public/map/service_settings.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('../opensearch_dashboards_services', () => ({ getOpenSearchDashboardsVersion() { return '1.2.3'; diff --git a/src/plugins/maps_legacy/public/map/service_settings_types.ts b/src/plugins/maps_legacy/public/map/service_settings_types.ts index 6363874848c1..0c6eb69eb573 100644 --- a/src/plugins/maps_legacy/public/map/service_settings_types.ts +++ b/src/plugins/maps_legacy/public/map/service_settings_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface TmsLayer { id: string; origin: string; diff --git a/src/plugins/maps_legacy/public/map/zoom_to_precision.ts b/src/plugins/maps_legacy/public/map/zoom_to_precision.ts index a6f742f9c3e5..9a4f53c64c98 100644 --- a/src/plugins/maps_legacy/public/map/zoom_to_precision.ts +++ b/src/plugins/maps_legacy/public/map/zoom_to_precision.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { geohashColumns } from './decode_geo_hash'; const defaultMaxPrecision = 12; diff --git a/src/plugins/maps_legacy/public/opensearch_dashboards_services.js b/src/plugins/maps_legacy/public/opensearch_dashboards_services.js index ed912d9573f0..3dab00a76d8c 100644 --- a/src/plugins/maps_legacy/public/opensearch_dashboards_services.js +++ b/src/plugins/maps_legacy/public/opensearch_dashboards_services.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - let toast; export const setToasts = (notificationToast) => (toast = notificationToast); export const getToasts = () => toast; diff --git a/src/plugins/maps_legacy/public/plugin.ts b/src/plugins/maps_legacy/public/plugin.ts index fd3f6d0d9c94..6b2231e74d35 100644 --- a/src/plugins/maps_legacy/public/plugin.ts +++ b/src/plugins/maps_legacy/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore import { CoreSetup, diff --git a/src/plugins/maps_legacy/public/tooltip_provider.js b/src/plugins/maps_legacy/public/tooltip_provider.js index 439c5a50ae8b..183e194aa887 100644 --- a/src/plugins/maps_legacy/public/tooltip_provider.js +++ b/src/plugins/maps_legacy/public/tooltip_provider.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOMServer from 'react-dom/server'; diff --git a/src/plugins/maps_legacy/server/index.ts b/src/plugins/maps_legacy/server/index.ts index 6c9b06e491c5..612c8be9745a 100644 --- a/src/plugins/maps_legacy/server/index.ts +++ b/src/plugins/maps_legacy/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, PluginConfigDescriptor } from 'opensearch-dashboards/server'; import { CoreSetup, PluginInitializerContext } from 'src/core/server'; import { Observable } from 'rxjs'; diff --git a/src/plugins/maps_legacy/server/ui_settings.ts b/src/plugins/maps_legacy/server/ui_settings.ts index c762d4db2e35..bb9602ace766 100644 --- a/src/plugins/maps_legacy/server/ui_settings.ts +++ b/src/plugins/maps_legacy/server/ui_settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { UiSettingsParams } from 'opensearch-dashboards/server'; import { schema } from '@osd/config-schema'; diff --git a/src/plugins/navigation/public/index.ts b/src/plugins/navigation/public/index.ts index 97bcbea1ad8f..c409f066730e 100644 --- a/src/plugins/navigation/public/index.ts +++ b/src/plugins/navigation/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index.scss'; import { PluginInitializerContext } from '../../../core/public'; diff --git a/src/plugins/navigation/public/mocks.ts b/src/plugins/navigation/public/mocks.ts index b5ff48ae3eea..3c80117b9e7e 100644 --- a/src/plugins/navigation/public/mocks.ts +++ b/src/plugins/navigation/public/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Plugin } from '.'; export type Setup = jest.Mocked>; diff --git a/src/plugins/navigation/public/plugin.ts b/src/plugins/navigation/public/plugin.ts index 188e7dfbae75..031fdb5153ae 100644 --- a/src/plugins/navigation/public/plugin.ts +++ b/src/plugins/navigation/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, CoreSetup, CoreStart, Plugin } from 'src/core/public'; import { NavigationPublicPluginSetup, diff --git a/src/plugins/navigation/public/top_nav_menu/create_top_nav_menu.tsx b/src/plugins/navigation/public/top_nav_menu/create_top_nav_menu.tsx index 1937b8b9183b..dc4ce63e514a 100644 --- a/src/plugins/navigation/public/top_nav_menu/create_top_nav_menu.tsx +++ b/src/plugins/navigation/public/top_nav_menu/create_top_nav_menu.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { I18nStart } from 'opensearch-dashboards/public'; import { DataPublicPluginStart } from 'src/plugins/data/public'; diff --git a/src/plugins/navigation/public/top_nav_menu/index.ts b/src/plugins/navigation/public/top_nav_menu/index.ts index 69e3fa8140aa..fdbf95b95c21 100644 --- a/src/plugins/navigation/public/top_nav_menu/index.ts +++ b/src/plugins/navigation/public/top_nav_menu/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createTopNav } from './create_top_nav_menu'; export { TopNavMenu, TopNavMenuProps } from './top_nav_menu'; export { TopNavMenuData } from './top_nav_menu_data'; diff --git a/src/plugins/navigation/public/top_nav_menu/top_nav_menu.test.tsx b/src/plugins/navigation/public/top_nav_menu/top_nav_menu.test.tsx index ebe57bfb0314..d4dbd4c9f5ef 100644 --- a/src/plugins/navigation/public/top_nav_menu/top_nav_menu.test.tsx +++ b/src/plugins/navigation/public/top_nav_menu/top_nav_menu.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { ReactWrapper } from 'enzyme'; import { act } from 'react-dom/test-utils'; diff --git a/src/plugins/navigation/public/top_nav_menu/top_nav_menu.tsx b/src/plugins/navigation/public/top_nav_menu/top_nav_menu.tsx index 108572ace430..bddea070fd12 100644 --- a/src/plugins/navigation/public/top_nav_menu/top_nav_menu.tsx +++ b/src/plugins/navigation/public/top_nav_menu/top_nav_menu.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ReactElement } from 'react'; import { EuiHeaderLinks } from '@elastic/eui'; import classNames from 'classnames'; diff --git a/src/plugins/navigation/public/top_nav_menu/top_nav_menu_data.tsx b/src/plugins/navigation/public/top_nav_menu/top_nav_menu_data.tsx index bb134070d7b2..b8cb2a5170e7 100644 --- a/src/plugins/navigation/public/top_nav_menu/top_nav_menu_data.tsx +++ b/src/plugins/navigation/public/top_nav_menu/top_nav_menu_data.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiButtonProps } from '@elastic/eui'; export type TopNavMenuAction = (anchorElement: HTMLElement) => void; diff --git a/src/plugins/navigation/public/top_nav_menu/top_nav_menu_extensions_registry.ts b/src/plugins/navigation/public/top_nav_menu/top_nav_menu_extensions_registry.ts index 3c313efccdb7..214da7f72dfd 100644 --- a/src/plugins/navigation/public/top_nav_menu/top_nav_menu_extensions_registry.ts +++ b/src/plugins/navigation/public/top_nav_menu/top_nav_menu_extensions_registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { RegisteredTopNavMenuData } from './top_nav_menu_data'; export class TopNavMenuExtensionsRegistry { diff --git a/src/plugins/navigation/public/top_nav_menu/top_nav_menu_item.test.tsx b/src/plugins/navigation/public/top_nav_menu/top_nav_menu_item.test.tsx index 1c6343d1b0fc..7e759d2a6c09 100644 --- a/src/plugins/navigation/public/top_nav_menu/top_nav_menu_item.test.tsx +++ b/src/plugins/navigation/public/top_nav_menu/top_nav_menu_item.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { TopNavMenuItem } from './top_nav_menu_item'; import { TopNavMenuData } from './top_nav_menu_data'; diff --git a/src/plugins/navigation/public/top_nav_menu/top_nav_menu_item.tsx b/src/plugins/navigation/public/top_nav_menu/top_nav_menu_item.tsx index 49a68459c4a0..7f987d937b96 100644 --- a/src/plugins/navigation/public/top_nav_menu/top_nav_menu_item.tsx +++ b/src/plugins/navigation/public/top_nav_menu/top_nav_menu_item.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { upperFirst, isFunction } from 'lodash'; import React, { MouseEvent } from 'react'; import { EuiToolTip, EuiButton, EuiHeaderLink } from '@elastic/eui'; diff --git a/src/plugins/navigation/public/types.ts b/src/plugins/navigation/public/types.ts index c075dcdd7a04..89b0a3ca6322 100644 --- a/src/plugins/navigation/public/types.ts +++ b/src/plugins/navigation/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TopNavMenuProps, TopNavMenuExtensionsRegistrySetup } from './top_nav_menu'; import { DataPublicPluginStart } from '../../data/public'; diff --git a/src/plugins/newsfeed/common/constants.ts b/src/plugins/newsfeed/common/constants.ts index 5f14c0d40d22..4623e53b265d 100644 --- a/src/plugins/newsfeed/common/constants.ts +++ b/src/plugins/newsfeed/common/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const NEWSFEED_FALLBACK_LANGUAGE = 'en'; export const NEWSFEED_FALLBACK_FETCH_INTERVAL = 86400000; // 1 day export const NEWSFEED_FALLBACK_MAIN_INTERVAL = 120000; // 2 minutes diff --git a/src/plugins/newsfeed/public/components/empty_news.test.tsx b/src/plugins/newsfeed/public/components/empty_news.test.tsx index d432d3d862c0..299838be84ab 100644 --- a/src/plugins/newsfeed/public/components/empty_news.test.tsx +++ b/src/plugins/newsfeed/public/components/empty_news.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { shallow } from 'enzyme'; import toJson from 'enzyme-to-json'; diff --git a/src/plugins/newsfeed/public/components/empty_news.tsx b/src/plugins/newsfeed/public/components/empty_news.tsx index 06ec7cf0e37e..2a22cfde3799 100644 --- a/src/plugins/newsfeed/public/components/empty_news.tsx +++ b/src/plugins/newsfeed/public/components/empty_news.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/plugins/newsfeed/public/components/flyout_list.tsx b/src/plugins/newsfeed/public/components/flyout_list.tsx index 966e9bb878fd..501a9b53607f 100644 --- a/src/plugins/newsfeed/public/components/flyout_list.tsx +++ b/src/plugins/newsfeed/public/components/flyout_list.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/plugins/newsfeed/public/components/loading_news.test.tsx b/src/plugins/newsfeed/public/components/loading_news.test.tsx index 54cc19142ae7..b51e395db527 100644 --- a/src/plugins/newsfeed/public/components/loading_news.test.tsx +++ b/src/plugins/newsfeed/public/components/loading_news.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { shallow } from 'enzyme'; import toJson from 'enzyme-to-json'; diff --git a/src/plugins/newsfeed/public/components/loading_news.tsx b/src/plugins/newsfeed/public/components/loading_news.tsx index 18617ab323fa..660654cf9d67 100644 --- a/src/plugins/newsfeed/public/components/loading_news.tsx +++ b/src/plugins/newsfeed/public/components/loading_news.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/plugins/newsfeed/public/components/newsfeed_header_nav_button.tsx b/src/plugins/newsfeed/public/components/newsfeed_header_nav_button.tsx index 3acbd26476d3..5c822dc42ce4 100644 --- a/src/plugins/newsfeed/public/components/newsfeed_header_nav_button.tsx +++ b/src/plugins/newsfeed/public/components/newsfeed_header_nav_button.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* diff --git a/src/plugins/newsfeed/public/index.ts b/src/plugins/newsfeed/public/index.ts index d22b7fc841de..7feaa0c96e3d 100644 --- a/src/plugins/newsfeed/public/index.ts +++ b/src/plugins/newsfeed/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'src/core/public'; import { NewsfeedPublicPluginSetup, diff --git a/src/plugins/newsfeed/public/lib/api.test.ts b/src/plugins/newsfeed/public/lib/api.test.ts index 65cc2b88718d..80b090030fd6 100644 --- a/src/plugins/newsfeed/public/lib/api.test.ts +++ b/src/plugins/newsfeed/public/lib/api.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { take, tap, toArray } from 'rxjs/operators'; import { interval, race } from 'rxjs'; import sinon, { stub } from 'sinon'; diff --git a/src/plugins/newsfeed/public/lib/api.ts b/src/plugins/newsfeed/public/lib/api.ts index ac1d60a65b5a..850998e97451 100644 --- a/src/plugins/newsfeed/public/lib/api.ts +++ b/src/plugins/newsfeed/public/lib/api.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import moment from 'moment'; import uuid from 'uuid'; diff --git a/src/plugins/newsfeed/public/plugin.tsx b/src/plugins/newsfeed/public/plugin.tsx index e46bc5e1c476..6636ea3fbde0 100644 --- a/src/plugins/newsfeed/public/plugin.tsx +++ b/src/plugins/newsfeed/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as Rx from 'rxjs'; import { catchError, takeUntil, share } from 'rxjs/operators'; import ReactDOM from 'react-dom'; diff --git a/src/plugins/newsfeed/public/types.ts b/src/plugins/newsfeed/public/types.ts index 5c62e9a2e93c..25488111eb4a 100644 --- a/src/plugins/newsfeed/public/types.ts +++ b/src/plugins/newsfeed/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Duration, Moment } from 'moment'; // Ideally, we may want to obtain the type from the configSchema and exposeToBrowser keys... diff --git a/src/plugins/newsfeed/server/config.ts b/src/plugins/newsfeed/server/config.ts index e5b0826ba99b..9d250e497f9e 100644 --- a/src/plugins/newsfeed/server/config.ts +++ b/src/plugins/newsfeed/server/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; import { NEWSFEED_DEFAULT_SERVICE_PATH, diff --git a/src/plugins/newsfeed/server/index.ts b/src/plugins/newsfeed/server/index.ts index 679e7505b732..228f4c50ee9b 100644 --- a/src/plugins/newsfeed/server/index.ts +++ b/src/plugins/newsfeed/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginConfigDescriptor } from 'opensearch-dashboards/server'; import { NewsfeedPlugin } from './plugin'; import { configSchema, NewsfeedConfigType } from './config'; diff --git a/src/plugins/newsfeed/server/plugin.ts b/src/plugins/newsfeed/server/plugin.ts index 7c41a74bf596..bb77bdcb252c 100644 --- a/src/plugins/newsfeed/server/plugin.ts +++ b/src/plugins/newsfeed/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin } from 'opensearch-dashboards/server'; export class NewsfeedPlugin implements Plugin { diff --git a/src/plugins/opensearch_dashboards_legacy/config.ts b/src/plugins/opensearch_dashboards_legacy/config.ts index 9320be36d991..7e88a66b1d79 100644 --- a/src/plugins/opensearch_dashboards_legacy/config.ts +++ b/src/plugins/opensearch_dashboards_legacy/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export const configSchema = schema.object({ diff --git a/src/plugins/opensearch_dashboards_legacy/public/angular/angular_config.tsx b/src/plugins/opensearch_dashboards_legacy/public/angular/angular_config.tsx index 6dc4419dc67a..ef01d29e4b14 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/angular/angular_config.tsx +++ b/src/plugins/opensearch_dashboards_legacy/public/angular/angular_config.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ICompileProvider, IHttpProvider, diff --git a/src/plugins/opensearch_dashboards_legacy/public/angular/index.ts b/src/plugins/opensearch_dashboards_legacy/public/angular/index.ts index 70d6b4caacdf..c492de510093 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/angular/index.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/angular/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ // @ts-ignore export { PromiseServiceCreator } from './promises'; // @ts-ignore diff --git a/src/plugins/opensearch_dashboards_legacy/public/angular/osd_top_nav.js b/src/plugins/opensearch_dashboards_legacy/public/angular/osd_top_nav.js index ace402b50c74..11835005b60c 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/angular/osd_top_nav.js +++ b/src/plugins/opensearch_dashboards_legacy/public/angular/osd_top_nav.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import angular from 'angular'; import 'ngreact'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/angular/promises.js b/src/plugins/opensearch_dashboards_legacy/public/angular/promises.js index e42f2e453505..690bc5489d10 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/angular/promises.js +++ b/src/plugins/opensearch_dashboards_legacy/public/angular/promises.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export function PromiseServiceCreator($q, $timeout) { diff --git a/src/plugins/opensearch_dashboards_legacy/public/angular/subscribe_with_scope.test.ts b/src/plugins/opensearch_dashboards_legacy/public/angular/subscribe_with_scope.test.ts index 13e5a6907ef0..3784988fc818 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/angular/subscribe_with_scope.test.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/angular/subscribe_with_scope.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import * as Rx from 'rxjs'; import { subscribeWithScope } from './subscribe_with_scope'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/angular/subscribe_with_scope.ts b/src/plugins/opensearch_dashboards_legacy/public/angular/subscribe_with_scope.ts index 3f7cfd100b19..f8cb102379b6 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/angular/subscribe_with_scope.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/angular/subscribe_with_scope.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IScope } from 'angular'; import * as Rx from 'rxjs'; import { AngularHttpError } from '../notify/lib'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/angular/watch_multi.js b/src/plugins/opensearch_dashboards_legacy/public/angular/watch_multi.js index dcdd7ec4b165..8dfcb0f59420 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/angular/watch_multi.js +++ b/src/plugins/opensearch_dashboards_legacy/public/angular/watch_multi.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export function watchMultiDecorator($provide) { diff --git a/src/plugins/opensearch_dashboards_legacy/public/angular_bootstrap/bind_html/bind_html.js b/src/plugins/opensearch_dashboards_legacy/public/angular_bootstrap/bind_html/bind_html.js index 77844a3dd136..5e6f2edea608 100755 --- a/src/plugins/opensearch_dashboards_legacy/public/angular_bootstrap/bind_html/bind_html.js +++ b/src/plugins/opensearch_dashboards_legacy/public/angular_bootstrap/bind_html/bind_html.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ import angular from 'angular'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/angular_bootstrap/index.ts b/src/plugins/opensearch_dashboards_legacy/public/angular_bootstrap/index.ts index 1f15107a0276..63b0431ebb29 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/angular_bootstrap/index.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/angular_bootstrap/index.ts @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ import { once } from 'lodash'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/angular_bootstrap/tooltip/position.js b/src/plugins/opensearch_dashboards_legacy/public/angular_bootstrap/tooltip/position.js index 24c8a8c5979c..2f322e2b42e2 100755 --- a/src/plugins/opensearch_dashboards_legacy/public/angular_bootstrap/tooltip/position.js +++ b/src/plugins/opensearch_dashboards_legacy/public/angular_bootstrap/tooltip/position.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ import angular from 'angular'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/angular_bootstrap/tooltip/tooltip.js b/src/plugins/opensearch_dashboards_legacy/public/angular_bootstrap/tooltip/tooltip.js index 05235fde9419..086fa6a7d6df 100755 --- a/src/plugins/opensearch_dashboards_legacy/public/angular_bootstrap/tooltip/tooltip.js +++ b/src/plugins/opensearch_dashboards_legacy/public/angular_bootstrap/tooltip/tooltip.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ import angular from 'angular'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/dashboard_config.ts b/src/plugins/opensearch_dashboards_legacy/public/dashboard_config.ts index c6b78b566b34..2be9de119eef 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/dashboard_config.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/dashboard_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface DashboardConfig { turnHideWriteControlsOn(): void; getHideWriteControls(): boolean; diff --git a/src/plugins/opensearch_dashboards_legacy/public/font_awesome/index.ts b/src/plugins/opensearch_dashboards_legacy/public/font_awesome/index.ts index 529e793e18ac..e39a155e7b4d 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/font_awesome/index.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/font_awesome/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './font_awesome.scss'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/index.ts b/src/plugins/opensearch_dashboards_legacy/public/index.ts index 2cfe33fff198..67cd6def9f0f 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/index.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { OpenSearchDashboardsLegacyPlugin } from './plugin'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/mocks.ts b/src/plugins/opensearch_dashboards_legacy/public/mocks.ts index b756bdcf4e80..ee98128d8155 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/mocks.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchDashboardsLegacyPlugin } from './plugin'; export type Setup = jest.Mocked>; diff --git a/src/plugins/opensearch_dashboards_legacy/public/notify/index.ts b/src/plugins/opensearch_dashboards_legacy/public/notify/index.ts index 9e51359bad79..934ca937e1b1 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/notify/index.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/notify/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export * from './toasts'; export * from './lib'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/notify/lib/add_fatal_error.ts b/src/plugins/opensearch_dashboards_legacy/public/notify/lib/add_fatal_error.ts index 8e20b4a7f92a..beb6f81e3ec7 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/notify/lib/add_fatal_error.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/notify/lib/add_fatal_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { FatalErrorsSetup } from '../../../../../core/public'; import { AngularHttpError, diff --git a/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_angular_http_error.ts b/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_angular_http_error.ts index 20ee864ec978..68b3701814b1 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_angular_http_error.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_angular_http_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { IHttpResponse } from 'angular'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_msg.test.js b/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_msg.test.js index 1c6f0ab046d7..aee1e140d3d5 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_msg.test.js +++ b/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_msg.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { formatMsg } from './format_msg'; import expect from '@osd/expect'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_msg.ts b/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_msg.ts index 0d8e65a9c1ba..67a4771219d8 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_msg.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_msg.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; import { formatOpenSearchMsg } from './format_opensearch_msg'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_opensearch_msg.test.js b/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_opensearch_msg.test.js index e4018ce43cac..bd20b36f354e 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_opensearch_msg.test.js +++ b/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_opensearch_msg.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { formatOpenSearchMsg } from './format_opensearch_msg'; import expect from '@osd/expect'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_opensearch_msg.ts b/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_opensearch_msg.ts index de67cdcd60ee..b253b949b768 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_opensearch_msg.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_opensearch_msg.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; const getRootCause = (err: Record | string) => _.get(err, 'resp.error.root_cause'); diff --git a/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_stack.ts b/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_stack.ts index 2ddd73058282..d571ebc69eb1 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_stack.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/notify/lib/format_stack.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; // browsers format Error.stack differently; always include message diff --git a/src/plugins/opensearch_dashboards_legacy/public/notify/lib/index.ts b/src/plugins/opensearch_dashboards_legacy/public/notify/lib/index.ts index 9f537328b6be..22a8631dfee3 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/notify/lib/index.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/notify/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { formatOpenSearchMsg } from './format_opensearch_msg'; export { formatMsg } from './format_msg'; export { formatStack } from './format_stack'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/notify/toasts/index.ts b/src/plugins/opensearch_dashboards_legacy/public/notify/toasts/index.ts index 3139dcf35e49..71115523dca9 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/notify/toasts/index.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/notify/toasts/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ToastNotifications } from './toast_notifications'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/notify/toasts/toast_notifications.test.ts b/src/plugins/opensearch_dashboards_legacy/public/notify/toasts/toast_notifications.test.ts index d44f8f687471..fc3649c3adca 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/notify/toasts/toast_notifications.test.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/notify/toasts/toast_notifications.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { notificationServiceMock } from '../../../../../core/public/mocks'; import { ToastNotifications } from './toast_notifications'; import { Toast } from 'opensearch-dashboards/public'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/notify/toasts/toast_notifications.ts b/src/plugins/opensearch_dashboards_legacy/public/notify/toasts/toast_notifications.ts index 3471dd956258..8860c089c689 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/notify/toasts/toast_notifications.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/notify/toasts/toast_notifications.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { NotificationsSetup, Toast, diff --git a/src/plugins/opensearch_dashboards_legacy/public/paginate/paginate.d.ts b/src/plugins/opensearch_dashboards_legacy/public/paginate/paginate.d.ts index 5f595551c01b..60f462aa5ffe 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/paginate/paginate.d.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/paginate/paginate.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function PaginateDirectiveProvider($parse: any, $compile: any): any; export function PaginateControlsDirectiveProvider(): any; diff --git a/src/plugins/opensearch_dashboards_legacy/public/paginate/paginate.js b/src/plugins/opensearch_dashboards_legacy/public/paginate/paginate.js index f4a1ef237514..1f78a7f715d9 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/paginate/paginate.js +++ b/src/plugins/opensearch_dashboards_legacy/public/paginate/paginate.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; import './_paginate.scss'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/plugin.ts b/src/plugins/opensearch_dashboards_legacy/public/plugin.ts index f49bb76931ba..473c10b47079 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/plugin.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, CoreStart, CoreSetup } from 'opensearch-dashboards/public'; import { ConfigSchema } from '../config'; import { getDashboardConfig } from './dashboard_config'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/utils/index.ts b/src/plugins/opensearch_dashboards_legacy/public/utils/index.ts index ca145f2fbfdb..6313548a1be1 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/utils/index.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './system_api'; // @ts-ignore export { OsdAccessibleClickProvider } from './osd_accessible_click'; diff --git a/src/plugins/opensearch_dashboards_legacy/public/utils/inject_header_style.ts b/src/plugins/opensearch_dashboards_legacy/public/utils/inject_header_style.ts index e2a02eba7838..3ff447aeb9b6 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/utils/inject_header_style.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/utils/inject_header_style.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { IUiSettingsClient } from 'opensearch-dashboards/public'; export function buildCSS(maxHeight = 0, truncateGradientHeight = 15) { diff --git a/src/plugins/opensearch_dashboards_legacy/public/utils/osd_accessible_click.js b/src/plugins/opensearch_dashboards_legacy/public/utils/osd_accessible_click.js index dddc4ab654aa..6c49ff8de4bb 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/utils/osd_accessible_click.js +++ b/src/plugins/opensearch_dashboards_legacy/public/utils/osd_accessible_click.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { accessibleClickKeys, keys } from '@elastic/eui'; export function OsdAccessibleClickProvider() { diff --git a/src/plugins/opensearch_dashboards_legacy/public/utils/private.d.ts b/src/plugins/opensearch_dashboards_legacy/public/utils/private.d.ts index 32461907a711..fe264fc193fc 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/utils/private.d.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/utils/private.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export type IPrivate = (provider: (...injectable: any[]) => T) => T; diff --git a/src/plugins/opensearch_dashboards_legacy/public/utils/private.js b/src/plugins/opensearch_dashboards_legacy/public/utils/private.js index 2bd9c831f450..1a3a0a596559 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/utils/private.js +++ b/src/plugins/opensearch_dashboards_legacy/public/utils/private.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ /** * # `Private()` * Private module loader, used to merge angular and require js dependency styles diff --git a/src/plugins/opensearch_dashboards_legacy/public/utils/register_listen_event_listener.js b/src/plugins/opensearch_dashboards_legacy/public/utils/register_listen_event_listener.js index 1e3ce450cbc3..19652d94cf4f 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/utils/register_listen_event_listener.js +++ b/src/plugins/opensearch_dashboards_legacy/public/utils/register_listen_event_listener.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export function registerListenEventListener($rootScope) { /** * Helper that registers an event listener, and removes that listener when diff --git a/src/plugins/opensearch_dashboards_legacy/public/utils/system_api.ts b/src/plugins/opensearch_dashboards_legacy/public/utils/system_api.ts index 809346bbec0d..2675bbc084fb 100644 --- a/src/plugins/opensearch_dashboards_legacy/public/utils/system_api.ts +++ b/src/plugins/opensearch_dashboards_legacy/public/utils/system_api.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IRequestConfig } from 'angular'; const SYSTEM_REQUEST_HEADER_NAME = 'osd-system-request'; diff --git a/src/plugins/opensearch_dashboards_legacy/server/index.ts b/src/plugins/opensearch_dashboards_legacy/server/index.ts index 24667343541e..9796bd974651 100644 --- a/src/plugins/opensearch_dashboards_legacy/server/index.ts +++ b/src/plugins/opensearch_dashboards_legacy/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ConfigDeprecationLogger, CoreSetup, diff --git a/src/plugins/opensearch_dashboards_overview/common/index.ts b/src/plugins/opensearch_dashboards_overview/common/index.ts index 6bc03463394f..79a90f2794c1 100644 --- a/src/plugins/opensearch_dashboards_overview/common/index.ts +++ b/src/plugins/opensearch_dashboards_overview/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const PLUGIN_ID = 'opensearchDashboardsOverview'; export const PLUGIN_NAME = 'Overview'; export const PLUGIN_PATH = `/app/opensearch_dashboards_overview`; diff --git a/src/plugins/opensearch_dashboards_overview/public/application.tsx b/src/plugins/opensearch_dashboards_overview/public/application.tsx index fa05198e16bd..f6d0e172e394 100644 --- a/src/plugins/opensearch_dashboards_overview/public/application.tsx +++ b/src/plugins/opensearch_dashboards_overview/public/application.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/_overview.scss b/src/plugins/opensearch_dashboards_overview/public/components/_overview.scss index e18933fb1c38..db27435346da 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/_overview.scss +++ b/src/plugins/opensearch_dashboards_overview/public/components/_overview.scss @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - .osdOverviewWrapper { background-color: $euiColorEmptyShade; display: flex; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/add_data/add_data.test.tsx b/src/plugins/opensearch_dashboards_overview/public/components/add_data/add_data.test.tsx index 0c032ddb9af6..8385e715efad 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/add_data/add_data.test.tsx +++ b/src/plugins/opensearch_dashboards_overview/public/components/add_data/add_data.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { AddData } from './add_data'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/add_data/add_data.tsx b/src/plugins/opensearch_dashboards_overview/public/components/add_data/add_data.tsx index 973054fb0f6e..ae2ce848045b 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/add_data/add_data.tsx +++ b/src/plugins/opensearch_dashboards_overview/public/components/add_data/add_data.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FC } from 'react'; import PropTypes from 'prop-types'; import { EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiTitle } from '@elastic/eui'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/add_data/index.ts b/src/plugins/opensearch_dashboards_overview/public/components/add_data/index.ts index 8a918039b4ec..8c56e973ee43 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/add_data/index.ts +++ b/src/plugins/opensearch_dashboards_overview/public/components/add_data/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './add_data'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/app.tsx b/src/plugins/opensearch_dashboards_overview/public/components/app.tsx index 3829746d45c6..dfd3b717981f 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/app.tsx +++ b/src/plugins/opensearch_dashboards_overview/public/components/app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useState } from 'react'; import { Observable } from 'rxjs'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/getting_started/getting_started.test.tsx b/src/plugins/opensearch_dashboards_overview/public/components/getting_started/getting_started.test.tsx index a37143900a04..2d490015b8ff 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/getting_started/getting_started.test.tsx +++ b/src/plugins/opensearch_dashboards_overview/public/components/getting_started/getting_started.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { GettingStarted } from './getting_started'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/getting_started/getting_started.tsx b/src/plugins/opensearch_dashboards_overview/public/components/getting_started/getting_started.tsx index e685f66d472c..c222d48a4a60 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/getting_started/getting_started.tsx +++ b/src/plugins/opensearch_dashboards_overview/public/components/getting_started/getting_started.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FC } from 'react'; import { EuiButton, diff --git a/src/plugins/opensearch_dashboards_overview/public/components/getting_started/index.ts b/src/plugins/opensearch_dashboards_overview/public/components/getting_started/index.ts index e1e5eeded5bc..875d49b340ed 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/getting_started/index.ts +++ b/src/plugins/opensearch_dashboards_overview/public/components/getting_started/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './getting_started'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/manage_data/index.tsx b/src/plugins/opensearch_dashboards_overview/public/components/manage_data/index.tsx index d19259c66b29..ccfb138578a8 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/manage_data/index.tsx +++ b/src/plugins/opensearch_dashboards_overview/public/components/manage_data/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './manage_data'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/manage_data/manage_data.test.tsx b/src/plugins/opensearch_dashboards_overview/public/components/manage_data/manage_data.test.tsx index 42869e9ab215..feb8e6392750 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/manage_data/manage_data.test.tsx +++ b/src/plugins/opensearch_dashboards_overview/public/components/manage_data/manage_data.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { ManageData } from './manage_data'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/manage_data/manage_data.tsx b/src/plugins/opensearch_dashboards_overview/public/components/manage_data/manage_data.tsx index ea7fdbb0867c..0a37ef26312a 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/manage_data/manage_data.tsx +++ b/src/plugins/opensearch_dashboards_overview/public/components/manage_data/manage_data.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FC } from 'react'; import PropTypes from 'prop-types'; import { EuiFlexGroup, EuiFlexItem, EuiHorizontalRule, EuiSpacer, EuiTitle } from '@elastic/eui'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/news_feed/index.ts b/src/plugins/opensearch_dashboards_overview/public/components/news_feed/index.ts index 7a3bd6bd5583..d5f5d4ba1cfd 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/news_feed/index.ts +++ b/src/plugins/opensearch_dashboards_overview/public/components/news_feed/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './news_feed'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/news_feed/news_feed.test.tsx b/src/plugins/opensearch_dashboards_overview/public/components/news_feed/news_feed.test.tsx index 0102cadec0d3..198c55d98e3c 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/news_feed/news_feed.test.tsx +++ b/src/plugins/opensearch_dashboards_overview/public/components/news_feed/news_feed.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import React from 'react'; import { NewsFeed } from './news_feed'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/news_feed/news_feed.tsx b/src/plugins/opensearch_dashboards_overview/public/components/news_feed/news_feed.tsx index 587d78ebe58d..73a451988ab8 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/news_feed/news_feed.tsx +++ b/src/plugins/opensearch_dashboards_overview/public/components/news_feed/news_feed.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FC } from 'react'; import { EuiLink, EuiSpacer, EuiText, EuiTitle } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/overview/index.ts b/src/plugins/opensearch_dashboards_overview/public/components/overview/index.ts index dc04313d709d..e3f9521b3e56 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/overview/index.ts +++ b/src/plugins/opensearch_dashboards_overview/public/components/overview/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './overview'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/overview/overview.test.tsx b/src/plugins/opensearch_dashboards_overview/public/components/overview/overview.test.tsx index 5b212508a26f..1e105c56e574 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/overview/overview.test.tsx +++ b/src/plugins/opensearch_dashboards_overview/public/components/overview/overview.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import React from 'react'; import { Overview } from './overview'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/overview/overview.tsx b/src/plugins/opensearch_dashboards_overview/public/components/overview/overview.tsx index e01ef7460a30..8287f3edb397 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/overview/overview.tsx +++ b/src/plugins/opensearch_dashboards_overview/public/components/overview/overview.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { snakeCase } from 'lodash'; import React, { FC, useState, useEffect } from 'react'; import { diff --git a/src/plugins/opensearch_dashboards_overview/public/components/synopsis/index.js b/src/plugins/opensearch_dashboards_overview/public/components/synopsis/index.js index c0e0ea367f45..c52463ffbff3 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/synopsis/index.js +++ b/src/plugins/opensearch_dashboards_overview/public/components/synopsis/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './synopsis'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/synopsis/synopsis.js b/src/plugins/opensearch_dashboards_overview/public/components/synopsis/synopsis.js index 71cba0815b98..4c1c23821ecc 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/synopsis/synopsis.js +++ b/src/plugins/opensearch_dashboards_overview/public/components/synopsis/synopsis.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; diff --git a/src/plugins/opensearch_dashboards_overview/public/components/synopsis/synopsis.test.js b/src/plugins/opensearch_dashboards_overview/public/components/synopsis/synopsis.test.js index 2f0944951880..22b1030aa8f0 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/synopsis/synopsis.test.js +++ b/src/plugins/opensearch_dashboards_overview/public/components/synopsis/synopsis.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/opensearch_dashboards_overview/public/index.ts b/src/plugins/opensearch_dashboards_overview/public/index.ts index 8bf396919431..ce5f45907ced 100644 --- a/src/plugins/opensearch_dashboards_overview/public/index.ts +++ b/src/plugins/opensearch_dashboards_overview/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index.scss'; import { OpenSearchDashboardsOverviewPlugin } from './plugin'; diff --git a/src/plugins/opensearch_dashboards_overview/public/plugin.ts b/src/plugins/opensearch_dashboards_overview/public/plugin.ts index 95cbc7d48318..e38282ff06d6 100644 --- a/src/plugins/opensearch_dashboards_overview/public/plugin.ts +++ b/src/plugins/opensearch_dashboards_overview/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { from } from 'rxjs'; import { distinct, map, switchMap } from 'rxjs/operators'; diff --git a/src/plugins/opensearch_dashboards_overview/public/types.ts b/src/plugins/opensearch_dashboards_overview/public/types.ts index 7078eb5cc107..b32c4528f5dd 100644 --- a/src/plugins/opensearch_dashboards_overview/public/types.ts +++ b/src/plugins/opensearch_dashboards_overview/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HomePublicPluginSetup, HomePublicPluginStart } from 'src/plugins/home/public'; import { NavigationPublicPluginStart } from 'src/plugins/navigation/public'; import { DataPublicPluginStart } from 'src/plugins/data/public'; diff --git a/src/plugins/opensearch_dashboards_react/public/adapters/index.ts b/src/plugins/opensearch_dashboards_react/public/adapters/index.ts index 7f61828b6286..4c2170a5932f 100644 --- a/src/plugins/opensearch_dashboards_react/public/adapters/index.ts +++ b/src/plugins/opensearch_dashboards_react/public/adapters/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './react_to_ui_component'; export * from './ui_to_react_component'; diff --git a/src/plugins/opensearch_dashboards_react/public/adapters/react_to_ui_component.test.tsx b/src/plugins/opensearch_dashboards_react/public/adapters/react_to_ui_component.test.tsx index 397cac38bfdd..0632d0167b2c 100644 --- a/src/plugins/opensearch_dashboards_react/public/adapters/react_to_ui_component.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/adapters/react_to_ui_component.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { reactToUiComponent } from './react_to_ui_component'; diff --git a/src/plugins/opensearch_dashboards_react/public/adapters/react_to_ui_component.ts b/src/plugins/opensearch_dashboards_react/public/adapters/react_to_ui_component.ts index a6cf39fc76f5..639d12d0a31e 100644 --- a/src/plugins/opensearch_dashboards_react/public/adapters/react_to_ui_component.ts +++ b/src/plugins/opensearch_dashboards_react/public/adapters/react_to_ui_component.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ComponentType, createElement as h } from 'react'; import { render as renderReact, unmountComponentAtNode } from 'react-dom'; import { UiComponent, UiComponentInstance } from '../../../opensearch_dashboards_utils/public'; diff --git a/src/plugins/opensearch_dashboards_react/public/adapters/ui_to_react_component.test.tsx b/src/plugins/opensearch_dashboards_react/public/adapters/ui_to_react_component.test.tsx index 7a89140ae0d7..447ea254b937 100644 --- a/src/plugins/opensearch_dashboards_react/public/adapters/ui_to_react_component.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/adapters/ui_to_react_component.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { UiComponent } from '../../../opensearch_dashboards_utils/public'; diff --git a/src/plugins/opensearch_dashboards_react/public/adapters/ui_to_react_component.ts b/src/plugins/opensearch_dashboards_react/public/adapters/ui_to_react_component.ts index a2b6d79fd618..5bbccc045ec4 100644 --- a/src/plugins/opensearch_dashboards_react/public/adapters/ui_to_react_component.ts +++ b/src/plugins/opensearch_dashboards_react/public/adapters/ui_to_react_component.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FC, createElement as h, useRef, useLayoutEffect, useMemo } from 'react'; import { UiComponent, UiComponentInstance } from '../../../opensearch_dashboards_utils/public'; diff --git a/src/plugins/opensearch_dashboards_react/public/app_links/click_handler.test.ts b/src/plugins/opensearch_dashboards_react/public/app_links/click_handler.test.ts index 6e99da14a646..b231185d3e63 100644 --- a/src/plugins/opensearch_dashboards_react/public/app_links/click_handler.test.ts +++ b/src/plugins/opensearch_dashboards_react/public/app_links/click_handler.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MouseEvent } from 'react'; import { ApplicationStart } from 'src/core/public'; import { createNavigateToUrlClickHandler } from './click_handler'; diff --git a/src/plugins/opensearch_dashboards_react/public/app_links/click_handler.ts b/src/plugins/opensearch_dashboards_react/public/app_links/click_handler.ts index 788e2e9b0c27..8557befc4a02 100644 --- a/src/plugins/opensearch_dashboards_react/public/app_links/click_handler.ts +++ b/src/plugins/opensearch_dashboards_react/public/app_links/click_handler.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { ApplicationStart } from 'src/core/public'; import { getClosestLink, hasActiveModifierKey } from './utils'; diff --git a/src/plugins/opensearch_dashboards_react/public/app_links/index.ts b/src/plugins/opensearch_dashboards_react/public/app_links/index.ts index 2432c77d6f82..569eb3d0d532 100644 --- a/src/plugins/opensearch_dashboards_react/public/app_links/index.ts +++ b/src/plugins/opensearch_dashboards_react/public/app_links/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { RedirectAppLinks } from './redirect_app_link'; diff --git a/src/plugins/opensearch_dashboards_react/public/app_links/redirect_app_link.test.tsx b/src/plugins/opensearch_dashboards_react/public/app_links/redirect_app_link.test.tsx index f0a89bd51b66..4814265bcf24 100644 --- a/src/plugins/opensearch_dashboards_react/public/app_links/redirect_app_link.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/app_links/redirect_app_link.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { MouseEvent } from 'react'; import { mount } from 'enzyme'; import { applicationServiceMock } from '../../../../core/public/mocks'; diff --git a/src/plugins/opensearch_dashboards_react/public/app_links/redirect_app_link.tsx b/src/plugins/opensearch_dashboards_react/public/app_links/redirect_app_link.tsx index 4322b8d2cb9d..285f1a4fbbec 100644 --- a/src/plugins/opensearch_dashboards_react/public/app_links/redirect_app_link.tsx +++ b/src/plugins/opensearch_dashboards_react/public/app_links/redirect_app_link.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FunctionComponent, useRef, useMemo } from 'react'; import classNames from 'classnames'; import useObservable from 'react-use/lib/useObservable'; diff --git a/src/plugins/opensearch_dashboards_react/public/app_links/utils.test.ts b/src/plugins/opensearch_dashboards_react/public/app_links/utils.test.ts index fdc6cda9b9ac..2e481566793c 100644 --- a/src/plugins/opensearch_dashboards_react/public/app_links/utils.test.ts +++ b/src/plugins/opensearch_dashboards_react/public/app_links/utils.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getClosestLink } from './utils'; const createBranch = (...tags: string[]): HTMLElement[] => { diff --git a/src/plugins/opensearch_dashboards_react/public/app_links/utils.ts b/src/plugins/opensearch_dashboards_react/public/app_links/utils.ts index 79dfc7e6ff11..49790d66eb59 100644 --- a/src/plugins/opensearch_dashboards_react/public/app_links/utils.ts +++ b/src/plugins/opensearch_dashboards_react/public/app_links/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; /** diff --git a/src/plugins/opensearch_dashboards_react/public/code_editor/code_editor.test.tsx b/src/plugins/opensearch_dashboards_react/public/code_editor/code_editor.test.tsx index 2390a292febe..2720ebfa2f96 100644 --- a/src/plugins/opensearch_dashboards_react/public/code_editor/code_editor.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/code_editor/code_editor.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { CodeEditor } from './code_editor'; import { monaco } from '@osd/monaco'; diff --git a/src/plugins/opensearch_dashboards_react/public/code_editor/code_editor.tsx b/src/plugins/opensearch_dashboards_react/public/code_editor/code_editor.tsx index 2ab223af62c7..5dc0d94ba00f 100644 --- a/src/plugins/opensearch_dashboards_react/public/code_editor/code_editor.tsx +++ b/src/plugins/opensearch_dashboards_react/public/code_editor/code_editor.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactResizeDetector from 'react-resize-detector'; import MonacoEditor from 'react-monaco-editor'; diff --git a/src/plugins/opensearch_dashboards_react/public/code_editor/editor_theme.ts b/src/plugins/opensearch_dashboards_react/public/code_editor/editor_theme.ts index c9b262e2c0db..0dd3807d530b 100644 --- a/src/plugins/opensearch_dashboards_react/public/code_editor/editor_theme.ts +++ b/src/plugins/opensearch_dashboards_react/public/code_editor/editor_theme.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { monaco } from '@osd/monaco'; import darkTheme from '@elastic/eui/dist/eui_theme_dark.json'; diff --git a/src/plugins/opensearch_dashboards_react/public/code_editor/index.tsx b/src/plugins/opensearch_dashboards_react/public/code_editor/index.tsx index c2f9012544e4..ce80bb93dae2 100644 --- a/src/plugins/opensearch_dashboards_react/public/code_editor/index.tsx +++ b/src/plugins/opensearch_dashboards_react/public/code_editor/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiDelayRender, EuiLoadingContent } from '@elastic/eui'; import { useUiSetting } from '../ui_settings'; diff --git a/src/plugins/opensearch_dashboards_react/public/context/context.test.tsx b/src/plugins/opensearch_dashboards_react/public/context/context.test.tsx index f2e85d8d18c9..07d7e1966456 100644 --- a/src/plugins/opensearch_dashboards_react/public/context/context.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/context/context.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { diff --git a/src/plugins/opensearch_dashboards_react/public/context/context.tsx b/src/plugins/opensearch_dashboards_react/public/context/context.tsx index 631da7982763..ce694cc4d58d 100644 --- a/src/plugins/opensearch_dashboards_react/public/context/context.tsx +++ b/src/plugins/opensearch_dashboards_react/public/context/context.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { OpenSearchDashboardsReactContext, diff --git a/src/plugins/opensearch_dashboards_react/public/context/index.ts b/src/plugins/opensearch_dashboards_react/public/context/index.ts index bee68d365e86..81f588d61894 100644 --- a/src/plugins/opensearch_dashboards_react/public/context/index.ts +++ b/src/plugins/opensearch_dashboards_react/public/context/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { context, createOpenSearchDashboardsReactContext, diff --git a/src/plugins/opensearch_dashboards_react/public/context/types.ts b/src/plugins/opensearch_dashboards_react/public/context/types.ts index cc34314fda51..81d19afd415a 100644 --- a/src/plugins/opensearch_dashboards_react/public/context/types.ts +++ b/src/plugins/opensearch_dashboards_react/public/context/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { CoreStart } from '../../../../core/public'; import { OpenSearchDashboardsReactOverlays } from '../overlays'; diff --git a/src/plugins/opensearch_dashboards_react/public/exit_full_screen_button/exit_full_screen_button.test.tsx b/src/plugins/opensearch_dashboards_react/public/exit_full_screen_button/exit_full_screen_button.test.tsx index 2d777662cbbe..cae20349cf3e 100644 --- a/src/plugins/opensearch_dashboards_react/public/exit_full_screen_button/exit_full_screen_button.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/exit_full_screen_button/exit_full_screen_button.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import sinon from 'sinon'; import { ExitFullScreenButton } from './exit_full_screen_button'; diff --git a/src/plugins/opensearch_dashboards_react/public/exit_full_screen_button/exit_full_screen_button.tsx b/src/plugins/opensearch_dashboards_react/public/exit_full_screen_button/exit_full_screen_button.tsx index c88087908144..523f8345088f 100644 --- a/src/plugins/opensearch_dashboards_react/public/exit_full_screen_button/exit_full_screen_button.tsx +++ b/src/plugins/opensearch_dashboards_react/public/exit_full_screen_button/exit_full_screen_button.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import React, { PureComponent } from 'react'; import { EuiScreenReaderOnly, keys } from '@elastic/eui'; diff --git a/src/plugins/opensearch_dashboards_react/public/exit_full_screen_button/index.tsx b/src/plugins/opensearch_dashboards_react/public/exit_full_screen_button/index.tsx index 962b37032e9b..020a566e0013 100644 --- a/src/plugins/opensearch_dashboards_react/public/exit_full_screen_button/index.tsx +++ b/src/plugins/opensearch_dashboards_react/public/exit_full_screen_button/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ExitFullScreenButton, ExitFullScreenButtonProps } from './exit_full_screen_button'; diff --git a/src/plugins/opensearch_dashboards_react/public/field_button/field_button.test.tsx b/src/plugins/opensearch_dashboards_react/public/field_button/field_button.test.tsx index eda86e1f5481..65aa559579e4 100644 --- a/src/plugins/opensearch_dashboards_react/public/field_button/field_button.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/field_button/field_button.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { shallow } from 'enzyme'; import { FieldButton, SIZES } from './field_button'; diff --git a/src/plugins/opensearch_dashboards_react/public/field_button/field_button.tsx b/src/plugins/opensearch_dashboards_react/public/field_button/field_button.tsx index 61f00e18e687..cdb16d381a5b 100644 --- a/src/plugins/opensearch_dashboards_react/public/field_button/field_button.tsx +++ b/src/plugins/opensearch_dashboards_react/public/field_button/field_button.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './field_button.scss'; import classNames from 'classnames'; import React, { ReactNode, HTMLAttributes, ButtonHTMLAttributes } from 'react'; diff --git a/src/plugins/opensearch_dashboards_react/public/field_button/index.ts b/src/plugins/opensearch_dashboards_react/public/field_button/index.ts index 4d25b4d2c70b..c7a0eaf3927f 100644 --- a/src/plugins/opensearch_dashboards_react/public/field_button/index.ts +++ b/src/plugins/opensearch_dashboards_react/public/field_button/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,8 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export * from './field_button'; diff --git a/src/plugins/opensearch_dashboards_react/public/field_icon/field_icon.test.tsx b/src/plugins/opensearch_dashboards_react/public/field_icon/field_icon.test.tsx index 47667342d520..002263b0f75a 100644 --- a/src/plugins/opensearch_dashboards_react/public/field_icon/field_icon.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/field_icon/field_icon.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { shallow } from 'enzyme'; import { FieldIcon, typeToEuiIconMap } from './field_icon'; diff --git a/src/plugins/opensearch_dashboards_react/public/field_icon/field_icon.tsx b/src/plugins/opensearch_dashboards_react/public/field_icon/field_icon.tsx index 6fb3ff954b05..05d2ba6e7052 100644 --- a/src/plugins/opensearch_dashboards_react/public/field_icon/field_icon.tsx +++ b/src/plugins/opensearch_dashboards_react/public/field_icon/field_icon.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import classNames from 'classnames'; import { EuiToken, EuiTokenProps } from '@elastic/eui'; diff --git a/src/plugins/opensearch_dashboards_react/public/field_icon/index.ts b/src/plugins/opensearch_dashboards_react/public/field_icon/index.ts index 9a27b119cf62..dd9de5862831 100644 --- a/src/plugins/opensearch_dashboards_react/public/field_icon/index.ts +++ b/src/plugins/opensearch_dashboards_react/public/field_icon/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,8 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export * from './field_icon'; diff --git a/src/plugins/opensearch_dashboards_react/public/index.ts b/src/plugins/opensearch_dashboards_react/public/index.ts index 8959c18fb8c6..16c5967cbb19 100644 --- a/src/plugins/opensearch_dashboards_react/public/index.ts +++ b/src/plugins/opensearch_dashboards_react/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './code_editor'; export * from './exit_full_screen_button'; export * from './context'; diff --git a/src/plugins/opensearch_dashboards_react/public/markdown/index.tsx b/src/plugins/opensearch_dashboards_react/public/markdown/index.tsx index fbd703f69d7f..c7220a988070 100644 --- a/src/plugins/opensearch_dashboards_react/public/markdown/index.tsx +++ b/src/plugins/opensearch_dashboards_react/public/markdown/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiLoadingContent, EuiDelayRender } from '@elastic/eui'; import type { MarkdownSimpleProps } from './markdown_simple'; diff --git a/src/plugins/opensearch_dashboards_react/public/markdown/markdown.test.tsx b/src/plugins/opensearch_dashboards_react/public/markdown/markdown.test.tsx index 4d443242cac5..243823c908d9 100644 --- a/src/plugins/opensearch_dashboards_react/public/markdown/markdown.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/markdown/markdown.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/opensearch_dashboards_react/public/markdown/markdown.tsx b/src/plugins/opensearch_dashboards_react/public/markdown/markdown.tsx index 4f32ec8f80f7..eeccf16eea53 100644 --- a/src/plugins/opensearch_dashboards_react/public/markdown/markdown.tsx +++ b/src/plugins/opensearch_dashboards_react/public/markdown/markdown.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import classNames from 'classnames'; import React, { PureComponent } from 'react'; import MarkdownIt from 'markdown-it'; diff --git a/src/plugins/opensearch_dashboards_react/public/markdown/markdown_simple.tsx b/src/plugins/opensearch_dashboards_react/public/markdown/markdown_simple.tsx index c10bd9d6e2c6..40ed6904670c 100644 --- a/src/plugins/opensearch_dashboards_react/public/markdown/markdown_simple.tsx +++ b/src/plugins/opensearch_dashboards_react/public/markdown/markdown_simple.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import ReactMarkdown from 'react-markdown'; diff --git a/src/plugins/opensearch_dashboards_react/public/notifications/create_notifications.test.tsx b/src/plugins/opensearch_dashboards_react/public/notifications/create_notifications.test.tsx index 10434d4ccedb..7299c3a08737 100644 --- a/src/plugins/opensearch_dashboards_react/public/notifications/create_notifications.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/notifications/create_notifications.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { createNotifications } from './create_notifications'; // eslint-disable-next-lien diff --git a/src/plugins/opensearch_dashboards_react/public/notifications/create_notifications.tsx b/src/plugins/opensearch_dashboards_react/public/notifications/create_notifications.tsx index 88140fc86187..5c3035c80b5b 100644 --- a/src/plugins/opensearch_dashboards_react/public/notifications/create_notifications.tsx +++ b/src/plugins/opensearch_dashboards_react/public/notifications/create_notifications.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { OpenSearchDashboardsServices } from '../context/types'; import { OpenSearchDashboardsReactNotifications } from './types'; diff --git a/src/plugins/opensearch_dashboards_react/public/notifications/index.tsx b/src/plugins/opensearch_dashboards_react/public/notifications/index.tsx index fe0b77891c5b..2b7f903aa8e3 100644 --- a/src/plugins/opensearch_dashboards_react/public/notifications/index.tsx +++ b/src/plugins/opensearch_dashboards_react/public/notifications/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './types'; export * from './create_notifications'; diff --git a/src/plugins/opensearch_dashboards_react/public/notifications/types.ts b/src/plugins/opensearch_dashboards_react/public/notifications/types.ts index 15b3995b5295..46a4ffea23cf 100644 --- a/src/plugins/opensearch_dashboards_react/public/notifications/types.ts +++ b/src/plugins/opensearch_dashboards_react/public/notifications/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { Toast } from '../../../../core/public'; diff --git a/src/plugins/opensearch_dashboards_react/public/overlays/create_react_overlays.test.tsx b/src/plugins/opensearch_dashboards_react/public/overlays/create_react_overlays.test.tsx index c373e5a3c4b5..a52a298c783e 100644 --- a/src/plugins/opensearch_dashboards_react/public/overlays/create_react_overlays.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/overlays/create_react_overlays.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { createReactOverlays } from './create_react_overlays'; import { overlayServiceMock } from '../../../../core/public/mocks'; diff --git a/src/plugins/opensearch_dashboards_react/public/overlays/create_react_overlays.tsx b/src/plugins/opensearch_dashboards_react/public/overlays/create_react_overlays.tsx index b6bdd7055148..0c771e0fca67 100644 --- a/src/plugins/opensearch_dashboards_react/public/overlays/create_react_overlays.tsx +++ b/src/plugins/opensearch_dashboards_react/public/overlays/create_react_overlays.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { OpenSearchDashboardsServices } from '../context/types'; import { OpenSearchDashboardsReactOverlays } from './types'; diff --git a/src/plugins/opensearch_dashboards_react/public/overlays/index.tsx b/src/plugins/opensearch_dashboards_react/public/overlays/index.tsx index 0a6b441c98ad..ceb6bdc1172f 100644 --- a/src/plugins/opensearch_dashboards_react/public/overlays/index.tsx +++ b/src/plugins/opensearch_dashboards_react/public/overlays/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './types'; export * from './create_react_overlays'; diff --git a/src/plugins/opensearch_dashboards_react/public/overlays/types.ts b/src/plugins/opensearch_dashboards_react/public/overlays/types.ts index f99feb0691d8..4a0f36e7ea4f 100644 --- a/src/plugins/opensearch_dashboards_react/public/overlays/types.ts +++ b/src/plugins/opensearch_dashboards_react/public/overlays/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { CoreStart } from '../../../../core/public'; diff --git a/src/plugins/opensearch_dashboards_react/public/overview_page/index.ts b/src/plugins/opensearch_dashboards_react/public/overview_page/index.ts index 3b293050ec51..5c695e095d62 100644 --- a/src/plugins/opensearch_dashboards_react/public/overview_page/index.ts +++ b/src/plugins/opensearch_dashboards_react/public/overview_page/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './overview_page_footer'; export * from './overview_page_header'; diff --git a/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_footer/index.ts b/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_footer/index.ts index f200b0f898fc..1678297b2871 100644 --- a/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_footer/index.ts +++ b/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_footer/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './overview_page_footer'; diff --git a/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_footer/overview_page_footer.test.tsx b/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_footer/overview_page_footer.test.tsx index 9867d19f3884..4d66e5d9aae1 100644 --- a/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_footer/overview_page_footer.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_footer/overview_page_footer.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { OverviewPageFooter } from './overview_page_footer'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_footer/overview_page_footer.tsx b/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_footer/overview_page_footer.tsx index 74ba33a47e10..ffa1205a9661 100644 --- a/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_footer/overview_page_footer.tsx +++ b/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_footer/overview_page_footer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FC } from 'react'; import { EuiFlexGroup, EuiFlexItem, EuiButtonEmpty } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/_overview_page_header.scss b/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/_overview_page_header.scss index c681c542e8ee..b15acffe5e51 100644 --- a/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/_overview_page_header.scss +++ b/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/_overview_page_header.scss @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - .osdOverviewPageHeader { background-color: $euiPageBackgroundColor; border-bottom: $euiBorderWidthThin solid $euiColorLightShade; diff --git a/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/index.scss b/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/index.scss index 4793a599aecf..54e5f33edcc6 100644 --- a/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/index.scss +++ b/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/index.scss @@ -2,8 +2,11 @@ * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a + * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - @import './overview_page_header'; diff --git a/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/index.ts b/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/index.ts index b520fb89ca60..ec18c1af70ed 100644 --- a/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/index.ts +++ b/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './overview_page_header'; diff --git a/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/overview_page_header.test.tsx b/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/overview_page_header.test.tsx index 82bda6ca0ed1..d8290f0dbcb3 100644 --- a/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/overview_page_header.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/overview_page_header.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { OverviewPageHeader } from './overview_page_header'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/overview_page_header.tsx b/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/overview_page_header.tsx index ea21ddc92300..00273fcf993b 100644 --- a/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/overview_page_header.tsx +++ b/src/plugins/opensearch_dashboards_react/public/overview_page/overview_page_header/overview_page_header.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FC } from 'react'; import { EuiButtonEmpty, diff --git a/src/plugins/opensearch_dashboards_react/public/react_router_navigate/index.ts b/src/plugins/opensearch_dashboards_react/public/react_router_navigate/index.ts index fd702de24057..8ba6b1e2fe90 100644 --- a/src/plugins/opensearch_dashboards_react/public/react_router_navigate/index.ts +++ b/src/plugins/opensearch_dashboards_react/public/react_router_navigate/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { reactRouterNavigate, reactRouterOnClickHandler } from './react_router_navigate'; diff --git a/src/plugins/opensearch_dashboards_react/public/react_router_navigate/react_router_navigate.tsx b/src/plugins/opensearch_dashboards_react/public/react_router_navigate/react_router_navigate.tsx index b409d6680913..5e367f8cb94b 100644 --- a/src/plugins/opensearch_dashboards_react/public/react_router_navigate/react_router_navigate.tsx +++ b/src/plugins/opensearch_dashboards_react/public/react_router_navigate/react_router_navigate.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ScopedHistory } from 'opensearch-dashboards/public'; import { History } from 'history'; diff --git a/src/plugins/opensearch_dashboards_react/public/split_panel/components/resizer.tsx b/src/plugins/opensearch_dashboards_react/public/split_panel/components/resizer.tsx index bfdb97e3ce5d..a4765a06181f 100644 --- a/src/plugins/opensearch_dashboards_react/public/split_panel/components/resizer.tsx +++ b/src/plugins/opensearch_dashboards_react/public/split_panel/components/resizer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiIcon } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/opensearch_dashboards_react/public/split_panel/containers/panel.tsx b/src/plugins/opensearch_dashboards_react/public/split_panel/containers/panel.tsx index 39c1e18fd9b6..685ab97236cc 100644 --- a/src/plugins/opensearch_dashboards_react/public/split_panel/containers/panel.tsx +++ b/src/plugins/opensearch_dashboards_react/public/split_panel/containers/panel.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { CSSProperties, ReactNode, useEffect, useRef, useState } from 'react'; import { usePanelContext } from '../context'; diff --git a/src/plugins/opensearch_dashboards_react/public/split_panel/containers/panel_container.tsx b/src/plugins/opensearch_dashboards_react/public/split_panel/containers/panel_container.tsx index 380ca6f55f62..ee718a10b3cf 100644 --- a/src/plugins/opensearch_dashboards_react/public/split_panel/containers/panel_container.tsx +++ b/src/plugins/opensearch_dashboards_react/public/split_panel/containers/panel_container.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Children, ReactNode, useRef, useState, useCallback, useEffect } from 'react'; import { keys } from '@elastic/eui'; diff --git a/src/plugins/opensearch_dashboards_react/public/split_panel/context.tsx b/src/plugins/opensearch_dashboards_react/public/split_panel/context.tsx index 2b74d2cc1ca9..533a8d44ab57 100644 --- a/src/plugins/opensearch_dashboards_react/public/split_panel/context.tsx +++ b/src/plugins/opensearch_dashboards_react/public/split_panel/context.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { createContext, useContext } from 'react'; import { PanelRegistry } from './registry'; diff --git a/src/plugins/opensearch_dashboards_react/public/split_panel/index.ts b/src/plugins/opensearch_dashboards_react/public/split_panel/index.ts index 7520ccb35121..b4ac8fa78319 100644 --- a/src/plugins/opensearch_dashboards_react/public/split_panel/index.ts +++ b/src/plugins/opensearch_dashboards_react/public/split_panel/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Panel } from './containers/panel'; export { PanelsContainer } from './containers/panel_container'; diff --git a/src/plugins/opensearch_dashboards_react/public/split_panel/registry.ts b/src/plugins/opensearch_dashboards_react/public/split_panel/registry.ts index acb44db46cac..c995e6c1aafd 100644 --- a/src/plugins/opensearch_dashboards_react/public/split_panel/registry.ts +++ b/src/plugins/opensearch_dashboards_react/public/split_panel/registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface PanelController { setWidth: (percent: number) => void; getWidth: () => number; diff --git a/src/plugins/opensearch_dashboards_react/public/split_panel/split_panel.test.tsx b/src/plugins/opensearch_dashboards_react/public/split_panel/split_panel.test.tsx index 6be975c13b8b..35fe54f82a28 100644 --- a/src/plugins/opensearch_dashboards_react/public/split_panel/split_panel.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/split_panel/split_panel.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount } from 'enzyme'; import toJson from 'enzyme-to-json'; diff --git a/src/plugins/opensearch_dashboards_react/public/table_list_view/index.ts b/src/plugins/opensearch_dashboards_react/public/table_list_view/index.ts index 1ca58ed6b3c6..d5e81c35863c 100644 --- a/src/plugins/opensearch_dashboards_react/public/table_list_view/index.ts +++ b/src/plugins/opensearch_dashboards_react/public/table_list_view/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,8 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export * from './table_list_view'; diff --git a/src/plugins/opensearch_dashboards_react/public/table_list_view/table_list_view.tsx b/src/plugins/opensearch_dashboards_react/public/table_list_view/table_list_view.tsx index 7e50a8591edc..c8e9fabd054f 100644 --- a/src/plugins/opensearch_dashboards_react/public/table_list_view/table_list_view.tsx +++ b/src/plugins/opensearch_dashboards_react/public/table_list_view/table_list_view.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/opensearch_dashboards_react/public/ui_settings/index.ts b/src/plugins/opensearch_dashboards_react/public/ui_settings/index.ts index bd42047fa940..7ef6ca108dce 100644 --- a/src/plugins/opensearch_dashboards_react/public/ui_settings/index.ts +++ b/src/plugins/opensearch_dashboards_react/public/ui_settings/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './use_ui_setting'; diff --git a/src/plugins/opensearch_dashboards_react/public/ui_settings/use_ui_setting.test.tsx b/src/plugins/opensearch_dashboards_react/public/ui_settings/use_ui_setting.test.tsx index 914feb51102a..b2bd8ad76a1d 100644 --- a/src/plugins/opensearch_dashboards_react/public/ui_settings/use_ui_setting.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/ui_settings/use_ui_setting.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { act, Simulate } from 'react-dom/test-utils'; diff --git a/src/plugins/opensearch_dashboards_react/public/ui_settings/use_ui_setting.ts b/src/plugins/opensearch_dashboards_react/public/ui_settings/use_ui_setting.ts index 93d3c87473e6..bcd0c7e93c21 100644 --- a/src/plugins/opensearch_dashboards_react/public/ui_settings/use_ui_setting.ts +++ b/src/plugins/opensearch_dashboards_react/public/ui_settings/use_ui_setting.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useCallback, useMemo } from 'react'; import useObservable from 'react-use/lib/useObservable'; import { useOpenSearchDashboards } from '../context'; diff --git a/src/plugins/opensearch_dashboards_react/public/use_url_tracker/index.ts b/src/plugins/opensearch_dashboards_react/public/use_url_tracker/index.ts index cfdbd1c8ada4..d8db17c9d33b 100644 --- a/src/plugins/opensearch_dashboards_react/public/use_url_tracker/index.ts +++ b/src/plugins/opensearch_dashboards_react/public/use_url_tracker/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { useUrlTracker } from './use_url_tracker'; diff --git a/src/plugins/opensearch_dashboards_react/public/use_url_tracker/use_url_tracker.test.tsx b/src/plugins/opensearch_dashboards_react/public/use_url_tracker/use_url_tracker.test.tsx index 58d5cae11185..60b9974a6a32 100644 --- a/src/plugins/opensearch_dashboards_react/public/use_url_tracker/use_url_tracker.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/use_url_tracker/use_url_tracker.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { renderHook } from '@testing-library/react-hooks'; import { useUrlTracker } from './use_url_tracker'; import { StubBrowserStorage } from 'test_utils/stub_browser_storage'; diff --git a/src/plugins/opensearch_dashboards_react/public/use_url_tracker/use_url_tracker.tsx b/src/plugins/opensearch_dashboards_react/public/use_url_tracker/use_url_tracker.tsx index 9ee29c0711dd..b36c78b88336 100644 --- a/src/plugins/opensearch_dashboards_react/public/use_url_tracker/use_url_tracker.tsx +++ b/src/plugins/opensearch_dashboards_react/public/use_url_tracker/use_url_tracker.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { History } from 'history'; import { useLayoutEffect } from 'react'; import { createUrlTracker } from '../../../opensearch_dashboards_utils/public/'; diff --git a/src/plugins/opensearch_dashboards_react/public/util/index.ts b/src/plugins/opensearch_dashboards_react/public/util/index.ts index 51d8e27b8dda..400d4f41daa7 100644 --- a/src/plugins/opensearch_dashboards_react/public/util/index.ts +++ b/src/plugins/opensearch_dashboards_react/public/util/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { toMountPoint } from './to_mount_point'; export { MountPointPortal } from './mount_point_portal'; export { useIfMounted } from './utils'; diff --git a/src/plugins/opensearch_dashboards_react/public/util/mount_point_portal.test.tsx b/src/plugins/opensearch_dashboards_react/public/util/mount_point_portal.test.tsx index b33fbdb3fabd..21e6b2788452 100644 --- a/src/plugins/opensearch_dashboards_react/public/util/mount_point_portal.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/util/mount_point_portal.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FC } from 'react'; import { mount, ReactWrapper } from 'enzyme'; import { MountPoint, UnmountCallback } from 'opensearch-dashboards/public'; diff --git a/src/plugins/opensearch_dashboards_react/public/util/mount_point_portal.tsx b/src/plugins/opensearch_dashboards_react/public/util/mount_point_portal.tsx index 2bea72080b13..3462e3da4435 100644 --- a/src/plugins/opensearch_dashboards_react/public/util/mount_point_portal.tsx +++ b/src/plugins/opensearch_dashboards_react/public/util/mount_point_portal.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import React, { useRef, useEffect, useState, Component } from 'react'; import ReactDOM from 'react-dom'; diff --git a/src/plugins/opensearch_dashboards_react/public/util/test_helpers/react_mount_serializer.ts b/src/plugins/opensearch_dashboards_react/public/util/test_helpers/react_mount_serializer.ts index 4b2df4ec1e23..9b1a13fda92e 100644 --- a/src/plugins/opensearch_dashboards_react/public/util/test_helpers/react_mount_serializer.ts +++ b/src/plugins/opensearch_dashboards_react/public/util/test_helpers/react_mount_serializer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function test(value: any) { return value && value.__reactMount__; } diff --git a/src/plugins/opensearch_dashboards_react/public/util/to_mount_point.tsx b/src/plugins/opensearch_dashboards_react/public/util/to_mount_point.tsx index 7672fb196b46..deb3cf7b5a62 100644 --- a/src/plugins/opensearch_dashboards_react/public/util/to_mount_point.tsx +++ b/src/plugins/opensearch_dashboards_react/public/util/to_mount_point.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/opensearch_dashboards_react/public/util/utils.ts b/src/plugins/opensearch_dashboards_react/public/util/utils.ts index a8bf3b718b0c..ab40cf4c95fa 100644 --- a/src/plugins/opensearch_dashboards_react/public/util/utils.ts +++ b/src/plugins/opensearch_dashboards_react/public/util/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useCallback, useEffect, useRef } from 'react'; export const useIfMounted = () => { diff --git a/src/plugins/opensearch_dashboards_react/public/validated_range/index.ts b/src/plugins/opensearch_dashboards_react/public/validated_range/index.ts index f0c5adb43ab3..42549ef87076 100644 --- a/src/plugins/opensearch_dashboards_react/public/validated_range/index.ts +++ b/src/plugins/opensearch_dashboards_react/public/validated_range/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ValidatedDualRange, Value } from './validated_dual_range'; diff --git a/src/plugins/opensearch_dashboards_react/public/validated_range/is_range_valid.test.ts b/src/plugins/opensearch_dashboards_react/public/validated_range/is_range_valid.test.ts index a94b8d2a0a32..3f95bdb2139a 100644 --- a/src/plugins/opensearch_dashboards_react/public/validated_range/is_range_valid.test.ts +++ b/src/plugins/opensearch_dashboards_react/public/validated_range/is_range_valid.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isRangeValid } from './is_range_valid'; it('Should return true when lower and upper values are set and between min and max', () => { diff --git a/src/plugins/opensearch_dashboards_react/public/validated_range/is_range_valid.ts b/src/plugins/opensearch_dashboards_react/public/validated_range/is_range_valid.ts index 8f1f6ba78cd7..e22da6ba828e 100644 --- a/src/plugins/opensearch_dashboards_react/public/validated_range/is_range_valid.ts +++ b/src/plugins/opensearch_dashboards_react/public/validated_range/is_range_valid.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ValueMember, Value } from './validated_dual_range'; diff --git a/src/plugins/opensearch_dashboards_react/public/validated_range/validated_dual_range.tsx b/src/plugins/opensearch_dashboards_react/public/validated_range/validated_dual_range.tsx index 110409f294e4..5c86bff93cd5 100644 --- a/src/plugins/opensearch_dashboards_react/public/validated_range/validated_dual_range.tsx +++ b/src/plugins/opensearch_dashboards_react/public/validated_range/validated_dual_range.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; import React, { Component, ReactNode } from 'react'; import { EuiFormRow, EuiDualRange } from '@elastic/eui'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/common/constants.ts b/src/plugins/opensearch_dashboards_usage_collection/common/constants.ts index 1463be9823d7..bd062dd9f1f7 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/common/constants.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/common/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const PLUGIN_ID = 'opensearchDashboardsUsageCollection'; export const PLUGIN_NAME = 'opensearch_dashboards_usage_collection'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/index.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/index.ts index f40c3b988673..cc2139a2e756 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/index.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { registerApplicationUsageCollector } from './telemetry_application_usage_collector'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/rollups.test.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/rollups.test.ts index 0c9aba01c6ae..62cd7df4ce00 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/rollups.test.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/rollups.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { rollDailyData, rollTotals } from './rollups'; import { savedObjectsRepositoryMock, loggingSystemMock } from '../../../../../core/server/mocks'; import { SavedObjectsErrorHelpers } from '../../../../../core/server'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/rollups.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/rollups.ts index e2bc2aabe88e..e910033efb53 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/rollups.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/rollups.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ISavedObjectsRepository, SavedObject, Logger } from 'opensearch-dashboards/server'; import moment from 'moment'; import { diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/saved_objects_types.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/saved_objects_types.ts index 5c0a0b67dc4f..0f0fab851d6d 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/saved_objects_types.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/saved_objects_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectAttributes, SavedObjectsServiceSetup } from 'opensearch-dashboards/server'; /** diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/schema.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/schema.ts index e60793c8914d..2c221aa6a0b5 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/schema.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/schema.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MakeSchemaFrom } from 'src/plugins/usage_collection/server'; import { ApplicationUsageTelemetryReport } from './telemetry_application_usage_collector'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.test.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.test.ts index 878248db237c..64735a1f8d24 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.test.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { savedObjectsRepositoryMock, loggingSystemMock, diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.ts index 5ce5675d14b5..28b095a63654 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { timer } from 'rxjs'; import { diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/core/core_usage_collector.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/core/core_usage_collector.ts index 1ca1d33d1d07..3b32381a3ae2 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/core/core_usage_collector.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/core/core_usage_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UsageCollectionSetup } from 'src/plugins/usage_collection/server'; import { CoreUsageData, CoreUsageDataStart } from '../../../../../core/server'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/core/index.test.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/core/index.test.ts index 238cd9357f0e..bbd2ed88cd3f 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/core/index.test.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/core/index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CollectorOptions, createUsageCollectionSetupMock, diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/core/index.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/core/index.ts index ed75d5709cd0..438e1a58b682 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/core/index.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/core/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { registerCoreUsageCollector } from './core_usage_collector'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/csp/csp_collector.test.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/csp/csp_collector.test.ts index 043380966e22..99bc7ae8841e 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/csp/csp_collector.test.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/csp/csp_collector.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CspConfig, ICspConfig } from '../../../../../core/server'; import { createCspCollector } from './csp_collector'; import { httpServiceMock } from '../../../../../core/server/mocks'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/csp/csp_collector.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/csp/csp_collector.ts index de8ad6081b30..dbea3ff4310e 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/csp/csp_collector.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/csp/csp_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UsageCollectionSetup, CollectorOptions } from 'src/plugins/usage_collection/server'; import { HttpServiceSetup, CspConfig } from '../../../../../core/server'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/csp/index.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/csp/index.ts index 20a12245363d..d2cb643ad5fb 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/csp/index.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/csp/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { registerCspCollector } from './csp_collector'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/index.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/index.ts index 3ef5c7ccaf77..3374facac5a9 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/index.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { registerUiMetricUsageCollector } from './ui_metric'; export { registerManagementUsageCollector } from './management'; export { registerApplicationUsageCollector } from './application_usage'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/management/index.test.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/management/index.test.ts index 708bd286d901..4a1e804a3fc6 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/management/index.test.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/management/index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { uiSettingsServiceMock } from '../../../../../core/server/mocks'; import { CollectorOptions, diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/management/index.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/management/index.ts index 2d26760ded35..74879db5ae01 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/management/index.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/management/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { registerManagementUsageCollector } from './telemetry_management_collector'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/management/schema.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/management/schema.ts index 39d20a13a24c..8127664c02cd 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/management/schema.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/management/schema.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MakeSchemaFrom } from 'src/plugins/usage_collection/server'; import { UsageStats } from './telemetry_management_collector'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/management/telemetry_management_collector.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/management/telemetry_management_collector.ts index abfd565542e4..48482c5101aa 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/management/telemetry_management_collector.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/management/telemetry_management_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IUiSettingsClient } from 'opensearch-dashboards/server'; import { UsageCollectionSetup } from 'src/plugins/usage_collection/server'; import { stackManagementSchema } from './schema'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/get_saved_object_counts.test.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/get_saved_object_counts.test.ts index 7a106a4b88a2..cdfb918a1618 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/get_saved_object_counts.test.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/get_saved_object_counts.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getSavedObjectsCounts } from './get_saved_object_counts'; describe('getSavedObjectsCounts', () => { diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/get_saved_object_counts.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/get_saved_object_counts.ts index b2b8c99dea09..e987af3bfc3c 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/get_saved_object_counts.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/get_saved_object_counts.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Moved from /x-pack/plugins/monitoring/server/opensearch_dashboards_monitoring/collectors/get_opensearch_dashboards_usage_collector.ts * diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/index.test.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/index.test.ts index 141e15cd26a2..0e20b1cd8111 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/index.test.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { pluginInitializerContextConfigMock } from '../../../../../core/server/mocks'; import { CollectorOptions, diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/index.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/index.ts index fdaf813bfd6d..ffcf58734ae5 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/index.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { registerOpenSearchDashboardsUsageCollector } from './opensearch_dashboards_usage_collector'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/opensearch_dashboards_usage_collector.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/opensearch_dashboards_usage_collector.ts index 28b807e54c82..0311f0411d6b 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/opensearch_dashboards_usage_collector.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/opensearch_dashboards/opensearch_dashboards_usage_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { take } from 'rxjs/operators'; import { SharedGlobalConfig } from 'opensearch-dashboards/server'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ops_stats/index.test.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ops_stats/index.test.ts index fc35be67ebc4..8c2910d6ea4c 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ops_stats/index.test.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ops_stats/index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Subject } from 'rxjs'; import { CollectorOptions, diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ops_stats/index.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ops_stats/index.ts index 04971c8fdfbd..e1ce7a9fa14f 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ops_stats/index.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ops_stats/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { registerOpsStatsCollector } from './ops_stats_collector'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts index 4718a3955de4..9d6e0eaa4e82 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { cloneDeep, omit } from 'lodash'; import moment from 'moment'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ui_metric/index.test.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ui_metric/index.test.ts index c55ba135e06a..22ccede62903 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ui_metric/index.test.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ui_metric/index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { savedObjectsRepositoryMock } from '../../../../../core/server/mocks'; import { CollectorOptions, diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ui_metric/index.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ui_metric/index.ts index 751a2d38e6e3..8c54fa369136 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ui_metric/index.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ui_metric/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { registerUiMetricUsageCollector } from './telemetry_ui_metric_collector'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ui_metric/schema.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ui_metric/schema.ts index d39b3b0a4640..e542d08d2056 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ui_metric/schema.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ui_metric/schema.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { MakeSchemaFrom } from 'src/plugins/usage_collection/server'; import { UIMetricUsage } from './telemetry_ui_metric_collector'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ui_metric/telemetry_ui_metric_collector.ts b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ui_metric/telemetry_ui_metric_collector.ts index 443a1aad8652..fff1983092bb 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ui_metric/telemetry_ui_metric_collector.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/collectors/ui_metric/telemetry_ui_metric_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ISavedObjectsRepository, SavedObjectAttributes, diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/index.test.ts b/src/plugins/opensearch_dashboards_usage_collection/server/index.test.ts index 6f29bd86e174..9493cc827d74 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/index.test.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { coreMock, savedObjectsRepositoryMock, diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/index.ts b/src/plugins/opensearch_dashboards_usage_collection/server/index.ts index 4592ea1a1ba0..9111805d76a0 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/index.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from '../../../core/server'; import { OpenSearchDashboardsUsageCollectionPlugin } from './plugin'; diff --git a/src/plugins/opensearch_dashboards_usage_collection/server/plugin.ts b/src/plugins/opensearch_dashboards_usage_collection/server/plugin.ts index b32babaf2288..87bdbd467022 100644 --- a/src/plugins/opensearch_dashboards_usage_collection/server/plugin.ts +++ b/src/plugins/opensearch_dashboards_usage_collection/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UsageCollectionSetup } from 'src/plugins/usage_collection/server'; import { Subject, Observable } from 'rxjs'; import { diff --git a/src/plugins/opensearch_dashboards_utils/common/calculate_object_hash.ts b/src/plugins/opensearch_dashboards_utils/common/calculate_object_hash.ts index cf90c2b58d80..cfa094a0d076 100644 --- a/src/plugins/opensearch_dashboards_utils/common/calculate_object_hash.ts +++ b/src/plugins/opensearch_dashboards_utils/common/calculate_object_hash.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // adopted form https://github.com/bevacqua/hash-sum function pad(hash: string, len: number): string { diff --git a/src/plugins/opensearch_dashboards_utils/common/create_getter_setter.ts b/src/plugins/opensearch_dashboards_utils/common/create_getter_setter.ts index a56f28b84308..fdb32b241ba3 100644 --- a/src/plugins/opensearch_dashboards_utils/common/create_getter_setter.ts +++ b/src/plugins/opensearch_dashboards_utils/common/create_getter_setter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export type Get = () => T; export type Set = (value: T) => void; diff --git a/src/plugins/opensearch_dashboards_utils/common/defer.test.ts b/src/plugins/opensearch_dashboards_utils/common/defer.test.ts index 7193a6c41b67..71770e45fcfd 100644 --- a/src/plugins/opensearch_dashboards_utils/common/defer.test.ts +++ b/src/plugins/opensearch_dashboards_utils/common/defer.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Defer } from './defer'; const tick = () => new Promise((resolve) => setTimeout(resolve, 1)); diff --git a/src/plugins/opensearch_dashboards_utils/common/defer.ts b/src/plugins/opensearch_dashboards_utils/common/defer.ts index 2eb6b1a5a172..e8c3fd24c9a7 100644 --- a/src/plugins/opensearch_dashboards_utils/common/defer.ts +++ b/src/plugins/opensearch_dashboards_utils/common/defer.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * An externally resolvable/rejectable "promise". Use it to resolve/reject * promise at any time. diff --git a/src/plugins/opensearch_dashboards_utils/common/distinct_until_changed_with_initial_value.test.ts b/src/plugins/opensearch_dashboards_utils/common/distinct_until_changed_with_initial_value.test.ts index 3f021883fb33..0594c68a1724 100644 --- a/src/plugins/opensearch_dashboards_utils/common/distinct_until_changed_with_initial_value.test.ts +++ b/src/plugins/opensearch_dashboards_utils/common/distinct_until_changed_with_initial_value.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Subject } from 'rxjs'; import { distinctUntilChangedWithInitialValue } from './distinct_until_changed_with_initial_value'; import { toArray } from 'rxjs/operators'; diff --git a/src/plugins/opensearch_dashboards_utils/common/distinct_until_changed_with_initial_value.ts b/src/plugins/opensearch_dashboards_utils/common/distinct_until_changed_with_initial_value.ts index 92e2309e26e9..5eb5a707de44 100644 --- a/src/plugins/opensearch_dashboards_utils/common/distinct_until_changed_with_initial_value.ts +++ b/src/plugins/opensearch_dashboards_utils/common/distinct_until_changed_with_initial_value.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MonoTypeOperatorFunction, queueScheduler, scheduled, from } from 'rxjs'; import { concatAll, distinctUntilChanged, skip } from 'rxjs/operators'; diff --git a/src/plugins/opensearch_dashboards_utils/common/errors/errors.test.ts b/src/plugins/opensearch_dashboards_utils/common/errors/errors.test.ts index 50ed5c266a03..c92b7075fca7 100644 --- a/src/plugins/opensearch_dashboards_utils/common/errors/errors.test.ts +++ b/src/plugins/opensearch_dashboards_utils/common/errors/errors.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { DuplicateField, SavedObjectNotFound, OsdError } from './errors'; diff --git a/src/plugins/opensearch_dashboards_utils/common/errors/errors.ts b/src/plugins/opensearch_dashboards_utils/common/errors/errors.ts index 7004b34f47c5..812fb70792ea 100644 --- a/src/plugins/opensearch_dashboards_utils/common/errors/errors.ts +++ b/src/plugins/opensearch_dashboards_utils/common/errors/errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable max-classes-per-file */ // abstract error class diff --git a/src/plugins/opensearch_dashboards_utils/common/errors/index.ts b/src/plugins/opensearch_dashboards_utils/common/errors/index.ts index cf6eaff12817..899b68a10fdd 100644 --- a/src/plugins/opensearch_dashboards_utils/common/errors/index.ts +++ b/src/plugins/opensearch_dashboards_utils/common/errors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './errors'; diff --git a/src/plugins/opensearch_dashboards_utils/common/field_wildcard.test.ts b/src/plugins/opensearch_dashboards_utils/common/field_wildcard.test.ts index 86638425b8c2..0d87ff3a9447 100644 --- a/src/plugins/opensearch_dashboards_utils/common/field_wildcard.test.ts +++ b/src/plugins/opensearch_dashboards_utils/common/field_wildcard.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fieldWildcardFilter, makeRegEx } from './field_wildcard'; describe('fieldWildcard', () => { diff --git a/src/plugins/opensearch_dashboards_utils/common/field_wildcard.ts b/src/plugins/opensearch_dashboards_utils/common/field_wildcard.ts index 8a1bbebadf94..fbebe913914b 100644 --- a/src/plugins/opensearch_dashboards_utils/common/field_wildcard.ts +++ b/src/plugins/opensearch_dashboards_utils/common/field_wildcard.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { escapeRegExp, memoize } from 'lodash'; // @internal diff --git a/src/plugins/opensearch_dashboards_utils/common/index.ts b/src/plugins/opensearch_dashboards_utils/common/index.ts index 409a50fdef29..622474a07e27 100644 --- a/src/plugins/opensearch_dashboards_utils/common/index.ts +++ b/src/plugins/opensearch_dashboards_utils/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './defer'; export * from './field_wildcard'; export * from './of'; diff --git a/src/plugins/opensearch_dashboards_utils/common/now.ts b/src/plugins/opensearch_dashboards_utils/common/now.ts index a8bcb46a3c5e..773810584484 100644 --- a/src/plugins/opensearch_dashboards_utils/common/now.ts +++ b/src/plugins/opensearch_dashboards_utils/common/now.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Function that returns number in milliseconds since some undefined point in * time. Use this function for performance measurements. diff --git a/src/plugins/opensearch_dashboards_utils/common/of.test.ts b/src/plugins/opensearch_dashboards_utils/common/of.test.ts index 7bd42d3872b9..499f831042e4 100644 --- a/src/plugins/opensearch_dashboards_utils/common/of.test.ts +++ b/src/plugins/opensearch_dashboards_utils/common/of.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { of } from './of'; describe('of()', () => { diff --git a/src/plugins/opensearch_dashboards_utils/common/of.ts b/src/plugins/opensearch_dashboards_utils/common/of.ts index 27bd8e0bace9..bd9291ca4a7a 100644 --- a/src/plugins/opensearch_dashboards_utils/common/of.ts +++ b/src/plugins/opensearch_dashboards_utils/common/of.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Given a promise awaits it and returns a 3-tuple, with the following members: * diff --git a/src/plugins/opensearch_dashboards_utils/common/persistable_state/index.ts b/src/plugins/opensearch_dashboards_utils/common/persistable_state/index.ts index f8b52e2ba9a4..72c710d176d8 100644 --- a/src/plugins/opensearch_dashboards_utils/common/persistable_state/index.ts +++ b/src/plugins/opensearch_dashboards_utils/common/persistable_state/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectReference } from '../../../../core/types'; export type SerializableValue = string | number | boolean | null | undefined | SerializableState; diff --git a/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container.test.ts b/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container.test.ts index 70dfa5ddbfea..2c315d709d1b 100644 --- a/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container.test.ts +++ b/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createStateContainer } from './create_state_container'; test('can create state container', () => { diff --git a/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container.ts b/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container.ts index a24b8c32bdad..ead8c97fbd91 100644 --- a/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container.ts +++ b/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { skip } from 'rxjs/operators'; import deepFreeze from 'deep-freeze-strict'; diff --git a/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container_react_helpers.test.tsx b/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container_react_helpers.test.tsx index 092f29c88704..d71a44e6aea3 100644 --- a/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container_react_helpers.test.tsx +++ b/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container_react_helpers.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { act, Simulate } from 'react-dom/test-utils'; diff --git a/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container_react_helpers.ts b/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container_react_helpers.ts index 0f299caa218f..ea38f73848df 100644 --- a/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container_react_helpers.ts +++ b/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container_react_helpers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import useObservable from 'react-use/lib/useObservable'; import defaultComparator from 'fast-deep-equal'; diff --git a/src/plugins/opensearch_dashboards_utils/common/state_containers/index.ts b/src/plugins/opensearch_dashboards_utils/common/state_containers/index.ts index e008a19cad2f..ba2d8d6a26d3 100644 --- a/src/plugins/opensearch_dashboards_utils/common/state_containers/index.ts +++ b/src/plugins/opensearch_dashboards_utils/common/state_containers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * State containers are Redux-store-like objects meant to help you manage state in your services or apps. * TODO: Update link diff --git a/src/plugins/opensearch_dashboards_utils/common/state_containers/types.ts b/src/plugins/opensearch_dashboards_utils/common/state_containers/types.ts index be3ac76cc214..183772114e0c 100644 --- a/src/plugins/opensearch_dashboards_utils/common/state_containers/types.ts +++ b/src/plugins/opensearch_dashboards_utils/common/state_containers/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { Ensure } from '@osd/utility-types'; import { FC, ComponentType } from 'react'; diff --git a/src/plugins/opensearch_dashboards_utils/common/typed_json.ts b/src/plugins/opensearch_dashboards_utils/common/typed_json.ts index 9c820435e950..4bc3bd0facfb 100644 --- a/src/plugins/opensearch_dashboards_utils/common/typed_json.ts +++ b/src/plugins/opensearch_dashboards_utils/common/typed_json.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export type JsonValue = null | boolean | number | string | JsonObject | JsonArray; export interface JsonObject { diff --git a/src/plugins/opensearch_dashboards_utils/common/ui/index.ts b/src/plugins/opensearch_dashboards_utils/common/ui/index.ts index 2d0b9fccebe5..df65d7e2716a 100644 --- a/src/plugins/opensearch_dashboards_utils/common/ui/index.ts +++ b/src/plugins/opensearch_dashboards_utils/common/ui/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './ui_component'; diff --git a/src/plugins/opensearch_dashboards_utils/common/ui/ui_component.ts b/src/plugins/opensearch_dashboards_utils/common/ui/ui_component.ts index 64cdcf285611..cf8072b488c2 100644 --- a/src/plugins/opensearch_dashboards_utils/common/ui/ui_component.ts +++ b/src/plugins/opensearch_dashboards_utils/common/ui/ui_component.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * In many places in OpenSearch Dashboards we want to be agnostic to frontend view library, * i.e. instead of exposing React-specific APIs we want to expose APIs that diff --git a/src/plugins/opensearch_dashboards_utils/common/url/encode_uri_query.test.ts b/src/plugins/opensearch_dashboards_utils/common/url/encode_uri_query.test.ts index 545db282e391..6a5056d91f65 100644 --- a/src/plugins/opensearch_dashboards_utils/common/url/encode_uri_query.test.ts +++ b/src/plugins/opensearch_dashboards_utils/common/url/encode_uri_query.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { encodeUriQuery, encodeQuery } from './encode_uri_query'; describe('encodeUriQuery', () => { diff --git a/src/plugins/opensearch_dashboards_utils/common/url/encode_uri_query.ts b/src/plugins/opensearch_dashboards_utils/common/url/encode_uri_query.ts index d006d15900d1..55620097d8ef 100644 --- a/src/plugins/opensearch_dashboards_utils/common/url/encode_uri_query.ts +++ b/src/plugins/opensearch_dashboards_utils/common/url/encode_uri_query.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ParsedQuery } from 'query-string'; import { transform } from 'lodash'; diff --git a/src/plugins/opensearch_dashboards_utils/common/url/index.ts b/src/plugins/opensearch_dashboards_utils/common/url/index.ts index f8ddaa016b50..a321f51bcc14 100644 --- a/src/plugins/opensearch_dashboards_utils/common/url/index.ts +++ b/src/plugins/opensearch_dashboards_utils/common/url/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { encodeUriQuery, encodeQuery } from './encode_uri_query'; export const url = { diff --git a/src/plugins/opensearch_dashboards_utils/demos/demos.test.ts b/src/plugins/opensearch_dashboards_utils/demos/demos.test.ts index a2d7d3681808..349b4bd8851c 100644 --- a/src/plugins/opensearch_dashboards_utils/demos/demos.test.ts +++ b/src/plugins/opensearch_dashboards_utils/demos/demos.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { result as counterResult } from './state_containers/counter'; import { result as todomvcResult } from './state_containers/todomvc'; import { result as urlSyncResult } from './state_sync/url'; diff --git a/src/plugins/opensearch_dashboards_utils/demos/state_containers/counter.ts b/src/plugins/opensearch_dashboards_utils/demos/state_containers/counter.ts index c2278a1db3a9..12b48d6227bf 100644 --- a/src/plugins/opensearch_dashboards_utils/demos/state_containers/counter.ts +++ b/src/plugins/opensearch_dashboards_utils/demos/state_containers/counter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createStateContainer } from '../../common/state_containers'; interface State { diff --git a/src/plugins/opensearch_dashboards_utils/demos/state_containers/todomvc.ts b/src/plugins/opensearch_dashboards_utils/demos/state_containers/todomvc.ts index 302e798e8b6d..632dfb2a8016 100644 --- a/src/plugins/opensearch_dashboards_utils/demos/state_containers/todomvc.ts +++ b/src/plugins/opensearch_dashboards_utils/demos/state_containers/todomvc.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createStateContainer, PureTransition } from '../../common/state_containers'; export interface TodoItem { diff --git a/src/plugins/opensearch_dashboards_utils/demos/state_sync/url.ts b/src/plugins/opensearch_dashboards_utils/demos/state_sync/url.ts index 91149c4cad03..6e4d8f53a80b 100644 --- a/src/plugins/opensearch_dashboards_utils/demos/state_sync/url.ts +++ b/src/plugins/opensearch_dashboards_utils/demos/state_sync/url.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { defaultState, pureTransitions, TodoActions, TodoState } from '../state_containers/todomvc'; import { BaseState, BaseStateContainer, createStateContainer } from '../../common/state_containers'; import { diff --git a/src/plugins/opensearch_dashboards_utils/index.ts b/src/plugins/opensearch_dashboards_utils/index.ts index d6e34bffe5fb..d275f2e4cf2d 100644 --- a/src/plugins/opensearch_dashboards_utils/index.ts +++ b/src/plugins/opensearch_dashboards_utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createStateContainer, StateContainer, of } from './common'; diff --git a/src/plugins/opensearch_dashboards_utils/public/core/create_start_service_getter.test.ts b/src/plugins/opensearch_dashboards_utils/public/core/create_start_service_getter.test.ts index b01316463d34..51cf242bba44 100644 --- a/src/plugins/opensearch_dashboards_utils/public/core/create_start_service_getter.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/core/create_start_service_getter.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { StartServicesAccessor } from '../../../../core/public'; import { createStartServicesGetter } from './create_start_service_getter'; import { Defer } from '../../common/defer'; diff --git a/src/plugins/opensearch_dashboards_utils/public/core/create_start_service_getter.ts b/src/plugins/opensearch_dashboards_utils/public/core/create_start_service_getter.ts index fcd6c88b5f17..7e8c032adeeb 100644 --- a/src/plugins/opensearch_dashboards_utils/public/core/create_start_service_getter.ts +++ b/src/plugins/opensearch_dashboards_utils/public/core/create_start_service_getter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreStart, StartServicesAccessor } from '../../../../core/public'; export interface StartServices { diff --git a/src/plugins/opensearch_dashboards_utils/public/core/index.ts b/src/plugins/opensearch_dashboards_utils/public/core/index.ts index 1ab49f213a7e..08949735c686 100644 --- a/src/plugins/opensearch_dashboards_utils/public/core/index.ts +++ b/src/plugins/opensearch_dashboards_utils/public/core/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './create_start_service_getter'; diff --git a/src/plugins/opensearch_dashboards_utils/public/history/index.ts b/src/plugins/opensearch_dashboards_utils/public/history/index.ts index 8df646f703f6..77457a0f7a27 100644 --- a/src/plugins/opensearch_dashboards_utils/public/history/index.ts +++ b/src/plugins/opensearch_dashboards_utils/public/history/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { removeQueryParam } from './remove_query_param'; export { redirectWhenMissing } from './redirect_when_missing'; diff --git a/src/plugins/opensearch_dashboards_utils/public/history/redirect_when_missing.tsx b/src/plugins/opensearch_dashboards_utils/public/history/redirect_when_missing.tsx index 9d9f0e4a6fec..2fe7823b89a6 100644 --- a/src/plugins/opensearch_dashboards_utils/public/history/redirect_when_missing.tsx +++ b/src/plugins/opensearch_dashboards_utils/public/history/redirect_when_missing.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import { History } from 'history'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/opensearch_dashboards_utils/public/history/remove_query_param.test.ts b/src/plugins/opensearch_dashboards_utils/public/history/remove_query_param.test.ts index 88483e9689f9..f53e4eedfdc5 100644 --- a/src/plugins/opensearch_dashboards_utils/public/history/remove_query_param.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/history/remove_query_param.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { removeQueryParam } from './remove_query_param'; import { createMemoryHistory, Location } from 'history'; diff --git a/src/plugins/opensearch_dashboards_utils/public/history/remove_query_param.ts b/src/plugins/opensearch_dashboards_utils/public/history/remove_query_param.ts index b8efeebac288..5558541611b4 100644 --- a/src/plugins/opensearch_dashboards_utils/public/history/remove_query_param.ts +++ b/src/plugins/opensearch_dashboards_utils/public/history/remove_query_param.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parse, stringify } from 'query-string'; import { History, Location } from 'history'; import { url } from '../../common'; diff --git a/src/plugins/opensearch_dashboards_utils/public/index.test.ts b/src/plugins/opensearch_dashboards_utils/public/index.test.ts index 476296bf1f6c..bfcaf0dfedc5 100644 --- a/src/plugins/opensearch_dashboards_utils/public/index.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createStateContainer, createStateContainerReactHelpers } from '.'; test('exports store methods', () => { diff --git a/src/plugins/opensearch_dashboards_utils/public/index.ts b/src/plugins/opensearch_dashboards_utils/public/index.ts index e205be869409..e23298f10804 100644 --- a/src/plugins/opensearch_dashboards_utils/public/index.ts +++ b/src/plugins/opensearch_dashboards_utils/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { calculateObjectHash, defer, diff --git a/src/plugins/opensearch_dashboards_utils/public/render_complete/index.ts b/src/plugins/opensearch_dashboards_utils/public/render_complete/index.ts index f0fbaaee3abe..04af226f5613 100644 --- a/src/plugins/opensearch_dashboards_utils/public/render_complete/index.ts +++ b/src/plugins/opensearch_dashboards_utils/public/render_complete/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './render_complete_listener'; export * from './render_complete_dispatcher'; diff --git a/src/plugins/opensearch_dashboards_utils/public/render_complete/render_complete_dispatcher.ts b/src/plugins/opensearch_dashboards_utils/public/render_complete/render_complete_dispatcher.ts index ca21eaad18a9..a49b2f2e7cb6 100644 --- a/src/plugins/opensearch_dashboards_utils/public/render_complete/render_complete_dispatcher.ts +++ b/src/plugins/opensearch_dashboards_utils/public/render_complete/render_complete_dispatcher.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const dispatchEvent = (el: HTMLElement, eventName: string) => { el.dispatchEvent(new CustomEvent(eventName, { bubbles: true })); }; diff --git a/src/plugins/opensearch_dashboards_utils/public/render_complete/render_complete_listener.ts b/src/plugins/opensearch_dashboards_utils/public/render_complete/render_complete_listener.ts index ed29624e5f04..1968145e45f2 100644 --- a/src/plugins/opensearch_dashboards_utils/public/render_complete/render_complete_listener.ts +++ b/src/plugins/opensearch_dashboards_utils/public/render_complete/render_complete_listener.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export class RenderCompleteListener { private readonly attributeName = 'data-render-complete'; diff --git a/src/plugins/opensearch_dashboards_utils/public/resize_checker/index.ts b/src/plugins/opensearch_dashboards_utils/public/resize_checker/index.ts index 420119d97aaf..cac2ba39b512 100644 --- a/src/plugins/opensearch_dashboards_utils/public/resize_checker/index.ts +++ b/src/plugins/opensearch_dashboards_utils/public/resize_checker/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ResizeChecker } from './resize_checker'; diff --git a/src/plugins/opensearch_dashboards_utils/public/resize_checker/resize_checker.test.ts b/src/plugins/opensearch_dashboards_utils/public/resize_checker/resize_checker.test.ts index 7c57b80225fd..e6de0d05a616 100644 --- a/src/plugins/opensearch_dashboards_utils/public/resize_checker/resize_checker.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/resize_checker/resize_checker.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { ResizeChecker } from './resize_checker'; import { EventEmitter } from 'events'; diff --git a/src/plugins/opensearch_dashboards_utils/public/resize_checker/resize_checker.ts b/src/plugins/opensearch_dashboards_utils/public/resize_checker/resize_checker.ts index 24750f336f97..cf8f368b249e 100644 --- a/src/plugins/opensearch_dashboards_utils/public/resize_checker/resize_checker.ts +++ b/src/plugins/opensearch_dashboards_utils/public/resize_checker/resize_checker.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EventEmitter } from 'events'; import { isEqual } from 'lodash'; import ResizeObserver from 'resize-observer-polyfill'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/state_encoder/encode_decode_state.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/state_encoder/encode_decode_state.ts index dfcb9b6f0b80..4ab1353ed1b2 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/state_encoder/encode_decode_state.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/state_encoder/encode_decode_state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import rison, { RisonValue } from 'rison-node'; import { isStateHash, retrieveState, persistState } from '../state_hash'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/state_encoder/index.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/state_encoder/index.ts index d1063b85496d..8f92fc4e3a16 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/state_encoder/index.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/state_encoder/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { encodeState, decodeState, diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/state_hash/index.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/state_hash/index.ts index 914f78197934..32fe90f2f70d 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/state_hash/index.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/state_hash/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { isStateHash, createStateHash, persistState, retrieveState } from './state_hash'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/state_hash/state_hash.test.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/state_hash/state_hash.test.ts index 6813df0fb841..59a10ad73b97 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/state_hash/state_hash.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/state_hash/state_hash.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { encode as encodeRison } from 'rison-node'; import { mockStorage } from '../../storage/hashed_item_store/mock'; import { createStateHash, isStateHash } from './state_hash'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/state_hash/state_hash.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/state_hash/state_hash.ts index aa41266b5b60..178a1d66d2ae 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/state_hash/state_hash.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/state_hash/state_hash.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Sha256 } from '../../../../../core/public/utils'; import { hashedItemStore } from '../../storage/hashed_item_store'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/url/errors.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/url/errors.ts index 2242683a38fa..87abbeff60b1 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/url/errors.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/url/errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { NotificationsStart } from 'opensearch-dashboards/public'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/url/format.test.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/url/format.test.ts index b83c9f565a57..0ba4c2e0c80b 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/url/format.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/url/format.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { replaceUrlHashQuery } from './format'; describe('format', () => { diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/url/format.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/url/format.ts index 8c97c95ccd97..d92add61cd1b 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/url/format.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/url/format.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { format as formatUrl } from 'url'; import { stringify, ParsedQuery } from 'query-string'; import { parseUrl, parseUrlHash } from './parse'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/url/hash_unhash_url.test.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/url/hash_unhash_url.test.ts index 82f69ac97443..dc03df487582 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/url/hash_unhash_url.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/url/hash_unhash_url.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mockStorage } from '../../storage/hashed_item_store/mock'; import { HashedItemStore } from '../../storage/hashed_item_store'; import { hashUrl, unhashUrl } from './hash_unhash_url'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/url/hash_unhash_url.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/url/hash_unhash_url.ts index 62193e9a9cf8..b7529059230e 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/url/hash_unhash_url.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/url/hash_unhash_url.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { expandedStateToHashedState, hashedStateToExpandedState } from '../state_encoder'; import { replaceUrlHashQuery } from './format'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/url/index.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/url/index.ts index 42f80e934c09..321cdbfc0a33 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/url/index.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/url/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { hashUrl, hashQuery, unhashUrl, unhashQuery } from './hash_unhash_url'; export { createOsdUrlControls, diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/url/osd_url_storage.test.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/url/osd_url_storage.test.ts index 669e2a533275..99b4a28a0cc4 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/url/osd_url_storage.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/url/osd_url_storage.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import '../../storage/hashed_item_store/mock'; import { History, diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/url/osd_url_storage.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/url/osd_url_storage.ts index f8545cc4ded8..d64a361b1776 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/url/osd_url_storage.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/url/osd_url_storage.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { format as formatUrl } from 'url'; import { stringify } from 'query-string'; import { createBrowserHistory, History } from 'history'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/url/osd_url_tracker.test.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/url/osd_url_tracker.test.ts index bd56587ebc6f..b380a0f756ae 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/url/osd_url_tracker.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/url/osd_url_tracker.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { StubBrowserStorage } from 'test_utils/stub_browser_storage'; import { createMemoryHistory, History } from 'history'; import { createOsdUrlTracker, OsdUrlTracker } from './osd_url_tracker'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/url/osd_url_tracker.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/url/osd_url_tracker.ts index 8158c62bac18..bb4d81853a30 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/url/osd_url_tracker.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/url/osd_url_tracker.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createHashHistory, History, UnregisterCallback } from 'history'; import { BehaviorSubject, Observable, Subscription } from 'rxjs'; import { AppUpdater, ToastsSetup } from 'opensearch-dashboards/public'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/url/parse.test.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/url/parse.test.ts index 65c447bd75bd..8ff6342c1ef1 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/url/parse.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/url/parse.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parseUrlHash } from './parse'; describe('parseUrlHash', () => { diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/url/parse.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/url/parse.ts index 1068ae7e27ec..b7fae70a271d 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/url/parse.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/url/parse.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parse as _parseUrl } from 'url'; import { History } from 'history'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/url/url_tracker.test.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/url/url_tracker.test.ts index 57a339c0ca12..aedd54eae01b 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/url/url_tracker.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/url/url_tracker.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createUrlTracker, IUrlTracker } from './url_tracker'; import { StubBrowserStorage } from 'test_utils/stub_browser_storage'; import { createMemoryHistory, History } from 'history'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/url/url_tracker.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/url/url_tracker.ts index 6a22dd20ded3..3c00e5bddfbd 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/url/url_tracker.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/url/url_tracker.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createBrowserHistory, History, Location } from 'history'; import { getRelativeToHistoryPath } from './osd_url_storage'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/utils/diff_object.test.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/utils/diff_object.test.ts index 5343d6d50369..c3991d96c21f 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/utils/diff_object.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/utils/diff_object.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeep } from 'lodash'; import { applyDiff } from './diff_object'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/utils/diff_object.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/utils/diff_object.ts index 322063f6d53a..cc4f4a72b767 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/utils/diff_object.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/utils/diff_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { keys, isFunction, difference, filter, union, pick, each, assign, isEqual } from 'lodash'; export interface IDiffObject { diff --git a/src/plugins/opensearch_dashboards_utils/public/state_sync/index.ts b/src/plugins/opensearch_dashboards_utils/public/state_sync/index.ts index b81031a5815e..15d1d8ddf78f 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_sync/index.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_sync/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * State syncing utilities are a set of helpers for syncing your application state * with browser URL or browser storage. diff --git a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync.test.ts b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync.test.ts index 56e8d5b8f8e9..ee0ac1daeac9 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BaseState, BaseStateContainer, createStateContainer } from '../../common/state_containers'; import { defaultState, diff --git a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync.ts b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync.ts index dd6d8e2d4ae8..8745ed436a5b 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EMPTY, Subscription } from 'rxjs'; import { tap } from 'rxjs/operators'; import defaultComparator from 'fast-deep-equal'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/create_osd_url_state_storage.test.ts b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/create_osd_url_state_storage.test.ts index 03586b25860f..8c98fd403a44 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/create_osd_url_state_storage.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/create_osd_url_state_storage.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { mockStorage } from '../../storage/hashed_item_store/mock'; import { createOsdUrlStateStorage, IOsdUrlStateStorage } from './create_osd_url_state_storage'; import { History, createBrowserHistory } from 'history'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/create_osd_url_state_storage.ts b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/create_osd_url_state_storage.ts index efc52d16a132..e413c443a76d 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/create_osd_url_state_storage.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/create_osd_url_state_storage.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable, of } from 'rxjs'; import { catchError, map, share } from 'rxjs/operators'; import { History } from 'history'; diff --git a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/create_session_storage_state_storage.test.ts b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/create_session_storage_state_storage.test.ts index 125b8b0cbc22..8e0e59afa15d 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/create_session_storage_state_storage.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/create_session_storage_state_storage.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createSessionStorageStateStorage, ISessionStorageStateStorage, diff --git a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/create_session_storage_state_storage.ts b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/create_session_storage_state_storage.ts index 4e3a40213aaa..49f447346d87 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/create_session_storage_state_storage.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/create_session_storage_state_storage.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IStateStorage } from './types'; /** diff --git a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/index.ts b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/index.ts index 42c182b30d5e..6b4a4c85df76 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/index.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { IStateStorage } from './types'; export { createOsdUrlStateStorage, IOsdUrlStateStorage } from './create_osd_url_state_storage'; export { diff --git a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/types.ts b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/types.ts index 88892e1ed422..fc91d4bd5f3a 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/types.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync_state_storage/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; /** diff --git a/src/plugins/opensearch_dashboards_utils/public/state_sync/types.ts b/src/plugins/opensearch_dashboards_utils/public/state_sync/types.ts index fe9904fdc36d..b8247c397106 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_sync/types.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_sync/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BaseState, BaseStateContainer } from '../../common/state_containers/types'; import { IStateStorage } from './state_sync_state_storage'; diff --git a/src/plugins/opensearch_dashboards_utils/public/storage/hashed_item_store/hashed_item_store.test.ts b/src/plugins/opensearch_dashboards_utils/public/storage/hashed_item_store/hashed_item_store.test.ts index 607a6fc3c13c..1ad0a735555d 100644 --- a/src/plugins/opensearch_dashboards_utils/public/storage/hashed_item_store/hashed_item_store.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/storage/hashed_item_store/hashed_item_store.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { StubBrowserStorage } from 'test_utils/stub_browser_storage'; import { HashedItemStore } from './hashed_item_store'; diff --git a/src/plugins/opensearch_dashboards_utils/public/storage/hashed_item_store/hashed_item_store.ts b/src/plugins/opensearch_dashboards_utils/public/storage/hashed_item_store/hashed_item_store.ts index f828902909fa..2e21d292e372 100644 --- a/src/plugins/opensearch_dashboards_utils/public/storage/hashed_item_store/hashed_item_store.ts +++ b/src/plugins/opensearch_dashboards_utils/public/storage/hashed_item_store/hashed_item_store.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * The HashedItemStore associates JSON objects with states in browser history and persists these * objects in sessionStorage. We persist them so that when a tab is closed and re-opened, we can diff --git a/src/plugins/opensearch_dashboards_utils/public/storage/hashed_item_store/index.ts b/src/plugins/opensearch_dashboards_utils/public/storage/hashed_item_store/index.ts index 56a3a75a301e..4a723c4d0569 100644 --- a/src/plugins/opensearch_dashboards_utils/public/storage/hashed_item_store/index.ts +++ b/src/plugins/opensearch_dashboards_utils/public/storage/hashed_item_store/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HashedItemStore } from './hashed_item_store'; export { HashedItemStore }; export const hashedItemStore = new HashedItemStore(window.sessionStorage); diff --git a/src/plugins/opensearch_dashboards_utils/public/storage/hashed_item_store/mock.ts b/src/plugins/opensearch_dashboards_utils/public/storage/hashed_item_store/mock.ts index 58c5c6212226..fb809f66d14b 100644 --- a/src/plugins/opensearch_dashboards_utils/public/storage/hashed_item_store/mock.ts +++ b/src/plugins/opensearch_dashboards_utils/public/storage/hashed_item_store/mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { StubBrowserStorage } from 'test_utils/stub_browser_storage'; import { HashedItemStore } from './hashed_item_store'; diff --git a/src/plugins/opensearch_dashboards_utils/public/storage/index.ts b/src/plugins/opensearch_dashboards_utils/public/storage/index.ts index e37ac963d7a3..5a21f0fc75a7 100644 --- a/src/plugins/opensearch_dashboards_utils/public/storage/index.ts +++ b/src/plugins/opensearch_dashboards_utils/public/storage/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Storage } from './storage'; export { IStorage, IStorageWrapper } from './types'; diff --git a/src/plugins/opensearch_dashboards_utils/public/storage/storage.test.ts b/src/plugins/opensearch_dashboards_utils/public/storage/storage.test.ts index 89639f5a4649..dbfe25c1dca8 100644 --- a/src/plugins/opensearch_dashboards_utils/public/storage/storage.test.ts +++ b/src/plugins/opensearch_dashboards_utils/public/storage/storage.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Storage } from './storage'; import { IStorage, IStorageWrapper } from './types'; diff --git a/src/plugins/opensearch_dashboards_utils/public/storage/storage.ts b/src/plugins/opensearch_dashboards_utils/public/storage/storage.ts index 1b4d9dc26702..f7a02820616a 100644 --- a/src/plugins/opensearch_dashboards_utils/public/storage/storage.ts +++ b/src/plugins/opensearch_dashboards_utils/public/storage/storage.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IStorage, IStorageWrapper } from './types'; export class Storage implements IStorageWrapper { diff --git a/src/plugins/opensearch_dashboards_utils/public/storage/types.ts b/src/plugins/opensearch_dashboards_utils/public/storage/types.ts index cbfc606c3045..a6aea45c4801 100644 --- a/src/plugins/opensearch_dashboards_utils/public/storage/types.ts +++ b/src/plugins/opensearch_dashboards_utils/public/storage/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface IStorageWrapper { get: (key: string) => T | null; set: (key: string, value: T) => S; diff --git a/src/plugins/opensearch_dashboards_utils/public/ui/configurable.ts b/src/plugins/opensearch_dashboards_utils/public/ui/configurable.ts index 269b2447a91d..736d03ad1f97 100644 --- a/src/plugins/opensearch_dashboards_utils/public/ui/configurable.ts +++ b/src/plugins/opensearch_dashboards_utils/public/ui/configurable.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiComponent } from '../../common/ui/ui_component'; import { SerializableState } from '../../common'; diff --git a/src/plugins/opensearch_dashboards_utils/public/ui/index.ts b/src/plugins/opensearch_dashboards_utils/public/ui/index.ts index 077e637d71ac..e4bbfb7a7bcb 100644 --- a/src/plugins/opensearch_dashboards_utils/public/ui/index.ts +++ b/src/plugins/opensearch_dashboards_utils/public/ui/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './configurable'; diff --git a/src/plugins/opensearch_dashboards_utils/server/index.ts b/src/plugins/opensearch_dashboards_utils/server/index.ts index 83fa0e05503a..b4961543aabe 100644 --- a/src/plugins/opensearch_dashboards_utils/server/index.ts +++ b/src/plugins/opensearch_dashboards_utils/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createGetterSetter, fieldWildcardFilter, diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/ace/index.ts b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/ace/index.ts index 917b1136c63e..e77fb56f36b4 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/ace/index.ts +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/ace/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { useUIAceKeyboardMode } from './use_ui_ace_keyboard_mode'; diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/ace/use_ui_ace_keyboard_mode.tsx b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/ace/use_ui_ace_keyboard_mode.tsx index 7390600725f7..2fda057b30c1 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/ace/use_ui_ace_keyboard_mode.tsx +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/ace/use_ui_ace_keyboard_mode.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useRef } from 'react'; import * as ReactDOM from 'react-dom'; import { keys, EuiText } from '@elastic/eui'; diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx index e940af36df76..06019f1acb03 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpSetup } from 'opensearch-dashboards/public'; import React, { createContext, useContext } from 'react'; diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/index.ts b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/index.ts index 0c96a355fc25..f78f22e9e134 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/index.ts +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { AuthorizationProvider, AuthorizationContext, diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/not_authorized_section.tsx b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/not_authorized_section.tsx index 2453b5586bea..34ef8b6a832c 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/not_authorized_section.tsx +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/not_authorized_section.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiEmptyPrompt } from '@elastic/eui'; diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/section_error.tsx b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/section_error.tsx index dd0fa9ecee53..26a94fab60e4 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/section_error.tsx +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/section_error.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiCallOut, EuiSpacer } from '@elastic/eui'; import React, { Fragment } from 'react'; diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/with_privileges.tsx b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/with_privileges.tsx index dd8805459b02..39b1fc07da91 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/with_privileges.tsx +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/components/with_privileges.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MissingPrivileges } from '../types'; import { useAuthorizationContext } from './authorization_provider'; diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/index.ts b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/index.ts index 878d964b5019..8d091b5ccee0 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/index.ts +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { WithPrivileges, NotAuthorizedSection, diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/types.ts b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/types.ts index 8bbc3359632a..32346c7f0e34 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/types.ts +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/authorization/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface MissingPrivileges { [key: string]: string[] | undefined; } diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/errors/index.ts b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/errors/index.ts index b3b59bd8f983..506868b466a5 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/errors/index.ts +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/errors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { isOpenSearchError } from './is_opensearch_error'; diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/errors/is_opensearch_error.ts b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/errors/is_opensearch_error.ts index 40d46e5963e4..ceab984ab061 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/errors/is_opensearch_error.ts +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/errors/is_opensearch_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as legacyElasticsearch from 'elasticsearch'; const opensearchErrorsParent = legacyElasticsearch.errors._Abstract; diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/global_flyout/global_flyout.tsx b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/global_flyout/global_flyout.tsx index 2d3d99e47800..17df2fb76373 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/global_flyout/global_flyout.tsx +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/global_flyout/global_flyout.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { createContext, useContext, diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/global_flyout/index.ts b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/global_flyout/index.ts index bd4d1cf6d370..5af27f971e19 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/global_flyout/index.ts +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/global_flyout/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { GlobalFlyoutProvider, useGlobalFlyout } from './global_flyout'; diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/index.ts b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/index.ts index 25fb6166ddad..fbe3e68e71a5 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/index.ts +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { useXJsonMode } from './use_xjson_mode'; export { collapseLiteralStrings, expandLiteralStrings } from './json_xjson_translation_tools'; diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/__tests__/json_xjson_translation_tools.test.ts b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/__tests__/json_xjson_translation_tools.test.ts index 5cef7de785d8..909d4c8120f1 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/__tests__/json_xjson_translation_tools.test.ts +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/__tests__/json_xjson_translation_tools.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import _ from 'lodash'; // @ts-ignore import collapsingTests from './utils_string_collapsing.txt'; diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/index.ts b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/index.ts index e232e18022b9..9f42e669b280 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/index.ts +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { extractJSONStringValues } from './parser'; export function collapseLiteralStrings(data: string) { diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/parser.ts b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/parser.ts index 8e0b908e8e36..a4db6e95621c 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/parser.ts +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/parser.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - type StringValues = Array<{ startIndex: number; endIndex: number }>; interface ParseResult { diff --git a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/use_xjson_mode.ts b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/use_xjson_mode.ts index c7a685edf915..7cb0a075b272 100644 --- a/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/use_xjson_mode.ts +++ b/src/plugins/opensearch_ui_shared/__packages_do_not_import__/xjson/use_xjson_mode.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useState, Dispatch } from 'react'; import { collapseLiteralStrings, expandLiteralStrings } from './json_xjson_translation_tools'; diff --git a/src/plugins/opensearch_ui_shared/common/index.ts b/src/plugins/opensearch_ui_shared/common/index.ts index 0a03b343efca..d65748e0148e 100644 --- a/src/plugins/opensearch_ui_shared/common/index.ts +++ b/src/plugins/opensearch_ui_shared/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Privileges, MissingPrivileges } from '../__packages_do_not_import__/authorization'; diff --git a/src/plugins/opensearch_ui_shared/public/ace/index.ts b/src/plugins/opensearch_ui_shared/public/ace/index.ts index a40efcaba107..0e9635ded416 100644 --- a/src/plugins/opensearch_ui_shared/public/ace/index.ts +++ b/src/plugins/opensearch_ui_shared/public/ace/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { useUIAceKeyboardMode } from '../../__packages_do_not_import__/ace'; diff --git a/src/plugins/opensearch_ui_shared/public/authorization/index.ts b/src/plugins/opensearch_ui_shared/public/authorization/index.ts index cfde5ac724aa..c4bf39a20488 100644 --- a/src/plugins/opensearch_ui_shared/public/authorization/index.ts +++ b/src/plugins/opensearch_ui_shared/public/authorization/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { AuthorizationContext, AuthorizationProvider, diff --git a/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_daily.js b/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_daily.js index 51c519c8581f..d1419ef9464a 100644 --- a/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_daily.js +++ b/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_daily.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_editor.js b/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_editor.js index 85b5e3e71ca1..ac3896087c6a 100644 --- a/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_editor.js +++ b/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_editor.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component, Fragment } from 'react'; import PropTypes from 'prop-types'; import { padStart } from 'lodash'; diff --git a/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_hourly.js b/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_hourly.js index fa1af62fa614..29fe59d29d1a 100644 --- a/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_hourly.js +++ b/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_hourly.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_monthly.js b/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_monthly.js index ea00793c8fff..88c56165a0cb 100644 --- a/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_monthly.js +++ b/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_monthly.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_weekly.js b/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_weekly.js index f182ff6ba1fc..6deb9725e8d9 100644 --- a/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_weekly.js +++ b/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_weekly.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_yearly.js b/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_yearly.js index 85da9d7fcd49..7cdaf7d309fc 100644 --- a/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_yearly.js +++ b/src/plugins/opensearch_ui_shared/public/components/cron_editor/cron_yearly.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/opensearch_ui_shared/public/components/cron_editor/index.d.ts b/src/plugins/opensearch_ui_shared/public/components/cron_editor/index.d.ts index e39c0a27abf4..7d52ea9c92a6 100644 --- a/src/plugins/opensearch_ui_shared/public/components/cron_editor/index.d.ts +++ b/src/plugins/opensearch_ui_shared/public/components/cron_editor/index.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export declare const MINUTE: string; export declare const HOUR: string; export declare const DAY: string; diff --git a/src/plugins/opensearch_ui_shared/public/components/cron_editor/index.js b/src/plugins/opensearch_ui_shared/public/components/cron_editor/index.js index 90d8061a1fef..71eb92d5c4d8 100644 --- a/src/plugins/opensearch_ui_shared/public/components/cron_editor/index.js +++ b/src/plugins/opensearch_ui_shared/public/components/cron_editor/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { CronEditor } from './cron_editor'; export { MINUTE, HOUR, DAY, WEEK, MONTH, YEAR } from './services'; diff --git a/src/plugins/opensearch_ui_shared/public/components/cron_editor/services/cron.js b/src/plugins/opensearch_ui_shared/public/components/cron_editor/services/cron.js index 33a807963696..d1655fec7310 100644 --- a/src/plugins/opensearch_ui_shared/public/components/cron_editor/services/cron.js +++ b/src/plugins/opensearch_ui_shared/public/components/cron_editor/services/cron.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const MINUTE = 'MINUTE'; export const HOUR = 'HOUR'; export const DAY = 'DAY'; diff --git a/src/plugins/opensearch_ui_shared/public/components/cron_editor/services/humanized_numbers.js b/src/plugins/opensearch_ui_shared/public/components/cron_editor/services/humanized_numbers.js index d69fc423be38..ba08c877ef64 100644 --- a/src/plugins/opensearch_ui_shared/public/components/cron_editor/services/humanized_numbers.js +++ b/src/plugins/opensearch_ui_shared/public/components/cron_editor/services/humanized_numbers.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; // The international ISO standard dictates Monday as the first day of the week, but cron patterns diff --git a/src/plugins/opensearch_ui_shared/public/components/cron_editor/services/index.js b/src/plugins/opensearch_ui_shared/public/components/cron_editor/services/index.js index 79df881b7873..c75006a6f430 100644 --- a/src/plugins/opensearch_ui_shared/public/components/cron_editor/services/index.js +++ b/src/plugins/opensearch_ui_shared/public/components/cron_editor/services/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './cron'; export * from './humanized_numbers'; diff --git a/src/plugins/opensearch_ui_shared/public/components/json_editor/index.ts b/src/plugins/opensearch_ui_shared/public/components/json_editor/index.ts index 9325abc7398d..a1d84ba46a68 100644 --- a/src/plugins/opensearch_ui_shared/public/components/json_editor/index.ts +++ b/src/plugins/opensearch_ui_shared/public/components/json_editor/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './json_editor'; export { OnJsonEditorUpdateHandler, JsonEditorState } from './use_json'; diff --git a/src/plugins/opensearch_ui_shared/public/components/json_editor/json_editor.tsx b/src/plugins/opensearch_ui_shared/public/components/json_editor/json_editor.tsx index 1007046a3502..23a4d9812e2b 100644 --- a/src/plugins/opensearch_ui_shared/public/components/json_editor/json_editor.tsx +++ b/src/plugins/opensearch_ui_shared/public/components/json_editor/json_editor.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback, useMemo } from 'react'; import { EuiFormRow, EuiCodeEditor } from '@elastic/eui'; import { debounce } from 'lodash'; diff --git a/src/plugins/opensearch_ui_shared/public/components/json_editor/use_json.ts b/src/plugins/opensearch_ui_shared/public/components/json_editor/use_json.ts index c402d0caa2f0..ec8dd8c9e499 100644 --- a/src/plugins/opensearch_ui_shared/public/components/json_editor/use_json.ts +++ b/src/plugins/opensearch_ui_shared/public/components/json_editor/use_json.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useEffect, useState, useRef, useCallback } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/opensearch_ui_shared/public/components/section_loading/index.ts b/src/plugins/opensearch_ui_shared/public/components/section_loading/index.ts index e8ec0fa2c4f5..1d8d6d9e7e17 100644 --- a/src/plugins/opensearch_ui_shared/public/components/section_loading/index.ts +++ b/src/plugins/opensearch_ui_shared/public/components/section_loading/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SectionLoading } from './section_loading'; diff --git a/src/plugins/opensearch_ui_shared/public/components/section_loading/section_loading.tsx b/src/plugins/opensearch_ui_shared/public/components/section_loading/section_loading.tsx index 624bdc35d0ca..d972d70263a2 100644 --- a/src/plugins/opensearch_ui_shared/public/components/section_loading/section_loading.tsx +++ b/src/plugins/opensearch_ui_shared/public/components/section_loading/section_loading.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { diff --git a/src/plugins/opensearch_ui_shared/public/forms/form_wizard/form_wizard.tsx b/src/plugins/opensearch_ui_shared/public/forms/form_wizard/form_wizard.tsx index 7667425d2b5b..7b5a2793cfe1 100644 --- a/src/plugins/opensearch_ui_shared/public/forms/form_wizard/form_wizard.tsx +++ b/src/plugins/opensearch_ui_shared/public/forms/form_wizard/form_wizard.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiStepsHorizontal, EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/opensearch_ui_shared/public/forms/form_wizard/form_wizard_context.tsx b/src/plugins/opensearch_ui_shared/public/forms/form_wizard/form_wizard_context.tsx index 17a89191d46c..b41c868c4a52 100644 --- a/src/plugins/opensearch_ui_shared/public/forms/form_wizard/form_wizard_context.tsx +++ b/src/plugins/opensearch_ui_shared/public/forms/form_wizard/form_wizard_context.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState, createContext, useContext, useCallback } from 'react'; import { WithMultiContent, useMultiContentContext, HookProps } from '../multi_content'; diff --git a/src/plugins/opensearch_ui_shared/public/forms/form_wizard/form_wizard_nav.tsx b/src/plugins/opensearch_ui_shared/public/forms/form_wizard/form_wizard_nav.tsx index 81a959636ca3..9f6285f91560 100644 --- a/src/plugins/opensearch_ui_shared/public/forms/form_wizard/form_wizard_nav.tsx +++ b/src/plugins/opensearch_ui_shared/public/forms/form_wizard/form_wizard_nav.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; import { EuiButton, EuiButtonEmpty, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; diff --git a/src/plugins/opensearch_ui_shared/public/forms/form_wizard/form_wizard_step.tsx b/src/plugins/opensearch_ui_shared/public/forms/form_wizard/form_wizard_step.tsx index f0a0c90889fc..bd7528245093 100644 --- a/src/plugins/opensearch_ui_shared/public/forms/form_wizard/form_wizard_step.tsx +++ b/src/plugins/opensearch_ui_shared/public/forms/form_wizard/form_wizard_step.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useEffect } from 'react'; import { useFormWizardContext } from './form_wizard_context'; diff --git a/src/plugins/opensearch_ui_shared/public/forms/form_wizard/index.ts b/src/plugins/opensearch_ui_shared/public/forms/form_wizard/index.ts index cd42baa7fec7..6fe6cc1f1221 100644 --- a/src/plugins/opensearch_ui_shared/public/forms/form_wizard/index.ts +++ b/src/plugins/opensearch_ui_shared/public/forms/form_wizard/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { FormWizard } from './form_wizard'; export { FormWizardStep } from './form_wizard_step'; diff --git a/src/plugins/opensearch_ui_shared/public/forms/index.ts b/src/plugins/opensearch_ui_shared/public/forms/index.ts index 2b45bbaa3022..fae0f3405c74 100644 --- a/src/plugins/opensearch_ui_shared/public/forms/index.ts +++ b/src/plugins/opensearch_ui_shared/public/forms/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './form_wizard'; export * from './multi_content'; diff --git a/src/plugins/opensearch_ui_shared/public/forms/multi_content/index.ts b/src/plugins/opensearch_ui_shared/public/forms/multi_content/index.ts index 8e772cd1f2bd..7fd386cb7c46 100644 --- a/src/plugins/opensearch_ui_shared/public/forms/multi_content/index.ts +++ b/src/plugins/opensearch_ui_shared/public/forms/multi_content/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { MultiContentProvider, MultiContentConsumer, diff --git a/src/plugins/opensearch_ui_shared/public/forms/multi_content/multi_content_context.tsx b/src/plugins/opensearch_ui_shared/public/forms/multi_content/multi_content_context.tsx index 2f24555a0295..9c6fcdc41e6c 100644 --- a/src/plugins/opensearch_ui_shared/public/forms/multi_content/multi_content_context.tsx +++ b/src/plugins/opensearch_ui_shared/public/forms/multi_content/multi_content_context.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useCallback, createContext, useContext, useRef } from 'react'; import { useMultiContent, HookProps, Content, MultiContent } from './use_multi_content'; diff --git a/src/plugins/opensearch_ui_shared/public/forms/multi_content/use_multi_content.ts b/src/plugins/opensearch_ui_shared/public/forms/multi_content/use_multi_content.ts index 324b5160979b..5d7f297f6686 100644 --- a/src/plugins/opensearch_ui_shared/public/forms/multi_content/use_multi_content.ts +++ b/src/plugins/opensearch_ui_shared/public/forms/multi_content/use_multi_content.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useState, useCallback, useRef } from 'react'; export interface Content { diff --git a/src/plugins/opensearch_ui_shared/public/forms/multi_content/with_multi_content.tsx b/src/plugins/opensearch_ui_shared/public/forms/multi_content/with_multi_content.tsx index 0ce5f3c89fbc..62a3c7cd1e48 100644 --- a/src/plugins/opensearch_ui_shared/public/forms/multi_content/with_multi_content.tsx +++ b/src/plugins/opensearch_ui_shared/public/forms/multi_content/with_multi_content.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { MultiContentProvider } from './multi_content_context'; diff --git a/src/plugins/opensearch_ui_shared/public/global_flyout/index.ts b/src/plugins/opensearch_ui_shared/public/global_flyout/index.ts index bd87e1ee2ff5..f5fec67ec5b4 100644 --- a/src/plugins/opensearch_ui_shared/public/global_flyout/index.ts +++ b/src/plugins/opensearch_ui_shared/public/global_flyout/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { GlobalFlyoutProvider, useGlobalFlyout, diff --git a/src/plugins/opensearch_ui_shared/public/index.ts b/src/plugins/opensearch_ui_shared/public/index.ts index 194b20e5f1a5..42bb72b723ca 100644 --- a/src/plugins/opensearch_ui_shared/public/index.ts +++ b/src/plugins/opensearch_ui_shared/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Create a namespace for Forms * In the future, each top level folder should be exported like that to avoid naming collision diff --git a/src/plugins/opensearch_ui_shared/public/indices/constants/index.ts b/src/plugins/opensearch_ui_shared/public/indices/constants/index.ts index 9605853584eb..70ae4d06df65 100644 --- a/src/plugins/opensearch_ui_shared/public/indices/constants/index.ts +++ b/src/plugins/opensearch_ui_shared/public/indices/constants/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { indexPatterns } from '../../../../data/public'; export const INDEX_ILLEGAL_CHARACTERS_VISIBLE = [...indexPatterns.ILLEGAL_CHARACTERS_VISIBLE, '*']; diff --git a/src/plugins/opensearch_ui_shared/public/indices/index.ts b/src/plugins/opensearch_ui_shared/public/indices/index.ts index eeada83280b5..9c2faec5b230 100644 --- a/src/plugins/opensearch_ui_shared/public/indices/index.ts +++ b/src/plugins/opensearch_ui_shared/public/indices/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { INDEX_ILLEGAL_CHARACTERS_VISIBLE } from './constants'; import { diff --git a/src/plugins/opensearch_ui_shared/public/indices/validate/index.ts b/src/plugins/opensearch_ui_shared/public/indices/validate/index.ts index 732132d129b4..58b09c58617c 100644 --- a/src/plugins/opensearch_ui_shared/public/indices/validate/index.ts +++ b/src/plugins/opensearch_ui_shared/public/indices/validate/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { indexNameBeginsWithPeriod, findIllegalCharactersInIndexName, diff --git a/src/plugins/opensearch_ui_shared/public/indices/validate/validate_index.test.ts b/src/plugins/opensearch_ui_shared/public/indices/validate/validate_index.test.ts index 954e2162d2e2..bf39ff93942d 100644 --- a/src/plugins/opensearch_ui_shared/public/indices/validate/validate_index.test.ts +++ b/src/plugins/opensearch_ui_shared/public/indices/validate/validate_index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { INDEX_ILLEGAL_CHARACTERS_VISIBLE } from '../constants'; import { diff --git a/src/plugins/opensearch_ui_shared/public/indices/validate/validate_index.ts b/src/plugins/opensearch_ui_shared/public/indices/validate/validate_index.ts index c0eaf5fa49c7..1269c1eddd4e 100644 --- a/src/plugins/opensearch_ui_shared/public/indices/validate/validate_index.ts +++ b/src/plugins/opensearch_ui_shared/public/indices/validate/validate_index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { INDEX_ILLEGAL_CHARACTERS_VISIBLE } from '../constants'; // Names beginning with periods are reserved for hidden indices. diff --git a/src/plugins/opensearch_ui_shared/public/request/index.ts b/src/plugins/opensearch_ui_shared/public/request/index.ts index 7884527e49d5..cfc1a0960776 100644 --- a/src/plugins/opensearch_ui_shared/public/request/index.ts +++ b/src/plugins/opensearch_ui_shared/public/request/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SendRequestConfig, SendRequestResponse, sendRequest } from './send_request'; export { UseRequestConfig, UseRequestResponse, useRequest } from './use_request'; diff --git a/src/plugins/opensearch_ui_shared/public/request/send_request.test.helpers.ts b/src/plugins/opensearch_ui_shared/public/request/send_request.test.helpers.ts index d909b1437e32..7ff5b14d631d 100644 --- a/src/plugins/opensearch_ui_shared/public/request/send_request.test.helpers.ts +++ b/src/plugins/opensearch_ui_shared/public/request/send_request.test.helpers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon from 'sinon'; import { HttpSetup, HttpFetchOptions } from '../../../../core/public'; diff --git a/src/plugins/opensearch_ui_shared/public/request/send_request.test.ts b/src/plugins/opensearch_ui_shared/public/request/send_request.test.ts index 680eb8ecc494..d07835c3d574 100644 --- a/src/plugins/opensearch_ui_shared/public/request/send_request.test.ts +++ b/src/plugins/opensearch_ui_shared/public/request/send_request.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import sinon from 'sinon'; import { SendRequestHelpers, createSendRequestHelpers } from './send_request.test.helpers'; diff --git a/src/plugins/opensearch_ui_shared/public/request/send_request.ts b/src/plugins/opensearch_ui_shared/public/request/send_request.ts index 6744d47d3200..b76730d26737 100644 --- a/src/plugins/opensearch_ui_shared/public/request/send_request.ts +++ b/src/plugins/opensearch_ui_shared/public/request/send_request.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpSetup, HttpFetchQuery } from '../../../../core/public'; export interface SendRequestConfig { diff --git a/src/plugins/opensearch_ui_shared/public/request/use_request.test.helpers.tsx b/src/plugins/opensearch_ui_shared/public/request/use_request.test.helpers.tsx index f8837e72afb0..e9e6bffb7b59 100644 --- a/src/plugins/opensearch_ui_shared/public/request/use_request.test.helpers.tsx +++ b/src/plugins/opensearch_ui_shared/public/request/use_request.test.helpers.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState, useEffect } from 'react'; import { act } from 'react-dom/test-utils'; import { mount, ReactWrapper } from 'enzyme'; diff --git a/src/plugins/opensearch_ui_shared/public/request/use_request.test.ts b/src/plugins/opensearch_ui_shared/public/request/use_request.test.ts index 0cad16ab4821..5b9964070d57 100644 --- a/src/plugins/opensearch_ui_shared/public/request/use_request.test.ts +++ b/src/plugins/opensearch_ui_shared/public/request/use_request.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { act } from 'react-dom/test-utils'; import sinon from 'sinon'; diff --git a/src/plugins/opensearch_ui_shared/public/request/use_request.ts b/src/plugins/opensearch_ui_shared/public/request/use_request.ts index 82736c0c1246..3c65f8342a00 100644 --- a/src/plugins/opensearch_ui_shared/public/request/use_request.ts +++ b/src/plugins/opensearch_ui_shared/public/request/use_request.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useEffect, useCallback, useState, useRef, useMemo } from 'react'; import { HttpSetup } from '../../../../../src/core/public'; diff --git a/src/plugins/opensearch_ui_shared/public/url/extract_query_params.ts b/src/plugins/opensearch_ui_shared/public/url/extract_query_params.ts index 5c8f8e765a50..710edfb92d12 100644 --- a/src/plugins/opensearch_ui_shared/public/url/extract_query_params.ts +++ b/src/plugins/opensearch_ui_shared/public/url/extract_query_params.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parse, ParsedQuery } from 'query-string'; export function extractQueryParams(queryString: string = ''): ParsedQuery { diff --git a/src/plugins/opensearch_ui_shared/public/url/index.ts b/src/plugins/opensearch_ui_shared/public/url/index.ts index 6d07e1ea8f40..a3f0d6448bbc 100644 --- a/src/plugins/opensearch_ui_shared/public/url/index.ts +++ b/src/plugins/opensearch_ui_shared/public/url/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { extractQueryParams } from './extract_query_params'; diff --git a/src/plugins/opensearch_ui_shared/public/xjson/index.ts b/src/plugins/opensearch_ui_shared/public/xjson/index.ts index 0a2c9b5933ff..cef3e27fafbe 100644 --- a/src/plugins/opensearch_ui_shared/public/xjson/index.ts +++ b/src/plugins/opensearch_ui_shared/public/xjson/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from '../../__packages_do_not_import__/xjson'; diff --git a/src/plugins/opensearch_ui_shared/server/errors/index.ts b/src/plugins/opensearch_ui_shared/server/errors/index.ts index df48214ab81d..ed4cdfe53094 100644 --- a/src/plugins/opensearch_ui_shared/server/errors/index.ts +++ b/src/plugins/opensearch_ui_shared/server/errors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { isOpenSearchError } from '../../__packages_do_not_import__/errors'; diff --git a/src/plugins/opensearch_ui_shared/server/index.ts b/src/plugins/opensearch_ui_shared/server/index.ts index f2e2fee342a8..7a434302c6d4 100644 --- a/src/plugins/opensearch_ui_shared/server/index.ts +++ b/src/plugins/opensearch_ui_shared/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { isOpenSearchError } from './errors'; /** dummy plugin*/ diff --git a/src/plugins/opensearch_ui_shared/static/forms/components/field.tsx b/src/plugins/opensearch_ui_shared/static/forms/components/field.tsx index df4f2dc1aaa6..e19aa0d876e1 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/components/field.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/components/field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ComponentType } from 'react'; import { FieldHook, FIELD_TYPES } from '../hook_form_lib'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/components/fields/checkbox_field.tsx b/src/plugins/opensearch_ui_shared/static/forms/components/fields/checkbox_field.tsx index ae28572e18fa..1fca26ddf4c2 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/components/fields/checkbox_field.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/components/fields/checkbox_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFormRow, EuiCheckbox } from '@elastic/eui'; import uuid from 'uuid'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/components/fields/combobox_field.tsx b/src/plugins/opensearch_ui_shared/static/forms/components/fields/combobox_field.tsx index 5868efd4bdae..78852a039d45 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/components/fields/combobox_field.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/components/fields/combobox_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; import { EuiFormRow, EuiComboBox, EuiComboBoxOptionOption } from '@elastic/eui'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/components/fields/index.ts b/src/plugins/opensearch_ui_shared/static/forms/components/fields/index.ts index ecdf91e6280b..18b6ba9e189a 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/components/fields/index.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/components/fields/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './text_field'; export * from './numeric_field'; export * from './checkbox_field'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/components/fields/json_editor_field.tsx b/src/plugins/opensearch_ui_shared/static/forms/components/fields/json_editor_field.tsx index f273a909e3de..eac987baa5f0 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/components/fields/json_editor_field.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/components/fields/json_editor_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { JsonEditor, OnJsonEditorUpdateHandler } from '../../../../public'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/components/fields/multi_select_field.tsx b/src/plugins/opensearch_ui_shared/static/forms/components/fields/multi_select_field.tsx index cabea9f6e9b5..53d34fda9477 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/components/fields/multi_select_field.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/components/fields/multi_select_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFormRow, EuiSelectable, EuiPanel } from '@elastic/eui'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/components/fields/numeric_field.tsx b/src/plugins/opensearch_ui_shared/static/forms/components/fields/numeric_field.tsx index 012b7a5b657b..49ea107a825c 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/components/fields/numeric_field.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/components/fields/numeric_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFormRow, EuiFieldNumber, EuiFieldNumberProps } from '@elastic/eui'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/components/fields/radio_group_field.tsx b/src/plugins/opensearch_ui_shared/static/forms/components/fields/radio_group_field.tsx index 1db8b9ffbd4b..2d84425996af 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/components/fields/radio_group_field.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/components/fields/radio_group_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFormRow, EuiRadioGroup } from '@elastic/eui'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/components/fields/range_field.tsx b/src/plugins/opensearch_ui_shared/static/forms/components/fields/range_field.tsx index e033f9917f37..67810bb1a343 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/components/fields/range_field.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/components/fields/range_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { EuiFormRow, EuiRange } from '@elastic/eui'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/components/fields/select_field.tsx b/src/plugins/opensearch_ui_shared/static/forms/components/fields/select_field.tsx index e5d7aac63943..bf774f34a084 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/components/fields/select_field.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/components/fields/select_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ReactNode, OptionHTMLAttributes } from 'react'; import { EuiFormRow, EuiSelect } from '@elastic/eui'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/components/fields/super_select_field.tsx b/src/plugins/opensearch_ui_shared/static/forms/components/fields/super_select_field.tsx index b74f72e6e606..3518f275ccdc 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/components/fields/super_select_field.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/components/fields/super_select_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFormRow, EuiSuperSelect, EuiSuperSelectProps } from '@elastic/eui'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/components/fields/text_area_field.tsx b/src/plugins/opensearch_ui_shared/static/forms/components/fields/text_area_field.tsx index e0f3cee13b19..5aace9e6d031 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/components/fields/text_area_field.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/components/fields/text_area_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFormRow, EuiTextArea } from '@elastic/eui'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/components/fields/text_field.tsx b/src/plugins/opensearch_ui_shared/static/forms/components/fields/text_field.tsx index 1b53ad686a95..7666fede6aa2 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/components/fields/text_field.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/components/fields/text_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFormRow, EuiFieldText } from '@elastic/eui'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/components/fields/toggle_field.tsx b/src/plugins/opensearch_ui_shared/static/forms/components/fields/toggle_field.tsx index 9953881537dc..b3da2fdb1ef7 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/components/fields/toggle_field.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/components/fields/toggle_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFormRow, EuiSwitch, EuiSwitchEvent } from '@elastic/eui'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/components/form_row.tsx b/src/plugins/opensearch_ui_shared/static/forms/components/form_row.tsx index 1fc02870eeb9..fbaeba68cc12 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/components/form_row.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/components/form_row.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiDescribedFormGroup, EuiTitle } from '@elastic/eui'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/components/index.ts b/src/plugins/opensearch_ui_shared/static/forms/components/index.ts index 7688ab200195..eb75475f03be 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/components/index.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* @TODO diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/de_serializers.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/de_serializers.ts index 4e75d9b53dfe..2e1f548d80bd 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/de_serializers.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/de_serializers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { EuiSelectableOption } from '@elastic/eui'; import { SerializerFunc } from '../hook_form_lib'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_formatters.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_formatters.ts index 8065379399a0..9c85ff1b6888 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_formatters.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_formatters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * NOTE: The toInt() formatter does _not_ play well if we enter the "e" letter in a "number" input * as it does not trigger an "onChange" event. diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/contains_char.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/contains_char.ts index 4445cacab80e..b7aa9c49d0c1 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/contains_char.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/contains_char.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ValidationFunc, ValidationError } from '../../hook_form_lib'; import { containsChars } from '../../../validators/string'; import { ERROR_CODE } from './types'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/empty_field.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/empty_field.ts index 85e62a23a526..013c15f615cc 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/empty_field.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/empty_field.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ValidationFunc } from '../../hook_form_lib'; import { isEmptyString } from '../../../validators/string'; import { isEmptyArray } from '../../../validators/array'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/index.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/index.ts index 6e68beca5c71..241ce76be054 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/index.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './empty_field'; export * from './min_length'; export * from './min_selectable_selection'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/index_name.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/index_name.ts index f9f7f76e5e76..c312ffa72cbf 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/index_name.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/index_name.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { indices } from '../../../../public'; import { ValidationFunc } from '../../hook_form_lib'; import { startsWith, containsChars } from '../../../validators/string'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/index_pattern_field.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/index_pattern_field.ts index ebba1ddfa1a7..9ab5234213f3 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/index_pattern_field.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/index_pattern_field.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ValidationFunc } from '../../hook_form_lib'; import { containsChars } from '../../../validators/string'; import { ERROR_CODE } from './types'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/is_json.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/is_json.ts index 14903f74f567..850758fecb5a 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/is_json.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/is_json.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ValidationFunc } from '../../hook_form_lib'; import { isJSON } from '../../../validators/string'; import { ERROR_CODE } from './types'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/lowercase_string.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/lowercase_string.ts index 9202f8f375c3..5bcb304204df 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/lowercase_string.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/lowercase_string.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ValidationFunc } from '../../hook_form_lib'; import { isLowerCaseString } from '../../../validators/string'; import { ERROR_CODE } from './types'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/min_length.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/min_length.ts index b73bd796cffe..62fa597ecfdc 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/min_length.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/min_length.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ValidationFunc, ValidationError } from '../../hook_form_lib'; import { hasMinLengthString } from '../../../validators/string'; import { hasMinLengthArray } from '../../../validators/array'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/min_selectable_selection.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/min_selectable_selection.ts index 14d723c1024c..b85bed7d5882 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/min_selectable_selection.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/min_selectable_selection.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiSelectableOption } from '@elastic/eui'; import { ValidationFunc, ValidationError } from '../../hook_form_lib'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/number_greater_than.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/number_greater_than.ts index 0402f0a9b37f..fb22bd7eba16 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/number_greater_than.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/number_greater_than.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ValidationFunc, ValidationError } from '../../hook_form_lib'; import { isNumberGreaterThan } from '../../../validators/number'; import { ERROR_CODE } from './types'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/number_smaller_than.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/number_smaller_than.ts index 900945f6e5ea..1da019121d71 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/number_smaller_than.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/number_smaller_than.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ValidationFunc, ValidationError } from '../../hook_form_lib'; import { isNumberSmallerThan } from '../../../validators/number'; import { ERROR_CODE } from './types'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/starts_with.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/starts_with.ts index cac6df38d98c..f52c43d56932 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/starts_with.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/starts_with.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ValidationFunc } from '../../hook_form_lib'; import { startsWith } from '../../../validators/string'; import { ERROR_CODE } from './types'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/types.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/types.ts index 872fa3029364..fc2af2e79e55 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/types.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export type ERROR_CODE = | 'ERR_FIELD_MISSING' | 'ERR_FIELD_FORMAT' diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/url.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/url.ts index f825b3f4da9f..60a7026fa623 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/url.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/field_validators/url.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ValidationFunc, ValidationError } from '../../hook_form_lib'; import { isUrl } from '../../../validators/string'; import { ERROR_CODE } from './types'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/index.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/index.ts index 6102f138838a..1fa092bc357d 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/index.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as fieldValidatorsImport from './field_validators'; import * as fieldFormattersImport from './field_formatters'; import * as serializersImport from './serializers'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/serializers.test.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/serializers.test.ts index 21bc4d26b862..f6c51e2e8879 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/serializers.test.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/serializers.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { stripEmptyFields } from './serializers'; describe('Serializers', () => { diff --git a/src/plugins/opensearch_ui_shared/static/forms/helpers/serializers.ts b/src/plugins/opensearch_ui_shared/static/forms/helpers/serializers.ts index 7e22da9dd3aa..1b21090fb345 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/helpers/serializers.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/helpers/serializers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Output transforms are functions that will be called * with the form field value whenever we access the form data object. (with `form.getFormData()`) diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/form.tsx b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/form.tsx index 08cfb93ff09a..55f0786eeb96 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/form.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/form.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ReactNode } from 'react'; import { EuiForm } from '@elastic/eui'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/form_data_provider.test.tsx b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/form_data_provider.test.tsx index 6da982ad53b6..ae52ec9800ef 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/form_data_provider.test.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/form_data_provider.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useState } from 'react'; import { act } from 'react-dom/test-utils'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/form_data_provider.ts b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/form_data_provider.ts index de7e16d791d5..91a4cf4b8b7c 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/form_data_provider.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/form_data_provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { FormData } from '../types'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/index.ts b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/index.ts index 9bc2c4a8a96f..5a96ed854998 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/index.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './form'; export * from './use_field'; export * from './use_multi_fields'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/use_array.ts b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/use_array.ts index 8c3b4a307c53..d68ef32dbe51 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/use_array.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/use_array.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useEffect, useRef, useCallback, useMemo } from 'react'; import { FormHook, FieldConfig } from '../types'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/use_field.test.tsx b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/use_field.test.tsx index d1613f3327bd..d3dedba2a882 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/use_field.test.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/use_field.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useEffect, FunctionComponent } from 'react'; import { act } from 'react-dom/test-utils'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/use_field.tsx b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/use_field.tsx index f90a49b3604f..dd2e161dae54 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/use_field.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/use_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FunctionComponent } from 'react'; import { FieldHook, FieldConfig, FormData } from '../types'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/use_multi_fields.tsx b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/use_multi_fields.tsx index c76be105273e..e8e5fa0ef3c1 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/use_multi_fields.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/components/use_multi_fields.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { UseField, Props as UseFieldProps } from './use_field'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/constants.ts b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/constants.ts index 0a62568c9dc7..a4f2238acbd6 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/constants.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // Field types export const FIELD_TYPES = { TEXT: 'text', diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/form_context.tsx b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/form_context.tsx index 14ac486b4a70..79e0fcd92f08 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/form_context.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/form_context.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { createContext, useContext } from 'react'; import { FormHook, FormData } from './types'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/form_data_context.tsx b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/form_data_context.tsx index 946db92b5cd5..be956a90fc1c 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/form_data_context.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/form_data_context.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { createContext, useContext, useMemo } from 'react'; import { FormData, FormHook } from './types'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/helpers.ts b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/helpers.ts index c09b17da5b08..c6c37b7556b3 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/helpers.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/helpers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FieldHook } from './types'; export const getFieldValidityAndErrorMessage = (field: { diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/index.ts b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/index.ts index cf0c7ff5abc6..47fb6a73a8da 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/index.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { useField, InternalFieldConfig } from './use_field'; export { useForm } from './use_form'; export { useFormData } from './use_form_data'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_field.ts b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_field.ts index 18aca457d341..dd3d01011893 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_field.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_field.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useMemo, useState, useEffect, useRef, useCallback } from 'react'; import { diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_form.test.tsx b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_form.test.tsx index 76d7f6a6945b..68478d1f4254 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_form.test.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_form.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useEffect } from 'react'; import { act } from 'react-dom/test-utils'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_form.ts b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_form.ts index db06f3a0524d..f9964c3a4239 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_form.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_form.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useState, useRef, useEffect, useMemo, useCallback } from 'react'; import { get } from 'lodash'; import { set } from '@elastic/safer-lodash-set'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_form_data.test.tsx b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_form_data.test.tsx index 6f263001270e..580f7903ceec 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_form_data.test.tsx +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_form_data.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect } from 'react'; import { act } from 'react-dom/test-utils'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_form_data.ts b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_form_data.ts index f886ac119c97..5f4117124c78 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_form_data.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/hooks/use_form_data.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { useState, useEffect, useRef, useCallback } from 'react'; import { FormData, FormHook } from '../types'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/index.ts b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/index.ts index 9f8da356481c..2e1d55b0e275 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/index.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // Only export the useForm hook. The "useField" hook is for internal use // as the consumer of the library must use the component export { useForm, useFormData } from './hooks'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/lib/index.ts b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/lib/index.ts index a9ef61451614..ba633a26a023 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/lib/index.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Subject, Subscription } from './subject'; export * from './utils'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/lib/subject.ts b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/lib/subject.ts index 785aaf3a6ce2..29c782acb227 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/lib/subject.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/lib/subject.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - type Listener = (value: T) => void; export interface Subscription { diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/lib/utils.ts b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/lib/utils.ts index 96f987ea6037..35224a7411be 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/lib/utils.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/lib/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { set } from '@elastic/safer-lodash-set'; import { FieldHook } from '../types'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/shared_imports.ts b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/shared_imports.ts index 69481aafda58..ab7f76475f3a 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/shared_imports.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/shared_imports.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { registerTestBed, TestBed } from '../../../../../test_utils/public/testbed'; export { getRandomString } from '../../../../../test_utils/public/helpers'; diff --git a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/types.ts b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/types.ts index 542ad771b3b2..3d51500e6b9f 100644 --- a/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/types.ts +++ b/src/plugins/opensearch_ui_shared/static/forms/hook_form_lib/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ReactNode, ChangeEvent, FormEvent, MouseEvent } from 'react'; import { Subject, Subscription } from './lib'; diff --git a/src/plugins/opensearch_ui_shared/static/validators/array/has_max_length.ts b/src/plugins/opensearch_ui_shared/static/validators/array/has_max_length.ts index 02e3575970e4..5b048f877c38 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/array/has_max_length.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/array/has_max_length.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const hasMaxLengthArray = (length = 5) => (value: any[]): boolean => value.length <= length; diff --git a/src/plugins/opensearch_ui_shared/static/validators/array/has_min_length.ts b/src/plugins/opensearch_ui_shared/static/validators/array/has_min_length.ts index a10ed00f2b67..c10c53439c8a 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/array/has_min_length.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/array/has_min_length.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const hasMinLengthArray = (length = 1) => (value: any[]): boolean => value.length >= length; diff --git a/src/plugins/opensearch_ui_shared/static/validators/array/index.ts b/src/plugins/opensearch_ui_shared/static/validators/array/index.ts index 19a2f8366393..d46938fda628 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/array/index.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/array/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './has_max_length'; export * from './has_min_length'; export * from './is_empty'; diff --git a/src/plugins/opensearch_ui_shared/static/validators/array/is_empty.ts b/src/plugins/opensearch_ui_shared/static/validators/array/is_empty.ts index 3236bf6a792a..4f5f521d567f 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/array/is_empty.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/array/is_empty.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const isEmptyArray = (value: any[]): boolean => value.length === 0; diff --git a/src/plugins/opensearch_ui_shared/static/validators/number/greater_than.ts b/src/plugins/opensearch_ui_shared/static/validators/number/greater_than.ts index 5fcf382f46c1..b23b67a26969 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/number/greater_than.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/number/greater_than.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const isNumberGreaterThan = (than: number, allowEquality = false) => (value: number) => allowEquality ? value >= than : value > than; diff --git a/src/plugins/opensearch_ui_shared/static/validators/number/index.ts b/src/plugins/opensearch_ui_shared/static/validators/number/index.ts index a4553308ea09..893f2e6b4a47 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/number/index.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/number/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './greater_than'; export * from './smaller_than'; diff --git a/src/plugins/opensearch_ui_shared/static/validators/number/smaller_than.ts b/src/plugins/opensearch_ui_shared/static/validators/number/smaller_than.ts index c29e3aee61e8..14c09d903407 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/number/smaller_than.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/number/smaller_than.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const isNumberSmallerThan = (than: number, allowEquality = false) => (value: number) => allowEquality ? value <= than : value < than; diff --git a/src/plugins/opensearch_ui_shared/static/validators/string/contains_chars.ts b/src/plugins/opensearch_ui_shared/static/validators/string/contains_chars.ts index e11f5f42efc6..2ad357fbcf72 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/string/contains_chars.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/string/contains_chars.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const containsChars = (chars: string | string[]) => (value: string) => { const charToArray = Array.isArray(chars) ? (chars as string[]) : ([chars] as string[]); diff --git a/src/plugins/opensearch_ui_shared/static/validators/string/ends_with.ts b/src/plugins/opensearch_ui_shared/static/validators/string/ends_with.ts index 842a4094ccff..205a0809d0cd 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/string/ends_with.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/string/ends_with.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const endsWith = (char: string) => (value: string) => value.endsWith(char); diff --git a/src/plugins/opensearch_ui_shared/static/validators/string/has_max_length.ts b/src/plugins/opensearch_ui_shared/static/validators/string/has_max_length.ts index c36e17723eba..f49d1b319c58 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/string/has_max_length.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/string/has_max_length.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const hasMaxLengthString = (length: number) => (str: string) => str.length <= length; diff --git a/src/plugins/opensearch_ui_shared/static/validators/string/has_min_length.ts b/src/plugins/opensearch_ui_shared/static/validators/string/has_min_length.ts index 322507d52fa8..e56a0f31cec0 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/string/has_min_length.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/string/has_min_length.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const hasMinLengthString = (length: number) => (str: string) => str.length >= length; diff --git a/src/plugins/opensearch_ui_shared/static/validators/string/index.ts b/src/plugins/opensearch_ui_shared/static/validators/string/index.ts index 14862b269661..9e4acf0f12e1 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/string/index.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/string/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './contains_chars'; export * from './ends_with'; export * from './has_max_length'; diff --git a/src/plugins/opensearch_ui_shared/static/validators/string/is_empty.ts b/src/plugins/opensearch_ui_shared/static/validators/string/is_empty.ts index 4220d177f8d1..6087d9096d81 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/string/is_empty.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/string/is_empty.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const isEmptyString = (value: string) => value.trim() === ''; diff --git a/src/plugins/opensearch_ui_shared/static/validators/string/is_json.ts b/src/plugins/opensearch_ui_shared/static/validators/string/is_json.ts index 08facf38ac7d..01ed890ea50d 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/string/is_json.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/string/is_json.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const isJSON = (value: string) => { try { const parsedJSON = JSON.parse(value); diff --git a/src/plugins/opensearch_ui_shared/static/validators/string/is_lowercase.ts b/src/plugins/opensearch_ui_shared/static/validators/string/is_lowercase.ts index cd6072952b7d..95869d1a08aa 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/string/is_lowercase.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/string/is_lowercase.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const isLowerCaseString = (value: string) => value.toLowerCase() === value; diff --git a/src/plugins/opensearch_ui_shared/static/validators/string/is_url.ts b/src/plugins/opensearch_ui_shared/static/validators/string/is_url.ts index 4675d39ee4e1..ba82078f4e5f 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/string/is_url.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/string/is_url.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const protocolAndDomainRE = /^(?:\w+:)?\/\/(\S+)$/; const localhostDomainRE = /^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/; const nonLocalhostDomainRE = /^[^\s\.]+\.\S{2,}$/; diff --git a/src/plugins/opensearch_ui_shared/static/validators/string/starts_with.ts b/src/plugins/opensearch_ui_shared/static/validators/string/starts_with.ts index ce1684e57625..93a4eec8cded 100644 --- a/src/plugins/opensearch_ui_shared/static/validators/string/starts_with.ts +++ b/src/plugins/opensearch_ui_shared/static/validators/string/starts_with.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const startsWith = (char: string) => (value: string) => value.startsWith(char); diff --git a/src/plugins/region_map/config.ts b/src/plugins/region_map/config.ts index 438988f5d332..b455aabcb330 100644 --- a/src/plugins/region_map/config.ts +++ b/src/plugins/region_map/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export const configSchema = schema.object({ diff --git a/src/plugins/region_map/public/choropleth_layer.js b/src/plugins/region_map/public/choropleth_layer.js index ee747745d8cb..4a41910082cc 100644 --- a/src/plugins/region_map/public/choropleth_layer.js +++ b/src/plugins/region_map/public/choropleth_layer.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; import _ from 'lodash'; import d3 from 'd3'; diff --git a/src/plugins/region_map/public/components/region_map_options.tsx b/src/plugins/region_map/public/components/region_map_options.tsx index 315fd97e95d6..ed3b12baae4e 100644 --- a/src/plugins/region_map/public/components/region_map_options.tsx +++ b/src/plugins/region_map/public/components/region_map_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback, useMemo } from 'react'; import { EuiIcon, EuiLink, EuiPanel, EuiSpacer, EuiText, EuiTitle } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/region_map/public/index.ts b/src/plugins/region_map/public/index.ts index 505cc391ea75..1db83bd56f07 100644 --- a/src/plugins/region_map/public/index.ts +++ b/src/plugins/region_map/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { RegionMapPlugin as Plugin } from './plugin'; diff --git a/src/plugins/region_map/public/opensearch_dashboards_services.ts b/src/plugins/region_map/public/opensearch_dashboards_services.ts index 1b1448e13188..dc1957e0e06f 100644 --- a/src/plugins/region_map/public/opensearch_dashboards_services.ts +++ b/src/plugins/region_map/public/opensearch_dashboards_services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreStart } from 'opensearch-dashboards/public'; import { NotificationsStart } from 'opensearch-dashboards/public'; import { createGetterSetter } from '../../opensearch_dashboards_utils/public'; diff --git a/src/plugins/region_map/public/plugin.ts b/src/plugins/region_map/public/plugin.ts index 09340acb3dd4..6f340fb337b8 100644 --- a/src/plugins/region_map/public/plugin.ts +++ b/src/plugins/region_map/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CoreSetup, CoreStart, diff --git a/src/plugins/region_map/public/region_map_fn.js b/src/plugins/region_map/public/region_map_fn.js index 887af35e7821..98e021e01a2d 100644 --- a/src/plugins/region_map/public/region_map_fn.js +++ b/src/plugins/region_map/public/region_map_fn.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; export const createRegionMapFn = () => ({ diff --git a/src/plugins/region_map/public/region_map_fn.test.js b/src/plugins/region_map/public/region_map_fn.test.js index b953b12db186..f8caf0ed57be 100644 --- a/src/plugins/region_map/public/region_map_fn.test.js +++ b/src/plugins/region_map/public/region_map_fn.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // eslint-disable-next-line import { functionWrapper } from '../../expressions/common/expression_functions/specs/tests/utils'; import { createRegionMapFn } from './region_map_fn'; diff --git a/src/plugins/region_map/public/region_map_type.js b/src/plugins/region_map/public/region_map_type.js index 0dab802755a6..6331db05e23f 100644 --- a/src/plugins/region_map/public/region_map_type.js +++ b/src/plugins/region_map/public/region_map_type.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { i18n } from '@osd/i18n'; import { mapToLayerWithId } from './util'; diff --git a/src/plugins/region_map/public/region_map_visualization.js b/src/plugins/region_map/public/region_map_visualization.js index f4ddf81b8dbe..b0311f8db2e0 100644 --- a/src/plugins/region_map/public/region_map_visualization.js +++ b/src/plugins/region_map/public/region_map_visualization.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { getFormatService, diff --git a/src/plugins/region_map/public/tooltip_formatter.js b/src/plugins/region_map/public/tooltip_formatter.js index a9cc5f86deea..5a440e4e70b0 100644 --- a/src/plugins/region_map/public/tooltip_formatter.js +++ b/src/plugins/region_map/public/tooltip_formatter.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function tooltipFormatter(metric, fieldFormatter, fieldName, metricName) { if (!metric) { return ''; diff --git a/src/plugins/region_map/public/util.ts b/src/plugins/region_map/public/util.ts index 8f959bbe690b..3a780be9ddff 100644 --- a/src/plugins/region_map/public/util.ts +++ b/src/plugins/region_map/public/util.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FileLayer, VectorLayer } from '../../maps_legacy/public'; import { ORIGIN } from '../../maps_legacy/public'; diff --git a/src/plugins/region_map/server/index.ts b/src/plugins/region_map/server/index.ts index a39e28fe2c66..2e721f717565 100644 --- a/src/plugins/region_map/server/index.ts +++ b/src/plugins/region_map/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginConfigDescriptor } from 'opensearch-dashboards/server'; import { CoreSetup } from 'src/core/server'; import { configSchema, ConfigSchema } from '../config'; diff --git a/src/plugins/region_map/server/ui_settings.ts b/src/plugins/region_map/server/ui_settings.ts index 8d711b3565cd..e5c90f6779b1 100644 --- a/src/plugins/region_map/server/ui_settings.ts +++ b/src/plugins/region_map/server/ui_settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { UiSettingsParams } from 'opensearch-dashboards/server'; import { schema } from '@osd/config-schema'; diff --git a/src/plugins/saved_objects/common/index.ts b/src/plugins/saved_objects/common/index.ts index 16233035d6eb..2d63a566b477 100644 --- a/src/plugins/saved_objects/common/index.ts +++ b/src/plugins/saved_objects/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const PER_PAGE_SETTING = 'savedObjects:perPage'; export const LISTING_LIMIT_SETTING = 'savedObjects:listingLimit'; diff --git a/src/plugins/saved_objects/public/constants.ts b/src/plugins/saved_objects/public/constants.ts index 5a666a125c10..ac3096d68313 100644 --- a/src/plugins/saved_objects/public/constants.ts +++ b/src/plugins/saved_objects/public/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; /** diff --git a/src/plugins/saved_objects/public/finder/index.ts b/src/plugins/saved_objects/public/finder/index.ts index d77afc83f0b0..3a424750d542 100644 --- a/src/plugins/saved_objects/public/finder/index.ts +++ b/src/plugins/saved_objects/public/finder/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SavedObjectMetaData, SavedObjectFinderUi, diff --git a/src/plugins/saved_objects/public/finder/saved_object_finder.test.tsx b/src/plugins/saved_objects/public/finder/saved_object_finder.test.tsx index 2918583d77fc..c4e885c33e77 100644 --- a/src/plugins/saved_objects/public/finder/saved_object_finder.test.tsx +++ b/src/plugins/saved_objects/public/finder/saved_object_finder.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.mock('lodash', () => ({ debounce: (fn: any) => fn, })); diff --git a/src/plugins/saved_objects/public/finder/saved_object_finder.tsx b/src/plugins/saved_objects/public/finder/saved_object_finder.tsx index f2187b2da0f2..f2ca3b883911 100644 --- a/src/plugins/saved_objects/public/finder/saved_object_finder.tsx +++ b/src/plugins/saved_objects/public/finder/saved_object_finder.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import PropTypes from 'prop-types'; import React from 'react'; diff --git a/src/plugins/saved_objects/public/index.ts b/src/plugins/saved_objects/public/index.ts index 093a68d6cdbc..092cfa79e979 100644 --- a/src/plugins/saved_objects/public/index.ts +++ b/src/plugins/saved_objects/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsPublicPlugin } from './plugin'; export { diff --git a/src/plugins/saved_objects/public/plugin.ts b/src/plugins/saved_objects/public/plugin.ts index c18e78362b4b..e5e61d5fb30a 100644 --- a/src/plugins/saved_objects/public/plugin.ts +++ b/src/plugins/saved_objects/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreStart, Plugin } from 'src/core/public'; import './index.scss'; diff --git a/src/plugins/saved_objects/public/save_modal/index.ts b/src/plugins/saved_objects/public/save_modal/index.ts index b2848157499e..7b3b4882aeda 100644 --- a/src/plugins/saved_objects/public/save_modal/index.ts +++ b/src/plugins/saved_objects/public/save_modal/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SavedObjectSaveModal, OnSaveProps, SaveModalState } from './saved_object_save_modal'; export { SavedObjectSaveModalOrigin } from './saved_object_save_modal_origin'; export { showSaveModal, SaveResult } from './show_saved_object_save_modal'; diff --git a/src/plugins/saved_objects/public/save_modal/saved_object_save_modal.test.tsx b/src/plugins/saved_objects/public/save_modal/saved_object_save_modal.test.tsx index 85e543d9aae9..ebd5be5ad090 100644 --- a/src/plugins/saved_objects/public/save_modal/saved_object_save_modal.test.tsx +++ b/src/plugins/saved_objects/public/save_modal/saved_object_save_modal.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { shallow } from 'enzyme'; import React from 'react'; import { SavedObjectSaveModal } from './saved_object_save_modal'; diff --git a/src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx b/src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx index 6998303d560f..ab1ab05eefb5 100644 --- a/src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx +++ b/src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { htmlIdGenerator, EuiButton, diff --git a/src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx b/src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx index f44bdf4df54d..94810828fddb 100644 --- a/src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx +++ b/src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment, useState } from 'react'; import { FormattedMessage } from '@osd/i18n/react'; import { EuiFormRow, EuiSwitch } from '@elastic/eui'; diff --git a/src/plugins/saved_objects/public/save_modal/show_saved_object_save_modal.tsx b/src/plugins/saved_objects/public/save_modal/show_saved_object_save_modal.tsx index 2515d313431b..8f207d5d2b2a 100644 --- a/src/plugins/saved_objects/public/save_modal/show_saved_object_save_modal.tsx +++ b/src/plugins/saved_objects/public/save_modal/show_saved_object_save_modal.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; diff --git a/src/plugins/saved_objects/public/saved_object/helpers/apply_opensearch_resp.ts b/src/plugins/saved_objects/public/saved_object/helpers/apply_opensearch_resp.ts index 3c12f0177a8f..754ac59e445c 100644 --- a/src/plugins/saved_objects/public/saved_object/helpers/apply_opensearch_resp.ts +++ b/src/plugins/saved_objects/public/saved_object/helpers/apply_opensearch_resp.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import _ from 'lodash'; import { OpenSearchResponse, diff --git a/src/plugins/saved_objects/public/saved_object/helpers/build_saved_object.ts b/src/plugins/saved_objects/public/saved_object/helpers/build_saved_object.ts index 266f01e32add..14318a177959 100644 --- a/src/plugins/saved_objects/public/saved_object/helpers/build_saved_object.ts +++ b/src/plugins/saved_objects/public/saved_object/helpers/build_saved_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { once } from 'lodash'; import { hydrateIndexPattern } from './hydrate_index_pattern'; import { intializeSavedObject } from './initialize_saved_object'; diff --git a/src/plugins/saved_objects/public/saved_object/helpers/check_for_duplicate_title.ts b/src/plugins/saved_objects/public/saved_object/helpers/check_for_duplicate_title.ts index cb2091c0b9dc..f8f11b267574 100644 --- a/src/plugins/saved_objects/public/saved_object/helpers/check_for_duplicate_title.ts +++ b/src/plugins/saved_objects/public/saved_object/helpers/check_for_duplicate_title.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SavedObject, SavedObjectOpenSearchDashboardsServices } from '../../types'; import { findObjectByTitle } from './find_object_by_title'; import { SAVE_DUPLICATE_REJECTED } from '../../constants'; diff --git a/src/plugins/saved_objects/public/saved_object/helpers/confirm_modal_promise.tsx b/src/plugins/saved_objects/public/saved_object/helpers/confirm_modal_promise.tsx index 224e2d5658ca..0575aa10eae2 100644 --- a/src/plugins/saved_objects/public/saved_object/helpers/confirm_modal_promise.tsx +++ b/src/plugins/saved_objects/public/saved_object/helpers/confirm_modal_promise.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { OverlayStart } from 'opensearch-dashboards/public'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/saved_objects/public/saved_object/helpers/create_source.ts b/src/plugins/saved_objects/public/saved_object/helpers/create_source.ts index 753079f6d0dc..579eaaa09f60 100644 --- a/src/plugins/saved_objects/public/saved_object/helpers/create_source.ts +++ b/src/plugins/saved_objects/public/saved_object/helpers/create_source.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import _ from 'lodash'; import { i18n } from '@osd/i18n'; import { SavedObjectAttributes } from 'opensearch-dashboards/public'; diff --git a/src/plugins/saved_objects/public/saved_object/helpers/display_duplicate_title_confirm_modal.ts b/src/plugins/saved_objects/public/saved_object/helpers/display_duplicate_title_confirm_modal.ts index 7c58a90d1e03..ca133c021b50 100644 --- a/src/plugins/saved_objects/public/saved_object/helpers/display_duplicate_title_confirm_modal.ts +++ b/src/plugins/saved_objects/public/saved_object/helpers/display_duplicate_title_confirm_modal.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; import { OverlayStart } from 'opensearch-dashboards/public'; import { SAVE_DUPLICATE_REJECTED } from '../../constants'; diff --git a/src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.test.ts b/src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.test.ts index fd15767f0983..2288950fe26b 100644 --- a/src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.test.ts +++ b/src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { findObjectByTitle } from './find_object_by_title'; import { SimpleSavedObject, diff --git a/src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.ts b/src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.ts index 37e94dce9679..98ff7d17f65d 100644 --- a/src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.ts +++ b/src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsClientContract, SimpleSavedObject, diff --git a/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts b/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts index b9a70a7b4d34..bfb99c5620bb 100644 --- a/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts +++ b/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SavedObject, SavedObjectConfig } from '../../types'; import { IndexPatternsContract } from '../../../../data/public'; diff --git a/src/plugins/saved_objects/public/saved_object/helpers/initialize_saved_object.ts b/src/plugins/saved_objects/public/saved_object/helpers/initialize_saved_object.ts index 27454ddd3fcb..5ab754b880b7 100644 --- a/src/plugins/saved_objects/public/saved_object/helpers/initialize_saved_object.ts +++ b/src/plugins/saved_objects/public/saved_object/helpers/initialize_saved_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import _ from 'lodash'; import { SavedObjectsClientContract } from 'opensearch-dashboards/public'; import { SavedObject, SavedObjectConfig } from '../../types'; diff --git a/src/plugins/saved_objects/public/saved_object/helpers/save_saved_object.ts b/src/plugins/saved_objects/public/saved_object/helpers/save_saved_object.ts index 0bf3ccb9fba3..01be4f97591e 100644 --- a/src/plugins/saved_objects/public/saved_object/helpers/save_saved_object.ts +++ b/src/plugins/saved_objects/public/saved_object/helpers/save_saved_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SavedObject, SavedObjectConfig, diff --git a/src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.test.ts b/src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.test.ts index cccf74755ae6..cebc029222f7 100644 --- a/src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.test.ts +++ b/src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectAttributes, SavedObjectsCreateOptions, diff --git a/src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts b/src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts index 24f95f0df1a1..3172c08a0466 100644 --- a/src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts +++ b/src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { i18n } from '@osd/i18n'; import { diff --git a/src/plugins/saved_objects/public/saved_object/helpers/serialize_saved_object.ts b/src/plugins/saved_objects/public/saved_object/helpers/serialize_saved_object.ts index 9874f5af4efb..7717574d47d2 100644 --- a/src/plugins/saved_objects/public/saved_object/helpers/serialize_saved_object.ts +++ b/src/plugins/saved_objects/public/saved_object/helpers/serialize_saved_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import _ from 'lodash'; import { SavedObject, SavedObjectConfig } from '../../types'; import { extractSearchSourceReferences, expandShorthand } from '../../../../data/public'; diff --git a/src/plugins/saved_objects/public/saved_object/helpers/string_utils.test.ts b/src/plugins/saved_objects/public/saved_object/helpers/string_utils.test.ts index d571f855d849..153ad5f59874 100644 --- a/src/plugins/saved_objects/public/saved_object/helpers/string_utils.test.ts +++ b/src/plugins/saved_objects/public/saved_object/helpers/string_utils.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { StringUtils } from './string_utils'; describe('StringUtils class', () => { diff --git a/src/plugins/saved_objects/public/saved_object/helpers/string_utils.ts b/src/plugins/saved_objects/public/saved_object/helpers/string_utils.ts index 823064acdc0e..96e2c602b56c 100644 --- a/src/plugins/saved_objects/public/saved_object/helpers/string_utils.ts +++ b/src/plugins/saved_objects/public/saved_object/helpers/string_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export class StringUtils { /** * Returns a version of the string with the first letter capitalized. diff --git a/src/plugins/saved_objects/public/saved_object/index.ts b/src/plugins/saved_objects/public/saved_object/index.ts index 6dcaf6f0e285..55d6d1b91898 100644 --- a/src/plugins/saved_objects/public/saved_object/index.ts +++ b/src/plugins/saved_objects/public/saved_object/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createSavedObjectClass } from './saved_object'; export { SavedObjectLoader } from './saved_object_loader'; export { checkForDuplicateTitle } from './helpers/check_for_duplicate_title'; diff --git a/src/plugins/saved_objects/public/saved_object/saved_object.test.ts b/src/plugins/saved_objects/public/saved_object/saved_object.test.ts index 6cdfce8bf63b..7e10a68c2d1f 100644 --- a/src/plugins/saved_objects/public/saved_object/saved_object.test.ts +++ b/src/plugins/saved_objects/public/saved_object/saved_object.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Bluebird from 'bluebird'; import { createSavedObjectClass } from './saved_object'; import { diff --git a/src/plugins/saved_objects/public/saved_object/saved_object.ts b/src/plugins/saved_objects/public/saved_object/saved_object.ts index 876a1c495dc0..ab08d4669738 100644 --- a/src/plugins/saved_objects/public/saved_object/saved_object.ts +++ b/src/plugins/saved_objects/public/saved_object/saved_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * @name SavedObject * diff --git a/src/plugins/saved_objects/public/saved_object/saved_object_loader.ts b/src/plugins/saved_objects/public/saved_object/saved_object_loader.ts index 9f703c3a91ce..9184d467c247 100644 --- a/src/plugins/saved_objects/public/saved_object/saved_object_loader.ts +++ b/src/plugins/saved_objects/public/saved_object/saved_object_loader.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SavedObjectsClientContract, SavedObjectsFindOptions } from 'opensearch-dashboards/public'; import { SavedObject } from '../types'; import { StringUtils } from './helpers/string_utils'; diff --git a/src/plugins/saved_objects/public/types.ts b/src/plugins/saved_objects/public/types.ts index 94899135b1ea..8143e69426f5 100644 --- a/src/plugins/saved_objects/public/types.ts +++ b/src/plugins/saved_objects/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ChromeStart, OverlayStart, diff --git a/src/plugins/saved_objects/server/index.ts b/src/plugins/saved_objects/server/index.ts index 8aa548f4672b..e1d2ea9b6fb9 100644 --- a/src/plugins/saved_objects/server/index.ts +++ b/src/plugins/saved_objects/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsServerPlugin } from './plugin'; export const plugin = () => new SavedObjectsServerPlugin(); diff --git a/src/plugins/saved_objects/server/plugin.ts b/src/plugins/saved_objects/server/plugin.ts index a02a61f2a6fe..cb583a5a9fa8 100644 --- a/src/plugins/saved_objects/server/plugin.ts +++ b/src/plugins/saved_objects/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, Plugin } from 'opensearch-dashboards/server'; import { uiSettings } from './ui_settings'; diff --git a/src/plugins/saved_objects/server/ui_settings.ts b/src/plugins/saved_objects/server/ui_settings.ts index 0b54a436b2fe..bba4a7e61d89 100644 --- a/src/plugins/saved_objects/server/ui_settings.ts +++ b/src/plugins/saved_objects/server/ui_settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { schema } from '@osd/config-schema'; diff --git a/src/plugins/saved_objects_management/common/index.ts b/src/plugins/saved_objects_management/common/index.ts index d875b04aea26..21960eec7b07 100644 --- a/src/plugins/saved_objects_management/common/index.ts +++ b/src/plugins/saved_objects_management/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SavedObjectRelation, SavedObjectWithMetadata, SavedObjectMetadata } from './types'; diff --git a/src/plugins/saved_objects_management/common/types.ts b/src/plugins/saved_objects_management/common/types.ts index d5897d9f1742..e66fae37724e 100644 --- a/src/plugins/saved_objects_management/common/types.ts +++ b/src/plugins/saved_objects_management/common/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObject } from 'src/core/types'; import { SavedObjectsNamespaceType } from 'src/core/public'; diff --git a/src/plugins/saved_objects_management/public/index.ts b/src/plugins/saved_objects_management/public/index.ts index 84a858f89a05..147247c56d77 100644 --- a/src/plugins/saved_objects_management/public/index.ts +++ b/src/plugins/saved_objects_management/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { SavedObjectsManagementPlugin } from './plugin'; diff --git a/src/plugins/saved_objects_management/public/lib/case_conversion.test.ts b/src/plugins/saved_objects_management/public/lib/case_conversion.test.ts index e6c6c9f56306..bb958044a941 100644 --- a/src/plugins/saved_objects_management/public/lib/case_conversion.test.ts +++ b/src/plugins/saved_objects_management/public/lib/case_conversion.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { keysToCamelCaseShallow } from './case_conversion'; describe('keysToCamelCaseShallow', () => { diff --git a/src/plugins/saved_objects_management/public/lib/case_conversion.ts b/src/plugins/saved_objects_management/public/lib/case_conversion.ts index 8b2de256fa8e..47be582c9c76 100644 --- a/src/plugins/saved_objects_management/public/lib/case_conversion.ts +++ b/src/plugins/saved_objects_management/public/lib/case_conversion.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapKeys, camelCase } from 'lodash'; export function keysToCamelCaseShallow(object: Record) { diff --git a/src/plugins/saved_objects_management/public/lib/create_field_list.test.ts b/src/plugins/saved_objects_management/public/lib/create_field_list.test.ts index 744d02c5bdd9..f85fd7f08dae 100644 --- a/src/plugins/saved_objects_management/public/lib/create_field_list.test.ts +++ b/src/plugins/saved_objects_management/public/lib/create_field_list.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SimpleSavedObject, SavedObjectReference } from '../../../../core/public'; import { savedObjectsServiceMock } from '../../../../core/public/mocks'; import { createFieldList } from './create_field_list'; diff --git a/src/plugins/saved_objects_management/public/lib/create_field_list.ts b/src/plugins/saved_objects_management/public/lib/create_field_list.ts index 9299fa7176e9..930bc2cf5a60 100644 --- a/src/plugins/saved_objects_management/public/lib/create_field_list.ts +++ b/src/plugins/saved_objects_management/public/lib/create_field_list.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { forOwn, keyBy, isNumber, isBoolean, isPlainObject, isString } from 'lodash'; import { SimpleSavedObject } from '../../../../core/public'; import { castOpenSearchToOsdFieldTypeName } from '../../../data/public'; diff --git a/src/plugins/saved_objects_management/public/lib/extract_export_details.test.ts b/src/plugins/saved_objects_management/public/lib/extract_export_details.test.ts index 7058f3d6f08e..2e22a1ab023f 100644 --- a/src/plugins/saved_objects_management/public/lib/extract_export_details.test.ts +++ b/src/plugins/saved_objects_management/public/lib/extract_export_details.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { extractExportDetails, SavedObjectsExportResultDetails } from './extract_export_details'; describe('extractExportDetails', () => { diff --git a/src/plugins/saved_objects_management/public/lib/extract_export_details.ts b/src/plugins/saved_objects_management/public/lib/extract_export_details.ts index bee94f552eac..d3c201b96c48 100644 --- a/src/plugins/saved_objects_management/public/lib/extract_export_details.ts +++ b/src/plugins/saved_objects_management/public/lib/extract_export_details.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export async function extractExportDetails( blob: Blob ): Promise { diff --git a/src/plugins/saved_objects_management/public/lib/fetch_export_by_type_and_search.ts b/src/plugins/saved_objects_management/public/lib/fetch_export_by_type_and_search.ts index 2e29271e1c20..e5f716347a76 100644 --- a/src/plugins/saved_objects_management/public/lib/fetch_export_by_type_and_search.ts +++ b/src/plugins/saved_objects_management/public/lib/fetch_export_by_type_and_search.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpStart } from 'src/core/public'; export async function fetchExportByTypeAndSearch( diff --git a/src/plugins/saved_objects_management/public/lib/fetch_export_objects.ts b/src/plugins/saved_objects_management/public/lib/fetch_export_objects.ts index 946a519f53d7..b2e2ea0f9165 100644 --- a/src/plugins/saved_objects_management/public/lib/fetch_export_objects.ts +++ b/src/plugins/saved_objects_management/public/lib/fetch_export_objects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpStart } from 'src/core/public'; export async function fetchExportObjects( diff --git a/src/plugins/saved_objects_management/public/lib/find_objects.ts b/src/plugins/saved_objects_management/public/lib/find_objects.ts index ba6b6c1d695a..f40baf14c286 100644 --- a/src/plugins/saved_objects_management/public/lib/find_objects.ts +++ b/src/plugins/saved_objects_management/public/lib/find_objects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpStart, SavedObjectsFindOptions } from 'src/core/public'; import { keysToCamelCaseShallow } from './case_conversion'; import { SavedObjectWithMetadata } from '../types'; diff --git a/src/plugins/saved_objects_management/public/lib/get_allowed_types.ts b/src/plugins/saved_objects_management/public/lib/get_allowed_types.ts index a5412021bb6a..91d6375d2434 100644 --- a/src/plugins/saved_objects_management/public/lib/get_allowed_types.ts +++ b/src/plugins/saved_objects_management/public/lib/get_allowed_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpStart } from 'src/core/public'; interface GetAllowedTypesResponse { diff --git a/src/plugins/saved_objects_management/public/lib/get_default_title.ts b/src/plugins/saved_objects_management/public/lib/get_default_title.ts index ecd0a4a54d97..788d0eafe0d2 100644 --- a/src/plugins/saved_objects_management/public/lib/get_default_title.ts +++ b/src/plugins/saved_objects_management/public/lib/get_default_title.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function getDefaultTitle(object: { id: string; type: string }) { return `${object.type} [id=${object.id}]`; } diff --git a/src/plugins/saved_objects_management/public/lib/get_relationships.test.ts b/src/plugins/saved_objects_management/public/lib/get_relationships.test.ts index bf8eed1e41de..781a03e7d33e 100644 --- a/src/plugins/saved_objects_management/public/lib/get_relationships.test.ts +++ b/src/plugins/saved_objects_management/public/lib/get_relationships.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { httpServiceMock } from '../../../../core/public/mocks'; import { getRelationships } from './get_relationships'; diff --git a/src/plugins/saved_objects_management/public/lib/get_relationships.ts b/src/plugins/saved_objects_management/public/lib/get_relationships.ts index 13d594db8a44..f4f6b716563a 100644 --- a/src/plugins/saved_objects_management/public/lib/get_relationships.ts +++ b/src/plugins/saved_objects_management/public/lib/get_relationships.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpStart } from 'src/core/public'; import { get } from 'lodash'; import { SavedObjectRelation } from '../types'; diff --git a/src/plugins/saved_objects_management/public/lib/get_saved_object_counts.ts b/src/plugins/saved_objects_management/public/lib/get_saved_object_counts.ts index 5f007274f54c..0dbf71f8e8c0 100644 --- a/src/plugins/saved_objects_management/public/lib/get_saved_object_counts.ts +++ b/src/plugins/saved_objects_management/public/lib/get_saved_object_counts.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpStart } from 'src/core/public'; export async function getSavedObjectCounts( diff --git a/src/plugins/saved_objects_management/public/lib/get_saved_object_label.ts b/src/plugins/saved_objects_management/public/lib/get_saved_object_label.ts index 21453d273508..9330fb8486c3 100644 --- a/src/plugins/saved_objects_management/public/lib/get_saved_object_label.ts +++ b/src/plugins/saved_objects_management/public/lib/get_saved_object_label.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function getSavedObjectLabel(type: string) { switch (type) { case 'index-pattern': diff --git a/src/plugins/saved_objects_management/public/lib/import_file.ts b/src/plugins/saved_objects_management/public/lib/import_file.ts index a4a9aa25340f..33d63ec9d192 100644 --- a/src/plugins/saved_objects_management/public/lib/import_file.ts +++ b/src/plugins/saved_objects_management/public/lib/import_file.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpStart, SavedObjectsImportError } from 'src/core/public'; import { ImportMode } from '../management_section/objects_table/components/import_mode_control'; diff --git a/src/plugins/saved_objects_management/public/lib/import_legacy_file.test.ts b/src/plugins/saved_objects_management/public/lib/import_legacy_file.test.ts index 1bccf136b3b6..b610c9b36f38 100644 --- a/src/plugins/saved_objects_management/public/lib/import_legacy_file.test.ts +++ b/src/plugins/saved_objects_management/public/lib/import_legacy_file.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { importLegacyFile } from './import_legacy_file'; describe('importFile', () => { diff --git a/src/plugins/saved_objects_management/public/lib/import_legacy_file.ts b/src/plugins/saved_objects_management/public/lib/import_legacy_file.ts index 7a111a43876e..b673cde16def 100644 --- a/src/plugins/saved_objects_management/public/lib/import_legacy_file.ts +++ b/src/plugins/saved_objects_management/public/lib/import_legacy_file.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export async function importLegacyFile(file: File) { return new Promise((resolve, reject) => { const fr = new FileReader(); diff --git a/src/plugins/saved_objects_management/public/lib/in_app_url.test.ts b/src/plugins/saved_objects_management/public/lib/in_app_url.test.ts index 5cbb46cad741..ab524bb5d993 100644 --- a/src/plugins/saved_objects_management/public/lib/in_app_url.test.ts +++ b/src/plugins/saved_objects_management/public/lib/in_app_url.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Capabilities } from '../../../../core/public'; import { canViewInApp } from './in_app_url'; diff --git a/src/plugins/saved_objects_management/public/lib/in_app_url.ts b/src/plugins/saved_objects_management/public/lib/in_app_url.ts index 82fc559ae223..e55eaa858f4a 100644 --- a/src/plugins/saved_objects_management/public/lib/in_app_url.ts +++ b/src/plugins/saved_objects_management/public/lib/in_app_url.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Capabilities } from 'src/core/public'; export function canViewInApp(uiCapabilities: Capabilities, type: string): boolean { diff --git a/src/plugins/saved_objects_management/public/lib/index.ts b/src/plugins/saved_objects_management/public/lib/index.ts index cd606bed3c5d..e01e58f4bdde 100644 --- a/src/plugins/saved_objects_management/public/lib/index.ts +++ b/src/plugins/saved_objects_management/public/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { fetchExportByTypeAndSearch } from './fetch_export_by_type_and_search'; export { fetchExportObjects } from './fetch_export_objects'; export { canViewInApp } from './in_app_url'; diff --git a/src/plugins/saved_objects_management/public/lib/log_legacy_import.ts b/src/plugins/saved_objects_management/public/lib/log_legacy_import.ts index 882a91c23cbc..72ba9cefef68 100644 --- a/src/plugins/saved_objects_management/public/lib/log_legacy_import.ts +++ b/src/plugins/saved_objects_management/public/lib/log_legacy_import.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpStart } from 'src/core/public'; export async function logLegacyImport(http: HttpStart) { diff --git a/src/plugins/saved_objects_management/public/lib/numeric.ts b/src/plugins/saved_objects_management/public/lib/numeric.ts index 18b8c108b7f4..a1ba88f28ae1 100644 --- a/src/plugins/saved_objects_management/public/lib/numeric.ts +++ b/src/plugins/saved_objects_management/public/lib/numeric.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isNaN } from 'lodash'; export function isNumeric(v: any): boolean { diff --git a/src/plugins/saved_objects_management/public/lib/parse_query.test.ts b/src/plugins/saved_objects_management/public/lib/parse_query.test.ts index 3eb3ec74f18e..854c1e4ea3d6 100644 --- a/src/plugins/saved_objects_management/public/lib/parse_query.test.ts +++ b/src/plugins/saved_objects_management/public/lib/parse_query.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parseQuery } from './parse_query'; describe('getQueryText', () => { diff --git a/src/plugins/saved_objects_management/public/lib/parse_query.ts b/src/plugins/saved_objects_management/public/lib/parse_query.ts index 321ca2cf7596..dca6384efbe1 100644 --- a/src/plugins/saved_objects_management/public/lib/parse_query.ts +++ b/src/plugins/saved_objects_management/public/lib/parse_query.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Query } from '@elastic/eui'; interface ParsedQuery { diff --git a/src/plugins/saved_objects_management/public/lib/process_import_response.test.ts b/src/plugins/saved_objects_management/public/lib/process_import_response.test.ts index ceff63f880ee..93bba7e1824b 100644 --- a/src/plugins/saved_objects_management/public/lib/process_import_response.test.ts +++ b/src/plugins/saved_objects_management/public/lib/process_import_response.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsImportConflictError, SavedObjectsImportAmbiguousConflictError, diff --git a/src/plugins/saved_objects_management/public/lib/process_import_response.ts b/src/plugins/saved_objects_management/public/lib/process_import_response.ts index 16b2f85dd29b..c4d793d8f98e 100644 --- a/src/plugins/saved_objects_management/public/lib/process_import_response.ts +++ b/src/plugins/saved_objects_management/public/lib/process_import_response.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsImportResponse, SavedObjectsImportConflictError, diff --git a/src/plugins/saved_objects_management/public/lib/resolve_import_errors.test.ts b/src/plugins/saved_objects_management/public/lib/resolve_import_errors.test.ts index be8058547978..428a1c56c50e 100644 --- a/src/plugins/saved_objects_management/public/lib/resolve_import_errors.test.ts +++ b/src/plugins/saved_objects_management/public/lib/resolve_import_errors.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsImportUnknownError } from 'src/core/public'; import { httpServiceMock } from '../../../../core/public/mocks'; import { resolveImportErrors } from './resolve_import_errors'; diff --git a/src/plugins/saved_objects_management/public/lib/resolve_import_errors.ts b/src/plugins/saved_objects_management/public/lib/resolve_import_errors.ts index 46465f603d9a..34b0dfa5be0b 100644 --- a/src/plugins/saved_objects_management/public/lib/resolve_import_errors.ts +++ b/src/plugins/saved_objects_management/public/lib/resolve_import_errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpStart, SavedObjectsImportConflictError, diff --git a/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts b/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts index ef263bbd722f..e342020cb7ea 100644 --- a/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts +++ b/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolveSavedObjects, resolveIndexPatternConflicts, diff --git a/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts b/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts index b406a8139a5f..f4ec9f8575ae 100644 --- a/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts +++ b/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { cloneDeep } from 'lodash'; import { OverlayStart, SavedObjectReference } from 'src/core/public'; diff --git a/src/plugins/saved_objects_management/public/management_section/index.ts b/src/plugins/saved_objects_management/public/management_section/index.ts index d78e8b081ee0..333bee71b0c0 100644 --- a/src/plugins/saved_objects_management/public/management_section/index.ts +++ b/src/plugins/saved_objects_management/public/management_section/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { mountManagementSection } from './mount_section'; diff --git a/src/plugins/saved_objects_management/public/management_section/mount_section.tsx b/src/plugins/saved_objects_management/public/management_section/mount_section.tsx index a57d09101c03..8013c05aad79 100644 --- a/src/plugins/saved_objects_management/public/management_section/mount_section.tsx +++ b/src/plugins/saved_objects_management/public/management_section/mount_section.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { lazy, Suspense } from 'react'; import ReactDOM from 'react-dom'; import { Router, Switch, Route } from 'react-router-dom'; diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/field.test.tsx b/src/plugins/saved_objects_management/public/management_section/object_view/components/field.test.tsx index 3dc7407d8640..91522bc7c794 100644 --- a/src/plugins/saved_objects_management/public/management_section/object_view/components/field.test.tsx +++ b/src/plugins/saved_objects_management/public/management_section/object_view/components/field.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount } from 'enzyme'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/field.tsx b/src/plugins/saved_objects_management/public/management_section/object_view/components/field.tsx index 17dfbdeeb72d..a53e61a83d5d 100644 --- a/src/plugins/saved_objects_management/public/management_section/object_view/components/field.tsx +++ b/src/plugins/saved_objects_management/public/management_section/object_view/components/field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { PureComponent } from 'react'; import { EuiFieldNumber, EuiFieldText, EuiFormRow, EuiSwitch, EuiCodeEditor } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/form.tsx b/src/plugins/saved_objects_management/public/management_section/object_view/components/form.tsx index 1d5a4529893f..9cec04dbc4c1 100644 --- a/src/plugins/saved_objects_management/public/management_section/object_view/components/form.tsx +++ b/src/plugins/saved_objects_management/public/management_section/object_view/components/form.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { EuiForm, diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/header.test.tsx b/src/plugins/saved_objects_management/public/management_section/object_view/components/header.test.tsx index 969713b24b5d..54b5e6a9aaa8 100644 --- a/src/plugins/saved_objects_management/public/management_section/object_view/components/header.test.tsx +++ b/src/plugins/saved_objects_management/public/management_section/object_view/components/header.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount } from 'enzyme'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/header.tsx b/src/plugins/saved_objects_management/public/management_section/object_view/components/header.tsx index 145e9a7083eb..ff76a268296a 100644 --- a/src/plugins/saved_objects_management/public/management_section/object_view/components/header.tsx +++ b/src/plugins/saved_objects_management/public/management_section/object_view/components/header.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFlexGroup, diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/index.ts b/src/plugins/saved_objects_management/public/management_section/object_view/components/index.ts index cd07358b7d6d..e11007865949 100644 --- a/src/plugins/saved_objects_management/public/management_section/object_view/components/index.ts +++ b/src/plugins/saved_objects_management/public/management_section/object_view/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Header } from './header'; export { NotFoundErrors } from './not_found_errors'; export { Intro } from './intro'; diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/intro.test.tsx b/src/plugins/saved_objects_management/public/management_section/object_view/components/intro.test.tsx index 557422073678..ca0d9d85d4ff 100644 --- a/src/plugins/saved_objects_management/public/management_section/object_view/components/intro.test.tsx +++ b/src/plugins/saved_objects_management/public/management_section/object_view/components/intro.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount } from 'enzyme'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/intro.tsx b/src/plugins/saved_objects_management/public/management_section/object_view/components/intro.tsx index 2274c9c20985..ef16a7330410 100644 --- a/src/plugins/saved_objects_management/public/management_section/object_view/components/intro.tsx +++ b/src/plugins/saved_objects_management/public/management_section/object_view/components/intro.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiCallOut } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/not_found_errors.test.tsx b/src/plugins/saved_objects_management/public/management_section/object_view/components/not_found_errors.test.tsx index 621161e7ab66..e17c6ef20512 100644 --- a/src/plugins/saved_objects_management/public/management_section/object_view/components/not_found_errors.test.tsx +++ b/src/plugins/saved_objects_management/public/management_section/object_view/components/not_found_errors.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount } from 'enzyme'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/not_found_errors.tsx b/src/plugins/saved_objects_management/public/management_section/object_view/components/not_found_errors.tsx index 06aeb4bdcb17..91f60f170717 100644 --- a/src/plugins/saved_objects_management/public/management_section/object_view/components/not_found_errors.tsx +++ b/src/plugins/saved_objects_management/public/management_section/object_view/components/not_found_errors.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiCallOut } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/index.ts b/src/plugins/saved_objects_management/public/management_section/object_view/index.ts index 91d8cb0a2014..90f843a5d329 100644 --- a/src/plugins/saved_objects_management/public/management_section/object_view/index.ts +++ b/src/plugins/saved_objects_management/public/management_section/object_view/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SavedObjectEdition } from './saved_object_view'; diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/saved_object_view.tsx b/src/plugins/saved_objects_management/public/management_section/object_view/saved_object_view.tsx index 23b924d8e0c6..ce1a12fdbaef 100644 --- a/src/plugins/saved_objects_management/public/management_section/object_view/saved_object_view.tsx +++ b/src/plugins/saved_objects_management/public/management_section/object_view/saved_object_view.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { i18n } from '@osd/i18n'; import { EuiSpacer, EuiPageContent } from '@elastic/eui'; diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.mocks.ts b/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.mocks.ts index fdd198559a47..4006a9fdceb4 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.mocks.ts +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const importFileMock = jest.fn(); jest.doMock('../../../lib/import_file', () => ({ importFile: importFileMock, diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.tsx index 7775689f172d..29f235d9fcfd 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { importFileMock, importLegacyFileMock, diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx index c8e7bd4f66f0..b0dd8c269039 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component, Fragment, ReactNode } from 'react'; import { take, get as getField } from 'lodash'; import { diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/header.test.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/header.test.tsx index 5b7b7ab01daf..1b0f40e9cd02 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/header.test.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/header.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { Header } from './header'; diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/header.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/header.tsx index 3464df797721..a22e349d5240 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/header.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/header.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment } from 'react'; import { EuiSpacer, diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_mode_control.test.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_mode_control.test.tsx index a4e7dadb10b7..fb62f424115b 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_mode_control.test.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_mode_control.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { ReactWrapper } from 'enzyme'; import { shallowWithI18nProvider, mountWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx index 54748a9f63c0..beabcfbb6308 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState } from 'react'; import { EuiFormFieldset, diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.test.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.test.tsx index cbe1bbcded23..f94473078c5a 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.test.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { ShallowWrapper } from 'enzyme'; import { shallowWithI18nProvider } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.tsx index 7b667258fe63..cce1edceede8 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './import_summary.scss'; import _ from 'lodash'; import React, { Fragment } from 'react'; diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/index.ts b/src/plugins/saved_objects_management/public/management_section/objects_table/components/index.ts index 21350adba5f5..75e2f60c04f0 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/index.ts +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Header } from './header'; export { Table } from './table'; export { Flyout } from './flyout'; diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.test.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.test.tsx index 1b2b9863bca7..082332f2b490 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.test.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithI18nProvider, mountWithIntl } from 'test_utils/enzyme_helpers'; import { OverwriteModalProps, OverwriteModal } from './overwrite_modal'; diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.tsx index 2d7bbfcfbfc8..25b0423eaee7 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState, Fragment, ReactNode } from 'react'; import { EuiOverlayMask, diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.test.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.test.tsx index 9e0ebbc8d01e..d78b98bdc6f0 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.test.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithI18nProvider } from 'test_utils/enzyme_helpers'; import { httpServiceMock } from '../../../../../../core/public/mocks'; diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.tsx index 42b9d63953b7..ff42351d83af 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { EuiTitle, diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/table.test.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/table.test.tsx index d2a0d2997ec3..8e473730615b 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/table.test.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/table.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithI18nProvider, mountWithI18nProvider } from 'test_utils/enzyme_helpers'; import { findTestSubject } from '@elastic/eui/lib/test'; diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/table.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/table.tsx index 62fa714e69f7..ba3b443354f8 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/table.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/table.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IBasePath } from 'src/core/public'; import React, { PureComponent, Fragment } from 'react'; import { diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/index.ts b/src/plugins/saved_objects_management/public/management_section/objects_table/index.ts index 4c9900f8b0cb..b2153648057f 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/index.ts +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SavedObjectsTable } from './saved_objects_table'; diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.mocks.ts b/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.mocks.ts index c1c1d394d011..b856b8662479 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.mocks.ts +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const saveAsMock = jest.fn(); jest.doMock('@elastic/filesaver', () => ({ saveAs: saveAsMock, diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx index 6cca250b82fb..2f8382c5946f 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { extractExportDetailsMock, fetchExportByTypeAndSearchMock, diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx index 2fabb595ffb3..cf96538dfe97 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { debounce } from 'lodash'; // @ts-expect-error diff --git a/src/plugins/saved_objects_management/public/management_section/saved_objects_edition_page.tsx b/src/plugins/saved_objects_management/public/management_section/saved_objects_edition_page.tsx index ed86be090f13..51868e3e12c8 100644 --- a/src/plugins/saved_objects_management/public/management_section/saved_objects_edition_page.tsx +++ b/src/plugins/saved_objects_management/public/management_section/saved_objects_edition_page.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect } from 'react'; import { useParams, useLocation } from 'react-router-dom'; import { parse } from 'query-string'; diff --git a/src/plugins/saved_objects_management/public/management_section/saved_objects_table_page.tsx b/src/plugins/saved_objects_management/public/management_section/saved_objects_table_page.tsx index a59396f5d791..fd15fd94494e 100644 --- a/src/plugins/saved_objects_management/public/management_section/saved_objects_table_page.tsx +++ b/src/plugins/saved_objects_management/public/management_section/saved_objects_table_page.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect } from 'react'; import { get } from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/saved_objects_management/public/management_section/types.ts b/src/plugins/saved_objects_management/public/management_section/types.ts index 4efeaa6d1d71..77fcc824fef4 100644 --- a/src/plugins/saved_objects_management/public/management_section/types.ts +++ b/src/plugins/saved_objects_management/public/management_section/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectReference } from '../../../../core/types'; export interface ObjectField { diff --git a/src/plugins/saved_objects_management/public/mocks.ts b/src/plugins/saved_objects_management/public/mocks.ts index c9b4eced6f66..c76c6822d8a8 100644 --- a/src/plugins/saved_objects_management/public/mocks.ts +++ b/src/plugins/saved_objects_management/public/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { actionServiceMock } from './services/action_service.mock'; import { columnServiceMock } from './services/column_service.mock'; import { serviceRegistryMock } from './services/service_registry.mock'; diff --git a/src/plugins/saved_objects_management/public/plugin.test.ts b/src/plugins/saved_objects_management/public/plugin.test.ts index ca805918fb65..e55760846a5f 100644 --- a/src/plugins/saved_objects_management/public/plugin.test.ts +++ b/src/plugins/saved_objects_management/public/plugin.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { coreMock } from '../../../core/public/mocks'; import { homePluginMock } from '../../home/public/mocks'; import { managementPluginMock } from '../../management/public/mocks'; diff --git a/src/plugins/saved_objects_management/public/plugin.ts b/src/plugins/saved_objects_management/public/plugin.ts index 1fb7006871f7..fd9eebba9016 100644 --- a/src/plugins/saved_objects_management/public/plugin.ts +++ b/src/plugins/saved_objects_management/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { CoreSetup, CoreStart, Plugin } from 'src/core/public'; import { ManagementSetup } from '../../management/public'; diff --git a/src/plugins/saved_objects_management/public/register_services.ts b/src/plugins/saved_objects_management/public/register_services.ts index 9d32313657c3..757876b8407b 100644 --- a/src/plugins/saved_objects_management/public/register_services.ts +++ b/src/plugins/saved_objects_management/public/register_services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { StartServicesAccessor } from '../../../core/public'; import { SavedObjectsManagementPluginStart, StartDependencies } from './plugin'; import { ISavedObjectsManagementServiceRegistry } from './services'; diff --git a/src/plugins/saved_objects_management/public/services/action_service.mock.ts b/src/plugins/saved_objects_management/public/services/action_service.mock.ts index 14b10b1597d7..984c55d4fee4 100644 --- a/src/plugins/saved_objects_management/public/services/action_service.mock.ts +++ b/src/plugins/saved_objects_management/public/services/action_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsManagementActionService, SavedObjectsManagementActionServiceSetup, diff --git a/src/plugins/saved_objects_management/public/services/action_service.test.ts b/src/plugins/saved_objects_management/public/services/action_service.test.ts index 1d312f939db9..c41e0589b344 100644 --- a/src/plugins/saved_objects_management/public/services/action_service.test.ts +++ b/src/plugins/saved_objects_management/public/services/action_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsManagementActionService, SavedObjectsManagementActionServiceSetup, diff --git a/src/plugins/saved_objects_management/public/services/action_service.ts b/src/plugins/saved_objects_management/public/services/action_service.ts index eba40084157b..331e5f7f56e5 100644 --- a/src/plugins/saved_objects_management/public/services/action_service.ts +++ b/src/plugins/saved_objects_management/public/services/action_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsManagementAction } from './types'; export interface SavedObjectsManagementActionServiceSetup { diff --git a/src/plugins/saved_objects_management/public/services/column_service.mock.ts b/src/plugins/saved_objects_management/public/services/column_service.mock.ts index 941ea52c6e35..5f147398be0e 100644 --- a/src/plugins/saved_objects_management/public/services/column_service.mock.ts +++ b/src/plugins/saved_objects_management/public/services/column_service.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsManagementColumnService, SavedObjectsManagementColumnServiceSetup, diff --git a/src/plugins/saved_objects_management/public/services/column_service.test.ts b/src/plugins/saved_objects_management/public/services/column_service.test.ts index cf3264b9dc37..b8147cb28b1c 100644 --- a/src/plugins/saved_objects_management/public/services/column_service.test.ts +++ b/src/plugins/saved_objects_management/public/services/column_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsManagementColumnService, SavedObjectsManagementColumnServiceSetup, diff --git a/src/plugins/saved_objects_management/public/services/column_service.ts b/src/plugins/saved_objects_management/public/services/column_service.ts index 8224f35b7bdb..2a9237696f47 100644 --- a/src/plugins/saved_objects_management/public/services/column_service.ts +++ b/src/plugins/saved_objects_management/public/services/column_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsManagementColumn } from './types'; export interface SavedObjectsManagementColumnServiceSetup { diff --git a/src/plugins/saved_objects_management/public/services/index.ts b/src/plugins/saved_objects_management/public/services/index.ts index e7ea369ca646..7d099852776d 100644 --- a/src/plugins/saved_objects_management/public/services/index.ts +++ b/src/plugins/saved_objects_management/public/services/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SavedObjectsManagementActionService, SavedObjectsManagementActionServiceStart, diff --git a/src/plugins/saved_objects_management/public/services/service_registry.mock.ts b/src/plugins/saved_objects_management/public/services/service_registry.mock.ts index f9b1bacb9c08..3d1ed923d7b9 100644 --- a/src/plugins/saved_objects_management/public/services/service_registry.mock.ts +++ b/src/plugins/saved_objects_management/public/services/service_registry.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ISavedObjectsManagementServiceRegistry } from './service_registry'; const createRegistryMock = (): jest.Mocked => { diff --git a/src/plugins/saved_objects_management/public/services/service_registry.ts b/src/plugins/saved_objects_management/public/services/service_registry.ts index 2ed2b3b402c0..6629270af363 100644 --- a/src/plugins/saved_objects_management/public/services/service_registry.ts +++ b/src/plugins/saved_objects_management/public/services/service_registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectLoader } from '../../../saved_objects/public'; export interface SavedObjectsManagementServiceRegistryEntry { diff --git a/src/plugins/saved_objects_management/public/services/types/action.ts b/src/plugins/saved_objects_management/public/services/types/action.ts index e4e1ecbda4f7..53cbb73a1b83 100644 --- a/src/plugins/saved_objects_management/public/services/types/action.ts +++ b/src/plugins/saved_objects_management/public/services/types/action.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ReactNode } from '@elastic/eui/node_modules/@types/react'; import { SavedObjectsManagementRecord } from '.'; diff --git a/src/plugins/saved_objects_management/public/services/types/column.ts b/src/plugins/saved_objects_management/public/services/types/column.ts index 1ab65c5a3250..dee34724f06f 100644 --- a/src/plugins/saved_objects_management/public/services/types/column.ts +++ b/src/plugins/saved_objects_management/public/services/types/column.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiTableFieldDataColumnType } from '@elastic/eui'; import { SavedObjectsManagementRecord } from '.'; diff --git a/src/plugins/saved_objects_management/public/services/types/index.ts b/src/plugins/saved_objects_management/public/services/types/index.ts index 74eb3602529b..2b23129dec35 100644 --- a/src/plugins/saved_objects_management/public/services/types/index.ts +++ b/src/plugins/saved_objects_management/public/services/types/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SavedObjectsManagementAction } from './action'; export { SavedObjectsManagementColumn } from './column'; export { SavedObjectsManagementRecord } from './record'; diff --git a/src/plugins/saved_objects_management/public/services/types/record.ts b/src/plugins/saved_objects_management/public/services/types/record.ts index 253ee6d3d0a0..28539c41174d 100644 --- a/src/plugins/saved_objects_management/public/services/types/record.ts +++ b/src/plugins/saved_objects_management/public/services/types/record.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectReference, SavedObjectsNamespaceType } from 'src/core/public'; export interface SavedObjectsManagementRecord { diff --git a/src/plugins/saved_objects_management/public/types.ts b/src/plugins/saved_objects_management/public/types.ts index 3035e3f03f39..bd73c7e0f8af 100644 --- a/src/plugins/saved_objects_management/public/types.ts +++ b/src/plugins/saved_objects_management/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SavedObjectMetadata, SavedObjectWithMetadata, SavedObjectRelation } from '../common'; diff --git a/src/plugins/saved_objects_management/server/capabilities_provider.ts b/src/plugins/saved_objects_management/server/capabilities_provider.ts index 6e760cda2449..c97893b0aa17 100644 --- a/src/plugins/saved_objects_management/server/capabilities_provider.ts +++ b/src/plugins/saved_objects_management/server/capabilities_provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const capabilitiesProvider = () => ({ savedObjectsManagement: { delete: true, diff --git a/src/plugins/saved_objects_management/server/index.ts b/src/plugins/saved_objects_management/server/index.ts index bf2e274f0750..bd9d17ffce78 100644 --- a/src/plugins/saved_objects_management/server/index.ts +++ b/src/plugins/saved_objects_management/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'src/core/server'; import { SavedObjectsManagementPlugin } from './plugin'; diff --git a/src/plugins/saved_objects_management/server/lib/find_all.test.ts b/src/plugins/saved_objects_management/server/lib/find_all.test.ts index 825bab45b686..8f918f99ad91 100644 --- a/src/plugins/saved_objects_management/server/lib/find_all.test.ts +++ b/src/plugins/saved_objects_management/server/lib/find_all.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { times } from 'lodash'; import { SavedObjectsFindOptions, SavedObjectsFindResult } from 'src/core/server'; import { savedObjectsClientMock } from '../../../../core/server/mocks'; diff --git a/src/plugins/saved_objects_management/server/lib/find_all.ts b/src/plugins/saved_objects_management/server/lib/find_all.ts index 77f5edde3976..e3993aaf5354 100644 --- a/src/plugins/saved_objects_management/server/lib/find_all.ts +++ b/src/plugins/saved_objects_management/server/lib/find_all.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsClientContract, SavedObject, SavedObjectsFindOptions } from 'src/core/server'; export const findAll = async ( diff --git a/src/plugins/saved_objects_management/server/lib/find_relationships.test.ts b/src/plugins/saved_objects_management/server/lib/find_relationships.test.ts index 77bb46a5fe21..c9ee0a1e766d 100644 --- a/src/plugins/saved_objects_management/server/lib/find_relationships.test.ts +++ b/src/plugins/saved_objects_management/server/lib/find_relationships.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { findRelationships } from './find_relationships'; import { managementMock } from '../services/management.mock'; import { savedObjectsClientMock } from '../../../../core/server/mocks'; diff --git a/src/plugins/saved_objects_management/server/lib/find_relationships.ts b/src/plugins/saved_objects_management/server/lib/find_relationships.ts index f7853f623f28..4a4ed8155c8c 100644 --- a/src/plugins/saved_objects_management/server/lib/find_relationships.ts +++ b/src/plugins/saved_objects_management/server/lib/find_relationships.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsClientContract } from 'src/core/server'; import { injectMetaAttributes } from './inject_meta_attributes'; import { ISavedObjectsManagement } from '../services'; diff --git a/src/plugins/saved_objects_management/server/lib/index.ts b/src/plugins/saved_objects_management/server/lib/index.ts index 7c0fd8ff67e5..98af787b694d 100644 --- a/src/plugins/saved_objects_management/server/lib/index.ts +++ b/src/plugins/saved_objects_management/server/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { injectMetaAttributes } from './inject_meta_attributes'; export { findAll } from './find_all'; export { findRelationships } from './find_relationships'; diff --git a/src/plugins/saved_objects_management/server/lib/inject_meta_attributes.test.ts b/src/plugins/saved_objects_management/server/lib/inject_meta_attributes.test.ts index cf388a1e52eb..fd0ba4b864fa 100644 --- a/src/plugins/saved_objects_management/server/lib/inject_meta_attributes.test.ts +++ b/src/plugins/saved_objects_management/server/lib/inject_meta_attributes.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObject } from 'src/core/server'; import { injectMetaAttributes } from './inject_meta_attributes'; import { managementMock } from '../services/management.mock'; diff --git a/src/plugins/saved_objects_management/server/lib/inject_meta_attributes.ts b/src/plugins/saved_objects_management/server/lib/inject_meta_attributes.ts index c6941fd6834f..01ccbbb34d79 100644 --- a/src/plugins/saved_objects_management/server/lib/inject_meta_attributes.ts +++ b/src/plugins/saved_objects_management/server/lib/inject_meta_attributes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObject } from 'src/core/server'; import { ISavedObjectsManagement } from '../services'; import { SavedObjectWithMetadata } from '../types'; diff --git a/src/plugins/saved_objects_management/server/plugin.test.mocks.ts b/src/plugins/saved_objects_management/server/plugin.test.mocks.ts index 28159da83a05..91e313b6f797 100644 --- a/src/plugins/saved_objects_management/server/plugin.test.mocks.ts +++ b/src/plugins/saved_objects_management/server/plugin.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const registerRoutesMock = jest.fn(); jest.doMock('./routes', () => ({ diff --git a/src/plugins/saved_objects_management/server/plugin.test.ts b/src/plugins/saved_objects_management/server/plugin.test.ts index f5732c39e427..b826c3a426dd 100644 --- a/src/plugins/saved_objects_management/server/plugin.test.ts +++ b/src/plugins/saved_objects_management/server/plugin.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { registerRoutesMock } from './plugin.test.mocks'; import { SavedObjectsManagementPlugin } from './plugin'; import { coreMock } from '../../../core/server/mocks'; diff --git a/src/plugins/saved_objects_management/server/plugin.ts b/src/plugins/saved_objects_management/server/plugin.ts index 0ea361cffa34..4f9d183922a5 100644 --- a/src/plugins/saved_objects_management/server/plugin.ts +++ b/src/plugins/saved_objects_management/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Subject } from 'rxjs'; import { first } from 'rxjs/operators'; import { CoreSetup, CoreStart, Logger, Plugin, PluginInitializerContext } from 'src/core/server'; diff --git a/src/plugins/saved_objects_management/server/routes/find.ts b/src/plugins/saved_objects_management/server/routes/find.ts index e7fbd1db4403..2987425321ca 100644 --- a/src/plugins/saved_objects_management/server/routes/find.ts +++ b/src/plugins/saved_objects_management/server/routes/find.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { IRouter } from 'src/core/server'; import { injectMetaAttributes } from '../lib'; diff --git a/src/plugins/saved_objects_management/server/routes/get.ts b/src/plugins/saved_objects_management/server/routes/get.ts index 751fa9780110..f1806897c328 100644 --- a/src/plugins/saved_objects_management/server/routes/get.ts +++ b/src/plugins/saved_objects_management/server/routes/get.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { IRouter } from 'src/core/server'; import { injectMetaAttributes } from '../lib'; diff --git a/src/plugins/saved_objects_management/server/routes/get_allowed_types.ts b/src/plugins/saved_objects_management/server/routes/get_allowed_types.ts index 4cc0933b3d19..18442377a5ad 100644 --- a/src/plugins/saved_objects_management/server/routes/get_allowed_types.ts +++ b/src/plugins/saved_objects_management/server/routes/get_allowed_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IRouter } from 'src/core/server'; export const registerGetAllowedTypesRoute = (router: IRouter) => { diff --git a/src/plugins/saved_objects_management/server/routes/index.test.ts b/src/plugins/saved_objects_management/server/routes/index.test.ts index 33be3581856c..226284159b5e 100644 --- a/src/plugins/saved_objects_management/server/routes/index.test.ts +++ b/src/plugins/saved_objects_management/server/routes/index.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { registerRoutes } from './index'; import { ISavedObjectsManagement } from '../services'; import { coreMock, httpServiceMock } from '../../../../core/server/mocks'; diff --git a/src/plugins/saved_objects_management/server/routes/index.ts b/src/plugins/saved_objects_management/server/routes/index.ts index 6d707b61267a..7177de117f66 100644 --- a/src/plugins/saved_objects_management/server/routes/index.ts +++ b/src/plugins/saved_objects_management/server/routes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { HttpServiceSetup } from 'src/core/server'; import { ISavedObjectsManagement } from '../services'; import { registerFindRoute } from './find'; diff --git a/src/plugins/saved_objects_management/server/routes/relationships.ts b/src/plugins/saved_objects_management/server/routes/relationships.ts index 2b015136228f..e2a9a1f200fe 100644 --- a/src/plugins/saved_objects_management/server/routes/relationships.ts +++ b/src/plugins/saved_objects_management/server/routes/relationships.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { IRouter } from 'src/core/server'; import { findRelationships } from '../lib'; diff --git a/src/plugins/saved_objects_management/server/routes/scroll_count.ts b/src/plugins/saved_objects_management/server/routes/scroll_count.ts index 5e9e8d11b40a..0c69b376ea5b 100644 --- a/src/plugins/saved_objects_management/server/routes/scroll_count.ts +++ b/src/plugins/saved_objects_management/server/routes/scroll_count.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { IRouter, SavedObjectsFindOptions } from 'src/core/server'; import { findAll } from '../lib'; diff --git a/src/plugins/saved_objects_management/server/routes/scroll_export.ts b/src/plugins/saved_objects_management/server/routes/scroll_export.ts index 9d8f7cd393bb..20e91422ff9d 100644 --- a/src/plugins/saved_objects_management/server/routes/scroll_export.ts +++ b/src/plugins/saved_objects_management/server/routes/scroll_export.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { IRouter } from 'src/core/server'; import { findAll } from '../lib'; diff --git a/src/plugins/saved_objects_management/server/services/index.ts b/src/plugins/saved_objects_management/server/services/index.ts index c4b8d9173213..b693c8b95010 100644 --- a/src/plugins/saved_objects_management/server/services/index.ts +++ b/src/plugins/saved_objects_management/server/services/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SavedObjectsManagement, ISavedObjectsManagement } from './management'; diff --git a/src/plugins/saved_objects_management/server/services/management.mock.ts b/src/plugins/saved_objects_management/server/services/management.mock.ts index 4fcabf1beea5..99822d179b43 100644 --- a/src/plugins/saved_objects_management/server/services/management.mock.ts +++ b/src/plugins/saved_objects_management/server/services/management.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsManagement } from './management'; type Management = PublicMethodsOf; diff --git a/src/plugins/saved_objects_management/server/services/management.test.ts b/src/plugins/saved_objects_management/server/services/management.test.ts index 0e6e360199dd..6eade79496a0 100644 --- a/src/plugins/saved_objects_management/server/services/management.test.ts +++ b/src/plugins/saved_objects_management/server/services/management.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsManagement } from './management'; import { SavedObjectsType, SavedObjectTypeRegistry } from '../../../../core/server'; diff --git a/src/plugins/saved_objects_management/server/services/management.ts b/src/plugins/saved_objects_management/server/services/management.ts index f68cfc8d12b3..b9e9f7359f36 100644 --- a/src/plugins/saved_objects_management/server/services/management.ts +++ b/src/plugins/saved_objects_management/server/services/management.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ISavedObjectTypeRegistry, SavedObject } from 'src/core/server'; export type ISavedObjectsManagement = PublicMethodsOf; diff --git a/src/plugins/saved_objects_management/server/types.ts b/src/plugins/saved_objects_management/server/types.ts index 0e48910b1b45..e0f1160cb665 100644 --- a/src/plugins/saved_objects_management/server/types.ts +++ b/src/plugins/saved_objects_management/server/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface SavedObjectsManagementPluginSetup {} diff --git a/src/plugins/share/common/constants.ts b/src/plugins/share/common/constants.ts index 934678caa2b2..265c15dcf8b9 100644 --- a/src/plugins/share/common/constants.ts +++ b/src/plugins/share/common/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const CSV_SEPARATOR_SETTING = 'csv:separator'; export const CSV_QUOTE_VALUES_SETTING = 'csv:quoteValues'; diff --git a/src/plugins/share/common/short_url_routes.ts b/src/plugins/share/common/short_url_routes.ts index 14db3fddc2b9..60bd7c79c24e 100644 --- a/src/plugins/share/common/short_url_routes.ts +++ b/src/plugins/share/common/short_url_routes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const GOTO_PREFIX = '/goto'; export const getUrlIdFromGotoRoute = (path: string) => diff --git a/src/plugins/share/public/components/share_context_menu.test.tsx b/src/plugins/share/public/components/share_context_menu.test.tsx index 7a8ef6873f37..ef8977966c4a 100644 --- a/src/plugins/share/public/components/share_context_menu.test.tsx +++ b/src/plugins/share/public/components/share_context_menu.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ShareMenuItem } from '../types'; jest.mock('../lib/url_shortener', () => ({})); diff --git a/src/plugins/share/public/components/share_context_menu.tsx b/src/plugins/share/public/components/share_context_menu.tsx index 28dc353cbba1..e304387b4ec3 100644 --- a/src/plugins/share/public/components/share_context_menu.tsx +++ b/src/plugins/share/public/components/share_context_menu.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/share/public/components/url_panel_content.test.tsx b/src/plugins/share/public/components/url_panel_content.test.tsx index 3bd095054437..32b59cdf2b5f 100644 --- a/src/plugins/share/public/components/url_panel_content.test.tsx +++ b/src/plugins/share/public/components/url_panel_content.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiCopy, EuiRadioGroup, EuiSwitch, EuiSwitchEvent } from '@elastic/eui'; jest.mock('../lib/url_shortener', () => ({ shortenUrl: jest.fn() })); diff --git a/src/plugins/share/public/components/url_panel_content.tsx b/src/plugins/share/public/components/url_panel_content.tsx index e27666b51b19..9e97def0e41f 100644 --- a/src/plugins/share/public/components/url_panel_content.tsx +++ b/src/plugins/share/public/components/url_panel_content.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component, ReactElement } from 'react'; import { diff --git a/src/plugins/share/public/index.ts b/src/plugins/share/public/index.ts index 7920d18971b0..64a66d36bc6b 100644 --- a/src/plugins/share/public/index.ts +++ b/src/plugins/share/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { CSV_QUOTE_VALUES_SETTING, CSV_SEPARATOR_SETTING } from '../common/constants'; export { UrlGeneratorStateMapping } from './url_generators/url_generator_definition'; diff --git a/src/plugins/share/public/lib/url_shortener.test.ts b/src/plugins/share/public/lib/url_shortener.test.ts index daa620aa224d..b109cebce0b9 100644 --- a/src/plugins/share/public/lib/url_shortener.test.ts +++ b/src/plugins/share/public/lib/url_shortener.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { shortenUrl } from './url_shortener'; describe('Url shortener', () => { diff --git a/src/plugins/share/public/lib/url_shortener.ts b/src/plugins/share/public/lib/url_shortener.ts index 0c3abe7e9201..81fb7d7ff651 100644 --- a/src/plugins/share/public/lib/url_shortener.ts +++ b/src/plugins/share/public/lib/url_shortener.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import url from 'url'; import { HttpStart } from 'opensearch-dashboards/public'; import { CREATE_PATH, getGotoPath } from '../../common/short_url_routes'; diff --git a/src/plugins/share/public/opensearch_dashboards_url.ts b/src/plugins/share/public/opensearch_dashboards_url.ts index 19f4983ef987..fd05273c7c51 100644 --- a/src/plugins/share/public/opensearch_dashboards_url.ts +++ b/src/plugins/share/public/opensearch_dashboards_url.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // https://github.com/elastic/kibana/issues/64497 export class OpenSearchDashboardsURL { public readonly path: string; diff --git a/src/plugins/share/public/plugin.test.mocks.ts b/src/plugins/share/public/plugin.test.mocks.ts index 23c85b5530ee..98bad31e38b1 100644 --- a/src/plugins/share/public/plugin.test.mocks.ts +++ b/src/plugins/share/public/plugin.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { shareMenuRegistryMock } from './services/share_menu_registry.mock'; import { shareMenuManagerMock } from './services/share_menu_manager.mock'; diff --git a/src/plugins/share/public/plugin.test.ts b/src/plugins/share/public/plugin.test.ts index 4d795350df6e..8ea46a8ea7bf 100644 --- a/src/plugins/share/public/plugin.test.ts +++ b/src/plugins/share/public/plugin.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { registryMock, managerMock } from './plugin.test.mocks'; import { SharePlugin } from './plugin'; import { CoreStart } from 'opensearch-dashboards/public'; diff --git a/src/plugins/share/public/plugin.ts b/src/plugins/share/public/plugin.ts index 6765f745ff3a..34ba29bb4032 100644 --- a/src/plugins/share/public/plugin.ts +++ b/src/plugins/share/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index.scss'; import { CoreSetup, CoreStart, Plugin } from 'src/core/public'; diff --git a/src/plugins/share/public/services/index.ts b/src/plugins/share/public/services/index.ts index e0856c2c015d..8e864b4b229b 100644 --- a/src/plugins/share/public/services/index.ts +++ b/src/plugins/share/public/services/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './share_menu_registry'; export * from './share_menu_manager'; diff --git a/src/plugins/share/public/services/share_menu_manager.mock.ts b/src/plugins/share/public/services/share_menu_manager.mock.ts index 8e9efddd4081..e60b053be986 100644 --- a/src/plugins/share/public/services/share_menu_manager.mock.ts +++ b/src/plugins/share/public/services/share_menu_manager.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ShareMenuManager, ShareMenuManagerStart } from './share_menu_manager'; const createStartMock = (): jest.Mocked => { diff --git a/src/plugins/share/public/services/share_menu_manager.tsx b/src/plugins/share/public/services/share_menu_manager.tsx index 6ccc82127afd..b2c1a9a44673 100644 --- a/src/plugins/share/public/services/share_menu_manager.tsx +++ b/src/plugins/share/public/services/share_menu_manager.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { I18nProvider } from '@osd/i18n/react'; diff --git a/src/plugins/share/public/services/share_menu_registry.mock.ts b/src/plugins/share/public/services/share_menu_registry.mock.ts index df6c69fc4be5..39747264c768 100644 --- a/src/plugins/share/public/services/share_menu_registry.mock.ts +++ b/src/plugins/share/public/services/share_menu_registry.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ShareMenuRegistry, ShareMenuRegistrySetup, diff --git a/src/plugins/share/public/services/share_menu_registry.test.ts b/src/plugins/share/public/services/share_menu_registry.test.ts index c529bc64e0d6..b051ddfab864 100644 --- a/src/plugins/share/public/services/share_menu_registry.test.ts +++ b/src/plugins/share/public/services/share_menu_registry.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ShareMenuRegistry } from './share_menu_registry'; import { ShareMenuItem, ShareContext } from '../types'; diff --git a/src/plugins/share/public/services/share_menu_registry.ts b/src/plugins/share/public/services/share_menu_registry.ts index ebadfb600c5e..be16660adfc9 100644 --- a/src/plugins/share/public/services/share_menu_registry.ts +++ b/src/plugins/share/public/services/share_menu_registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ShareContext, ShareMenuProvider } from '../types'; export class ShareMenuRegistry { diff --git a/src/plugins/share/public/services/short_url_redirect_app.test.ts b/src/plugins/share/public/services/short_url_redirect_app.test.ts index 09b4a6d45b3d..e7adc6a7651f 100644 --- a/src/plugins/share/public/services/short_url_redirect_app.test.ts +++ b/src/plugins/share/public/services/short_url_redirect_app.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createShortUrlRedirectApp } from './short_url_redirect_app'; import { coreMock } from '../../../../core/public/mocks'; import { hashUrl } from '../../../opensearch_dashboards_utils/public'; diff --git a/src/plugins/share/public/services/short_url_redirect_app.ts b/src/plugins/share/public/services/short_url_redirect_app.ts index 7d86f4ffd2ec..c2dcd6e687e0 100644 --- a/src/plugins/share/public/services/short_url_redirect_app.ts +++ b/src/plugins/share/public/services/short_url_redirect_app.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup } from 'opensearch-dashboards/public'; import { getUrlIdFromGotoRoute, getUrlPath, GOTO_PREFIX } from '../../common/short_url_routes'; diff --git a/src/plugins/share/public/types.ts b/src/plugins/share/public/types.ts index 837f9474b382..93c5618493d6 100644 --- a/src/plugins/share/public/types.ts +++ b/src/plugins/share/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ComponentType } from 'react'; import { EuiContextMenuPanelDescriptor } from '@elastic/eui'; import { EuiContextMenuPanelItemDescriptorEntry } from '@elastic/eui/src/components/context_menu/context_menu'; diff --git a/src/plugins/share/public/url_generators/index.ts b/src/plugins/share/public/url_generators/index.ts index 09526ada70c0..5eb478a41c9a 100644 --- a/src/plugins/share/public/url_generators/index.ts +++ b/src/plugins/share/public/url_generators/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './url_generator_service'; export * from './url_generator_definition'; diff --git a/src/plugins/share/public/url_generators/url_generator_contract.ts b/src/plugins/share/public/url_generators/url_generator_contract.ts index 5e23a8436433..f159a18118d9 100644 --- a/src/plugins/share/public/url_generators/url_generator_contract.ts +++ b/src/plugins/share/public/url_generators/url_generator_contract.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UrlGeneratorId, UrlGeneratorStateMapping } from './url_generator_definition'; export interface UrlGeneratorContract { diff --git a/src/plugins/share/public/url_generators/url_generator_definition.ts b/src/plugins/share/public/url_generators/url_generator_definition.ts index 9c96246c8606..e36577a8e88f 100644 --- a/src/plugins/share/public/url_generators/url_generator_definition.ts +++ b/src/plugins/share/public/url_generators/url_generator_definition.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export type UrlGeneratorId = string; export interface UrlGeneratorState< diff --git a/src/plugins/share/public/url_generators/url_generator_internal.ts b/src/plugins/share/public/url_generators/url_generator_internal.ts index d489ea450997..79c5109d215f 100644 --- a/src/plugins/share/public/url_generators/url_generator_internal.ts +++ b/src/plugins/share/public/url_generators/url_generator_internal.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { UrlGeneratorsStart } from './url_generator_service'; import { diff --git a/src/plugins/share/public/url_generators/url_generator_service.test.ts b/src/plugins/share/public/url_generators/url_generator_service.test.ts index 8f8ad30ce9a3..407949428850 100644 --- a/src/plugins/share/public/url_generators/url_generator_service.test.ts +++ b/src/plugins/share/public/url_generators/url_generator_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UrlGeneratorsService } from './url_generator_service'; import { coreMock } from '../../../../core/public/mocks'; diff --git a/src/plugins/share/public/url_generators/url_generator_service.ts b/src/plugins/share/public/url_generators/url_generator_service.ts index ebaab8c80990..b182f97c775f 100644 --- a/src/plugins/share/public/url_generators/url_generator_service.ts +++ b/src/plugins/share/public/url_generators/url_generator_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, CoreStart, Plugin } from 'src/core/public'; import { i18n } from '@osd/i18n'; import { UrlGeneratorId, UrlGeneratorsDefinition } from './url_generator_definition'; diff --git a/src/plugins/share/server/index.ts b/src/plugins/share/server/index.ts index 2bc87170a23c..94120b2143d5 100644 --- a/src/plugins/share/server/index.ts +++ b/src/plugins/share/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from '../../../core/server'; import { SharePlugin } from './plugin'; diff --git a/src/plugins/share/server/plugin.ts b/src/plugins/share/server/plugin.ts index 0e49ee2e41b0..0d69da820c10 100644 --- a/src/plugins/share/server/plugin.ts +++ b/src/plugins/share/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { schema } from '@osd/config-schema'; import { CoreSetup, Plugin, PluginInitializerContext } from 'opensearch-dashboards/server'; diff --git a/src/plugins/share/server/routes/create_routes.ts b/src/plugins/share/server/routes/create_routes.ts index 178e7ecacbca..1763d077bcd9 100644 --- a/src/plugins/share/server/routes/create_routes.ts +++ b/src/plugins/share/server/routes/create_routes.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, Logger } from 'opensearch-dashboards/server'; import { shortUrlLookupProvider } from './lib/short_url_lookup'; diff --git a/src/plugins/share/server/routes/get.ts b/src/plugins/share/server/routes/get.ts index 6fc32fe14fdc..32c85a68d1a2 100644 --- a/src/plugins/share/server/routes/get.ts +++ b/src/plugins/share/server/routes/get.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, IRouter } from 'opensearch-dashboards/server'; import { schema } from '@osd/config-schema'; diff --git a/src/plugins/share/server/routes/goto.ts b/src/plugins/share/server/routes/goto.ts index 64a14574c4cd..2025158a7cc0 100644 --- a/src/plugins/share/server/routes/goto.ts +++ b/src/plugins/share/server/routes/goto.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, IRouter } from 'opensearch-dashboards/server'; import { schema } from '@osd/config-schema'; import { modifyUrl } from '@osd/std'; diff --git a/src/plugins/share/server/routes/lib/short_url_assert_valid.test.ts b/src/plugins/share/server/routes/lib/short_url_assert_valid.test.ts index ee196c9fe199..93a7fff7f2bc 100644 --- a/src/plugins/share/server/routes/lib/short_url_assert_valid.test.ts +++ b/src/plugins/share/server/routes/lib/short_url_assert_valid.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { shortUrlAssertValid } from './short_url_assert_valid'; const PROTOCOL_ERROR = /^Short url targets cannot have a protocol/; diff --git a/src/plugins/share/server/routes/lib/short_url_assert_valid.ts b/src/plugins/share/server/routes/lib/short_url_assert_valid.ts index 39a68ced2e3f..aec6e743c0bc 100644 --- a/src/plugins/share/server/routes/lib/short_url_assert_valid.ts +++ b/src/plugins/share/server/routes/lib/short_url_assert_valid.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parse } from 'url'; import { trim } from 'lodash'; import Boom from '@hapi/boom'; diff --git a/src/plugins/share/server/routes/lib/short_url_lookup.test.ts b/src/plugins/share/server/routes/lib/short_url_lookup.test.ts index 04839a48a37b..e7837d96d562 100644 --- a/src/plugins/share/server/routes/lib/short_url_lookup.test.ts +++ b/src/plugins/share/server/routes/lib/short_url_lookup.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { shortUrlLookupProvider, ShortUrlLookupService, UrlAttributes } from './short_url_lookup'; import { SavedObjectsClientContract, SavedObject } from 'opensearch-dashboards/server'; diff --git a/src/plugins/share/server/routes/lib/short_url_lookup.ts b/src/plugins/share/server/routes/lib/short_url_lookup.ts index feae8b910efa..f9ff2dd7ba95 100644 --- a/src/plugins/share/server/routes/lib/short_url_lookup.ts +++ b/src/plugins/share/server/routes/lib/short_url_lookup.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import crypto from 'crypto'; import { get } from 'lodash'; diff --git a/src/plugins/share/server/routes/shorten_url.ts b/src/plugins/share/server/routes/shorten_url.ts index 6505315d51a4..887dd3e5cb2f 100644 --- a/src/plugins/share/server/routes/shorten_url.ts +++ b/src/plugins/share/server/routes/shorten_url.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IRouter } from 'opensearch-dashboards/server'; import { schema } from '@osd/config-schema'; diff --git a/src/plugins/share/server/saved_objects/index.ts b/src/plugins/share/server/saved_objects/index.ts index 199436d4b3ca..19f9091eccfd 100644 --- a/src/plugins/share/server/saved_objects/index.ts +++ b/src/plugins/share/server/saved_objects/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,8 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { url } from './url'; diff --git a/src/plugins/share/server/saved_objects/url.ts b/src/plugins/share/server/saved_objects/url.ts index 65bbef71aa6d..db0e76c7b64f 100644 --- a/src/plugins/share/server/saved_objects/url.ts +++ b/src/plugins/share/server/saved_objects/url.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SavedObjectsType } from 'opensearch-dashboards/server'; export const url: SavedObjectsType = { diff --git a/src/plugins/telemetry/common/constants.ts b/src/plugins/telemetry/common/constants.ts index 080a62694842..626f326fc16c 100644 --- a/src/plugins/telemetry/common/constants.ts +++ b/src/plugins/telemetry/common/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; /** diff --git a/src/plugins/telemetry/common/telemetry_config/get_telemetry_allow_changing_opt_in_status.ts b/src/plugins/telemetry/common/telemetry_config/get_telemetry_allow_changing_opt_in_status.ts index ea8c8bbc036d..adee911d6cf3 100644 --- a/src/plugins/telemetry/common/telemetry_config/get_telemetry_allow_changing_opt_in_status.ts +++ b/src/plugins/telemetry/common/telemetry_config/get_telemetry_allow_changing_opt_in_status.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TelemetrySavedObject } from './types'; interface GetTelemetryAllowChangingOptInStatus { diff --git a/src/plugins/telemetry/common/telemetry_config/get_telemetry_failure_details.test.ts b/src/plugins/telemetry/common/telemetry_config/get_telemetry_failure_details.test.ts index 69a9ae93a128..32f6f056c559 100644 --- a/src/plugins/telemetry/common/telemetry_config/get_telemetry_failure_details.test.ts +++ b/src/plugins/telemetry/common/telemetry_config/get_telemetry_failure_details.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getTelemetryFailureDetails } from './get_telemetry_failure_details'; describe('getTelemetryFailureDetails: get details about server usage fetcher failures', () => { diff --git a/src/plugins/telemetry/common/telemetry_config/get_telemetry_failure_details.ts b/src/plugins/telemetry/common/telemetry_config/get_telemetry_failure_details.ts index f99594cb772f..26e2877016d1 100644 --- a/src/plugins/telemetry/common/telemetry_config/get_telemetry_failure_details.ts +++ b/src/plugins/telemetry/common/telemetry_config/get_telemetry_failure_details.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { TelemetrySavedObject } from './types'; interface GetTelemetryFailureDetailsConfig { diff --git a/src/plugins/telemetry/common/telemetry_config/get_telemetry_notify_user_about_optin_default.test.ts b/src/plugins/telemetry/common/telemetry_config/get_telemetry_notify_user_about_optin_default.test.ts index 23a341a0e95c..a3804fd27285 100644 --- a/src/plugins/telemetry/common/telemetry_config/get_telemetry_notify_user_about_optin_default.test.ts +++ b/src/plugins/telemetry/common/telemetry_config/get_telemetry_notify_user_about_optin_default.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getNotifyUserAboutOptInDefault } from './get_telemetry_notify_user_about_optin_default'; describe('getNotifyUserAboutOptInDefault: get a flag that describes if the user must be notified about optin default', () => { diff --git a/src/plugins/telemetry/common/telemetry_config/get_telemetry_notify_user_about_optin_default.ts b/src/plugins/telemetry/common/telemetry_config/get_telemetry_notify_user_about_optin_default.ts index 89e3c866b85f..59b29453bbcc 100644 --- a/src/plugins/telemetry/common/telemetry_config/get_telemetry_notify_user_about_optin_default.ts +++ b/src/plugins/telemetry/common/telemetry_config/get_telemetry_notify_user_about_optin_default.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TelemetrySavedObject } from './types'; interface NotifyOpts { diff --git a/src/plugins/telemetry/common/telemetry_config/get_telemetry_opt_in.test.ts b/src/plugins/telemetry/common/telemetry_config/get_telemetry_opt_in.test.ts index 7b8a37455307..e47c7146c107 100644 --- a/src/plugins/telemetry/common/telemetry_config/get_telemetry_opt_in.test.ts +++ b/src/plugins/telemetry/common/telemetry_config/get_telemetry_opt_in.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getTelemetryOptIn } from './get_telemetry_opt_in'; import { TelemetrySavedObject } from './types'; diff --git a/src/plugins/telemetry/common/telemetry_config/get_telemetry_opt_in.ts b/src/plugins/telemetry/common/telemetry_config/get_telemetry_opt_in.ts index 78d501df7460..2c2b33dea8fe 100644 --- a/src/plugins/telemetry/common/telemetry_config/get_telemetry_opt_in.ts +++ b/src/plugins/telemetry/common/telemetry_config/get_telemetry_opt_in.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import semver from 'semver'; import { TelemetrySavedObject } from './types'; diff --git a/src/plugins/telemetry/common/telemetry_config/get_telemetry_send_usage_from.test.ts b/src/plugins/telemetry/common/telemetry_config/get_telemetry_send_usage_from.test.ts index 2499fe366d9b..311cc0a80bf6 100644 --- a/src/plugins/telemetry/common/telemetry_config/get_telemetry_send_usage_from.test.ts +++ b/src/plugins/telemetry/common/telemetry_config/get_telemetry_send_usage_from.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getTelemetrySendUsageFrom } from './get_telemetry_send_usage_from'; import { TelemetrySavedObject } from './types'; diff --git a/src/plugins/telemetry/common/telemetry_config/get_telemetry_send_usage_from.ts b/src/plugins/telemetry/common/telemetry_config/get_telemetry_send_usage_from.ts index 16351a2218bd..739a36fbb335 100644 --- a/src/plugins/telemetry/common/telemetry_config/get_telemetry_send_usage_from.ts +++ b/src/plugins/telemetry/common/telemetry_config/get_telemetry_send_usage_from.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { TelemetrySavedObject } from './types'; interface GetTelemetryUsageFetcherConfig { diff --git a/src/plugins/telemetry/common/telemetry_config/index.ts b/src/plugins/telemetry/common/telemetry_config/index.ts index 6b997db3052c..7826d5f4c37c 100644 --- a/src/plugins/telemetry/common/telemetry_config/index.ts +++ b/src/plugins/telemetry/common/telemetry_config/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getTelemetryOptIn } from './get_telemetry_opt_in'; export { getTelemetrySendUsageFrom } from './get_telemetry_send_usage_from'; export { getTelemetryAllowChangingOptInStatus } from './get_telemetry_allow_changing_opt_in_status'; diff --git a/src/plugins/telemetry/common/telemetry_config/types.ts b/src/plugins/telemetry/common/telemetry_config/types.ts index 172a4f3947e4..c8cb6322f394 100644 --- a/src/plugins/telemetry/common/telemetry_config/types.ts +++ b/src/plugins/telemetry/common/telemetry_config/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface TelemetrySavedObjectAttributes { enabled?: boolean | null; lastVersionChecked?: string; diff --git a/src/plugins/telemetry/public/components/index.ts b/src/plugins/telemetry/public/components/index.ts index d4722f421968..6c2f63c31e77 100644 --- a/src/plugins/telemetry/public/components/index.ts +++ b/src/plugins/telemetry/public/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { OptedInNoticeBanner } from './opted_in_notice_banner'; diff --git a/src/plugins/telemetry/public/components/opt_in_banner.test.tsx b/src/plugins/telemetry/public/components/opt_in_banner.test.tsx index f0664d8765b7..4ee519cf4db8 100644 --- a/src/plugins/telemetry/public/components/opt_in_banner.test.tsx +++ b/src/plugins/telemetry/public/components/opt_in_banner.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiButton } from '@elastic/eui'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/telemetry/public/components/opt_in_banner.tsx b/src/plugins/telemetry/public/components/opt_in_banner.tsx index 4740e6b18c0a..2b32ef1e5a4b 100644 --- a/src/plugins/telemetry/public/components/opt_in_banner.tsx +++ b/src/plugins/telemetry/public/components/opt_in_banner.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { EuiButton, EuiCallOut, EuiFlexGroup, EuiFlexItem, EuiSpacer } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/telemetry/public/components/opt_in_message.test.tsx b/src/plugins/telemetry/public/components/opt_in_message.test.tsx index 88d98952401c..597d305191be 100644 --- a/src/plugins/telemetry/public/components/opt_in_message.test.tsx +++ b/src/plugins/telemetry/public/components/opt_in_message.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; import { OptInMessage } from './opt_in_message'; diff --git a/src/plugins/telemetry/public/components/opt_in_message.tsx b/src/plugins/telemetry/public/components/opt_in_message.tsx index f39404190297..4b33fa212bde 100644 --- a/src/plugins/telemetry/public/components/opt_in_message.tsx +++ b/src/plugins/telemetry/public/components/opt_in_message.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { EuiLink } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/telemetry/public/components/opted_in_notice_banner.test.tsx b/src/plugins/telemetry/public/components/opted_in_notice_banner.test.tsx index 3bfbb8d3d993..e517cd7b11b7 100644 --- a/src/plugins/telemetry/public/components/opted_in_notice_banner.test.tsx +++ b/src/plugins/telemetry/public/components/opted_in_notice_banner.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiButton } from '@elastic/eui'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/telemetry/public/components/opted_in_notice_banner.tsx b/src/plugins/telemetry/public/components/opted_in_notice_banner.tsx index 6332b427f134..3180a6ebdb46 100644 --- a/src/plugins/telemetry/public/components/opted_in_notice_banner.tsx +++ b/src/plugins/telemetry/public/components/opted_in_notice_banner.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint @elastic/eui/href-or-on-click:0 */ import * as React from 'react'; diff --git a/src/plugins/telemetry/public/index.ts b/src/plugins/telemetry/public/index.ts index 4f84a52bfaad..4fc1c777a5c0 100644 --- a/src/plugins/telemetry/public/index.ts +++ b/src/plugins/telemetry/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { TelemetryPlugin, TelemetryPluginConfig } from './plugin'; export { TelemetryPluginStart, TelemetryPluginSetup } from './plugin'; diff --git a/src/plugins/telemetry/public/mocks.ts b/src/plugins/telemetry/public/mocks.ts index 1ee8adc950ff..6926145be2bc 100644 --- a/src/plugins/telemetry/public/mocks.ts +++ b/src/plugins/telemetry/public/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // eslint-disable-next-line @osd/eslint/no-restricted-paths import { overlayServiceMock } from '../../../core/public/overlays/overlay_service.mock'; // eslint-disable-next-line @osd/eslint/no-restricted-paths diff --git a/src/plugins/telemetry/public/plugin.ts b/src/plugins/telemetry/public/plugin.ts index 426bd17a66c2..4553ec13a443 100644 --- a/src/plugins/telemetry/public/plugin.ts +++ b/src/plugins/telemetry/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreStart, diff --git a/src/plugins/telemetry/public/services/index.ts b/src/plugins/telemetry/public/services/index.ts index 877b0a985efc..1ebbc404e9c2 100644 --- a/src/plugins/telemetry/public/services/index.ts +++ b/src/plugins/telemetry/public/services/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { TelemetrySender } from './telemetry_sender'; export { TelemetryService } from './telemetry_service'; export { TelemetryNotifications } from './telemetry_notifications'; diff --git a/src/plugins/telemetry/public/services/telemetry_notifications/index.ts b/src/plugins/telemetry/public/services/telemetry_notifications/index.ts index d65e0b4ac4a1..6dce25e57fa1 100644 --- a/src/plugins/telemetry/public/services/telemetry_notifications/index.ts +++ b/src/plugins/telemetry/public/services/telemetry_notifications/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { TelemetryNotifications } from './telemetry_notifications'; diff --git a/src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_banner.test.ts b/src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_banner.test.ts index a2143ca0b9e8..d47f08f21a58 100644 --- a/src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_banner.test.ts +++ b/src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_banner.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { renderOptInBanner } from './render_opt_in_banner'; // eslint-disable-next-line @osd/eslint/no-restricted-paths import { overlayServiceMock } from '../../../../../core/public/overlays/overlay_service.mock'; diff --git a/src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_banner.tsx b/src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_banner.tsx index 79d98601efa2..fc1b900591ed 100644 --- a/src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_banner.tsx +++ b/src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_banner.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { CoreStart } from 'opensearch-dashboards/public'; import { OptInBanner } from '../../components/opt_in_banner'; diff --git a/src/plugins/telemetry/public/services/telemetry_notifications/render_opted_in_notice_banner.test.ts b/src/plugins/telemetry/public/services/telemetry_notifications/render_opted_in_notice_banner.test.ts index 6bb117c1e5ec..b84d9aae4db6 100644 --- a/src/plugins/telemetry/public/services/telemetry_notifications/render_opted_in_notice_banner.test.ts +++ b/src/plugins/telemetry/public/services/telemetry_notifications/render_opted_in_notice_banner.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { renderOptedInNoticeBanner } from './render_opted_in_notice_banner'; // eslint-disable-next-line @osd/eslint/no-restricted-paths import { overlayServiceMock } from '../../../../../core/public/overlays/overlay_service.mock'; diff --git a/src/plugins/telemetry/public/services/telemetry_notifications/render_opted_in_notice_banner.tsx b/src/plugins/telemetry/public/services/telemetry_notifications/render_opted_in_notice_banner.tsx index c08b2a47c881..17a82887e8c2 100644 --- a/src/plugins/telemetry/public/services/telemetry_notifications/render_opted_in_notice_banner.tsx +++ b/src/plugins/telemetry/public/services/telemetry_notifications/render_opted_in_notice_banner.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { CoreStart } from 'opensearch-dashboards/public'; import { OptedInNoticeBanner } from '../../components/opted_in_notice_banner'; diff --git a/src/plugins/telemetry/public/services/telemetry_notifications/telemetry_notifications.test.ts b/src/plugins/telemetry/public/services/telemetry_notifications/telemetry_notifications.test.ts index 948709b23506..eff722d04aa0 100644 --- a/src/plugins/telemetry/public/services/telemetry_notifications/telemetry_notifications.test.ts +++ b/src/plugins/telemetry/public/services/telemetry_notifications/telemetry_notifications.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable dot-notation */ import { mockTelemetryNotifications, mockTelemetryService } from '../../mocks'; diff --git a/src/plugins/telemetry/public/services/telemetry_notifications/telemetry_notifications.ts b/src/plugins/telemetry/public/services/telemetry_notifications/telemetry_notifications.ts index c33600c5d911..b3179ebd144c 100644 --- a/src/plugins/telemetry/public/services/telemetry_notifications/telemetry_notifications.ts +++ b/src/plugins/telemetry/public/services/telemetry_notifications/telemetry_notifications.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreStart } from 'opensearch-dashboards/public'; import { renderOptedInNoticeBanner } from './render_opted_in_notice_banner'; import { renderOptInBanner } from './render_opt_in_banner'; diff --git a/src/plugins/telemetry/public/services/telemetry_sender.test.ts b/src/plugins/telemetry/public/services/telemetry_sender.test.ts index a3abaa1c06b2..f3c7e8fa849b 100644 --- a/src/plugins/telemetry/public/services/telemetry_sender.test.ts +++ b/src/plugins/telemetry/public/services/telemetry_sender.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable dot-notation */ import { TelemetrySender } from './telemetry_sender'; import { mockTelemetryService } from '../mocks'; diff --git a/src/plugins/telemetry/public/services/telemetry_sender.ts b/src/plugins/telemetry/public/services/telemetry_sender.ts index 99111fd5e140..c474235fb6b1 100644 --- a/src/plugins/telemetry/public/services/telemetry_sender.ts +++ b/src/plugins/telemetry/public/services/telemetry_sender.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { REPORT_INTERVAL_MS, LOCALSTORAGE_KEY } from '../../common/constants'; import { TelemetryService } from './telemetry_service'; import { Storage } from '../../../opensearch_dashboards_utils/public'; diff --git a/src/plugins/telemetry/public/services/telemetry_service.test.ts b/src/plugins/telemetry/public/services/telemetry_service.test.ts index 65ab78efe27a..dbb9b3483e35 100644 --- a/src/plugins/telemetry/public/services/telemetry_service.test.ts +++ b/src/plugins/telemetry/public/services/telemetry_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable dot-notation */ import { mockTelemetryService } from '../mocks'; diff --git a/src/plugins/telemetry/public/services/telemetry_service.ts b/src/plugins/telemetry/public/services/telemetry_service.ts index 1699daee0016..489e588adb3a 100644 --- a/src/plugins/telemetry/public/services/telemetry_service.ts +++ b/src/plugins/telemetry/public/services/telemetry_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // import moment from 'moment'; import { i18n } from '@osd/i18n'; import { CoreStart } from 'opensearch-dashboards/public'; diff --git a/src/plugins/telemetry/server/collectors/index.ts b/src/plugins/telemetry/server/collectors/index.ts index 3f3ee9c3a5a4..e13d850b23d0 100644 --- a/src/plugins/telemetry/server/collectors/index.ts +++ b/src/plugins/telemetry/server/collectors/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { registerTelemetryUsageCollector } from './usage'; export { registerTelemetryPluginUsageCollector } from './telemetry_plugin'; diff --git a/src/plugins/telemetry/server/collectors/telemetry_plugin/index.ts b/src/plugins/telemetry/server/collectors/telemetry_plugin/index.ts index 12a6925a13d3..099e4c6425a9 100644 --- a/src/plugins/telemetry/server/collectors/telemetry_plugin/index.ts +++ b/src/plugins/telemetry/server/collectors/telemetry_plugin/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { registerTelemetryPluginUsageCollector } from './telemetry_plugin_collector'; diff --git a/src/plugins/telemetry/server/collectors/telemetry_plugin/telemetry_plugin_collector.ts b/src/plugins/telemetry/server/collectors/telemetry_plugin/telemetry_plugin_collector.ts index 7ac5117aa422..a08282a647a8 100644 --- a/src/plugins/telemetry/server/collectors/telemetry_plugin/telemetry_plugin_collector.ts +++ b/src/plugins/telemetry/server/collectors/telemetry_plugin/telemetry_plugin_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { take } from 'rxjs/operators'; import { ISavedObjectsRepository, SavedObjectsClient } from '../../../../../core/server'; diff --git a/src/plugins/telemetry/server/collectors/usage/ensure_deep_object.test.ts b/src/plugins/telemetry/server/collectors/usage/ensure_deep_object.test.ts index 72d9598ca8e7..589d760539a1 100644 --- a/src/plugins/telemetry/server/collectors/usage/ensure_deep_object.test.ts +++ b/src/plugins/telemetry/server/collectors/usage/ensure_deep_object.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ensureDeepObject } from './ensure_deep_object'; test('flat object', () => { diff --git a/src/plugins/telemetry/server/collectors/usage/ensure_deep_object.ts b/src/plugins/telemetry/server/collectors/usage/ensure_deep_object.ts index 1b6ae27d93f6..2ef76513c13d 100644 --- a/src/plugins/telemetry/server/collectors/usage/ensure_deep_object.ts +++ b/src/plugins/telemetry/server/collectors/usage/ensure_deep_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // // THIS IS A DIRECT COPY OF // '../../../../../../../src/core/server/config/ensure_deep_object' diff --git a/src/plugins/telemetry/server/collectors/usage/index.ts b/src/plugins/telemetry/server/collectors/usage/index.ts index 9e6ac34cd224..5fa35a718670 100644 --- a/src/plugins/telemetry/server/collectors/usage/index.ts +++ b/src/plugins/telemetry/server/collectors/usage/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { registerTelemetryUsageCollector } from './telemetry_usage_collector'; diff --git a/src/plugins/telemetry/server/collectors/usage/schema.ts b/src/plugins/telemetry/server/collectors/usage/schema.ts index a84f5e9fa127..458cf9ff8546 100644 --- a/src/plugins/telemetry/server/collectors/usage/schema.ts +++ b/src/plugins/telemetry/server/collectors/usage/schema.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MakeSchemaFrom } from 'src/plugins/usage_collection/server'; import { LicenseUsage, StaticTelemetryUsage } from './telemetry_usage_collector'; diff --git a/src/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.test.ts b/src/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.test.ts index 74500a6208a8..2cffae202a14 100644 --- a/src/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.test.ts +++ b/src/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { writeFileSync, unlinkSync } from 'fs'; import { resolve } from 'path'; import { tmpdir } from 'os'; diff --git a/src/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.ts b/src/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.ts index a3c748c2e13a..7347975dbc4a 100644 --- a/src/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.ts +++ b/src/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { accessSync, constants, readFileSync, statSync } from 'fs'; import { safeLoad } from 'js-yaml'; import { dirname, join } from 'path'; diff --git a/src/plugins/telemetry/server/config.ts b/src/plugins/telemetry/server/config.ts index 0d905a95fdb7..8c3dcf81e201 100644 --- a/src/plugins/telemetry/server/config.ts +++ b/src/plugins/telemetry/server/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; import { getConfigPath } from '@osd/utils'; import { ENDPOINT_VERSION } from '../common/constants'; diff --git a/src/plugins/telemetry/server/fetcher.test.ts b/src/plugins/telemetry/server/fetcher.test.ts index 26b2fb36b424..d2fae26b32a6 100644 --- a/src/plugins/telemetry/server/fetcher.test.ts +++ b/src/plugins/telemetry/server/fetcher.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable dot-notation */ import { FetcherTask } from './fetcher'; import { coreMock } from '../../../core/server/mocks'; diff --git a/src/plugins/telemetry/server/fetcher.ts b/src/plugins/telemetry/server/fetcher.ts index 6321a7eed779..678398e2d22a 100644 --- a/src/plugins/telemetry/server/fetcher.ts +++ b/src/plugins/telemetry/server/fetcher.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { Observable, Subscription, timer } from 'rxjs'; import { take } from 'rxjs/operators'; diff --git a/src/plugins/telemetry/server/handle_old_settings/handle_old_settings.ts b/src/plugins/telemetry/server/handle_old_settings/handle_old_settings.ts index 1561a87115f0..2235def2337d 100644 --- a/src/plugins/telemetry/server/handle_old_settings/handle_old_settings.ts +++ b/src/plugins/telemetry/server/handle_old_settings/handle_old_settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Clean up any old, deprecated settings and determine if we should continue. * diff --git a/src/plugins/telemetry/server/handle_old_settings/index.ts b/src/plugins/telemetry/server/handle_old_settings/index.ts index 3a385b677989..6ab9875c2a46 100644 --- a/src/plugins/telemetry/server/handle_old_settings/index.ts +++ b/src/plugins/telemetry/server/handle_old_settings/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { handleOldSettings } from './handle_old_settings'; diff --git a/src/plugins/telemetry/server/index.ts b/src/plugins/telemetry/server/index.ts index 613c63e07f39..e7fa8c08d414 100644 --- a/src/plugins/telemetry/server/index.ts +++ b/src/plugins/telemetry/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, PluginConfigDescriptor } from 'opensearch-dashboards/server'; import { TelemetryPlugin } from './plugin'; import * as constants from '../common/constants'; diff --git a/src/plugins/telemetry/server/mocks.ts b/src/plugins/telemetry/server/mocks.ts index 20086f5d6d46..8ad9f5a48e33 100644 --- a/src/plugins/telemetry/server/mocks.ts +++ b/src/plugins/telemetry/server/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { URL } from 'url'; import { TelemetryPluginStart, TelemetryPluginSetup } from './plugin'; diff --git a/src/plugins/telemetry/server/plugin.ts b/src/plugins/telemetry/server/plugin.ts index 3f3aa1c0406b..1aa06f31aa1a 100644 --- a/src/plugins/telemetry/server/plugin.ts +++ b/src/plugins/telemetry/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { URL } from 'url'; import { AsyncSubject, Observable } from 'rxjs'; import { UsageCollectionSetup } from 'src/plugins/usage_collection/server'; diff --git a/src/plugins/telemetry/server/routes/index.ts b/src/plugins/telemetry/server/routes/index.ts index 239de2333ec3..eef8c16346f0 100644 --- a/src/plugins/telemetry/server/routes/index.ts +++ b/src/plugins/telemetry/server/routes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { IRouter, Logger } from 'opensearch-dashboards/server'; import { TelemetryCollectionManagerPluginSetup } from 'src/plugins/telemetry_collection_manager/server'; diff --git a/src/plugins/telemetry/server/routes/telemetry_opt_in.ts b/src/plugins/telemetry/server/routes/telemetry_opt_in.ts index 753287e8b206..e4f9e1335605 100644 --- a/src/plugins/telemetry/server/routes/telemetry_opt_in.ts +++ b/src/plugins/telemetry/server/routes/telemetry_opt_in.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { Observable } from 'rxjs'; import { take } from 'rxjs/operators'; diff --git a/src/plugins/telemetry/server/routes/telemetry_opt_in_stats.ts b/src/plugins/telemetry/server/routes/telemetry_opt_in_stats.ts index 155a5c87a22a..536d4fd7d708 100644 --- a/src/plugins/telemetry/server/routes/telemetry_opt_in_stats.ts +++ b/src/plugins/telemetry/server/routes/telemetry_opt_in_stats.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore import fetch from 'node-fetch'; import moment from 'moment'; diff --git a/src/plugins/telemetry/server/routes/telemetry_usage_stats.ts b/src/plugins/telemetry/server/routes/telemetry_usage_stats.ts index 7448b9ba560b..8c7edbf8131d 100644 --- a/src/plugins/telemetry/server/routes/telemetry_usage_stats.ts +++ b/src/plugins/telemetry/server/routes/telemetry_usage_stats.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { schema } from '@osd/config-schema'; import { TypeOptions } from '@osd/config-schema/target/types/types'; diff --git a/src/plugins/telemetry/server/routes/telemetry_user_has_seen_notice.ts b/src/plugins/telemetry/server/routes/telemetry_user_has_seen_notice.ts index fe86255a49d9..e5430d3dd1f3 100644 --- a/src/plugins/telemetry/server/routes/telemetry_user_has_seen_notice.ts +++ b/src/plugins/telemetry/server/routes/telemetry_user_has_seen_notice.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IRouter } from 'opensearch-dashboards/server'; import { TelemetrySavedObject, diff --git a/src/plugins/telemetry/server/telemetry_collection/constants.ts b/src/plugins/telemetry/server/telemetry_collection/constants.ts index 6e99c4a41893..b484b9ecba29 100644 --- a/src/plugins/telemetry/server/telemetry_collection/constants.ts +++ b/src/plugins/telemetry/server/telemetry_collection/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * The timeout used by each request, whenever a timeout can be specified. */ diff --git a/src/plugins/telemetry/server/telemetry_collection/get_cluster_info.test.ts b/src/plugins/telemetry/server/telemetry_collection/get_cluster_info.test.ts index 224b3906cd0e..93ff2834a9de 100644 --- a/src/plugins/telemetry/server/telemetry_collection/get_cluster_info.test.ts +++ b/src/plugins/telemetry/server/telemetry_collection/get_cluster_info.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { opensearchServiceMock } from '../../../../../src/core/server/mocks'; import { getClusterInfo } from './get_cluster_info'; diff --git a/src/plugins/telemetry/server/telemetry_collection/get_cluster_info.ts b/src/plugins/telemetry/server/telemetry_collection/get_cluster_info.ts index 91ce44312a09..a4e290a4c1a6 100644 --- a/src/plugins/telemetry/server/telemetry_collection/get_cluster_info.ts +++ b/src/plugins/telemetry/server/telemetry_collection/get_cluster_info.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchClient } from 'src/core/server'; // This can be removed when the OpenSearch client improves the types diff --git a/src/plugins/telemetry/server/telemetry_collection/get_cluster_stats.test.ts b/src/plugins/telemetry/server/telemetry_collection/get_cluster_stats.test.ts index 68b185167d12..11a43ffc39f8 100644 --- a/src/plugins/telemetry/server/telemetry_collection/get_cluster_stats.test.ts +++ b/src/plugins/telemetry/server/telemetry_collection/get_cluster_stats.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { opensearchServiceMock } from '../../../../../src/core/server/mocks'; import { getClusterStats } from './get_cluster_stats'; import { TIMEOUT } from './constants'; diff --git a/src/plugins/telemetry/server/telemetry_collection/get_cluster_stats.ts b/src/plugins/telemetry/server/telemetry_collection/get_cluster_stats.ts index 2d51143226bf..868d4858b108 100644 --- a/src/plugins/telemetry/server/telemetry_collection/get_cluster_stats.ts +++ b/src/plugins/telemetry/server/telemetry_collection/get_cluster_stats.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ClusterDetailsGetter } from 'src/plugins/telemetry_collection_manager/server'; import { OpenSearchClient } from 'src/core/server'; import { TIMEOUT } from './constants'; diff --git a/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/constants.ts b/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/constants.ts index 6ac1941d0cfe..d309fbd17749 100644 --- a/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/constants.ts +++ b/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const DATA_TELEMETRY_ID = 'data'; export const DATA_KNOWN_TYPES = ['logs', 'traces', 'metrics'] as const; diff --git a/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.test.ts b/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.test.ts index 9b6414e2af44..5e330aa43eb7 100644 --- a/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.test.ts +++ b/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildDataTelemetryPayload, getDataTelemetry } from './get_data_telemetry'; import { DATA_DATASETS_INDEX_PATTERNS, DATA_DATASETS_INDEX_PATTERNS_UNIQUE } from './constants'; import { opensearchServiceMock } from '../../../../../../src/core/server/mocks'; diff --git a/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.ts b/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.ts index cb4637b592c4..4a325cb25524 100644 --- a/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.ts +++ b/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { OpenSearchClient } from 'src/core/server'; import { diff --git a/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/index.ts b/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/index.ts index 9c48cda2a56c..6773d65c8124 100644 --- a/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/index.ts +++ b/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DATA_TELEMETRY_ID } from './constants'; export { diff --git a/src/plugins/telemetry/server/telemetry_collection/get_local_license.ts b/src/plugins/telemetry/server/telemetry_collection/get_local_license.ts index 573b468eb565..9fd10ec3c629 100644 --- a/src/plugins/telemetry/server/telemetry_collection/get_local_license.ts +++ b/src/plugins/telemetry/server/telemetry_collection/get_local_license.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchLicense, LicenseGetter } from 'src/plugins/telemetry_collection_manager/server'; import { OpenSearchClient } from 'src/core/server'; diff --git a/src/plugins/telemetry/server/telemetry_collection/get_local_stats.test.ts b/src/plugins/telemetry/server/telemetry_collection/get_local_stats.test.ts index 0defbc365023..f1579353e6d4 100644 --- a/src/plugins/telemetry/server/telemetry_collection/get_local_stats.test.ts +++ b/src/plugins/telemetry/server/telemetry_collection/get_local_stats.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { merge, omit } from 'lodash'; import { getLocalStats, handleLocalStats } from './get_local_stats'; diff --git a/src/plugins/telemetry/server/telemetry_collection/get_local_stats.ts b/src/plugins/telemetry/server/telemetry_collection/get_local_stats.ts index 986494c83031..44b925df3d48 100644 --- a/src/plugins/telemetry/server/telemetry_collection/get_local_stats.ts +++ b/src/plugins/telemetry/server/telemetry_collection/get_local_stats.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { StatsGetter, StatsCollectionContext, diff --git a/src/plugins/telemetry/server/telemetry_collection/get_nodes_usage.test.ts b/src/plugins/telemetry/server/telemetry_collection/get_nodes_usage.test.ts index 15b8dba05ea7..05439c1a083a 100644 --- a/src/plugins/telemetry/server/telemetry_collection/get_nodes_usage.test.ts +++ b/src/plugins/telemetry/server/telemetry_collection/get_nodes_usage.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getNodesUsage } from './get_nodes_usage'; import { TIMEOUT } from './constants'; import { opensearchServiceMock } from '../../../../../src/core/server/mocks'; diff --git a/src/plugins/telemetry/server/telemetry_collection/get_nodes_usage.ts b/src/plugins/telemetry/server/telemetry_collection/get_nodes_usage.ts index f270a0d2423c..a4bd55f27d66 100644 --- a/src/plugins/telemetry/server/telemetry_collection/get_nodes_usage.ts +++ b/src/plugins/telemetry/server/telemetry_collection/get_nodes_usage.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { OpenSearchClient } from 'src/core/server'; import { TIMEOUT } from './constants'; diff --git a/src/plugins/telemetry/server/telemetry_collection/get_opensearch_dashboards.ts b/src/plugins/telemetry/server/telemetry_collection/get_opensearch_dashboards.ts index 18c13b142f82..2254e4cdbcb8 100644 --- a/src/plugins/telemetry/server/telemetry_collection/get_opensearch_dashboards.ts +++ b/src/plugins/telemetry/server/telemetry_collection/get_opensearch_dashboards.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { omit } from 'lodash'; import { UsageCollectionSetup } from 'src/plugins/usage_collection/server'; import { LegacyAPICaller } from 'opensearch-dashboards/server'; diff --git a/src/plugins/telemetry/server/telemetry_collection/index.ts b/src/plugins/telemetry/server/telemetry_collection/index.ts index acc408a4be85..f6c4c3c3e400 100644 --- a/src/plugins/telemetry/server/telemetry_collection/index.ts +++ b/src/plugins/telemetry/server/telemetry_collection/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DATA_TELEMETRY_ID, DataTelemetryIndex, diff --git a/src/plugins/telemetry/server/telemetry_collection/register_collection.ts b/src/plugins/telemetry/server/telemetry_collection/register_collection.ts index 33a0127ddf42..5978f986d064 100644 --- a/src/plugins/telemetry/server/telemetry_collection/register_collection.ts +++ b/src/plugins/telemetry/server/telemetry_collection/register_collection.ts @@ -4,40 +4,11 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. - */ - -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/* - * Modifications Copyright OpenSearch Contributors. See + * Any modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ -/* - * SPDX-License-Identifier: Apache-2.0 - * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. - */ - /* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with @@ -45,7 +16,7 @@ * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. - * You may obtain a copy of the License at.. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * @@ -57,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ILegacyClusterClient } from 'opensearch-dashboards/server'; import { TelemetryCollectionManagerPluginSetup } from 'src/plugins/telemetry_collection_manager/server'; import { IClusterClient } from '../../../../../src/core/server'; diff --git a/src/plugins/telemetry/server/telemetry_repository/get_telemetry_saved_object.test.ts b/src/plugins/telemetry/server/telemetry_repository/get_telemetry_saved_object.test.ts index b8a650e905dc..af3939fd3717 100644 --- a/src/plugins/telemetry/server/telemetry_repository/get_telemetry_saved_object.test.ts +++ b/src/plugins/telemetry/server/telemetry_repository/get_telemetry_saved_object.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getTelemetrySavedObject } from './get_telemetry_saved_object'; import { SavedObjectsErrorHelpers } from '../../../../core/server'; diff --git a/src/plugins/telemetry/server/telemetry_repository/get_telemetry_saved_object.ts b/src/plugins/telemetry/server/telemetry_repository/get_telemetry_saved_object.ts index cb6078ffa44a..0960b9559166 100644 --- a/src/plugins/telemetry/server/telemetry_repository/get_telemetry_saved_object.ts +++ b/src/plugins/telemetry/server/telemetry_repository/get_telemetry_saved_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsErrorHelpers, SavedObjectsClientContract } from '../../../../core/server'; import { TelemetrySavedObject } from './'; diff --git a/src/plugins/telemetry/server/telemetry_repository/index.ts b/src/plugins/telemetry/server/telemetry_repository/index.ts index 836ee809faed..24d30929d63d 100644 --- a/src/plugins/telemetry/server/telemetry_repository/index.ts +++ b/src/plugins/telemetry/server/telemetry_repository/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getTelemetrySavedObject } from './get_telemetry_saved_object'; export { updateTelemetrySavedObject } from './update_telemetry_saved_object'; export { diff --git a/src/plugins/telemetry/server/telemetry_repository/update_telemetry_saved_object.ts b/src/plugins/telemetry/server/telemetry_repository/update_telemetry_saved_object.ts index efb027297f1b..0c8be116a216 100644 --- a/src/plugins/telemetry/server/telemetry_repository/update_telemetry_saved_object.ts +++ b/src/plugins/telemetry/server/telemetry_repository/update_telemetry_saved_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsErrorHelpers, SavedObjectsClientContract } from '../../../../core/server'; import { TelemetrySavedObjectAttributes } from './'; diff --git a/src/plugins/telemetry_collection_manager/common/index.ts b/src/plugins/telemetry_collection_manager/common/index.ts index 9129740fd398..b6b09f47a6e5 100644 --- a/src/plugins/telemetry_collection_manager/common/index.ts +++ b/src/plugins/telemetry_collection_manager/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const PLUGIN_ID = 'telemetryCollectionManager'; export const PLUGIN_NAME = 'telemetry_collection_manager'; diff --git a/src/plugins/telemetry_collection_manager/server/encryption/encrypt.test.mocks.ts b/src/plugins/telemetry_collection_manager/server/encryption/encrypt.test.mocks.ts index 44431da98ad8..ab277f5ad943 100644 --- a/src/plugins/telemetry_collection_manager/server/encryption/encrypt.test.mocks.ts +++ b/src/plugins/telemetry_collection_manager/server/encryption/encrypt.test.mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const mockEncrypt = jest.fn(); export const createRequestEncryptor = jest.fn().mockResolvedValue({ encrypt: mockEncrypt, diff --git a/src/plugins/telemetry_collection_manager/server/encryption/encrypt.test.ts b/src/plugins/telemetry_collection_manager/server/encryption/encrypt.test.ts index 9228f266e0ee..b7d0d58f0eaa 100644 --- a/src/plugins/telemetry_collection_manager/server/encryption/encrypt.test.ts +++ b/src/plugins/telemetry_collection_manager/server/encryption/encrypt.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { createRequestEncryptor, mockEncrypt } from './encrypt.test.mocks'; import { telemetryJWKS } from './telemetry_jwks'; import { encryptTelemetry, getKID } from './encrypt'; diff --git a/src/plugins/telemetry_collection_manager/server/encryption/encrypt.ts b/src/plugins/telemetry_collection_manager/server/encryption/encrypt.ts index a95c8c9efebb..2e4807b1e14d 100644 --- a/src/plugins/telemetry_collection_manager/server/encryption/encrypt.ts +++ b/src/plugins/telemetry_collection_manager/server/encryption/encrypt.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createRequestEncryptor } from '@elastic/request-crypto'; import { telemetryJWKS } from './telemetry_jwks'; diff --git a/src/plugins/telemetry_collection_manager/server/encryption/index.ts b/src/plugins/telemetry_collection_manager/server/encryption/index.ts index c065d1d6f7b6..125b1372b6b3 100644 --- a/src/plugins/telemetry_collection_manager/server/encryption/index.ts +++ b/src/plugins/telemetry_collection_manager/server/encryption/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { encryptTelemetry } from './encrypt'; diff --git a/src/plugins/telemetry_collection_manager/server/encryption/telemetry_jwks.ts b/src/plugins/telemetry_collection_manager/server/encryption/telemetry_jwks.ts index 5533582b9eb9..bfcbb846c09b 100644 --- a/src/plugins/telemetry_collection_manager/server/encryption/telemetry_jwks.ts +++ b/src/plugins/telemetry_collection_manager/server/encryption/telemetry_jwks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PublicJWKS } from '@elastic/request-crypto'; export const telemetryJWKS: PublicJWKS = { diff --git a/src/plugins/telemetry_collection_manager/server/index.ts b/src/plugins/telemetry_collection_manager/server/index.ts index de4029bd58af..3504d8cca019 100644 --- a/src/plugins/telemetry_collection_manager/server/index.ts +++ b/src/plugins/telemetry_collection_manager/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/server'; import { TelemetryCollectionManagerPlugin } from './plugin'; diff --git a/src/plugins/telemetry_collection_manager/server/plugin.ts b/src/plugins/telemetry_collection_manager/server/plugin.ts index 5e2dd71cca56..a946cd03e41d 100644 --- a/src/plugins/telemetry_collection_manager/server/plugin.ts +++ b/src/plugins/telemetry_collection_manager/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UsageCollectionSetup } from 'src/plugins/usage_collection/server'; import { PluginInitializerContext, diff --git a/src/plugins/telemetry_collection_manager/server/types.ts b/src/plugins/telemetry_collection_manager/server/types.ts index 660ea7c1a107..6192efd7fc86 100644 --- a/src/plugins/telemetry_collection_manager/server/types.ts +++ b/src/plugins/telemetry_collection_manager/server/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LegacyAPICaller, Logger, diff --git a/src/plugins/telemetry_collection_manager/server/util.test.ts b/src/plugins/telemetry_collection_manager/server/util.test.ts index 15d74d1c8c46..2f78024519f0 100644 --- a/src/plugins/telemetry_collection_manager/server/util.test.ts +++ b/src/plugins/telemetry_collection_manager/server/util.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isClusterOptedIn } from './util'; const createMockClusterUsage = (plugins: any) => { diff --git a/src/plugins/telemetry_collection_manager/server/util.ts b/src/plugins/telemetry_collection_manager/server/util.ts index be42f5eec27f..a932e84f482a 100644 --- a/src/plugins/telemetry_collection_manager/server/util.ts +++ b/src/plugins/telemetry_collection_manager/server/util.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const isClusterOptedIn = (clusterUsage: any): boolean => { return ( clusterUsage?.stack_stats?.opensearch_dashboards?.plugins?.telemetry?.opt_in_status === true diff --git a/src/plugins/telemetry_management_section/public/components/index.ts b/src/plugins/telemetry_management_section/public/components/index.ts index a31c6b29f676..b24eb13fe696 100644 --- a/src/plugins/telemetry_management_section/public/components/index.ts +++ b/src/plugins/telemetry_management_section/public/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { OptInExampleFlyout } from './opt_in_example_flyout'; export { telemetryManagementSectionWrapper } from './telemetry_management_section_wrapper'; export { TelemetryManagementSection } from './telemetry_management_section'; diff --git a/src/plugins/telemetry_management_section/public/components/opt_in_example_flyout.test.tsx b/src/plugins/telemetry_management_section/public/components/opt_in_example_flyout.test.tsx index 26b442b61171..f43ffbc8a351 100644 --- a/src/plugins/telemetry_management_section/public/components/opt_in_example_flyout.test.tsx +++ b/src/plugins/telemetry_management_section/public/components/opt_in_example_flyout.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; import { OptInExampleFlyout } from './opt_in_example_flyout'; diff --git a/src/plugins/telemetry_management_section/public/components/opt_in_example_flyout.tsx b/src/plugins/telemetry_management_section/public/components/opt_in_example_flyout.tsx index f07ba558a7d5..56b0fd1e7ee0 100644 --- a/src/plugins/telemetry_management_section/public/components/opt_in_example_flyout.tsx +++ b/src/plugins/telemetry_management_section/public/components/opt_in_example_flyout.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { diff --git a/src/plugins/telemetry_management_section/public/components/opt_in_security_example_flyout.test.tsx b/src/plugins/telemetry_management_section/public/components/opt_in_security_example_flyout.test.tsx index c8713d5645dd..13f40cda7e5c 100644 --- a/src/plugins/telemetry_management_section/public/components/opt_in_security_example_flyout.test.tsx +++ b/src/plugins/telemetry_management_section/public/components/opt_in_security_example_flyout.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; import { OptInSecurityExampleFlyout } from './opt_in_security_example_flyout'; diff --git a/src/plugins/telemetry_management_section/public/components/opt_in_security_example_flyout.tsx b/src/plugins/telemetry_management_section/public/components/opt_in_security_example_flyout.tsx index 3e6c786b0294..5e4ac4f0d5e1 100644 --- a/src/plugins/telemetry_management_section/public/components/opt_in_security_example_flyout.tsx +++ b/src/plugins/telemetry_management_section/public/components/opt_in_security_example_flyout.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { diff --git a/src/plugins/telemetry_management_section/public/components/telemetry_management_section.test.tsx b/src/plugins/telemetry_management_section/public/components/telemetry_management_section.test.tsx index bd12028737b9..4c6ecc4d93bc 100644 --- a/src/plugins/telemetry_management_section/public/components/telemetry_management_section.test.tsx +++ b/src/plugins/telemetry_management_section/public/components/telemetry_management_section.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { mountWithIntl, shallowWithIntl, wrapWithIntl } from 'test_utils/enzyme_helpers'; import TelemetryManagementSection from './telemetry_management_section'; diff --git a/src/plugins/telemetry_management_section/public/components/telemetry_management_section.tsx b/src/plugins/telemetry_management_section/public/components/telemetry_management_section.tsx index 6f0a19ddc365..6084147fc411 100644 --- a/src/plugins/telemetry_management_section/public/components/telemetry_management_section.tsx +++ b/src/plugins/telemetry_management_section/public/components/telemetry_management_section.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component, Fragment } from 'react'; import { EuiCallOut, diff --git a/src/plugins/telemetry_management_section/public/components/telemetry_management_section_wrapper.tsx b/src/plugins/telemetry_management_section/public/components/telemetry_management_section_wrapper.tsx index 639a92a1f52a..74a7df00f7b6 100644 --- a/src/plugins/telemetry_management_section/public/components/telemetry_management_section_wrapper.tsx +++ b/src/plugins/telemetry_management_section/public/components/telemetry_management_section_wrapper.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { lazy, Suspense } from 'react'; import { EuiLoadingSpinner } from '@elastic/eui'; import { TelemetryPluginSetup } from 'src/plugins/telemetry/public'; diff --git a/src/plugins/telemetry_management_section/public/index.ts b/src/plugins/telemetry_management_section/public/index.ts index 0984f129a13a..c1bddaf9c444 100644 --- a/src/plugins/telemetry_management_section/public/index.ts +++ b/src/plugins/telemetry_management_section/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { TelemetryManagementSectionPlugin } from './plugin'; export { OptInExampleFlyout } from './components'; diff --git a/src/plugins/telemetry_management_section/public/plugin.tsx b/src/plugins/telemetry_management_section/public/plugin.tsx index a4941047c2cb..fc8d1697268c 100644 --- a/src/plugins/telemetry_management_section/public/plugin.tsx +++ b/src/plugins/telemetry_management_section/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { AdvancedSettingsSetup } from 'src/plugins/advanced_settings/public'; import { TelemetryPluginSetup } from 'src/plugins/telemetry/public'; import { Plugin, CoreStart, CoreSetup } from '../../../core/public'; diff --git a/src/plugins/tile_map/config.ts b/src/plugins/tile_map/config.ts index 72d6d51436f6..6bdd800dd36b 100644 --- a/src/plugins/tile_map/config.ts +++ b/src/plugins/tile_map/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export const configSchema = schema.object({ diff --git a/src/plugins/tile_map/public/components/tile_map_options.tsx b/src/plugins/tile_map/public/components/tile_map_options.tsx index b74d004d4fcd..d22eccc110d8 100644 --- a/src/plugins/tile_map/public/components/tile_map_options.tsx +++ b/src/plugins/tile_map/public/components/tile_map_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect } from 'react'; import { EuiPanel, EuiSpacer } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/tile_map/public/css_filters.js b/src/plugins/tile_map/public/css_filters.js index 12a653084ef6..94a75a5fe47d 100644 --- a/src/plugins/tile_map/public/css_filters.js +++ b/src/plugins/tile_map/public/css_filters.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; /** diff --git a/src/plugins/tile_map/public/geohash_layer.js b/src/plugins/tile_map/public/geohash_layer.js index 4a4ab9730bb2..d88b8faa40ff 100644 --- a/src/plugins/tile_map/public/geohash_layer.js +++ b/src/plugins/tile_map/public/geohash_layer.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { min, isEqual } from 'lodash'; import { i18n } from '@osd/i18n'; import { OpenSearchDashboardsMapLayer, MapTypes } from '../../maps_legacy/public'; diff --git a/src/plugins/tile_map/public/index.ts b/src/plugins/tile_map/public/index.ts index 86b884c52e73..bd1fb87acdc2 100644 --- a/src/plugins/tile_map/public/index.ts +++ b/src/plugins/tile_map/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { TileMapPlugin as Plugin } from './plugin'; diff --git a/src/plugins/tile_map/public/markers/geohash_grid.js b/src/plugins/tile_map/public/markers/geohash_grid.js index 7d95b5c8a00f..6274deb05136 100644 --- a/src/plugins/tile_map/public/markers/geohash_grid.js +++ b/src/plugins/tile_map/public/markers/geohash_grid.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ScaledCirclesMarkers } from './scaled_circles'; export class GeohashGridMarkers extends ScaledCirclesMarkers { diff --git a/src/plugins/tile_map/public/markers/heatmap.js b/src/plugins/tile_map/public/markers/heatmap.js index b56d90dd037c..f8a25833dab3 100644 --- a/src/plugins/tile_map/public/markers/heatmap.js +++ b/src/plugins/tile_map/public/markers/heatmap.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import d3 from 'd3'; import { EventEmitter } from 'events'; diff --git a/src/plugins/tile_map/public/markers/scaled_circles.js b/src/plugins/tile_map/public/markers/scaled_circles.js index b5ddf054d1cd..4dcee6cd520c 100644 --- a/src/plugins/tile_map/public/markers/scaled_circles.js +++ b/src/plugins/tile_map/public/markers/scaled_circles.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import d3 from 'd3'; import $ from 'jquery'; diff --git a/src/plugins/tile_map/public/markers/shaded_circles.js b/src/plugins/tile_map/public/markers/shaded_circles.js index 0eb6d6f1a284..f2bed2993f37 100644 --- a/src/plugins/tile_map/public/markers/shaded_circles.js +++ b/src/plugins/tile_map/public/markers/shaded_circles.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { ScaledCirclesMarkers } from './scaled_circles'; diff --git a/src/plugins/tile_map/public/plugin.ts b/src/plugins/tile_map/public/plugin.ts index 4fd19842108e..4b6b76ae193d 100644 --- a/src/plugins/tile_map/public/plugin.ts +++ b/src/plugins/tile_map/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CoreSetup, CoreStart, diff --git a/src/plugins/tile_map/public/services.ts b/src/plugins/tile_map/public/services.ts index 2aa3cde9bfbf..aefa45819599 100644 --- a/src/plugins/tile_map/public/services.ts +++ b/src/plugins/tile_map/public/services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreStart } from 'opensearch-dashboards/public'; import { createGetterSetter } from '../../opensearch_dashboards_utils/public'; import { DataPublicPluginStart } from '../../data/public'; diff --git a/src/plugins/tile_map/public/tile_map_fn.js b/src/plugins/tile_map/public/tile_map_fn.js index df815bd2f2b7..876fb29fe083 100644 --- a/src/plugins/tile_map/public/tile_map_fn.js +++ b/src/plugins/tile_map/public/tile_map_fn.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { convertToGeoJson } from '../../maps_legacy/public'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/tile_map/public/tile_map_type.js b/src/plugins/tile_map/public/tile_map_type.js index 4a57db6c83d8..aad20a4797d5 100644 --- a/src/plugins/tile_map/public/tile_map_type.js +++ b/src/plugins/tile_map/public/tile_map_type.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; import { convertToGeoJson, MapTypes } from '../../maps_legacy/public'; diff --git a/src/plugins/tile_map/public/tile_map_visualization.js b/src/plugins/tile_map/public/tile_map_visualization.js index 99be987453c6..e9a308ef5a9d 100644 --- a/src/plugins/tile_map/public/tile_map_visualization.js +++ b/src/plugins/tile_map/public/tile_map_visualization.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, round } from 'lodash'; import { getFormatService, getQueryService, getOpenSearchDashboardsLegacy } from './services'; import { diff --git a/src/plugins/tile_map/public/tilemap_fn.test.js b/src/plugins/tile_map/public/tilemap_fn.test.js index f12a6d45b111..77d14033f6c9 100644 --- a/src/plugins/tile_map/public/tilemap_fn.test.js +++ b/src/plugins/tile_map/public/tilemap_fn.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // eslint-disable-next-line import { functionWrapper } from '../../expressions/common/expression_functions/specs/tests/utils'; import { createTileMapFn } from './tile_map_fn'; diff --git a/src/plugins/tile_map/public/tooltip_formatter.js b/src/plugins/tile_map/public/tooltip_formatter.js index cfe033bbbe54..2583755ccbcf 100644 --- a/src/plugins/tile_map/public/tooltip_formatter.js +++ b/src/plugins/tile_map/public/tooltip_formatter.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; export function tooltipFormatter(metricTitle, metricFormat, feature) { diff --git a/src/plugins/tile_map/server/index.ts b/src/plugins/tile_map/server/index.ts index 6302072da86f..09fb5aad04ab 100644 --- a/src/plugins/tile_map/server/index.ts +++ b/src/plugins/tile_map/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginConfigDescriptor } from 'opensearch-dashboards/server'; import { configSchema, ConfigSchema } from '../config'; diff --git a/src/plugins/timeline/public/app.js b/src/plugins/timeline/public/app.js index 9ada2ae72289..6680e5518dcd 100644 --- a/src/plugins/timeline/public/app.js +++ b/src/plugins/timeline/public/app.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/timeline/public/application.ts b/src/plugins/timeline/public/application.ts index 5b6b269b0a69..5eb5d2fcb31c 100644 --- a/src/plugins/timeline/public/application.ts +++ b/src/plugins/timeline/public/application.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index.scss'; import { EuiIcon } from '@elastic/eui'; diff --git a/src/plugins/timeline/public/breadcrumbs.js b/src/plugins/timeline/public/breadcrumbs.js index 9bc56f99fc7c..dfee1407cef3 100644 --- a/src/plugins/timeline/public/breadcrumbs.js +++ b/src/plugins/timeline/public/breadcrumbs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; const ROOT_BREADCRUMB = { diff --git a/src/plugins/timeline/public/components/timeline_deprecation.tsx b/src/plugins/timeline/public/components/timeline_deprecation.tsx index abd415ae7427..0e1eac7936fe 100644 --- a/src/plugins/timeline/public/components/timeline_deprecation.tsx +++ b/src/plugins/timeline/public/components/timeline_deprecation.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { FormattedMessage } from '@osd/i18n/react'; import { EuiSpacer, EuiCallOut, EuiLink } from '@elastic/eui'; import React from 'react'; diff --git a/src/plugins/timeline/public/components/timeline_deprecation_directive.js b/src/plugins/timeline/public/components/timeline_deprecation_directive.js index c82155f136df..d45800db24b5 100644 --- a/src/plugins/timeline/public/components/timeline_deprecation_directive.js +++ b/src/plugins/timeline/public/components/timeline_deprecation_directive.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { TimelineDeprecation } from './timeline_deprecation'; diff --git a/src/plugins/timeline/public/components/timelinehelp_tabs.js b/src/plugins/timeline/public/components/timelinehelp_tabs.js index a5e59f3bbe26..1680b4de7ebc 100644 --- a/src/plugins/timeline/public/components/timelinehelp_tabs.js +++ b/src/plugins/timeline/public/components/timelinehelp_tabs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; diff --git a/src/plugins/timeline/public/components/timelinehelp_tabs_directive.js b/src/plugins/timeline/public/components/timelinehelp_tabs_directive.js index 34914345c7be..772580e71bf6 100644 --- a/src/plugins/timeline/public/components/timelinehelp_tabs_directive.js +++ b/src/plugins/timeline/public/components/timelinehelp_tabs_directive.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { TimelineHelpTabs } from './timelinehelp_tabs'; diff --git a/src/plugins/timeline/public/directives/cells/cells.js b/src/plugins/timeline/public/directives/cells/cells.js index 9edd6015544a..3e10d92a5349 100644 --- a/src/plugins/timeline/public/directives/cells/cells.js +++ b/src/plugins/timeline/public/directives/cells/cells.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { move } from './collection'; import { initTimelineGridDirective } from '../timeline_grid'; diff --git a/src/plugins/timeline/public/directives/cells/collection.ts b/src/plugins/timeline/public/directives/cells/collection.ts index 8302b3803708..aeb4f83a75ca 100644 --- a/src/plugins/timeline/public/directives/cells/collection.ts +++ b/src/plugins/timeline/public/directives/cells/collection.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; /** diff --git a/src/plugins/timeline/public/directives/chart/chart.js b/src/plugins/timeline/public/directives/chart/chart.js index a769752542b7..0f26c92c2e17 100644 --- a/src/plugins/timeline/public/directives/chart/chart.js +++ b/src/plugins/timeline/public/directives/chart/chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; export function Chart(timelinePanels) { diff --git a/src/plugins/timeline/public/directives/fixed_element.js b/src/plugins/timeline/public/directives/fixed_element.js index 4d7d20fdbbca..b201b70e26a7 100644 --- a/src/plugins/timeline/public/directives/fixed_element.js +++ b/src/plugins/timeline/public/directives/fixed_element.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; export function initFixedElementDirective(app) { diff --git a/src/plugins/timeline/public/directives/fullscreen/fullscreen.js b/src/plugins/timeline/public/directives/fullscreen/fullscreen.js index 06a3ed45132b..eec336572bef 100644 --- a/src/plugins/timeline/public/directives/fullscreen/fullscreen.js +++ b/src/plugins/timeline/public/directives/fullscreen/fullscreen.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import html from './fullscreen.html'; export function initFullscreenDirective(app) { diff --git a/src/plugins/timeline/public/directives/input_focus.js b/src/plugins/timeline/public/directives/input_focus.js index fe7af213297d..518208c02a2b 100644 --- a/src/plugins/timeline/public/directives/input_focus.js +++ b/src/plugins/timeline/public/directives/input_focus.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function initInputFocusDirective(app) { app.directive('inputFocus', function ($parse, $timeout) { return { diff --git a/src/plugins/timeline/public/directives/key_map.ts b/src/plugins/timeline/public/directives/key_map.ts index e3828d966e73..e85deb4e2972 100644 --- a/src/plugins/timeline/public/directives/key_map.ts +++ b/src/plugins/timeline/public/directives/key_map.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const keyMap: { [key: number]: string } = { 8: 'backspace', 9: 'tab', diff --git a/src/plugins/timeline/public/directives/saved_object_finder.js b/src/plugins/timeline/public/directives/saved_object_finder.js index f1acc1ca9682..284b4e9d5fbd 100644 --- a/src/plugins/timeline/public/directives/saved_object_finder.js +++ b/src/plugins/timeline/public/directives/saved_object_finder.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import rison from 'rison-node'; import savedObjectFinderTemplate from './saved_object_finder.html'; diff --git a/src/plugins/timeline/public/directives/saved_object_save_as_checkbox.js b/src/plugins/timeline/public/directives/saved_object_save_as_checkbox.js index 6690598d0a28..794ecb01f0a6 100644 --- a/src/plugins/timeline/public/directives/saved_object_save_as_checkbox.js +++ b/src/plugins/timeline/public/directives/saved_object_save_as_checkbox.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import saveObjectSaveAsCheckboxTemplate from './saved_object_save_as_checkbox.html'; export function initSavedObjectSaveAsCheckBoxDirective(app) { diff --git a/src/plugins/timeline/public/directives/timeline_expression_input.js b/src/plugins/timeline/public/directives/timeline_expression_input.js index d0a52a05ae38..0c4150c952a6 100644 --- a/src/plugins/timeline/public/directives/timeline_expression_input.js +++ b/src/plugins/timeline/public/directives/timeline_expression_input.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Timeline Expression Autocompleter * diff --git a/src/plugins/timeline/public/directives/timeline_expression_input_helpers.js b/src/plugins/timeline/public/directives/timeline_expression_input_helpers.js index 663414b83421..62f496d0f6f0 100644 --- a/src/plugins/timeline/public/directives/timeline_expression_input_helpers.js +++ b/src/plugins/timeline/public/directives/timeline_expression_input_helpers.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export const SUGGESTION_TYPE = { diff --git a/src/plugins/timeline/public/directives/timeline_expression_suggestions/timeline_expression_suggestions.js b/src/plugins/timeline/public/directives/timeline_expression_suggestions/timeline_expression_suggestions.js index 9e0703db3780..a2c24e57f756 100644 --- a/src/plugins/timeline/public/directives/timeline_expression_suggestions/timeline_expression_suggestions.js +++ b/src/plugins/timeline/public/directives/timeline_expression_suggestions/timeline_expression_suggestions.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import template from './timeline_expression_suggestions.html'; export function TimelineExpressionSuggestions() { diff --git a/src/plugins/timeline/public/directives/timeline_grid.js b/src/plugins/timeline/public/directives/timeline_grid.js index 58587c5fe3a0..48db69aa4a0e 100644 --- a/src/plugins/timeline/public/directives/timeline_grid.js +++ b/src/plugins/timeline/public/directives/timeline_grid.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; export function initTimelineGridDirective(app) { diff --git a/src/plugins/timeline/public/directives/timeline_help/timeline_help.js b/src/plugins/timeline/public/directives/timeline_help/timeline_help.js index ade1ea0d95e1..86ba02c6c87b 100644 --- a/src/plugins/timeline/public/directives/timeline_help/timeline_help.js +++ b/src/plugins/timeline/public/directives/timeline_help/timeline_help.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import template from './timeline_help.html'; import { i18n } from '@osd/i18n'; import _ from 'lodash'; diff --git a/src/plugins/timeline/public/directives/timeline_interval/timeline_interval.js b/src/plugins/timeline/public/directives/timeline_interval/timeline_interval.js index bc32fb5c567c..66869155916a 100644 --- a/src/plugins/timeline/public/directives/timeline_interval/timeline_interval.js +++ b/src/plugins/timeline/public/directives/timeline_interval/timeline_interval.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import $ from 'jquery'; import template from './timeline_interval.html'; diff --git a/src/plugins/timeline/public/directives/timeline_load_sheet.js b/src/plugins/timeline/public/directives/timeline_load_sheet.js index 8c93ad2b71c1..718d090133e7 100644 --- a/src/plugins/timeline/public/directives/timeline_load_sheet.js +++ b/src/plugins/timeline/public/directives/timeline_load_sheet.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import template from '../partials/load_sheet.html'; export function initTimelineLoadSheetDirective(app) { diff --git a/src/plugins/timeline/public/directives/timeline_options_sheet.js b/src/plugins/timeline/public/directives/timeline_options_sheet.js index a0cf92daef86..485869f5fcf8 100644 --- a/src/plugins/timeline/public/directives/timeline_options_sheet.js +++ b/src/plugins/timeline/public/directives/timeline_options_sheet.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import template from '../partials/sheet_options.html'; export function initTimelineOptionsSheetDirective(app) { diff --git a/src/plugins/timeline/public/directives/timeline_save_sheet.js b/src/plugins/timeline/public/directives/timeline_save_sheet.js index 9067db982aed..80ffe3c4e294 100644 --- a/src/plugins/timeline/public/directives/timeline_save_sheet.js +++ b/src/plugins/timeline/public/directives/timeline_save_sheet.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import saveTemplate from '../partials/save_sheet.html'; export function initTimelineSaveSheetDirective(app) { diff --git a/src/plugins/timeline/public/index.ts b/src/plugins/timeline/public/index.ts index d9d5818d4e4a..f4b35580b7d1 100644 --- a/src/plugins/timeline/public/index.ts +++ b/src/plugins/timeline/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { TimelinePlugin as Plugin } from './plugin'; diff --git a/src/plugins/timeline/public/lib/observe_resize.js b/src/plugins/timeline/public/lib/observe_resize.js index 535955941ae4..32a582b19be8 100644 --- a/src/plugins/timeline/public/lib/observe_resize.js +++ b/src/plugins/timeline/public/lib/observe_resize.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ($elem, fn, frequency) { frequency = frequency || 500; let currentHeight = $elem.height(); diff --git a/src/plugins/timeline/public/panels/panel.ts b/src/plugins/timeline/public/panels/panel.ts index cf73dd1dcbf3..bff7b49ab9f9 100644 --- a/src/plugins/timeline/public/panels/panel.ts +++ b/src/plugins/timeline/public/panels/panel.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; interface PanelConfig { diff --git a/src/plugins/timeline/public/panels/timechart/schema.ts b/src/plugins/timeline/public/panels/timechart/schema.ts index 488c4ff07c93..d18c5337440d 100644 --- a/src/plugins/timeline/public/panels/timechart/schema.ts +++ b/src/plugins/timeline/public/panels/timechart/schema.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import $ from 'jquery'; import moment from 'moment-timezone'; diff --git a/src/plugins/timeline/public/panels/timechart/timechart.ts b/src/plugins/timeline/public/panels/timechart/timechart.ts index fb52489ebffd..176d22e1016e 100644 --- a/src/plugins/timeline/public/panels/timechart/timechart.ts +++ b/src/plugins/timeline/public/panels/timechart/timechart.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { timechartFn } from './schema'; import { Panel } from '../panel'; import { TimelineVisualizationDependencies } from '../../application'; diff --git a/src/plugins/timeline/public/plugin.ts b/src/plugins/timeline/public/plugin.ts index b39638fbcce7..b6141d2c23e2 100644 --- a/src/plugins/timeline/public/plugin.ts +++ b/src/plugins/timeline/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { filter, map } from 'rxjs/operators'; import { diff --git a/src/plugins/timeline/public/services/_saved_sheet.ts b/src/plugins/timeline/public/services/_saved_sheet.ts index bd590d1131aa..16fbfedfc521 100644 --- a/src/plugins/timeline/public/services/_saved_sheet.ts +++ b/src/plugins/timeline/public/services/_saved_sheet.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IUiSettingsClient } from 'opensearch-dashboards/public'; import { createSavedObjectClass, diff --git a/src/plugins/timeline/public/services/saved_sheets.ts b/src/plugins/timeline/public/services/saved_sheets.ts index 1f214dd6eece..4da4d7b9ed94 100644 --- a/src/plugins/timeline/public/services/saved_sheets.ts +++ b/src/plugins/timeline/public/services/saved_sheets.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectLoader } from '../../../saved_objects/public'; import { createSavedSheetClass } from './_saved_sheet'; import { RenderDeps } from '../application'; diff --git a/src/plugins/timeline/public/timeline_app_state.ts b/src/plugins/timeline/public/timeline_app_state.ts index 44f7de9ad49a..62487c2eba03 100644 --- a/src/plugins/timeline/public/timeline_app_state.ts +++ b/src/plugins/timeline/public/timeline_app_state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createStateContainer, syncState, diff --git a/src/plugins/timeline/public/types.ts b/src/plugins/timeline/public/types.ts index 95e8c8b98167..c94fef3cff51 100644 --- a/src/plugins/timeline/public/types.ts +++ b/src/plugins/timeline/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface TimelineAppState { sheet: string[]; selected: number; diff --git a/src/plugins/timeline/server/config.ts b/src/plugins/timeline/server/config.ts index bcd23b58ac3a..b98585aaa695 100644 --- a/src/plugins/timeline/server/config.ts +++ b/src/plugins/timeline/server/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export const configSchema = { diff --git a/src/plugins/timeline/server/index.ts b/src/plugins/timeline/server/index.ts index a48cf1083d3b..9b26a79d3a11 100644 --- a/src/plugins/timeline/server/index.ts +++ b/src/plugins/timeline/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { PluginInitializerContext, PluginConfigDescriptor } from 'src/core/server'; import { TimelinePlugin } from './plugin'; import { configSchema, TimelineConfigType } from './config'; diff --git a/src/plugins/timeline/server/plugin.ts b/src/plugins/timeline/server/plugin.ts index 9e164cf8d921..2aa14e7dab57 100644 --- a/src/plugins/timeline/server/plugin.ts +++ b/src/plugins/timeline/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, CoreStart, Plugin, PluginInitializerContext, Logger } from 'src/core/server'; import { i18n } from '@osd/i18n'; import { schema } from '@osd/config-schema'; diff --git a/src/plugins/timeline/server/saved_objects/index.ts b/src/plugins/timeline/server/saved_objects/index.ts index a0e10f574f47..f0546d981aff 100644 --- a/src/plugins/timeline/server/saved_objects/index.ts +++ b/src/plugins/timeline/server/saved_objects/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { timelineSheetSavedObjectType } from './timeline_sheet'; diff --git a/src/plugins/timeline/server/saved_objects/timeline_sheet.ts b/src/plugins/timeline/server/saved_objects/timeline_sheet.ts index 171fcaf89aaa..878a4d542db5 100644 --- a/src/plugins/timeline/server/saved_objects/timeline_sheet.ts +++ b/src/plugins/timeline/server/saved_objects/timeline_sheet.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsType } from 'opensearch-dashboards/server'; export const timelineSheetSavedObjectType: SavedObjectsType = { diff --git a/src/plugins/ui_actions/public/actions/action.test.ts b/src/plugins/ui_actions/public/actions/action.test.ts index 3fd5f1ca6886..d3a1fc1cfac6 100644 --- a/src/plugins/ui_actions/public/actions/action.test.ts +++ b/src/plugins/ui_actions/public/actions/action.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ActionExecutionContext, createAction } from '../../../ui_actions/public'; import { ActionType } from '../types'; import { defaultTrigger } from '../triggers'; diff --git a/src/plugins/ui_actions/public/actions/action.ts b/src/plugins/ui_actions/public/actions/action.ts index ee444e6e4d81..ba8d01fcdac6 100644 --- a/src/plugins/ui_actions/public/actions/action.ts +++ b/src/plugins/ui_actions/public/actions/action.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiComponent } from 'src/plugins/opensearch_dashboards_utils/public'; import { ActionType, ActionContextMapping, BaseContext } from '../types'; import { Presentable } from '../util/presentable'; diff --git a/src/plugins/ui_actions/public/actions/action_internal.test.ts b/src/plugins/ui_actions/public/actions/action_internal.test.ts index 5306393f5eec..350529631deb 100644 --- a/src/plugins/ui_actions/public/actions/action_internal.test.ts +++ b/src/plugins/ui_actions/public/actions/action_internal.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ActionDefinition } from './action'; import { ActionInternal } from './action_internal'; diff --git a/src/plugins/ui_actions/public/actions/action_internal.ts b/src/plugins/ui_actions/public/actions/action_internal.ts index 94efed3987c8..f071e04c340b 100644 --- a/src/plugins/ui_actions/public/actions/action_internal.ts +++ b/src/plugins/ui_actions/public/actions/action_internal.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore import React from 'react'; import { Action, ActionContext as Context, ActionDefinition } from './action'; diff --git a/src/plugins/ui_actions/public/actions/create_action.ts b/src/plugins/ui_actions/public/actions/create_action.ts index 9aa13f6b5197..54d40814216c 100644 --- a/src/plugins/ui_actions/public/actions/create_action.ts +++ b/src/plugins/ui_actions/public/actions/create_action.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ActionContextMapping } from '../types'; import { ActionByType } from './action'; import { ActionType } from '../types'; diff --git a/src/plugins/ui_actions/public/actions/incompatible_action_error.ts b/src/plugins/ui_actions/public/actions/incompatible_action_error.ts index af29b4c52d25..8a3ae9c6ea31 100644 --- a/src/plugins/ui_actions/public/actions/incompatible_action_error.ts +++ b/src/plugins/ui_actions/public/actions/incompatible_action_error.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; export class IncompatibleActionError extends Error { diff --git a/src/plugins/ui_actions/public/actions/index.ts b/src/plugins/ui_actions/public/actions/index.ts index 188ce36a75ec..3111ad39237c 100644 --- a/src/plugins/ui_actions/public/actions/index.ts +++ b/src/plugins/ui_actions/public/actions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './action'; export * from './action_internal'; export * from './create_action'; diff --git a/src/plugins/ui_actions/public/context_menu/build_eui_context_menu_panels.test.ts b/src/plugins/ui_actions/public/context_menu/build_eui_context_menu_panels.test.ts index f26e1d9fb7ef..949595d60939 100644 --- a/src/plugins/ui_actions/public/context_menu/build_eui_context_menu_panels.test.ts +++ b/src/plugins/ui_actions/public/context_menu/build_eui_context_menu_panels.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiContextMenuPanelDescriptor } from '@elastic/eui'; import { buildContextMenuForActions } from './build_eui_context_menu_panels'; import { Action, createAction } from '../actions'; diff --git a/src/plugins/ui_actions/public/context_menu/build_eui_context_menu_panels.tsx b/src/plugins/ui_actions/public/context_menu/build_eui_context_menu_panels.tsx index 0c8b76e2f40f..054900f52b77 100644 --- a/src/plugins/ui_actions/public/context_menu/build_eui_context_menu_panels.tsx +++ b/src/plugins/ui_actions/public/context_menu/build_eui_context_menu_panels.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import { EuiContextMenuPanelDescriptor, EuiContextMenuPanelItemDescriptor } from '@elastic/eui'; import _ from 'lodash'; diff --git a/src/plugins/ui_actions/public/context_menu/index.ts b/src/plugins/ui_actions/public/context_menu/index.ts index db694bb342ae..038f9e1ad6da 100644 --- a/src/plugins/ui_actions/public/context_menu/index.ts +++ b/src/plugins/ui_actions/public/context_menu/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { buildContextMenuForActions } from './build_eui_context_menu_panels'; export { openContextMenu } from './open_context_menu'; diff --git a/src/plugins/ui_actions/public/context_menu/open_context_menu.test.ts b/src/plugins/ui_actions/public/context_menu/open_context_menu.test.ts index adfe4f319dfe..69544e9c550a 100644 --- a/src/plugins/ui_actions/public/context_menu/open_context_menu.test.ts +++ b/src/plugins/ui_actions/public/context_menu/open_context_menu.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createInteractionPositionTracker } from './open_context_menu'; import { fireEvent } from '@testing-library/dom'; diff --git a/src/plugins/ui_actions/public/context_menu/open_context_menu.tsx b/src/plugins/ui_actions/public/context_menu/open_context_menu.tsx index 4038fe4303fa..938bfcadb9f2 100644 --- a/src/plugins/ui_actions/public/context_menu/open_context_menu.tsx +++ b/src/plugins/ui_actions/public/context_menu/open_context_menu.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiContextMenu, EuiContextMenuPanelDescriptor, EuiPopover } from '@elastic/eui'; diff --git a/src/plugins/ui_actions/public/index.ts b/src/plugins/ui_actions/public/index.ts index 4b4151fa2da0..3560f473d33b 100644 --- a/src/plugins/ui_actions/public/index.ts +++ b/src/plugins/ui_actions/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from '../../../core/public'; import { UiActionsPlugin } from './plugin'; diff --git a/src/plugins/ui_actions/public/mocks.ts b/src/plugins/ui_actions/public/mocks.ts index 417522ce4a2f..da2cf6f29e9e 100644 --- a/src/plugins/ui_actions/public/mocks.ts +++ b/src/plugins/ui_actions/public/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, CoreStart } from 'src/core/public'; import { UiActionsSetup, UiActionsStart } from '.'; import { plugin as pluginInitializer } from '.'; diff --git a/src/plugins/ui_actions/public/plugin.ts b/src/plugins/ui_actions/public/plugin.ts index d11fc898aa86..1980c31d8b25 100644 --- a/src/plugins/ui_actions/public/plugin.ts +++ b/src/plugins/ui_actions/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreStart, CoreSetup, Plugin, PluginInitializerContext } from 'src/core/public'; import { UiActionsService } from './service'; import { diff --git a/src/plugins/ui_actions/public/service/index.ts b/src/plugins/ui_actions/public/service/index.ts index 8d61d96e9dee..d18a9525c783 100644 --- a/src/plugins/ui_actions/public/service/index.ts +++ b/src/plugins/ui_actions/public/service/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './ui_actions_service'; diff --git a/src/plugins/ui_actions/public/service/ui_actions_execution_service.ts b/src/plugins/ui_actions/public/service/ui_actions_execution_service.ts index f444e9372ed8..d411f97a2a2e 100644 --- a/src/plugins/ui_actions/public/service/ui_actions_execution_service.ts +++ b/src/plugins/ui_actions/public/service/ui_actions_execution_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { uniqBy } from 'lodash'; import { Action } from '../actions'; import { BaseContext } from '../types'; diff --git a/src/plugins/ui_actions/public/service/ui_actions_service.test.ts b/src/plugins/ui_actions/public/service/ui_actions_service.test.ts index e9f54684e00c..82194de2489c 100644 --- a/src/plugins/ui_actions/public/service/ui_actions_service.test.ts +++ b/src/plugins/ui_actions/public/service/ui_actions_service.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiActionsService } from './ui_actions_service'; import { Action, ActionInternal, createAction } from '../actions'; import { createHelloWorldAction } from '../tests/test_samples'; diff --git a/src/plugins/ui_actions/public/service/ui_actions_service.ts b/src/plugins/ui_actions/public/service/ui_actions_service.ts index 0572ec96b74f..276dfb24519a 100644 --- a/src/plugins/ui_actions/public/service/ui_actions_service.ts +++ b/src/plugins/ui_actions/public/service/ui_actions_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TriggerRegistry, ActionRegistry, diff --git a/src/plugins/ui_actions/public/tests/execute_trigger_actions.test.ts b/src/plugins/ui_actions/public/tests/execute_trigger_actions.test.ts index 957bc23dfb48..0d45952fd9ae 100644 --- a/src/plugins/ui_actions/public/tests/execute_trigger_actions.test.ts +++ b/src/plugins/ui_actions/public/tests/execute_trigger_actions.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Action, createAction } from '../actions'; import { openContextMenu } from '../context_menu'; import { uiActionsPluginMock } from '../mocks'; diff --git a/src/plugins/ui_actions/public/tests/get_trigger_actions.test.ts b/src/plugins/ui_actions/public/tests/get_trigger_actions.test.ts index adc76dd920e0..8ff2b74e6751 100644 --- a/src/plugins/ui_actions/public/tests/get_trigger_actions.test.ts +++ b/src/plugins/ui_actions/public/tests/get_trigger_actions.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ActionInternal, Action } from '../actions'; import { uiActionsPluginMock } from '../mocks'; import { TriggerId, ActionType } from '../types'; diff --git a/src/plugins/ui_actions/public/tests/get_trigger_compatible_actions.test.ts b/src/plugins/ui_actions/public/tests/get_trigger_compatible_actions.test.ts index eadf960e6f45..daefcf28b909 100644 --- a/src/plugins/ui_actions/public/tests/get_trigger_compatible_actions.test.ts +++ b/src/plugins/ui_actions/public/tests/get_trigger_compatible_actions.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { uiActionsPluginMock } from '../mocks'; import { createHelloWorldAction } from '../tests/test_samples'; import { Action, createAction } from '../actions'; diff --git a/src/plugins/ui_actions/public/tests/index.ts b/src/plugins/ui_actions/public/tests/index.ts index 886422906ae4..3e380b1813ee 100644 --- a/src/plugins/ui_actions/public/tests/index.ts +++ b/src/plugins/ui_actions/public/tests/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './test_samples'; diff --git a/src/plugins/ui_actions/public/tests/test_samples/hello_world_action.tsx b/src/plugins/ui_actions/public/tests/test_samples/hello_world_action.tsx index f26fcfd87ce2..bcd947c779b2 100644 --- a/src/plugins/ui_actions/public/tests/test_samples/hello_world_action.tsx +++ b/src/plugins/ui_actions/public/tests/test_samples/hello_world_action.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFlexGroup, EuiFlexItem, EuiBadge, EuiFlyoutBody } from '@elastic/eui'; import { CoreStart } from 'src/core/public'; diff --git a/src/plugins/ui_actions/public/tests/test_samples/index.ts b/src/plugins/ui_actions/public/tests/test_samples/index.ts index 116e9e715e26..b68f1200a21d 100644 --- a/src/plugins/ui_actions/public/tests/test_samples/index.ts +++ b/src/plugins/ui_actions/public/tests/test_samples/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createHelloWorldAction } from './hello_world_action'; diff --git a/src/plugins/ui_actions/public/triggers/apply_filter_trigger.ts b/src/plugins/ui_actions/public/triggers/apply_filter_trigger.ts index a099628c11a9..a1a2dec5f224 100644 --- a/src/plugins/ui_actions/public/triggers/apply_filter_trigger.ts +++ b/src/plugins/ui_actions/public/triggers/apply_filter_trigger.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Trigger } from '.'; diff --git a/src/plugins/ui_actions/public/triggers/default_trigger.ts b/src/plugins/ui_actions/public/triggers/default_trigger.ts index baa2e85d51b0..e4370b402e5b 100644 --- a/src/plugins/ui_actions/public/triggers/default_trigger.ts +++ b/src/plugins/ui_actions/public/triggers/default_trigger.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Trigger } from '.'; export const DEFAULT_TRIGGER = ''; diff --git a/src/plugins/ui_actions/public/triggers/index.ts b/src/plugins/ui_actions/public/triggers/index.ts index dfe18a5ef5d9..2d012df76e08 100644 --- a/src/plugins/ui_actions/public/triggers/index.ts +++ b/src/plugins/ui_actions/public/triggers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './trigger'; export * from './trigger_contract'; export * from './trigger_internal'; diff --git a/src/plugins/ui_actions/public/triggers/select_range_trigger.ts b/src/plugins/ui_actions/public/triggers/select_range_trigger.ts index aef5bc55550a..f85b6d0b88d6 100644 --- a/src/plugins/ui_actions/public/triggers/select_range_trigger.ts +++ b/src/plugins/ui_actions/public/triggers/select_range_trigger.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Trigger } from '.'; diff --git a/src/plugins/ui_actions/public/triggers/trigger.ts b/src/plugins/ui_actions/public/triggers/trigger.ts index 88fc8937043a..274f860af02d 100644 --- a/src/plugins/ui_actions/public/triggers/trigger.ts +++ b/src/plugins/ui_actions/public/triggers/trigger.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TriggerContextMapping, TriggerId } from '../types'; /** diff --git a/src/plugins/ui_actions/public/triggers/trigger_contract.ts b/src/plugins/ui_actions/public/triggers/trigger_contract.ts index 83022f7b4d8a..15590d537e90 100644 --- a/src/plugins/ui_actions/public/triggers/trigger_contract.ts +++ b/src/plugins/ui_actions/public/triggers/trigger_contract.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TriggerInternal } from './trigger_internal'; import { TriggerId, TriggerContextMapping } from '../types'; diff --git a/src/plugins/ui_actions/public/triggers/trigger_internal.ts b/src/plugins/ui_actions/public/triggers/trigger_internal.ts index 812b186e465e..b2fe36d15c97 100644 --- a/src/plugins/ui_actions/public/triggers/trigger_internal.ts +++ b/src/plugins/ui_actions/public/triggers/trigger_internal.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Trigger } from './trigger'; import { TriggerContract } from './trigger_contract'; import { UiActionsService } from '../service'; diff --git a/src/plugins/ui_actions/public/triggers/value_click_trigger.ts b/src/plugins/ui_actions/public/triggers/value_click_trigger.ts index 644b45696390..4f5daf41c1aa 100644 --- a/src/plugins/ui_actions/public/triggers/value_click_trigger.ts +++ b/src/plugins/ui_actions/public/triggers/value_click_trigger.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Trigger } from '.'; diff --git a/src/plugins/ui_actions/public/triggers/visualize_field_trigger.ts b/src/plugins/ui_actions/public/triggers/visualize_field_trigger.ts index 3a06322a3fe2..e7cf7346f125 100644 --- a/src/plugins/ui_actions/public/triggers/visualize_field_trigger.ts +++ b/src/plugins/ui_actions/public/triggers/visualize_field_trigger.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Trigger } from '.'; export const VISUALIZE_FIELD_TRIGGER = 'VISUALIZE_FIELD_TRIGGER'; diff --git a/src/plugins/ui_actions/public/triggers/visualize_geo_field_trigger.ts b/src/plugins/ui_actions/public/triggers/visualize_geo_field_trigger.ts index 44311eff1be1..0a75c525a8a1 100644 --- a/src/plugins/ui_actions/public/triggers/visualize_geo_field_trigger.ts +++ b/src/plugins/ui_actions/public/triggers/visualize_geo_field_trigger.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Trigger } from '.'; export const VISUALIZE_GEO_FIELD_TRIGGER = 'VISUALIZE_GEO_FIELD_TRIGGER'; diff --git a/src/plugins/ui_actions/public/types.ts b/src/plugins/ui_actions/public/types.ts index b97148f86782..0c32a96755fe 100644 --- a/src/plugins/ui_actions/public/types.ts +++ b/src/plugins/ui_actions/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ActionInternal } from './actions/action_internal'; import { TriggerInternal } from './triggers/trigger_internal'; import { diff --git a/src/plugins/ui_actions/public/util/index.ts b/src/plugins/ui_actions/public/util/index.ts index c49c539ce774..0934666f6394 100644 --- a/src/plugins/ui_actions/public/util/index.ts +++ b/src/plugins/ui_actions/public/util/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './presentable'; diff --git a/src/plugins/ui_actions/public/util/presentable.ts b/src/plugins/ui_actions/public/util/presentable.ts index ecdc020c6ae1..ef726333e15b 100644 --- a/src/plugins/ui_actions/public/util/presentable.ts +++ b/src/plugins/ui_actions/public/util/presentable.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiComponent } from 'src/plugins/opensearch_dashboards_utils/public'; /** diff --git a/src/plugins/url_forwarding/public/forward_app/forward_app.ts b/src/plugins/url_forwarding/public/forward_app/forward_app.ts index b9356fcc321f..123d6af545e5 100644 --- a/src/plugins/url_forwarding/public/forward_app/forward_app.ts +++ b/src/plugins/url_forwarding/public/forward_app/forward_app.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { App, AppMountParameters, CoreSetup } from 'opensearch-dashboards/public'; import { AppNavLinkStatus } from '../../../../core/public'; import { navigateToLegacyOpenSearchDashboardsUrl } from './navigate_to_legacy_opensearch_dashboards_url'; diff --git a/src/plugins/url_forwarding/public/forward_app/index.ts b/src/plugins/url_forwarding/public/forward_app/index.ts index 9f119f1de7fc..840f7fbe0b6b 100644 --- a/src/plugins/url_forwarding/public/forward_app/index.ts +++ b/src/plugins/url_forwarding/public/forward_app/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './forward_app'; diff --git a/src/plugins/url_forwarding/public/forward_app/navigate_to_legacy_opensearch_dashboards_url.test.ts b/src/plugins/url_forwarding/public/forward_app/navigate_to_legacy_opensearch_dashboards_url.test.ts index d1aac5d9e12e..02ef6f0955d9 100644 --- a/src/plugins/url_forwarding/public/forward_app/navigate_to_legacy_opensearch_dashboards_url.test.ts +++ b/src/plugins/url_forwarding/public/forward_app/navigate_to_legacy_opensearch_dashboards_url.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ForwardDefinition } from '../index'; import { navigateToLegacyOpenSearchDashboardsUrl } from './navigate_to_legacy_opensearch_dashboards_url'; import { CoreStart } from '../../../../core/public'; diff --git a/src/plugins/url_forwarding/public/forward_app/navigate_to_legacy_opensearch_dashboards_url.ts b/src/plugins/url_forwarding/public/forward_app/navigate_to_legacy_opensearch_dashboards_url.ts index 9a2455943deb..1ccccb96e8b8 100644 --- a/src/plugins/url_forwarding/public/forward_app/navigate_to_legacy_opensearch_dashboards_url.ts +++ b/src/plugins/url_forwarding/public/forward_app/navigate_to_legacy_opensearch_dashboards_url.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ApplicationStart, IBasePath } from 'opensearch-dashboards/public'; import { ForwardDefinition } from '../index'; import { normalizePath } from './normalize_path'; diff --git a/src/plugins/url_forwarding/public/forward_app/normalize_path.ts b/src/plugins/url_forwarding/public/forward_app/normalize_path.ts index d2f51a410d7f..88f3a1d53357 100644 --- a/src/plugins/url_forwarding/public/forward_app/normalize_path.ts +++ b/src/plugins/url_forwarding/public/forward_app/normalize_path.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { normalize } from 'path'; export function normalizePath(path: string) { diff --git a/src/plugins/url_forwarding/public/index.ts b/src/plugins/url_forwarding/public/index.ts index 5602b6e3b075..157eb38f9836 100644 --- a/src/plugins/url_forwarding/public/index.ts +++ b/src/plugins/url_forwarding/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UrlForwardingPlugin } from './plugin'; export const plugin = () => new UrlForwardingPlugin(); diff --git a/src/plugins/url_forwarding/public/mocks.ts b/src/plugins/url_forwarding/public/mocks.ts index f30c1ae2e5f5..eaf9b44fcd0e 100644 --- a/src/plugins/url_forwarding/public/mocks.ts +++ b/src/plugins/url_forwarding/public/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UrlForwardingPlugin } from './plugin'; export type Setup = jest.Mocked>; diff --git a/src/plugins/url_forwarding/public/navigate_to_default_app.ts b/src/plugins/url_forwarding/public/navigate_to_default_app.ts index 8dfbaaab1aab..55a0b23e118c 100644 --- a/src/plugins/url_forwarding/public/navigate_to_default_app.ts +++ b/src/plugins/url_forwarding/public/navigate_to_default_app.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ApplicationStart, IBasePath } from 'opensearch-dashboards/public'; import { ForwardDefinition } from './plugin'; diff --git a/src/plugins/url_forwarding/public/plugin.ts b/src/plugins/url_forwarding/public/plugin.ts index 2109dac94a59..39101532cc37 100644 --- a/src/plugins/url_forwarding/public/plugin.ts +++ b/src/plugins/url_forwarding/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreStart, CoreSetup } from 'opensearch-dashboards/public'; import { OpenSearchDashboardsLegacyStart } from 'src/plugins/opensearch_dashboards_legacy/public'; import { Subscription } from 'rxjs'; diff --git a/src/plugins/usage_collection/common/constants.ts b/src/plugins/usage_collection/common/constants.ts index 564ba4c933d5..c83b2c38a27f 100644 --- a/src/plugins/usage_collection/common/constants.ts +++ b/src/plugins/usage_collection/common/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const OPENSEARCH_DASHBOARDS_STATS_TYPE = 'opensearch_dashboards_stats'; export const DEFAULT_MAXIMUM_WAIT_TIME_FOR_ALL_COLLECTORS_IN_S = 60; diff --git a/src/plugins/usage_collection/public/index.ts b/src/plugins/usage_collection/public/index.ts index 84935a417bfb..386eea57f8bb 100644 --- a/src/plugins/usage_collection/public/index.ts +++ b/src/plugins/usage_collection/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from '../../../core/public'; import { UsageCollectionPlugin } from './plugin'; diff --git a/src/plugins/usage_collection/public/mocks.ts b/src/plugins/usage_collection/public/mocks.ts index 7cadd2b63af4..82568f2bde5b 100644 --- a/src/plugins/usage_collection/public/mocks.ts +++ b/src/plugins/usage_collection/public/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UsageCollectionSetup, METRIC_TYPE } from '.'; export type Setup = jest.Mocked; diff --git a/src/plugins/usage_collection/public/plugin.ts b/src/plugins/usage_collection/public/plugin.ts index 5a8953ae6770..444b818d60d2 100644 --- a/src/plugins/usage_collection/public/plugin.ts +++ b/src/plugins/usage_collection/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Reporter, METRIC_TYPE } from '@osd/analytics'; import { Subject, merge } from 'rxjs'; import { Storage } from '../../opensearch_dashboards_utils/public'; diff --git a/src/plugins/usage_collection/public/services/application_usage.test.ts b/src/plugins/usage_collection/public/services/application_usage.test.ts index fba24e27c39b..c80821a03e82 100644 --- a/src/plugins/usage_collection/public/services/application_usage.test.ts +++ b/src/plugins/usage_collection/public/services/application_usage.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Reporter } from '@osd/analytics'; import { Subject } from 'rxjs'; diff --git a/src/plugins/usage_collection/public/services/application_usage.ts b/src/plugins/usage_collection/public/services/application_usage.ts index 5f5b89c45a04..2212af4af961 100644 --- a/src/plugins/usage_collection/public/services/application_usage.ts +++ b/src/plugins/usage_collection/public/services/application_usage.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { filter, distinctUntilChanged } from 'rxjs/operators'; import { Reporter } from '@osd/analytics'; diff --git a/src/plugins/usage_collection/public/services/create_reporter.ts b/src/plugins/usage_collection/public/services/create_reporter.ts index 60aaa2e64d52..31b77eb862eb 100644 --- a/src/plugins/usage_collection/public/services/create_reporter.ts +++ b/src/plugins/usage_collection/public/services/create_reporter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Reporter, Storage } from '@osd/analytics'; import { HttpSetup } from 'opensearch-dashboards/public'; diff --git a/src/plugins/usage_collection/public/services/index.ts b/src/plugins/usage_collection/public/services/index.ts index 5a95a240a73d..c5bd5bad2d23 100644 --- a/src/plugins/usage_collection/public/services/index.ts +++ b/src/plugins/usage_collection/public/services/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createReporter } from './create_reporter'; diff --git a/src/plugins/usage_collection/server/collector/collector.test.ts b/src/plugins/usage_collection/server/collector/collector.test.ts index 67c481605004..2f0d459e6447 100644 --- a/src/plugins/usage_collection/server/collector/collector.test.ts +++ b/src/plugins/usage_collection/server/collector/collector.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { loggingSystemMock } from '../../../../core/server/mocks'; import { Collector } from './collector'; import { UsageCollector } from './usage_collector'; diff --git a/src/plugins/usage_collection/server/collector/collector.ts b/src/plugins/usage_collection/server/collector/collector.ts index 59d8dbb40457..6529dc437016 100644 --- a/src/plugins/usage_collection/server/collector/collector.ts +++ b/src/plugins/usage_collection/server/collector/collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Logger, LegacyAPICaller, OpenSearchClient } from 'opensearch-dashboards/server'; export type CollectorFormatForBulkUpload = (result: T) => { type: string; payload: U }; diff --git a/src/plugins/usage_collection/server/collector/collector_set.test.ts b/src/plugins/usage_collection/server/collector/collector_set.test.ts index 97a496d210a6..0e4e56034f02 100644 --- a/src/plugins/usage_collection/server/collector/collector_set.test.ts +++ b/src/plugins/usage_collection/server/collector/collector_set.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { noop } from 'lodash'; import { Collector } from './collector'; import { CollectorSet } from './collector_set'; diff --git a/src/plugins/usage_collection/server/collector/collector_set.ts b/src/plugins/usage_collection/server/collector/collector_set.ts index 866d5e152a0f..2b3a692f1dfb 100644 --- a/src/plugins/usage_collection/server/collector/collector_set.ts +++ b/src/plugins/usage_collection/server/collector/collector_set.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { snakeCase } from 'lodash'; import { Logger, LegacyAPICaller, OpenSearchClient } from 'opensearch-dashboards/server'; import { Collector, CollectorOptions } from './collector'; diff --git a/src/plugins/usage_collection/server/collector/index.ts b/src/plugins/usage_collection/server/collector/index.ts index e78567f9dbb7..11f545b751c7 100644 --- a/src/plugins/usage_collection/server/collector/index.ts +++ b/src/plugins/usage_collection/server/collector/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { CollectorSet } from './collector_set'; export { Collector, diff --git a/src/plugins/usage_collection/server/collector/usage_collector.ts b/src/plugins/usage_collection/server/collector/usage_collector.ts index 2fd80690a3aa..de22dc7ee994 100644 --- a/src/plugins/usage_collection/server/collector/usage_collector.ts +++ b/src/plugins/usage_collection/server/collector/usage_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OPENSEARCH_DASHBOARDS_STATS_TYPE } from '../../common/constants'; import { Collector } from './collector'; diff --git a/src/plugins/usage_collection/server/config.ts b/src/plugins/usage_collection/server/config.ts index 3f6c55c083f9..1a12e58113a1 100644 --- a/src/plugins/usage_collection/server/config.ts +++ b/src/plugins/usage_collection/server/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; import { PluginConfigDescriptor } from 'opensearch-dashboards/server'; import { DEFAULT_MAXIMUM_WAIT_TIME_FOR_ALL_COLLECTORS_IN_S } from '../common/constants'; diff --git a/src/plugins/usage_collection/server/index.ts b/src/plugins/usage_collection/server/index.ts index 1d650ff7896e..4e5da0237842 100644 --- a/src/plugins/usage_collection/server/index.ts +++ b/src/plugins/usage_collection/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/server'; import { UsageCollectionPlugin } from './plugin'; diff --git a/src/plugins/usage_collection/server/mocks.ts b/src/plugins/usage_collection/server/mocks.ts index 34d7a2aebece..c2c915fb41cf 100644 --- a/src/plugins/usage_collection/server/mocks.ts +++ b/src/plugins/usage_collection/server/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { loggingSystemMock } from '../../../core/server/mocks'; import { UsageCollectionSetup } from './plugin'; import { CollectorSet } from './collector'; diff --git a/src/plugins/usage_collection/server/plugin.ts b/src/plugins/usage_collection/server/plugin.ts index 3bca55770003..92e6e31bd7d8 100644 --- a/src/plugins/usage_collection/server/plugin.ts +++ b/src/plugins/usage_collection/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { first } from 'rxjs/operators'; import { PluginInitializerContext, diff --git a/src/plugins/usage_collection/server/report/index.ts b/src/plugins/usage_collection/server/report/index.ts index 9d4e3be9cfa1..6f1d7ee9828b 100644 --- a/src/plugins/usage_collection/server/report/index.ts +++ b/src/plugins/usage_collection/server/report/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { storeReport } from './store_report'; export { reportSchema } from './schema'; diff --git a/src/plugins/usage_collection/server/report/schema.ts b/src/plugins/usage_collection/server/report/schema.ts index 1adb76d31adf..39bf320e1d39 100644 --- a/src/plugins/usage_collection/server/report/schema.ts +++ b/src/plugins/usage_collection/server/report/schema.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; import { METRIC_TYPE } from '@osd/analytics'; diff --git a/src/plugins/usage_collection/server/report/store_report.test.ts b/src/plugins/usage_collection/server/report/store_report.test.ts index 23c08fb9850f..774fb5ac1c6e 100644 --- a/src/plugins/usage_collection/server/report/store_report.test.ts +++ b/src/plugins/usage_collection/server/report/store_report.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { savedObjectsRepositoryMock } from '../../../../core/server/mocks'; import { storeReport } from './store_report'; import { ReportSchemaType } from './schema'; diff --git a/src/plugins/usage_collection/server/report/store_report.ts b/src/plugins/usage_collection/server/report/store_report.ts index 4387f995dab6..d9aad5132d0c 100644 --- a/src/plugins/usage_collection/server/report/store_report.ts +++ b/src/plugins/usage_collection/server/report/store_report.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ISavedObjectsRepository, SavedObject } from 'opensearch-dashboards/server'; import { ReportSchemaType } from './schema'; diff --git a/src/plugins/usage_collection/server/routes/index.ts b/src/plugins/usage_collection/server/routes/index.ts index a81338e82a56..2b83058afbcc 100644 --- a/src/plugins/usage_collection/server/routes/index.ts +++ b/src/plugins/usage_collection/server/routes/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IRouter, ISavedObjectsRepository, diff --git a/src/plugins/usage_collection/server/routes/integration_tests/stats.test.ts b/src/plugins/usage_collection/server/routes/integration_tests/stats.test.ts index e4b66c4df8fc..b6efd91674d1 100644 --- a/src/plugins/usage_collection/server/routes/integration_tests/stats.test.ts +++ b/src/plugins/usage_collection/server/routes/integration_tests/stats.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { UnwrapPromise } from '@osd/utility-types'; diff --git a/src/plugins/usage_collection/server/routes/report_metrics.ts b/src/plugins/usage_collection/server/routes/report_metrics.ts index 1e256f326272..75080a6b440d 100644 --- a/src/plugins/usage_collection/server/routes/report_metrics.ts +++ b/src/plugins/usage_collection/server/routes/report_metrics.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // import { schema } from '@osd/config-schema'; import { IRouter, ISavedObjectsRepository } from 'opensearch-dashboards/server'; // import { storeReport, reportSchema } from '../report'; diff --git a/src/plugins/usage_collection/server/routes/stats/index.ts b/src/plugins/usage_collection/server/routes/stats/index.ts index 15196035df42..ac213afeb409 100644 --- a/src/plugins/usage_collection/server/routes/stats/index.ts +++ b/src/plugins/usage_collection/server/routes/stats/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { registerStatsRoute } from './stats'; diff --git a/src/plugins/usage_collection/server/routes/stats/stats.ts b/src/plugins/usage_collection/server/routes/stats/stats.ts index 972f545d7f4d..88807638d162 100644 --- a/src/plugins/usage_collection/server/routes/stats/stats.ts +++ b/src/plugins/usage_collection/server/routes/stats/stats.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { i18n } from '@osd/i18n'; import defaultsDeep from 'lodash/defaultsDeep'; diff --git a/src/plugins/usage_collection/server/usage_collection.mock.ts b/src/plugins/usage_collection/server/usage_collection.mock.ts index 4db1b8908f5b..d23a1450fc0b 100644 --- a/src/plugins/usage_collection/server/usage_collection.mock.ts +++ b/src/plugins/usage_collection/server/usage_collection.mock.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CollectorOptions } from './collector/collector'; import { UsageCollectionSetup } from './index'; diff --git a/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts b/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts index 2813bc9cfb82..a9e17410b241 100644 --- a/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts +++ b/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IAggConfig, IndexPatternField } from '../../../data/public'; type AggTypeFieldFilter = (field: IndexPatternField, aggConfig: IAggConfig) => boolean; diff --git a/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts b/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts index 10006873d1d9..d2ae3a296b2a 100644 --- a/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts +++ b/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IAggType, IAggConfig, IndexPattern, search } from '../../../data/public'; const { propFilter } = search.aggs; diff --git a/src/plugins/vis_default_editor/public/agg_filters/index.ts b/src/plugins/vis_default_editor/public/agg_filters/index.ts index 89c28143a9ae..7dce2a468759 100644 --- a/src/plugins/vis_default_editor/public/agg_filters/index.ts +++ b/src/plugins/vis_default_editor/public/agg_filters/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './agg_type_filters'; export * from './agg_type_field_filters'; diff --git a/src/plugins/vis_default_editor/public/components/agg.test.tsx b/src/plugins/vis_default_editor/public/components/agg.test.tsx index d01edbadc3ba..b1c78f140fdc 100644 --- a/src/plugins/vis_default_editor/public/components/agg.test.tsx +++ b/src/plugins/vis_default_editor/public/components/agg.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount, shallow } from 'enzyme'; import { act } from 'react-dom/test-utils'; diff --git a/src/plugins/vis_default_editor/public/components/agg.tsx b/src/plugins/vis_default_editor/public/components/agg.tsx index 3bd87df5003a..e4d94a87ab03 100644 --- a/src/plugins/vis_default_editor/public/components/agg.tsx +++ b/src/plugins/vis_default_editor/public/components/agg.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState, useEffect, useCallback } from 'react'; import { EuiAccordion, diff --git a/src/plugins/vis_default_editor/public/components/agg_add.tsx b/src/plugins/vis_default_editor/public/components/agg_add.tsx index 5f94e053d7c9..f77a48a24999 100644 --- a/src/plugins/vis_default_editor/public/components/agg_add.tsx +++ b/src/plugins/vis_default_editor/public/components/agg_add.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState } from 'react'; import { EuiButtonEmpty, diff --git a/src/plugins/vis_default_editor/public/components/agg_common_props.ts b/src/plugins/vis_default_editor/public/components/agg_common_props.ts index 65a473a4e83d..5364be4df6de 100644 --- a/src/plugins/vis_default_editor/public/components/agg_common_props.ts +++ b/src/plugins/vis_default_editor/public/components/agg_common_props.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { VisParams } from 'src/plugins/visualizations/public'; import { IAggType, IAggConfig, AggGroupName } from 'src/plugins/data/public'; import { Schema } from '../schemas'; diff --git a/src/plugins/vis_default_editor/public/components/agg_group.test.tsx b/src/plugins/vis_default_editor/public/components/agg_group.test.tsx index 60066eb3c82c..75d3a00d36a4 100644 --- a/src/plugins/vis_default_editor/public/components/agg_group.test.tsx +++ b/src/plugins/vis_default_editor/public/components/agg_group.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount, shallow } from 'enzyme'; import { act } from 'react-dom/test-utils'; diff --git a/src/plugins/vis_default_editor/public/components/agg_group.tsx b/src/plugins/vis_default_editor/public/components/agg_group.tsx index 44169d4828e2..adcb58960de0 100644 --- a/src/plugins/vis_default_editor/public/components/agg_group.tsx +++ b/src/plugins/vis_default_editor/public/components/agg_group.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useReducer, useMemo, useCallback } from 'react'; import { EuiTitle, diff --git a/src/plugins/vis_default_editor/public/components/agg_group_helper.test.ts b/src/plugins/vis_default_editor/public/components/agg_group_helper.test.ts index 02a2936ebd83..aa04dac36e82 100644 --- a/src/plugins/vis_default_editor/public/components/agg_group_helper.test.ts +++ b/src/plugins/vis_default_editor/public/components/agg_group_helper.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IAggConfig } from 'src/plugins/data/public'; import { isAggRemovable, diff --git a/src/plugins/vis_default_editor/public/components/agg_group_helper.tsx b/src/plugins/vis_default_editor/public/components/agg_group_helper.tsx index 09c95d332438..62d9f1cbc371 100644 --- a/src/plugins/vis_default_editor/public/components/agg_group_helper.tsx +++ b/src/plugins/vis_default_editor/public/components/agg_group_helper.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { findIndex, isEmpty } from 'lodash'; import { IAggConfig } from 'src/plugins/data/public'; import { AggsState } from './agg_group_state'; diff --git a/src/plugins/vis_default_editor/public/components/agg_group_state.tsx b/src/plugins/vis_default_editor/public/components/agg_group_state.tsx index 38038a50ef22..a302f86c78f0 100644 --- a/src/plugins/vis_default_editor/public/components/agg_group_state.tsx +++ b/src/plugins/vis_default_editor/public/components/agg_group_state.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IAggConfig } from 'src/plugins/data/public'; export enum AGGS_ACTION_KEYS { diff --git a/src/plugins/vis_default_editor/public/components/agg_param.tsx b/src/plugins/vis_default_editor/public/components/agg_param.tsx index c56388bef2cd..e2b62bf83e85 100644 --- a/src/plugins/vis_default_editor/public/components/agg_param.tsx +++ b/src/plugins/vis_default_editor/public/components/agg_param.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback, useEffect } from 'react'; import { AggParamEditorProps, AggParamCommonProps } from './agg_param_props'; diff --git a/src/plugins/vis_default_editor/public/components/agg_param_props.ts b/src/plugins/vis_default_editor/public/components/agg_param_props.ts index 54f851ba8411..f39df07fa971 100644 --- a/src/plugins/vis_default_editor/public/components/agg_param_props.ts +++ b/src/plugins/vis_default_editor/public/components/agg_param_props.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IAggConfig, AggParam, diff --git a/src/plugins/vis_default_editor/public/components/agg_params.test.tsx b/src/plugins/vis_default_editor/public/components/agg_params.test.tsx index 4b8f45e0b561..618adeb71e00 100644 --- a/src/plugins/vis_default_editor/public/components/agg_params.test.tsx +++ b/src/plugins/vis_default_editor/public/components/agg_params.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount } from 'enzyme'; diff --git a/src/plugins/vis_default_editor/public/components/agg_params.tsx b/src/plugins/vis_default_editor/public/components/agg_params.tsx index 2a9bfdf9c208..32fb33ef223d 100644 --- a/src/plugins/vis_default_editor/public/components/agg_params.tsx +++ b/src/plugins/vis_default_editor/public/components/agg_params.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback, useReducer, useEffect, useMemo } from 'react'; import { EuiForm, EuiAccordion, EuiSpacer } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts b/src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts index 1263e316d002..290ab2d31d3e 100644 --- a/src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts +++ b/src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AggGroupNames, BUCKET_TYPES, diff --git a/src/plugins/vis_default_editor/public/components/agg_params_helper.ts b/src/plugins/vis_default_editor/public/components/agg_params_helper.ts index 56a04ba14679..8255c2945411 100644 --- a/src/plugins/vis_default_editor/public/components/agg_params_helper.ts +++ b/src/plugins/vis_default_editor/public/components/agg_params_helper.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, isEmpty } from 'lodash'; import { diff --git a/src/plugins/vis_default_editor/public/components/agg_params_map.ts b/src/plugins/vis_default_editor/public/components/agg_params_map.ts index b5cf48517b2d..bbfcb11e37a1 100644 --- a/src/plugins/vis_default_editor/public/components/agg_params_map.ts +++ b/src/plugins/vis_default_editor/public/components/agg_params_map.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as controls from './controls'; import { AggGroupNames, BUCKET_TYPES, METRIC_TYPES, search } from '../../../data/public'; import { wrapWithInlineComp } from './controls/utils'; diff --git a/src/plugins/vis_default_editor/public/components/agg_params_state.ts b/src/plugins/vis_default_editor/public/components/agg_params_state.ts index 8973526a0b60..7977fba597c6 100644 --- a/src/plugins/vis_default_editor/public/components/agg_params_state.ts +++ b/src/plugins/vis_default_editor/public/components/agg_params_state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ParamInstance } from './agg_params_helper'; export enum AGG_TYPE_ACTION_KEYS { diff --git a/src/plugins/vis_default_editor/public/components/agg_select.tsx b/src/plugins/vis_default_editor/public/components/agg_select.tsx index 9288e022774f..4c2ebf1c8b05 100644 --- a/src/plugins/vis_default_editor/public/components/agg_select.tsx +++ b/src/plugins/vis_default_editor/public/components/agg_select.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { get, has } from 'lodash'; import React, { useEffect, useCallback, useState } from 'react'; diff --git a/src/plugins/vis_default_editor/public/components/controls/agg_control_props.tsx b/src/plugins/vis_default_editor/public/components/controls/agg_control_props.tsx index 25c099ace544..e7b275eed75c 100644 --- a/src/plugins/vis_default_editor/public/components/controls/agg_control_props.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/agg_control_props.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { VisParams } from 'src/plugins/visualizations/public'; import { IAggConfig } from 'src/plugins/data/public'; import { DefaultEditorAggCommonProps } from '../agg_common_props'; diff --git a/src/plugins/vis_default_editor/public/components/controls/agg_utils.test.tsx b/src/plugins/vis_default_editor/public/components/controls/agg_utils.test.tsx index 5ff178090c85..a52e5e2fb0a0 100644 --- a/src/plugins/vis_default_editor/public/components/controls/agg_utils.test.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/agg_utils.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { FunctionComponent } from 'react'; import { mount, ReactWrapper } from 'enzyme'; diff --git a/src/plugins/vis_default_editor/public/components/controls/auto_precision.tsx b/src/plugins/vis_default_editor/public/components/controls/auto_precision.tsx index 18950333c8b6..be5739f81be9 100644 --- a/src/plugins/vis_default_editor/public/components/controls/auto_precision.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/auto_precision.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiSwitch, EuiFormRow } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/components/from_to_list.tsx b/src/plugins/vis_default_editor/public/components/controls/components/from_to_list.tsx index 3160be824eee..964a228f5e74 100644 --- a/src/plugins/vis_default_editor/public/components/controls/components/from_to_list.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/components/from_to_list.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { EuiFieldText, EuiFlexItem, EuiIcon } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/components/input_list.tsx b/src/plugins/vis_default_editor/public/components/controls/components/input_list.tsx index 24412e3dcd7a..32b545c6dfba 100644 --- a/src/plugins/vis_default_editor/public/components/controls/components/input_list.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/components/input_list.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState, useEffect, Fragment, useCallback } from 'react'; import { isEmpty, isEqual, mapValues, omitBy, pick } from 'lodash'; import { diff --git a/src/plugins/vis_default_editor/public/components/controls/components/mask_list.tsx b/src/plugins/vis_default_editor/public/components/controls/components/mask_list.tsx index 3607cac65b7c..94d689c9d702 100644 --- a/src/plugins/vis_default_editor/public/components/controls/components/mask_list.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/components/mask_list.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { EuiFieldText, EuiFlexItem } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/index.ts b/src/plugins/vis_default_editor/public/components/controls/components/number_list/index.ts index fe118378d052..4349b3176137 100644 --- a/src/plugins/vis_default_editor/public/components/controls/components/number_list/index.ts +++ b/src/plugins/vis_default_editor/public/components/controls/components/number_list/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { NumberList } from './number_list'; diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_list.test.tsx b/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_list.test.tsx index 9c50bc7a07c3..8d7c335325ba 100644 --- a/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_list.test.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_list.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_list.tsx b/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_list.tsx index f2c0c119b724..d1827281408a 100644 --- a/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_list.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_list.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment, useState, useEffect, useMemo, useCallback } from 'react'; import { EuiSpacer, EuiButtonEmpty, EuiFlexItem, EuiFormErrorText } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_row.test.tsx b/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_row.test.tsx index e5638684e1b9..b3acfdc47464 100644 --- a/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_row.test.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_row.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_row.tsx b/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_row.tsx index 91c47a4f55ad..04fe0ea9f64e 100644 --- a/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_row.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_row.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { EuiFieldNumber, EuiFlexGroup, EuiFlexItem, EuiButtonIcon } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/range.test.ts b/src/plugins/vis_default_editor/public/components/controls/components/number_list/range.test.ts index f0b9507115e2..e0255434ebb5 100644 --- a/src/plugins/vis_default_editor/public/components/controls/components/number_list/range.test.ts +++ b/src/plugins/vis_default_editor/public/components/controls/components/number_list/range.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { forOwn } from 'lodash'; import { parseRange } from './range'; diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/range.ts b/src/plugins/vis_default_editor/public/components/controls/components/number_list/range.ts index e15b141c7a57..5eb151534869 100644 --- a/src/plugins/vis_default_editor/public/components/controls/components/number_list/range.ts +++ b/src/plugins/vis_default_editor/public/components/controls/components/number_list/range.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Regexp portion that matches our number * diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/utils.test.ts b/src/plugins/vis_default_editor/public/components/controls/components/number_list/utils.test.ts index f0b839a63fe5..52be26dec057 100644 --- a/src/plugins/vis_default_editor/public/components/controls/components/number_list/utils.test.ts +++ b/src/plugins/vis_default_editor/public/components/controls/components/number_list/utils.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getInitModelList, hasInvalidValues, diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/utils.ts b/src/plugins/vis_default_editor/public/components/controls/components/number_list/utils.ts index 4fdc448f0735..ddb62ab5b5cc 100644 --- a/src/plugins/vis_default_editor/public/components/controls/components/number_list/utils.ts +++ b/src/plugins/vis_default_editor/public/components/controls/components/number_list/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { last } from 'lodash'; import { i18n } from '@osd/i18n'; import { htmlIdGenerator } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/components/simple_number_list.tsx b/src/plugins/vis_default_editor/public/components/controls/components/simple_number_list.tsx index 1fbcf7c3d432..22604a6662ab 100644 --- a/src/plugins/vis_default_editor/public/components/controls/components/simple_number_list.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/components/simple_number_list.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment, useCallback, useEffect, useMemo, useState } from 'react'; import { isArray } from 'lodash'; import { EuiButtonEmpty, EuiFlexItem, EuiFormRow, EuiSpacer, htmlIdGenerator } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/date_ranges.test.tsx b/src/plugins/vis_default_editor/public/components/controls/date_ranges.test.tsx index 9d898f6cd9e7..2361915dc6d8 100644 --- a/src/plugins/vis_default_editor/public/components/controls/date_ranges.test.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/date_ranges.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { DateRangesParamEditor } from './date_ranges'; diff --git a/src/plugins/vis_default_editor/public/components/controls/date_ranges.tsx b/src/plugins/vis_default_editor/public/components/controls/date_ranges.tsx index bb90334e5aa8..cf7082ecbc79 100644 --- a/src/plugins/vis_default_editor/public/components/controls/date_ranges.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/date_ranges.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment, useState, useEffect, useCallback } from 'react'; import { htmlIdGenerator, diff --git a/src/plugins/vis_default_editor/public/components/controls/drop_partials.tsx b/src/plugins/vis_default_editor/public/components/controls/drop_partials.tsx index 7ba9988338af..5e8af8b69c9a 100644 --- a/src/plugins/vis_default_editor/public/components/controls/drop_partials.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/drop_partials.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; import { SwitchParamEditor } from './switch'; diff --git a/src/plugins/vis_default_editor/public/components/controls/extended_bounds.test.tsx b/src/plugins/vis_default_editor/public/components/controls/extended_bounds.test.tsx index 862a7f317bb9..05fe90915d62 100644 --- a/src/plugins/vis_default_editor/public/components/controls/extended_bounds.test.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/extended_bounds.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount, shallow } from 'enzyme'; diff --git a/src/plugins/vis_default_editor/public/components/controls/extended_bounds.tsx b/src/plugins/vis_default_editor/public/components/controls/extended_bounds.tsx index 91799d524031..ea0d2283b55f 100644 --- a/src/plugins/vis_default_editor/public/components/controls/extended_bounds.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/extended_bounds.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ChangeEvent } from 'react'; import { EuiFieldNumber, EuiFlexGroup, EuiFlexItem, EuiFormRow } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/field.test.tsx b/src/plugins/vis_default_editor/public/components/controls/field.test.tsx index e47eab5b8fbb..f6afa8a965b2 100644 --- a/src/plugins/vis_default_editor/public/components/controls/field.test.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/field.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { act } from 'react-dom/test-utils'; import { mount, shallow, ReactWrapper } from 'enzyme'; diff --git a/src/plugins/vis_default_editor/public/components/controls/field.tsx b/src/plugins/vis_default_editor/public/components/controls/field.tsx index a6a31af4ea33..fff136dffcb0 100644 --- a/src/plugins/vis_default_editor/public/components/controls/field.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import React, { useState, useCallback } from 'react'; import { useMount } from 'react-use'; diff --git a/src/plugins/vis_default_editor/public/components/controls/filter.tsx b/src/plugins/vis_default_editor/public/components/controls/filter.tsx index c11aa0a2a959..4dfb818804bd 100644 --- a/src/plugins/vis_default_editor/public/components/controls/filter.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/filter.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState } from 'react'; import { EuiForm, EuiButtonIcon, EuiFieldText, EuiFormRow, EuiSpacer } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/filters.tsx b/src/plugins/vis_default_editor/public/components/controls/filters.tsx index 4273d2576f94..6f8f7e65e396 100644 --- a/src/plugins/vis_default_editor/public/components/controls/filters.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/filters.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState, useEffect } from 'react'; import { omit, isEqual } from 'lodash'; import { htmlIdGenerator, EuiButton, EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/has_extended_bounds.tsx b/src/plugins/vis_default_editor/public/components/controls/has_extended_bounds.tsx index 034170b9d095..d9f763fce691 100644 --- a/src/plugins/vis_default_editor/public/components/controls/has_extended_bounds.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/has_extended_bounds.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useRef } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/include_exclude.tsx b/src/plugins/vis_default_editor/public/components/controls/include_exclude.tsx index d381bdab1c21..a6600a268e75 100644 --- a/src/plugins/vis_default_editor/public/components/controls/include_exclude.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/include_exclude.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect } from 'react'; import { AggParamEditorProps } from '../agg_param_props'; import { StringParamEditor } from './string'; diff --git a/src/plugins/vis_default_editor/public/components/controls/index.ts b/src/plugins/vis_default_editor/public/components/controls/index.ts index 61dbafa6e444..7768c35b11da 100644 --- a/src/plugins/vis_default_editor/public/components/controls/index.ts +++ b/src/plugins/vis_default_editor/public/components/controls/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { AutoPrecisionParamEditor } from './auto_precision'; export { DateRangesParamEditor } from './date_ranges'; export { DropPartialsParamEditor } from './drop_partials'; diff --git a/src/plugins/vis_default_editor/public/components/controls/ip_range_type.tsx b/src/plugins/vis_default_editor/public/components/controls/ip_range_type.tsx index 2c4ddeff4370..cfad8d513c43 100644 --- a/src/plugins/vis_default_editor/public/components/controls/ip_range_type.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/ip_range_type.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiButtonGroup, EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/ip_ranges.tsx b/src/plugins/vis_default_editor/public/components/controls/ip_ranges.tsx index ea47167b3c9a..38dd2803e7d1 100644 --- a/src/plugins/vis_default_editor/public/components/controls/ip_ranges.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/ip_ranges.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { EuiFormRow } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/is_filtered_by_collar.tsx b/src/plugins/vis_default_editor/public/components/controls/is_filtered_by_collar.tsx index 6f1b862055d7..21ded77c9719 100644 --- a/src/plugins/vis_default_editor/public/components/controls/is_filtered_by_collar.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/is_filtered_by_collar.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; import { SwitchParamEditor } from './switch'; diff --git a/src/plugins/vis_default_editor/public/components/controls/max_bars.tsx b/src/plugins/vis_default_editor/public/components/controls/max_bars.tsx index 43e12a6c29be..bfc71ceeb9bb 100644 --- a/src/plugins/vis_default_editor/public/components/controls/max_bars.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/max_bars.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback, useEffect } from 'react'; import { EuiFormRow, EuiFieldNumber, EuiFieldNumberProps, EuiIconTip } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/vis_default_editor/public/components/controls/metric_agg.test.tsx b/src/plugins/vis_default_editor/public/components/controls/metric_agg.test.tsx index caad759502e8..b181f8b17a69 100644 --- a/src/plugins/vis_default_editor/public/components/controls/metric_agg.test.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/metric_agg.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount, shallow } from 'enzyme'; diff --git a/src/plugins/vis_default_editor/public/components/controls/metric_agg.tsx b/src/plugins/vis_default_editor/public/components/controls/metric_agg.tsx index 3c4799ebcc02..22b44eb7fa1a 100644 --- a/src/plugins/vis_default_editor/public/components/controls/metric_agg.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/metric_agg.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useMemo, useCallback } from 'react'; import { EuiFormRow, EuiSelect } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/min_doc_count.tsx b/src/plugins/vis_default_editor/public/components/controls/min_doc_count.tsx index b7cab9ded897..7d0ff2ccdea2 100644 --- a/src/plugins/vis_default_editor/public/components/controls/min_doc_count.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/min_doc_count.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/missing_bucket.tsx b/src/plugins/vis_default_editor/public/components/controls/missing_bucket.tsx index cb7d8d457fcd..0c82a106c53a 100644 --- a/src/plugins/vis_default_editor/public/components/controls/missing_bucket.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/missing_bucket.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect } from 'react'; import { i18n } from '@osd/i18n'; import { SwitchParamEditor } from './switch'; diff --git a/src/plugins/vis_default_editor/public/components/controls/number_interval.tsx b/src/plugins/vis_default_editor/public/components/controls/number_interval.tsx index 85ab2ff7f20f..ed99dd680d44 100644 --- a/src/plugins/vis_default_editor/public/components/controls/number_interval.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/number_interval.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import React, { useEffect, useCallback } from 'react'; diff --git a/src/plugins/vis_default_editor/public/components/controls/order.tsx b/src/plugins/vis_default_editor/public/components/controls/order.tsx index a8001b7dba40..eb2a284b8c95 100644 --- a/src/plugins/vis_default_editor/public/components/controls/order.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/order.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect } from 'react'; import { EuiFormRow, EuiSelect } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/order_agg.test.tsx b/src/plugins/vis_default_editor/public/components/controls/order_agg.test.tsx index 77dfb72260b5..e275f14a426c 100644 --- a/src/plugins/vis_default_editor/public/components/controls/order_agg.test.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/order_agg.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount } from 'enzyme'; import { OrderByParamEditor } from './order_by'; diff --git a/src/plugins/vis_default_editor/public/components/controls/order_agg.tsx b/src/plugins/vis_default_editor/public/components/controls/order_agg.tsx index 42727855ecb9..d9e24e519c25 100644 --- a/src/plugins/vis_default_editor/public/components/controls/order_agg.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/order_agg.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect } from 'react'; import { EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/order_by.tsx b/src/plugins/vis_default_editor/public/components/controls/order_by.tsx index 1a55587cfc91..7f16f99300d1 100644 --- a/src/plugins/vis_default_editor/public/components/controls/order_by.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/order_by.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFormRow, EuiSelect } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/other_bucket.tsx b/src/plugins/vis_default_editor/public/components/controls/other_bucket.tsx index e8052ad68be0..ff3ac967476a 100644 --- a/src/plugins/vis_default_editor/public/components/controls/other_bucket.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/other_bucket.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/percentile_ranks.tsx b/src/plugins/vis_default_editor/public/components/controls/percentile_ranks.tsx index b42fe72fa0fb..b4052bbe16d8 100644 --- a/src/plugins/vis_default_editor/public/components/controls/percentile_ranks.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/percentile_ranks.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState, useCallback } from 'react'; import { EuiFormRow } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/percentiles.test.tsx b/src/plugins/vis_default_editor/public/components/controls/percentiles.test.tsx index dfc50fd4a10b..1dbce17da3ed 100644 --- a/src/plugins/vis_default_editor/public/components/controls/percentiles.test.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/percentiles.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { AggParamEditorProps } from '../agg_param_props'; import { IAggConfig } from 'src/plugins/data/public'; diff --git a/src/plugins/vis_default_editor/public/components/controls/percentiles.tsx b/src/plugins/vis_default_editor/public/components/controls/percentiles.tsx index 9b3a31cc0499..8e2c970e4e6c 100644 --- a/src/plugins/vis_default_editor/public/components/controls/percentiles.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/percentiles.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState, useCallback } from 'react'; import { EuiFormRow } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/precision.tsx b/src/plugins/vis_default_editor/public/components/controls/precision.tsx index 06a08580efaa..4988973bbe5b 100644 --- a/src/plugins/vis_default_editor/public/components/controls/precision.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/precision.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiRange, EuiFormRow } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/radius_ratio_option.tsx b/src/plugins/vis_default_editor/public/components/controls/radius_ratio_option.tsx index cbefdb0f7fb9..810d1c6e4b96 100644 --- a/src/plugins/vis_default_editor/public/components/controls/radius_ratio_option.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/radius_ratio_option.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { EuiFormRow, EuiIconTip, EuiRange, EuiSpacer } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/range_control.tsx b/src/plugins/vis_default_editor/public/components/controls/range_control.tsx index 9913543afea3..16854a82d759 100644 --- a/src/plugins/vis_default_editor/public/components/controls/range_control.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/range_control.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { AggParamEditorProps } from '../agg_param_props'; diff --git a/src/plugins/vis_default_editor/public/components/controls/ranges.tsx b/src/plugins/vis_default_editor/public/components/controls/ranges.tsx index e868d5c423b3..4664b7983089 100644 --- a/src/plugins/vis_default_editor/public/components/controls/ranges.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/ranges.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Fragment, useCallback, useState, useEffect } from 'react'; import { htmlIdGenerator, diff --git a/src/plugins/vis_default_editor/public/components/controls/raw_json.tsx b/src/plugins/vis_default_editor/public/components/controls/raw_json.tsx index 400d44b15572..ea8bc7492171 100644 --- a/src/plugins/vis_default_editor/public/components/controls/raw_json.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/raw_json.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import 'brace/mode/json'; import React, { useState, useMemo, useCallback } from 'react'; diff --git a/src/plugins/vis_default_editor/public/components/controls/rows_or_columns.tsx b/src/plugins/vis_default_editor/public/components/controls/rows_or_columns.tsx index 73f082b233de..cf3dff431bd5 100644 --- a/src/plugins/vis_default_editor/public/components/controls/rows_or_columns.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/rows_or_columns.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { EuiButtonGroup, EuiFormRow, EuiSpacer } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/scale_metrics.tsx b/src/plugins/vis_default_editor/public/components/controls/scale_metrics.tsx index 91816752fcde..ff8be09780fc 100644 --- a/src/plugins/vis_default_editor/public/components/controls/scale_metrics.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/scale_metrics.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/size.test.tsx b/src/plugins/vis_default_editor/public/components/controls/size.test.tsx index ba3c55dee36e..c15764b5ce77 100644 --- a/src/plugins/vis_default_editor/public/components/controls/size.test.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/size.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mountWithIntl, shallowWithIntl } from 'test_utils/enzyme_helpers'; import { EuiIconTip } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/size.tsx b/src/plugins/vis_default_editor/public/components/controls/size.tsx index fdf1db1ae04d..5dd9de20ca7a 100644 --- a/src/plugins/vis_default_editor/public/components/controls/size.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/size.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect } from 'react'; import { isUndefined } from 'lodash'; import { EuiFormRow, EuiFieldNumber } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/string.tsx b/src/plugins/vis_default_editor/public/components/controls/string.tsx index 874a60ee6a07..a15adaeec729 100644 --- a/src/plugins/vis_default_editor/public/components/controls/string.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/string.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useCallback } from 'react'; import { EuiFieldText, EuiFormRow } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/sub_agg.tsx b/src/plugins/vis_default_editor/public/components/controls/sub_agg.tsx index 152504f28c4d..86fa14ed393b 100644 --- a/src/plugins/vis_default_editor/public/components/controls/sub_agg.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/sub_agg.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect } from 'react'; import { EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/sub_metric.tsx b/src/plugins/vis_default_editor/public/components/controls/sub_metric.tsx index bcd33cac52f6..3bc10c836173 100644 --- a/src/plugins/vis_default_editor/public/components/controls/sub_metric.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/sub_metric.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFormLabel, EuiSpacer } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/switch.tsx b/src/plugins/vis_default_editor/public/components/controls/switch.tsx index d7cc1c455d3a..13705786c9ce 100644 --- a/src/plugins/vis_default_editor/public/components/controls/switch.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/switch.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFormRow, EuiSwitch, EuiToolTip } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/test_utils.ts b/src/plugins/vis_default_editor/public/components/controls/test_utils.ts index d6bc527fbf36..44bb887c1852 100644 --- a/src/plugins/vis_default_editor/public/components/controls/test_utils.ts +++ b/src/plugins/vis_default_editor/public/components/controls/test_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IAggConfig, AggParam } from 'src/plugins/data/public'; import { EditorConfig } from '../utils'; import { EditorVisState } from '../sidebar/state/reducers'; diff --git a/src/plugins/vis_default_editor/public/components/controls/time_interval.tsx b/src/plugins/vis_default_editor/public/components/controls/time_interval.tsx index ee1f68d3a577..ad9240582004 100644 --- a/src/plugins/vis_default_editor/public/components/controls/time_interval.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/time_interval.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, find } from 'lodash'; import React, { useEffect } from 'react'; import { EuiFormRow, EuiIconTip, EuiComboBox, EuiComboBoxOptionOption } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/controls/top_aggregate.test.tsx b/src/plugins/vis_default_editor/public/components/controls/top_aggregate.test.tsx index 72b2667e908a..b6936c81b2e3 100644 --- a/src/plugins/vis_default_editor/public/components/controls/top_aggregate.test.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/top_aggregate.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mountWithIntl, shallowWithIntl } from 'test_utils/enzyme_helpers'; import { diff --git a/src/plugins/vis_default_editor/public/components/controls/top_aggregate.tsx b/src/plugins/vis_default_editor/public/components/controls/top_aggregate.tsx index ba9880aa68f6..385137d3f1d4 100644 --- a/src/plugins/vis_default_editor/public/components/controls/top_aggregate.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/top_aggregate.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useRef } from 'react'; import { EuiFormRow, EuiIconTip, EuiSelect } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/top_field.tsx b/src/plugins/vis_default_editor/public/components/controls/top_field.tsx index 9e67f2c4cc30..eadde98759f0 100644 --- a/src/plugins/vis_default_editor/public/components/controls/top_field.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/top_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/top_size.tsx b/src/plugins/vis_default_editor/public/components/controls/top_size.tsx index 58c75fa2ef69..962a23ce5377 100644 --- a/src/plugins/vis_default_editor/public/components/controls/top_size.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/top_size.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiIconTip } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx b/src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx index a36893825b85..5f7e6f1ba151 100644 --- a/src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/use_geocentroid.tsx b/src/plugins/vis_default_editor/public/components/controls/use_geocentroid.tsx index a3c60c868e22..8ae30b2ac98b 100644 --- a/src/plugins/vis_default_editor/public/components/controls/use_geocentroid.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/use_geocentroid.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiSwitch, EuiFormRow } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/agg_utils.ts b/src/plugins/vis_default_editor/public/components/controls/utils/agg_utils.ts index aca73ac1d315..283b9be49494 100644 --- a/src/plugins/vis_default_editor/public/components/controls/utils/agg_utils.ts +++ b/src/plugins/vis_default_editor/public/components/controls/utils/agg_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useEffect, useCallback, useMemo } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/index.ts b/src/plugins/vis_default_editor/public/components/controls/utils/index.ts index ec3dc6dcc676..9d95ad72631e 100644 --- a/src/plugins/vis_default_editor/public/components/controls/utils/index.ts +++ b/src/plugins/vis_default_editor/public/components/controls/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { useSubAggParamsHandlers } from './use_handlers'; export { wrapWithInlineComp } from './inline_comp_wrapper'; export * from './strings'; diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/inline_comp_wrapper.tsx b/src/plugins/vis_default_editor/public/components/controls/utils/inline_comp_wrapper.tsx index 408f93d4d886..dcb883c901d4 100644 --- a/src/plugins/vis_default_editor/public/components/controls/utils/inline_comp_wrapper.tsx +++ b/src/plugins/vis_default_editor/public/components/controls/utils/inline_comp_wrapper.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ComponentType } from 'react'; import { AggParamEditorProps } from '../../agg_param_props'; diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.test.ts b/src/plugins/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.test.ts index 1dc429fba97a..718592080fb9 100644 --- a/src/plugins/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.test.ts +++ b/src/plugins/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parseCommaSeparatedList } from './comma_separated_list'; describe('utils parseCommaSeparatedList()', () => { diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.ts b/src/plugins/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.ts index 69e9bf35f297..292db0409c69 100644 --- a/src/plugins/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.ts +++ b/src/plugins/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function parseCommaSeparatedList(input: any) { if (Array.isArray(input)) { return input; diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/strings/index.ts b/src/plugins/vis_default_editor/public/components/controls/utils/strings/index.ts index c4e0466e0c11..18427ecaaa25 100644 --- a/src/plugins/vis_default_editor/public/components/controls/utils/strings/index.ts +++ b/src/plugins/vis_default_editor/public/components/controls/utils/strings/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { parseCommaSeparatedList } from './comma_separated_list'; export { formatListAsProse } from './prose'; diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/strings/prose.test.ts b/src/plugins/vis_default_editor/public/components/controls/utils/strings/prose.test.ts index de9231ec458c..b68c18882978 100644 --- a/src/plugins/vis_default_editor/public/components/controls/utils/strings/prose.test.ts +++ b/src/plugins/vis_default_editor/public/components/controls/utils/strings/prose.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { formatListAsProse } from './prose'; describe('utils formatListAsProse()', () => { diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/strings/prose.ts b/src/plugins/vis_default_editor/public/components/controls/utils/strings/prose.ts index 3477be8d8241..f284930c213d 100644 --- a/src/plugins/vis_default_editor/public/components/controls/utils/strings/prose.ts +++ b/src/plugins/vis_default_editor/public/components/controls/utils/strings/prose.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Converts an array of items into a sentence-ready string. * diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/use_handlers.ts b/src/plugins/vis_default_editor/public/components/controls/utils/use_handlers.ts index c6a5035845a2..9e34e0f8eef7 100644 --- a/src/plugins/vis_default_editor/public/components/controls/utils/use_handlers.ts +++ b/src/plugins/vis_default_editor/public/components/controls/utils/use_handlers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useCallback } from 'react'; import { IAggConfig, AggParamType } from 'src/plugins/data/public'; diff --git a/src/plugins/vis_default_editor/public/components/sidebar/controls.tsx b/src/plugins/vis_default_editor/public/components/sidebar/controls.tsx index cfbaa9bf29fb..bd063306b014 100644 --- a/src/plugins/vis_default_editor/public/components/sidebar/controls.tsx +++ b/src/plugins/vis_default_editor/public/components/sidebar/controls.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback, useState } from 'react'; import { EuiFlexGroup, diff --git a/src/plugins/vis_default_editor/public/components/sidebar/data_tab.tsx b/src/plugins/vis_default_editor/public/components/sidebar/data_tab.tsx index 42a1ed7fe3b0..2f536d63b1f8 100644 --- a/src/plugins/vis_default_editor/public/components/sidebar/data_tab.tsx +++ b/src/plugins/vis_default_editor/public/components/sidebar/data_tab.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useMemo, useCallback } from 'react'; import { findLast } from 'lodash'; import { EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/sidebar/index.ts b/src/plugins/vis_default_editor/public/components/sidebar/index.ts index 5ce9111fcf87..7959994850f3 100644 --- a/src/plugins/vis_default_editor/public/components/sidebar/index.ts +++ b/src/plugins/vis_default_editor/public/components/sidebar/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DefaultEditorSideBar } from './sidebar'; diff --git a/src/plugins/vis_default_editor/public/components/sidebar/navbar.tsx b/src/plugins/vis_default_editor/public/components/sidebar/navbar.tsx index 8b48c20c3b1f..445baa03b306 100644 --- a/src/plugins/vis_default_editor/public/components/sidebar/navbar.tsx +++ b/src/plugins/vis_default_editor/public/components/sidebar/navbar.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiTabs, EuiTab } from '@elastic/eui'; diff --git a/src/plugins/vis_default_editor/public/components/sidebar/sidebar.tsx b/src/plugins/vis_default_editor/public/components/sidebar/sidebar.tsx index 7ea80fc5e364..6cff260060a9 100644 --- a/src/plugins/vis_default_editor/public/components/sidebar/sidebar.tsx +++ b/src/plugins/vis_default_editor/public/components/sidebar/sidebar.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useMemo, useState, useCallback, KeyboardEventHandler, useEffect } from 'react'; import { isEqual } from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/sidebar/sidebar_title.tsx b/src/plugins/vis_default_editor/public/components/sidebar/sidebar_title.tsx index 692a9226d7ee..40769ca5a9e5 100644 --- a/src/plugins/vis_default_editor/public/components/sidebar/sidebar_title.tsx +++ b/src/plugins/vis_default_editor/public/components/sidebar/sidebar_title.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback, useState } from 'react'; import { EventEmitter } from 'events'; import { diff --git a/src/plugins/vis_default_editor/public/components/sidebar/state/actions.ts b/src/plugins/vis_default_editor/public/components/sidebar/state/actions.ts index 2c5df3da80c1..07318f586b9d 100644 --- a/src/plugins/vis_default_editor/public/components/sidebar/state/actions.ts +++ b/src/plugins/vis_default_editor/public/components/sidebar/state/actions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Vis, VisParams } from 'src/plugins/visualizations/public'; import { IAggConfig } from 'src/plugins/data/public'; import { EditorStateActionTypes } from './constants'; diff --git a/src/plugins/vis_default_editor/public/components/sidebar/state/constants.ts b/src/plugins/vis_default_editor/public/components/sidebar/state/constants.ts index ba38060b09a0..3aee04dc8b27 100644 --- a/src/plugins/vis_default_editor/public/components/sidebar/state/constants.ts +++ b/src/plugins/vis_default_editor/public/components/sidebar/state/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export enum EditorStateActionTypes { ADD_NEW_AGG = 'ADD_NEW_AGG', DISCARD_CHANGES = 'DISCARD_CHANGES', diff --git a/src/plugins/vis_default_editor/public/components/sidebar/state/editor_form_state.ts b/src/plugins/vis_default_editor/public/components/sidebar/state/editor_form_state.ts index f8955db2a8dc..2b483a184c08 100644 --- a/src/plugins/vis_default_editor/public/components/sidebar/state/editor_form_state.ts +++ b/src/plugins/vis_default_editor/public/components/sidebar/state/editor_form_state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useState, useCallback } from 'react'; export type SetValidity = (modelName: string, value: boolean) => void; diff --git a/src/plugins/vis_default_editor/public/components/sidebar/state/index.ts b/src/plugins/vis_default_editor/public/components/sidebar/state/index.ts index 2c37c03182b8..7b70e397cbe8 100644 --- a/src/plugins/vis_default_editor/public/components/sidebar/state/index.ts +++ b/src/plugins/vis_default_editor/public/components/sidebar/state/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useReducer, useCallback } from 'react'; import { EventEmitter } from 'events'; diff --git a/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts b/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts index daf22200ab93..f41b07698df8 100644 --- a/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts +++ b/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeep } from 'lodash'; import { Vis } from 'src/plugins/visualizations/public'; diff --git a/src/plugins/vis_default_editor/public/components/sidebar/use_option_tabs.ts b/src/plugins/vis_default_editor/public/components/sidebar/use_option_tabs.ts index 5481a98438a4..96831e6064c1 100644 --- a/src/plugins/vis_default_editor/public/components/sidebar/use_option_tabs.ts +++ b/src/plugins/vis_default_editor/public/components/sidebar/use_option_tabs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useCallback, useState } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_default_editor/public/components/utils/editor_config.ts b/src/plugins/vis_default_editor/public/components/utils/editor_config.ts index a444ef9c1154..c67aa540d79b 100644 --- a/src/plugins/vis_default_editor/public/components/utils/editor_config.ts +++ b/src/plugins/vis_default_editor/public/components/utils/editor_config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { IndexPattern } from 'src/plugins/data/public'; diff --git a/src/plugins/vis_default_editor/public/components/utils/index.ts b/src/plugins/vis_default_editor/public/components/utils/index.ts index 51083d9866ab..9fa5dc455e7e 100644 --- a/src/plugins/vis_default_editor/public/components/utils/index.ts +++ b/src/plugins/vis_default_editor/public/components/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './editor_config'; diff --git a/src/plugins/vis_default_editor/public/default_editor.tsx b/src/plugins/vis_default_editor/public/default_editor.tsx index 72488d258a6d..2930a2fe60a6 100644 --- a/src/plugins/vis_default_editor/public/default_editor.tsx +++ b/src/plugins/vis_default_editor/public/default_editor.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index.scss'; import 'brace/mode/json'; diff --git a/src/plugins/vis_default_editor/public/default_editor_controller.tsx b/src/plugins/vis_default_editor/public/default_editor_controller.tsx index 787a4afb4c9f..c69116f85bc9 100644 --- a/src/plugins/vis_default_editor/public/default_editor_controller.tsx +++ b/src/plugins/vis_default_editor/public/default_editor_controller.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Suspense, lazy } from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { EventEmitter } from 'events'; diff --git a/src/plugins/vis_default_editor/public/editor_size.ts b/src/plugins/vis_default_editor/public/editor_size.ts index 99dd3d6b80b4..8abb9601d3d2 100644 --- a/src/plugins/vis_default_editor/public/editor_size.ts +++ b/src/plugins/vis_default_editor/public/editor_size.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export enum DefaultEditorSize { SMALL = 'small', MEDIUM = 'medium', diff --git a/src/plugins/vis_default_editor/public/index.ts b/src/plugins/vis_default_editor/public/index.ts index b0ab00dfa742..af0b54956a97 100644 --- a/src/plugins/vis_default_editor/public/index.ts +++ b/src/plugins/vis_default_editor/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DefaultEditorController } from './default_editor_controller'; export { useValidation } from './components/controls/utils'; export { RangesParamEditor, RangeValues } from './components/controls/ranges'; diff --git a/src/plugins/vis_default_editor/public/schemas.ts b/src/plugins/vis_default_editor/public/schemas.ts index 7823add2745d..9ac83b43ec9e 100644 --- a/src/plugins/vis_default_editor/public/schemas.ts +++ b/src/plugins/vis_default_editor/public/schemas.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _, { defaults } from 'lodash'; import { Optional } from '@osd/utility-types'; diff --git a/src/plugins/vis_default_editor/public/types.ts b/src/plugins/vis_default_editor/public/types.ts index df9cdf0bdbd0..c3c57c8509c3 100644 --- a/src/plugins/vis_default_editor/public/types.ts +++ b/src/plugins/vis_default_editor/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DataPublicPluginStart } from 'src/plugins/data/public'; export interface VisDefaultEditorOpenSearchDashboardsServices { diff --git a/src/plugins/vis_default_editor/public/utils.test.ts b/src/plugins/vis_default_editor/public/utils.test.ts index 54bfa7ba79d2..8189a56f2bf7 100644 --- a/src/plugins/vis_default_editor/public/utils.test.ts +++ b/src/plugins/vis_default_editor/public/utils.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { groupAndSortBy } from './utils'; import { AggGroupNames } from 'src/plugins/data/public'; diff --git a/src/plugins/vis_default_editor/public/utils.ts b/src/plugins/vis_default_editor/public/utils.ts index bc33871e1afb..656e5571f46d 100644 --- a/src/plugins/vis_default_editor/public/utils.ts +++ b/src/plugins/vis_default_editor/public/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - interface ComboBoxOption { label: string; target: T; diff --git a/src/plugins/vis_default_editor/public/vis_options_props.tsx b/src/plugins/vis_default_editor/public/vis_options_props.tsx index aad072cc4ba4..e5dec3c3d4c4 100644 --- a/src/plugins/vis_default_editor/public/vis_options_props.tsx +++ b/src/plugins/vis_default_editor/public/vis_options_props.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Vis, PersistedState } from 'src/plugins/visualizations/public'; import { IAggConfigs } from 'src/plugins/data/public'; diff --git a/src/plugins/vis_type_markdown/config.ts b/src/plugins/vis_type_markdown/config.ts index 8c94d2965465..b7869c80f11a 100644 --- a/src/plugins/vis_type_markdown/config.ts +++ b/src/plugins/vis_type_markdown/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export const configSchema = schema.object({ diff --git a/src/plugins/vis_type_markdown/public/index.ts b/src/plugins/vis_type_markdown/public/index.ts index af3abe15d053..4508212b9a3a 100644 --- a/src/plugins/vis_type_markdown/public/index.ts +++ b/src/plugins/vis_type_markdown/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from '../../../core/public'; import { MarkdownPlugin as Plugin } from './plugin'; diff --git a/src/plugins/vis_type_markdown/public/markdown_fn.test.ts b/src/plugins/vis_type_markdown/public/markdown_fn.test.ts index dc47ba22050a..14eb9b80b781 100644 --- a/src/plugins/vis_type_markdown/public/markdown_fn.test.ts +++ b/src/plugins/vis_type_markdown/public/markdown_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../../expressions/common/expression_functions/specs/tests/utils'; import { createMarkdownVisFn } from './markdown_fn'; diff --git a/src/plugins/vis_type_markdown/public/markdown_fn.ts b/src/plugins/vis_type_markdown/public/markdown_fn.ts index 7620660b6f88..8ef51550dc9b 100644 --- a/src/plugins/vis_type_markdown/public/markdown_fn.ts +++ b/src/plugins/vis_type_markdown/public/markdown_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition, Render } from '../../expressions/public'; import { Arguments, MarkdownVisParams } from './types'; diff --git a/src/plugins/vis_type_markdown/public/markdown_options.tsx b/src/plugins/vis_type_markdown/public/markdown_options.tsx index 5dd6669a1d4d..140543a66e0b 100644 --- a/src/plugins/vis_type_markdown/public/markdown_options.tsx +++ b/src/plugins/vis_type_markdown/public/markdown_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { EuiPanel, diff --git a/src/plugins/vis_type_markdown/public/markdown_renderer.tsx b/src/plugins/vis_type_markdown/public/markdown_renderer.tsx index d28c4d0930f4..75eb2c15f0a0 100644 --- a/src/plugins/vis_type_markdown/public/markdown_renderer.tsx +++ b/src/plugins/vis_type_markdown/public/markdown_renderer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { lazy } from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { VisualizationContainer } from '../../visualizations/public'; diff --git a/src/plugins/vis_type_markdown/public/markdown_vis.ts b/src/plugins/vis_type_markdown/public/markdown_vis.ts index 73fda0b440de..b5c050d2f2a6 100644 --- a/src/plugins/vis_type_markdown/public/markdown_vis.ts +++ b/src/plugins/vis_type_markdown/public/markdown_vis.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { MarkdownOptions } from './markdown_options'; diff --git a/src/plugins/vis_type_markdown/public/markdown_vis_controller.test.tsx b/src/plugins/vis_type_markdown/public/markdown_vis_controller.test.tsx index 082ae536f0d0..e4161ca2f0e4 100644 --- a/src/plugins/vis_type_markdown/public/markdown_vis_controller.test.tsx +++ b/src/plugins/vis_type_markdown/public/markdown_vis_controller.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { waitFor, render } from '@testing-library/react'; import MarkdownVisComponent from './markdown_vis_controller'; diff --git a/src/plugins/vis_type_markdown/public/markdown_vis_controller.tsx b/src/plugins/vis_type_markdown/public/markdown_vis_controller.tsx index 9a2121083e3d..befa2dce8fcd 100644 --- a/src/plugins/vis_type_markdown/public/markdown_vis_controller.tsx +++ b/src/plugins/vis_type_markdown/public/markdown_vis_controller.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect } from 'react'; import { Markdown } from '../../opensearch_dashboards_react/public'; import { MarkdownVisParams } from './types'; diff --git a/src/plugins/vis_type_markdown/public/plugin.ts b/src/plugins/vis_type_markdown/public/plugin.ts index 88d680e1337d..4296b274232c 100644 --- a/src/plugins/vis_type_markdown/public/plugin.ts +++ b/src/plugins/vis_type_markdown/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, CoreSetup, CoreStart, Plugin } from '../../../core/public'; import { Plugin as ExpressionsPublicPlugin } from '../../expressions/public'; import { VisualizationsSetup } from '../../visualizations/public'; diff --git a/src/plugins/vis_type_markdown/public/settings_options.tsx b/src/plugins/vis_type_markdown/public/settings_options.tsx index ee45e5af9733..2ac9ecd0e003 100644 --- a/src/plugins/vis_type_markdown/public/settings_options.tsx +++ b/src/plugins/vis_type_markdown/public/settings_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiPanel } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_markdown/public/settings_options_lazy.tsx b/src/plugins/vis_type_markdown/public/settings_options_lazy.tsx index cc52b441e4b1..5031a8a1a947 100644 --- a/src/plugins/vis_type_markdown/public/settings_options_lazy.tsx +++ b/src/plugins/vis_type_markdown/public/settings_options_lazy.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { lazy, Suspense } from 'react'; import { EuiLoadingSpinner } from '@elastic/eui'; diff --git a/src/plugins/vis_type_markdown/public/to_ast.test.ts b/src/plugins/vis_type_markdown/public/to_ast.test.ts index ba4a87f82752..40419dc4939f 100644 --- a/src/plugins/vis_type_markdown/public/to_ast.test.ts +++ b/src/plugins/vis_type_markdown/public/to_ast.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { toExpressionAst } from './to_ast'; import { Vis } from '../../visualizations/public'; diff --git a/src/plugins/vis_type_markdown/public/to_ast.ts b/src/plugins/vis_type_markdown/public/to_ast.ts index 72a0fdfa2f8a..645cd446c493 100644 --- a/src/plugins/vis_type_markdown/public/to_ast.ts +++ b/src/plugins/vis_type_markdown/public/to_ast.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Vis } from '../../visualizations/public'; import { buildExpression, buildExpressionFunction } from '../../expressions/public'; import { MarkdownVisExpressionFunctionDefinition } from './markdown_fn'; diff --git a/src/plugins/vis_type_markdown/public/types.ts b/src/plugins/vis_type_markdown/public/types.ts index c0bb9f32056e..2624a5bf2ad3 100644 --- a/src/plugins/vis_type_markdown/public/types.ts +++ b/src/plugins/vis_type_markdown/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Style } from 'src/plugins/expressions/public'; export interface Arguments { diff --git a/src/plugins/vis_type_markdown/server/index.ts b/src/plugins/vis_type_markdown/server/index.ts index 8266e6a860fa..d343962b44e5 100644 --- a/src/plugins/vis_type_markdown/server/index.ts +++ b/src/plugins/vis_type_markdown/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginConfigDescriptor } from 'opensearch-dashboards/server'; import { configSchema, ConfigSchema } from '../config'; diff --git a/src/plugins/vis_type_metric/config.ts b/src/plugins/vis_type_metric/config.ts index 8c94d2965465..b7869c80f11a 100644 --- a/src/plugins/vis_type_metric/config.ts +++ b/src/plugins/vis_type_metric/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export const configSchema = schema.object({ diff --git a/src/plugins/vis_type_metric/public/components/metric_vis_component.test.tsx b/src/plugins/vis_type_metric/public/components/metric_vis_component.test.tsx index 06333905dd5d..fed004fed210 100644 --- a/src/plugins/vis_type_metric/public/components/metric_vis_component.test.tsx +++ b/src/plugins/vis_type_metric/public/components/metric_vis_component.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/vis_type_metric/public/components/metric_vis_component.tsx b/src/plugins/vis_type_metric/public/components/metric_vis_component.tsx index b6ef5555a7a1..8162eb7d1978 100644 --- a/src/plugins/vis_type_metric/public/components/metric_vis_component.tsx +++ b/src/plugins/vis_type_metric/public/components/metric_vis_component.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { last, findIndex, isNaN } from 'lodash'; import React, { Component } from 'react'; import { isColorDark } from '@elastic/eui'; diff --git a/src/plugins/vis_type_metric/public/components/metric_vis_options.tsx b/src/plugins/vis_type_metric/public/components/metric_vis_options.tsx index 6335756b0216..76533eae4da3 100644 --- a/src/plugins/vis_type_metric/public/components/metric_vis_options.tsx +++ b/src/plugins/vis_type_metric/public/components/metric_vis_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { EuiButtonGroup, diff --git a/src/plugins/vis_type_metric/public/components/metric_vis_value.test.tsx b/src/plugins/vis_type_metric/public/components/metric_vis_value.test.tsx index c7f7f75a304a..01eb4912693f 100644 --- a/src/plugins/vis_type_metric/public/components/metric_vis_value.test.tsx +++ b/src/plugins/vis_type_metric/public/components/metric_vis_value.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { shallow } from 'enzyme'; diff --git a/src/plugins/vis_type_metric/public/components/metric_vis_value.tsx b/src/plugins/vis_type_metric/public/components/metric_vis_value.tsx index ebdb1e7a83c0..df7eeda61b51 100644 --- a/src/plugins/vis_type_metric/public/components/metric_vis_value.tsx +++ b/src/plugins/vis_type_metric/public/components/metric_vis_value.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component, KeyboardEvent } from 'react'; import classNames from 'classnames'; diff --git a/src/plugins/vis_type_metric/public/index.ts b/src/plugins/vis_type_metric/public/index.ts index ae551f6b6c3f..428b40f24acd 100644 --- a/src/plugins/vis_type_metric/public/index.ts +++ b/src/plugins/vis_type_metric/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { MetricVisPlugin as Plugin } from './plugin'; diff --git a/src/plugins/vis_type_metric/public/metric_vis_fn.test.ts b/src/plugins/vis_type_metric/public/metric_vis_fn.test.ts index 8a90a7b67c13..9ce2e6b3d06a 100644 --- a/src/plugins/vis_type_metric/public/metric_vis_fn.test.ts +++ b/src/plugins/vis_type_metric/public/metric_vis_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createMetricVisFn } from './metric_vis_fn'; import { functionWrapper } from '../../expressions/common/expression_functions/specs/tests/utils'; diff --git a/src/plugins/vis_type_metric/public/metric_vis_fn.ts b/src/plugins/vis_type_metric/public/metric_vis_fn.ts index a9abc304d7a2..fcdb10b74e23 100644 --- a/src/plugins/vis_type_metric/public/metric_vis_fn.ts +++ b/src/plugins/vis_type_metric/public/metric_vis_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { diff --git a/src/plugins/vis_type_metric/public/metric_vis_renderer.tsx b/src/plugins/vis_type_metric/public/metric_vis_renderer.tsx index 82a7f9d28a66..dcd3fcd0a727 100644 --- a/src/plugins/vis_type_metric/public/metric_vis_renderer.tsx +++ b/src/plugins/vis_type_metric/public/metric_vis_renderer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { lazy } from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; diff --git a/src/plugins/vis_type_metric/public/metric_vis_type.ts b/src/plugins/vis_type_metric/public/metric_vis_type.ts index 5f4c0af22b55..2b37334ca4ac 100644 --- a/src/plugins/vis_type_metric/public/metric_vis_type.ts +++ b/src/plugins/vis_type_metric/public/metric_vis_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { BaseVisTypeOptions } from 'src/plugins/visualizations/public'; import { MetricVisOptions } from './components/metric_vis_options'; diff --git a/src/plugins/vis_type_metric/public/plugin.ts b/src/plugins/vis_type_metric/public/plugin.ts index 93623095c7d0..3e57d02ed41d 100644 --- a/src/plugins/vis_type_metric/public/plugin.ts +++ b/src/plugins/vis_type_metric/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, CoreSetup, diff --git a/src/plugins/vis_type_metric/public/services.ts b/src/plugins/vis_type_metric/public/services.ts index 47d4ba33951e..f658661e758c 100644 --- a/src/plugins/vis_type_metric/public/services.ts +++ b/src/plugins/vis_type_metric/public/services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createGetterSetter } from '../../opensearch_dashboards_utils/common'; import { DataPublicPluginStart } from '../../data/public'; diff --git a/src/plugins/vis_type_metric/public/to_ast.test.ts b/src/plugins/vis_type_metric/public/to_ast.test.ts index 99472899b6ee..40b84fd7ad5b 100644 --- a/src/plugins/vis_type_metric/public/to_ast.test.ts +++ b/src/plugins/vis_type_metric/public/to_ast.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { toExpressionAst } from './to_ast'; import { Vis } from '../../visualizations/public'; diff --git a/src/plugins/vis_type_metric/public/to_ast.ts b/src/plugins/vis_type_metric/public/to_ast.ts index c751040c1f76..0c89907fc319 100644 --- a/src/plugins/vis_type_metric/public/to_ast.ts +++ b/src/plugins/vis_type_metric/public/to_ast.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { getVisSchemas, SchemaConfig, Vis } from '../../visualizations/public'; import { buildExpression, buildExpressionFunction } from '../../expressions/public'; diff --git a/src/plugins/vis_type_metric/public/types.ts b/src/plugins/vis_type_metric/public/types.ts index 2491e5508b06..744233607510 100644 --- a/src/plugins/vis_type_metric/public/types.ts +++ b/src/plugins/vis_type_metric/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Range } from '../../expressions/public'; import { SchemaConfig } from '../../visualizations/public'; import { ColorModes, Labels, Style, ColorSchemas } from '../../charts/public'; diff --git a/src/plugins/vis_type_metric/server/index.ts b/src/plugins/vis_type_metric/server/index.ts index a6cf338d77a8..d11484bccea8 100644 --- a/src/plugins/vis_type_metric/server/index.ts +++ b/src/plugins/vis_type_metric/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginConfigDescriptor } from 'opensearch-dashboards/server'; import { configSchema, ConfigSchema } from '../config'; diff --git a/src/plugins/vis_type_table/config.ts b/src/plugins/vis_type_table/config.ts index 8c94d2965465..b7869c80f11a 100644 --- a/src/plugins/vis_type_table/config.ts +++ b/src/plugins/vis_type_table/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export const configSchema = schema.object({ diff --git a/src/plugins/vis_type_table/public/agg_table/agg_table.js b/src/plugins/vis_type_table/public/agg_table/agg_table.js index 2f54221c587a..a00aea27869f 100644 --- a/src/plugins/vis_type_table/public/agg_table/agg_table.js +++ b/src/plugins/vis_type_table/public/agg_table/agg_table.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import _ from 'lodash'; import { CSV_SEPARATOR_SETTING, CSV_QUOTE_VALUES_SETTING } from '../../../share/public'; import aggTableTemplate from './agg_table.html'; diff --git a/src/plugins/vis_type_table/public/agg_table/agg_table.test.js b/src/plugins/vis_type_table/public/agg_table/agg_table.test.js index 4f95c36b6ba6..14d0c7fe7952 100644 --- a/src/plugins/vis_type_table/public/agg_table/agg_table.test.js +++ b/src/plugins/vis_type_table/public/agg_table/agg_table.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; import moment from 'moment'; import angular from 'angular'; diff --git a/src/plugins/vis_type_table/public/agg_table/agg_table_group.js b/src/plugins/vis_type_table/public/agg_table/agg_table_group.js index 7ee144ad8773..133b20800a18 100644 --- a/src/plugins/vis_type_table/public/agg_table/agg_table_group.js +++ b/src/plugins/vis_type_table/public/agg_table/agg_table_group.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import aggTableGroupTemplate from './agg_table_group.html'; export function OsdAggTableGroup(RecursionHelper) { diff --git a/src/plugins/vis_type_table/public/agg_table/agg_table_group.test.js b/src/plugins/vis_type_table/public/agg_table/agg_table_group.test.js index 69a4886031c5..18a48e922116 100644 --- a/src/plugins/vis_type_table/public/agg_table/agg_table_group.test.js +++ b/src/plugins/vis_type_table/public/agg_table/agg_table_group.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; import angular from 'angular'; import 'angular-mocks'; diff --git a/src/plugins/vis_type_table/public/agg_table/tabified_data.js b/src/plugins/vis_type_table/public/agg_table/tabified_data.js index eefca1b2264c..ce344d5c48b6 100644 --- a/src/plugins/vis_type_table/public/agg_table/tabified_data.js +++ b/src/plugins/vis_type_table/public/agg_table/tabified_data.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const tabifiedData = { metricOnly: { tables: [ diff --git a/src/plugins/vis_type_table/public/components/table_vis_options.tsx b/src/plugins/vis_type_table/public/components/table_vis_options.tsx index 97bb1b14be80..e4cebe69fb4f 100644 --- a/src/plugins/vis_type_table/public/components/table_vis_options.tsx +++ b/src/plugins/vis_type_table/public/components/table_vis_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import React, { useEffect, useMemo } from 'react'; import { EuiIconTip, EuiPanel } from '@elastic/eui'; diff --git a/src/plugins/vis_type_table/public/components/table_vis_options_lazy.tsx b/src/plugins/vis_type_table/public/components/table_vis_options_lazy.tsx index 68361d59f9cf..160eff9ee775 100644 --- a/src/plugins/vis_type_table/public/components/table_vis_options_lazy.tsx +++ b/src/plugins/vis_type_table/public/components/table_vis_options_lazy.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { lazy, Suspense } from 'react'; import { EuiLoadingSpinner } from '@elastic/eui'; import { VisOptionsProps } from 'src/plugins/vis_default_editor/public'; diff --git a/src/plugins/vis_type_table/public/components/utils.ts b/src/plugins/vis_type_table/public/components/utils.ts index 374c2cbfbacd..b0c1d17beb7c 100644 --- a/src/plugins/vis_type_table/public/components/utils.ts +++ b/src/plugins/vis_type_table/public/components/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { AggTypes } from '../types'; diff --git a/src/plugins/vis_type_table/public/get_inner_angular.ts b/src/plugins/vis_type_table/public/get_inner_angular.ts index d56802748ddb..7f42984d7c02 100644 --- a/src/plugins/vis_type_table/public/get_inner_angular.ts +++ b/src/plugins/vis_type_table/public/get_inner_angular.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // inner angular imports // these are necessary to bootstrap the local angular. // They can stay even after NP cutover diff --git a/src/plugins/vis_type_table/public/index.ts b/src/plugins/vis_type_table/public/index.ts index c095142751e2..dc7e7a16b6ce 100644 --- a/src/plugins/vis_type_table/public/index.ts +++ b/src/plugins/vis_type_table/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import './index.scss'; import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { TableVisPlugin as Plugin } from './plugin'; diff --git a/src/plugins/vis_type_table/public/paginated_table/paginated_table.js b/src/plugins/vis_type_table/public/paginated_table/paginated_table.js index b69cbd7645b6..c97fa6c26587 100644 --- a/src/plugins/vis_type_table/public/paginated_table/paginated_table.js +++ b/src/plugins/vis_type_table/public/paginated_table/paginated_table.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import paginatedTableTemplate from './paginated_table.html'; diff --git a/src/plugins/vis_type_table/public/paginated_table/paginated_table.test.ts b/src/plugins/vis_type_table/public/paginated_table/paginated_table.test.ts index 794afbf6d11a..cc86bda46573 100644 --- a/src/plugins/vis_type_table/public/paginated_table/paginated_table.test.ts +++ b/src/plugins/vis_type_table/public/paginated_table/paginated_table.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isNumber, times, identity, random } from 'lodash'; import angular, { IRootScopeService, IScope, ICompileService } from 'angular'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_table/public/paginated_table/rows.js b/src/plugins/vis_type_table/public/paginated_table/rows.js index 5e628e681fcd..5ed2de5de176 100644 --- a/src/plugins/vis_type_table/public/paginated_table/rows.js +++ b/src/plugins/vis_type_table/public/paginated_table/rows.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; import _ from 'lodash'; import angular from 'angular'; diff --git a/src/plugins/vis_type_table/public/plugin.ts b/src/plugins/vis_type_table/public/plugin.ts index 6cc7ebbd2881..8c01fee8841e 100644 --- a/src/plugins/vis_type_table/public/plugin.ts +++ b/src/plugins/vis_type_table/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { PluginInitializerContext, CoreSetup, diff --git a/src/plugins/vis_type_table/public/services.ts b/src/plugins/vis_type_table/public/services.ts index cf52963e6471..4fb56f6bfbdb 100644 --- a/src/plugins/vis_type_table/public/services.ts +++ b/src/plugins/vis_type_table/public/services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createGetterSetter } from '../../opensearch_dashboards_utils/public'; import { DataPublicPluginStart } from '../../data/public'; import { OpenSearchDashboardsLegacyStart } from '../../opensearch_dashboards_legacy/public'; diff --git a/src/plugins/vis_type_table/public/table_vis_controller.js b/src/plugins/vis_type_table/public/table_vis_controller.js index 464f5ad61b22..9fa71534903d 100644 --- a/src/plugins/vis_type_table/public/table_vis_controller.js +++ b/src/plugins/vis_type_table/public/table_vis_controller.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { assign } from 'lodash'; export function TableVisController($scope) { diff --git a/src/plugins/vis_type_table/public/table_vis_controller.test.ts b/src/plugins/vis_type_table/public/table_vis_controller.test.ts index 93f18c8dfbfe..db12e2b51426 100644 --- a/src/plugins/vis_type_table/public/table_vis_controller.test.ts +++ b/src/plugins/vis_type_table/public/table_vis_controller.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import angular, { IRootScopeService, IScope, ICompileService } from 'angular'; import 'angular-mocks'; import 'angular-sanitize'; diff --git a/src/plugins/vis_type_table/public/table_vis_fn.test.ts b/src/plugins/vis_type_table/public/table_vis_fn.test.ts index a2964b64daf7..f7723456b757 100644 --- a/src/plugins/vis_type_table/public/table_vis_fn.test.ts +++ b/src/plugins/vis_type_table/public/table_vis_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createTableVisFn } from './table_vis_fn'; import { tableVisResponseHandler } from './table_vis_response_handler'; diff --git a/src/plugins/vis_type_table/public/table_vis_fn.ts b/src/plugins/vis_type_table/public/table_vis_fn.ts index a395c1c4450f..92e50dd695a2 100644 --- a/src/plugins/vis_type_table/public/table_vis_fn.ts +++ b/src/plugins/vis_type_table/public/table_vis_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { tableVisResponseHandler, TableContext } from './table_vis_response_handler'; import { diff --git a/src/plugins/vis_type_table/public/table_vis_legacy_module.ts b/src/plugins/vis_type_table/public/table_vis_legacy_module.ts index 19e29885b176..49eed3494f92 100644 --- a/src/plugins/vis_type_table/public/table_vis_legacy_module.ts +++ b/src/plugins/vis_type_table/public/table_vis_legacy_module.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IModule } from 'angular'; // @ts-ignore diff --git a/src/plugins/vis_type_table/public/table_vis_response_handler.ts b/src/plugins/vis_type_table/public/table_vis_response_handler.ts index 23ad3bcae5ef..78b2306e744b 100644 --- a/src/plugins/vis_type_table/public/table_vis_response_handler.ts +++ b/src/plugins/vis_type_table/public/table_vis_response_handler.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Required } from '@osd/utility-types'; import { getFormatService } from './services'; diff --git a/src/plugins/vis_type_table/public/table_vis_type.ts b/src/plugins/vis_type_table/public/table_vis_type.ts index 5332d52f199d..df1495a3d06b 100644 --- a/src/plugins/vis_type_table/public/table_vis_type.ts +++ b/src/plugins/vis_type_table/public/table_vis_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CoreSetup, PluginInitializerContext } from 'opensearch-dashboards/public'; import { i18n } from '@osd/i18n'; import { AggGroupNames } from '../../data/public'; diff --git a/src/plugins/vis_type_table/public/types.ts b/src/plugins/vis_type_table/public/types.ts index c30ba1d618a7..c780ef3b5db9 100644 --- a/src/plugins/vis_type_table/public/types.ts +++ b/src/plugins/vis_type_table/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SchemaConfig } from '../../visualizations/public'; export enum AggTypes { diff --git a/src/plugins/vis_type_table/public/vis_controller.ts b/src/plugins/vis_type_table/public/vis_controller.ts index 5d39fae81c72..aa7ffb05110a 100644 --- a/src/plugins/vis_type_table/public/vis_controller.ts +++ b/src/plugins/vis_type_table/public/vis_controller.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CoreSetup, PluginInitializerContext } from 'opensearch-dashboards/public'; import angular, { IModule, auto, IRootScopeService, IScope, ICompileService } from 'angular'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_table/server/index.ts b/src/plugins/vis_type_table/server/index.ts index ea5d319c37eb..5ec9b8b91c03 100644 --- a/src/plugins/vis_type_table/server/index.ts +++ b/src/plugins/vis_type_table/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginConfigDescriptor } from 'opensearch-dashboards/server'; import { configSchema, ConfigSchema } from '../config'; diff --git a/src/plugins/vis_type_tagcloud/config.ts b/src/plugins/vis_type_tagcloud/config.ts index 8c94d2965465..b7869c80f11a 100644 --- a/src/plugins/vis_type_tagcloud/config.ts +++ b/src/plugins/vis_type_tagcloud/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export const configSchema = schema.object({ diff --git a/src/plugins/vis_type_tagcloud/public/components/feedback_message.js b/src/plugins/vis_type_tagcloud/public/components/feedback_message.js index 46ff361258b7..c509109bf6fc 100644 --- a/src/plugins/vis_type_tagcloud/public/components/feedback_message.js +++ b/src/plugins/vis_type_tagcloud/public/components/feedback_message.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component, Fragment } from 'react'; import { FormattedMessage } from '@osd/i18n/react'; import { EuiIconTip } from '@elastic/eui'; diff --git a/src/plugins/vis_type_tagcloud/public/components/label.js b/src/plugins/vis_type_tagcloud/public/components/label.js index aa4b4bb7c6de..2477b54d3b38 100644 --- a/src/plugins/vis_type_tagcloud/public/components/label.js +++ b/src/plugins/vis_type_tagcloud/public/components/label.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; export class Label extends Component { diff --git a/src/plugins/vis_type_tagcloud/public/components/tag_cloud.js b/src/plugins/vis_type_tagcloud/public/components/tag_cloud.js index c0e50b1e8764..d2f2560d7ca2 100644 --- a/src/plugins/vis_type_tagcloud/public/components/tag_cloud.js +++ b/src/plugins/vis_type_tagcloud/public/components/tag_cloud.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import d3TagCloud from 'd3-cloud'; import { EventEmitter } from 'events'; diff --git a/src/plugins/vis_type_tagcloud/public/components/tag_cloud.test.js b/src/plugins/vis_type_tagcloud/public/components/tag_cloud.test.js index 142dc18f7837..dfce75b68830 100644 --- a/src/plugins/vis_type_tagcloud/public/components/tag_cloud.test.js +++ b/src/plugins/vis_type_tagcloud/public/components/tag_cloud.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import d3 from 'd3'; import 'jest-canvas-mock'; diff --git a/src/plugins/vis_type_tagcloud/public/components/tag_cloud_chart.tsx b/src/plugins/vis_type_tagcloud/public/components/tag_cloud_chart.tsx index c0399d83ffc5..737e20cc1917 100644 --- a/src/plugins/vis_type_tagcloud/public/components/tag_cloud_chart.tsx +++ b/src/plugins/vis_type_tagcloud/public/components/tag_cloud_chart.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useMemo, useRef } from 'react'; import { EuiResizeObserver } from '@elastic/eui'; import { throttle } from 'lodash'; diff --git a/src/plugins/vis_type_tagcloud/public/components/tag_cloud_options.tsx b/src/plugins/vis_type_tagcloud/public/components/tag_cloud_options.tsx index 97d70debd7d5..5d246c6f7982 100644 --- a/src/plugins/vis_type_tagcloud/public/components/tag_cloud_options.tsx +++ b/src/plugins/vis_type_tagcloud/public/components/tag_cloud_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiPanel } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_tagcloud/public/components/tag_cloud_visualization.js b/src/plugins/vis_type_tagcloud/public/components/tag_cloud_visualization.js index 95881ca5b5ef..54cf0eaada31 100644 --- a/src/plugins/vis_type_tagcloud/public/components/tag_cloud_visualization.js +++ b/src/plugins/vis_type_tagcloud/public/components/tag_cloud_visualization.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import * as Rx from 'rxjs'; import { take } from 'rxjs/operators'; diff --git a/src/plugins/vis_type_tagcloud/public/components/tag_cloud_visualization.test.js b/src/plugins/vis_type_tagcloud/public/components/tag_cloud_visualization.test.js index 0a0d025f1d4c..a75644667e73 100644 --- a/src/plugins/vis_type_tagcloud/public/components/tag_cloud_visualization.test.js +++ b/src/plugins/vis_type_tagcloud/public/components/tag_cloud_visualization.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import 'jest-canvas-mock'; import { TagCloudVisualization } from './tag_cloud_visualization'; diff --git a/src/plugins/vis_type_tagcloud/public/index.ts b/src/plugins/vis_type_tagcloud/public/index.ts index f90b9d048ed2..ba5cfb3832e2 100644 --- a/src/plugins/vis_type_tagcloud/public/index.ts +++ b/src/plugins/vis_type_tagcloud/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { TagCloudPlugin as Plugin } from './plugin'; diff --git a/src/plugins/vis_type_tagcloud/public/plugin.ts b/src/plugins/vis_type_tagcloud/public/plugin.ts index 5abebf6e04b0..e2f921d42fb1 100644 --- a/src/plugins/vis_type_tagcloud/public/plugin.ts +++ b/src/plugins/vis_type_tagcloud/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, CoreSetup, diff --git a/src/plugins/vis_type_tagcloud/public/services.ts b/src/plugins/vis_type_tagcloud/public/services.ts index 38ffb9112ade..1bd1510b5a12 100644 --- a/src/plugins/vis_type_tagcloud/public/services.ts +++ b/src/plugins/vis_type_tagcloud/public/services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createGetterSetter } from '../../opensearch_dashboards_utils/public'; import { DataPublicPluginStart } from '../../data/public'; diff --git a/src/plugins/vis_type_tagcloud/public/tag_cloud_fn.test.ts b/src/plugins/vis_type_tagcloud/public/tag_cloud_fn.test.ts index 7c714f2671fd..64b1a0f0b3b2 100644 --- a/src/plugins/vis_type_tagcloud/public/tag_cloud_fn.test.ts +++ b/src/plugins/vis_type_tagcloud/public/tag_cloud_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createTagCloudFn } from './tag_cloud_fn'; import { functionWrapper } from '../../expressions/common/expression_functions/specs/tests/utils'; diff --git a/src/plugins/vis_type_tagcloud/public/tag_cloud_fn.ts b/src/plugins/vis_type_tagcloud/public/tag_cloud_fn.ts index accdd969ba88..e1af067452f9 100644 --- a/src/plugins/vis_type_tagcloud/public/tag_cloud_fn.ts +++ b/src/plugins/vis_type_tagcloud/public/tag_cloud_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { diff --git a/src/plugins/vis_type_tagcloud/public/tag_cloud_type.ts b/src/plugins/vis_type_tagcloud/public/tag_cloud_type.ts index 11f3a45d27e7..a6b246e4f389 100644 --- a/src/plugins/vis_type_tagcloud/public/tag_cloud_type.ts +++ b/src/plugins/vis_type_tagcloud/public/tag_cloud_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Schemas } from '../../vis_default_editor/public'; diff --git a/src/plugins/vis_type_tagcloud/public/tag_cloud_vis_renderer.tsx b/src/plugins/vis_type_tagcloud/public/tag_cloud_vis_renderer.tsx index 7f1ea505a2c1..e7b14fb6d1a5 100644 --- a/src/plugins/vis_type_tagcloud/public/tag_cloud_vis_renderer.tsx +++ b/src/plugins/vis_type_tagcloud/public/tag_cloud_vis_renderer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { lazy } from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; diff --git a/src/plugins/vis_type_tagcloud/public/to_ast.test.ts b/src/plugins/vis_type_tagcloud/public/to_ast.test.ts index 90f65466f19d..7f85c6660758 100644 --- a/src/plugins/vis_type_tagcloud/public/to_ast.test.ts +++ b/src/plugins/vis_type_tagcloud/public/to_ast.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Vis } from 'src/plugins/visualizations/public'; import { toExpressionAst } from './to_ast'; import { TagCloudVisParams } from './types'; diff --git a/src/plugins/vis_type_tagcloud/public/to_ast.ts b/src/plugins/vis_type_tagcloud/public/to_ast.ts index b07eb9f6291c..36c36dd16fdc 100644 --- a/src/plugins/vis_type_tagcloud/public/to_ast.ts +++ b/src/plugins/vis_type_tagcloud/public/to_ast.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchaggsExpressionFunctionDefinition } from '../../data/common/search/expressions'; import { buildExpression, buildExpressionFunction } from '../../expressions/public'; import { getVisSchemas, SchemaConfig, Vis, BuildPipelineParams } from '../../visualizations/public'; diff --git a/src/plugins/vis_type_tagcloud/public/types.ts b/src/plugins/vis_type_tagcloud/public/types.ts index 3b2f0daaf011..1727e3d42b22 100644 --- a/src/plugins/vis_type_tagcloud/public/types.ts +++ b/src/plugins/vis_type_tagcloud/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface TagCloudVisParams { scale: 'linear' | 'log' | 'square root'; orientation: 'single' | 'right angled' | 'multiple'; diff --git a/src/plugins/vis_type_tagcloud/server/index.ts b/src/plugins/vis_type_tagcloud/server/index.ts index bc39d001a377..676460038015 100644 --- a/src/plugins/vis_type_tagcloud/server/index.ts +++ b/src/plugins/vis_type_tagcloud/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginConfigDescriptor } from 'opensearch-dashboards/server'; import { configSchema, ConfigSchema } from '../config'; diff --git a/src/plugins/vis_type_timeline/common/lib/calculate_interval.test.ts b/src/plugins/vis_type_timeline/common/lib/calculate_interval.test.ts index c899c16658ad..f16d6363bfc1 100644 --- a/src/plugins/vis_type_timeline/common/lib/calculate_interval.test.ts +++ b/src/plugins/vis_type_timeline/common/lib/calculate_interval.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { calculateInterval as fn } from './calculate_interval'; import moment, { unitOfTime } from 'moment'; diff --git a/src/plugins/vis_type_timeline/common/lib/calculate_interval.ts b/src/plugins/vis_type_timeline/common/lib/calculate_interval.ts index e56297645781..ebc2d1ab242f 100644 --- a/src/plugins/vis_type_timeline/common/lib/calculate_interval.ts +++ b/src/plugins/vis_type_timeline/common/lib/calculate_interval.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // Totally cribbed this from OpenSearch Dashboards 3. // I bet there's something similar in the OpenSearch Dashboards 4 code. Somewhere. Somehow. import { toMS } from './to_milliseconds'; diff --git a/src/plugins/vis_type_timeline/common/lib/index.ts b/src/plugins/vis_type_timeline/common/lib/index.ts index 5bc42c0fbb5f..5354540dcc4a 100644 --- a/src/plugins/vis_type_timeline/common/lib/index.ts +++ b/src/plugins/vis_type_timeline/common/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { calculateInterval } from './calculate_interval'; export { toMS } from './to_milliseconds'; diff --git a/src/plugins/vis_type_timeline/common/lib/to_milliseconds.ts b/src/plugins/vis_type_timeline/common/lib/to_milliseconds.ts index fb59223e1958..df696b2f3b10 100644 --- a/src/plugins/vis_type_timeline/common/lib/to_milliseconds.ts +++ b/src/plugins/vis_type_timeline/common/lib/to_milliseconds.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { keys } from 'lodash'; import moment, { unitOfTime } from 'moment'; diff --git a/src/plugins/vis_type_timeline/common/types.ts b/src/plugins/vis_type_timeline/common/types.ts index 93c4e3444ac0..6cf92759b349 100644 --- a/src/plugins/vis_type_timeline/common/types.ts +++ b/src/plugins/vis_type_timeline/common/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - type TimelineFunctionArgsTypes = 'seriesList' | 'number' | 'string' | 'boolean' | 'null'; interface TimelineFunctionArgsSuggestion { diff --git a/src/plugins/vis_type_timeline/config.ts b/src/plugins/vis_type_timeline/config.ts index 71765da00699..2d566ed390bd 100644 --- a/src/plugins/vis_type_timeline/config.ts +++ b/src/plugins/vis_type_timeline/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export const configSchema = schema.object( diff --git a/src/plugins/vis_type_timeline/public/_generated_/chain.js b/src/plugins/vis_type_timeline/public/_generated_/chain.js index f812b94238d4..3ba9cb6212bb 100644 --- a/src/plugins/vis_type_timeline/public/_generated_/chain.js +++ b/src/plugins/vis_type_timeline/public/_generated_/chain.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + module.exports = (function() { "use strict"; @@ -1777,4 +1788,4 @@ module.exports = (function() { SyntaxError: peg$SyntaxError, parse: peg$parse }; -})(); \ No newline at end of file +})(); diff --git a/src/plugins/vis_type_timeline/public/components/index.ts b/src/plugins/vis_type_timeline/public/components/index.ts index 539c50fab7e7..63a7caaed295 100644 --- a/src/plugins/vis_type_timeline/public/components/index.ts +++ b/src/plugins/vis_type_timeline/public/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './timeline_expression_input'; export * from './timeline_interval'; diff --git a/src/plugins/vis_type_timeline/public/components/timeline_expression_input.tsx b/src/plugins/vis_type_timeline/public/components/timeline_expression_input.tsx index 09d133618313..7e91bff4887e 100644 --- a/src/plugins/vis_type_timeline/public/components/timeline_expression_input.tsx +++ b/src/plugins/vis_type_timeline/public/components/timeline_expression_input.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useCallback, useRef, useMemo } from 'react'; import { EuiFormLabel } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/vis_type_timeline/public/components/timeline_expression_input_helpers.test.ts b/src/plugins/vis_type_timeline/public/components/timeline_expression_input_helpers.test.ts index ec628f8f414a..43383710be54 100644 --- a/src/plugins/vis_type_timeline/public/components/timeline_expression_input_helpers.test.ts +++ b/src/plugins/vis_type_timeline/public/components/timeline_expression_input_helpers.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SUGGESTION_TYPE, suggest } from './timeline_expression_input_helpers'; import { getArgValueSuggestions } from '../helpers/arg_value_suggestions'; import { setIndexPatterns, setSavedObjectsClient } from '../helpers/plugin_services'; diff --git a/src/plugins/vis_type_timeline/public/components/timeline_expression_input_helpers.ts b/src/plugins/vis_type_timeline/public/components/timeline_expression_input_helpers.ts index 2d27bbe8084a..c4c5b5a03d94 100644 --- a/src/plugins/vis_type_timeline/public/components/timeline_expression_input_helpers.ts +++ b/src/plugins/vis_type_timeline/public/components/timeline_expression_input_helpers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, startsWith } from 'lodash'; import { i18n } from '@osd/i18n'; import { monaco } from '@osd/monaco'; diff --git a/src/plugins/vis_type_timeline/public/components/timeline_interval.tsx b/src/plugins/vis_type_timeline/public/components/timeline_interval.tsx index 6f7384af018f..a4b85adb412c 100644 --- a/src/plugins/vis_type_timeline/public/components/timeline_interval.tsx +++ b/src/plugins/vis_type_timeline/public/components/timeline_interval.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useMemo, useCallback } from 'react'; import { EuiFormRow, EuiComboBox, EuiComboBoxOptionOption } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_timeline/public/components/timeline_vis_component.tsx b/src/plugins/vis_type_timeline/public/components/timeline_vis_component.tsx index c0923d681e48..693dafdfe9ae 100644 --- a/src/plugins/vis_type_timeline/public/components/timeline_vis_component.tsx +++ b/src/plugins/vis_type_timeline/public/components/timeline_vis_component.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState, useEffect, useMemo, useCallback } from 'react'; import $ from 'jquery'; import moment from 'moment-timezone'; diff --git a/src/plugins/vis_type_timeline/public/helpers/arg_value_suggestions.ts b/src/plugins/vis_type_timeline/public/helpers/arg_value_suggestions.ts index d88b9578c8ae..cd4b31413419 100644 --- a/src/plugins/vis_type_timeline/public/helpers/arg_value_suggestions.ts +++ b/src/plugins/vis_type_timeline/public/helpers/arg_value_suggestions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { getIndexPatterns, getSavedObjectsClient } from './plugin_services'; import { TimelineFunctionArgs } from '../../common/types'; diff --git a/src/plugins/vis_type_timeline/public/helpers/get_timezone.ts b/src/plugins/vis_type_timeline/public/helpers/get_timezone.ts index e5a86dae7872..d76c1b969c7e 100644 --- a/src/plugins/vis_type_timeline/public/helpers/get_timezone.ts +++ b/src/plugins/vis_type_timeline/public/helpers/get_timezone.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment-timezone'; import { IUiSettingsClient } from 'opensearch-dashboards/public'; diff --git a/src/plugins/vis_type_timeline/public/helpers/panel_utils.ts b/src/plugins/vis_type_timeline/public/helpers/panel_utils.ts index eef5263bd7ec..35089811c08b 100644 --- a/src/plugins/vis_type_timeline/public/helpers/panel_utils.ts +++ b/src/plugins/vis_type_timeline/public/helpers/panel_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeep, defaults, mergeWith, compact } from 'lodash'; import $ from 'jquery'; import moment, { Moment } from 'moment-timezone'; diff --git a/src/plugins/vis_type_timeline/public/helpers/plugin_services.ts b/src/plugins/vis_type_timeline/public/helpers/plugin_services.ts index f5c854b6ddc4..4c7f653b0a79 100644 --- a/src/plugins/vis_type_timeline/public/helpers/plugin_services.ts +++ b/src/plugins/vis_type_timeline/public/helpers/plugin_services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IndexPatternsContract } from 'src/plugins/data/public'; import { SavedObjectsClientContract } from 'opensearch-dashboards/public'; import { createGetterSetter } from '../../../opensearch_dashboards_utils/public'; diff --git a/src/plugins/vis_type_timeline/public/helpers/tick_formatters.test.ts b/src/plugins/vis_type_timeline/public/helpers/tick_formatters.test.ts index a6bdb14f47bb..7afec26d6978 100644 --- a/src/plugins/vis_type_timeline/public/helpers/tick_formatters.test.ts +++ b/src/plugins/vis_type_timeline/public/helpers/tick_formatters.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { tickFormatters } from './tick_formatters'; describe('Tick Formatters', function () { diff --git a/src/plugins/vis_type_timeline/public/helpers/tick_formatters.ts b/src/plugins/vis_type_timeline/public/helpers/tick_formatters.ts index 755a60f9c00f..83b65b858d02 100644 --- a/src/plugins/vis_type_timeline/public/helpers/tick_formatters.ts +++ b/src/plugins/vis_type_timeline/public/helpers/tick_formatters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { Axis } from './panel_utils'; diff --git a/src/plugins/vis_type_timeline/public/helpers/tick_generator.test.ts b/src/plugins/vis_type_timeline/public/helpers/tick_generator.test.ts index 7d4e26fa269c..c66261cf655e 100644 --- a/src/plugins/vis_type_timeline/public/helpers/tick_generator.test.ts +++ b/src/plugins/vis_type_timeline/public/helpers/tick_generator.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { generateTicksProvider } from './tick_generator'; describe('Tick Generator', function () { diff --git a/src/plugins/vis_type_timeline/public/helpers/tick_generator.ts b/src/plugins/vis_type_timeline/public/helpers/tick_generator.ts index 3b1c090bba4b..86a86d99858f 100644 --- a/src/plugins/vis_type_timeline/public/helpers/tick_generator.ts +++ b/src/plugins/vis_type_timeline/public/helpers/tick_generator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Axis } from './panel_utils'; export function generateTicksProvider() { diff --git a/src/plugins/vis_type_timeline/public/helpers/timeline_request_handler.ts b/src/plugins/vis_type_timeline/public/helpers/timeline_request_handler.ts index 6ce48fcfdcc1..467fef727f29 100644 --- a/src/plugins/vis_type_timeline/public/helpers/timeline_request_handler.ts +++ b/src/plugins/vis_type_timeline/public/helpers/timeline_request_handler.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { OPENSEARCH_DASHBOARDS_CONTEXT_NAME } from 'src/plugins/expressions/public'; import { TimeRange, Filter, opensearchQuery, Query } from '../../../data/public'; diff --git a/src/plugins/vis_type_timeline/public/helpers/xaxis_formatter.ts b/src/plugins/vis_type_timeline/public/helpers/xaxis_formatter.ts index 8d5dc8de82eb..d54bc5d192df 100644 --- a/src/plugins/vis_type_timeline/public/helpers/xaxis_formatter.ts +++ b/src/plugins/vis_type_timeline/public/helpers/xaxis_formatter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_timeline/public/index.ts b/src/plugins/vis_type_timeline/public/index.ts index 9b0d9ac9df47..8cbe23d712d9 100644 --- a/src/plugins/vis_type_timeline/public/index.ts +++ b/src/plugins/vis_type_timeline/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { TimelineVisPlugin as Plugin } from './plugin'; diff --git a/src/plugins/vis_type_timeline/public/plugin.ts b/src/plugins/vis_type_timeline/public/plugin.ts index 712a4a6cd2f2..a27c9bc783ea 100644 --- a/src/plugins/vis_type_timeline/public/plugin.ts +++ b/src/plugins/vis_type_timeline/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, CoreStart, diff --git a/src/plugins/vis_type_timeline/public/timeline_options.tsx b/src/plugins/vis_type_timeline/public/timeline_options.tsx index e84e754d009d..2a172add5c6c 100644 --- a/src/plugins/vis_type_timeline/public/timeline_options.tsx +++ b/src/plugins/vis_type_timeline/public/timeline_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { EuiPanel } from '@elastic/eui'; diff --git a/src/plugins/vis_type_timeline/public/timeline_vis_fn.ts b/src/plugins/vis_type_timeline/public/timeline_vis_fn.ts index b40228123017..cd735bf2bc09 100644 --- a/src/plugins/vis_type_timeline/public/timeline_vis_fn.ts +++ b/src/plugins/vis_type_timeline/public/timeline_vis_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { i18n } from '@osd/i18n'; import { diff --git a/src/plugins/vis_type_timeline/public/timeline_vis_renderer.tsx b/src/plugins/vis_type_timeline/public/timeline_vis_renderer.tsx index 7b973ce5a606..317438d9024d 100644 --- a/src/plugins/vis_type_timeline/public/timeline_vis_renderer.tsx +++ b/src/plugins/vis_type_timeline/public/timeline_vis_renderer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { lazy } from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; diff --git a/src/plugins/vis_type_timeline/public/timeline_vis_type.tsx b/src/plugins/vis_type_timeline/public/timeline_vis_type.tsx index 3346db74d9ab..b182e60a29a6 100644 --- a/src/plugins/vis_type_timeline/public/timeline_vis_type.tsx +++ b/src/plugins/vis_type_timeline/public/timeline_vis_type.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { lazy } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_timeline/public/to_ast.test.ts b/src/plugins/vis_type_timeline/public/to_ast.test.ts index 545882c6750c..c5d8dace30a9 100644 --- a/src/plugins/vis_type_timeline/public/to_ast.test.ts +++ b/src/plugins/vis_type_timeline/public/to_ast.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Vis } from 'src/plugins/visualizations/public'; import { TimelineVisParams } from './timeline_vis_fn'; import { toExpressionAst } from './to_ast'; diff --git a/src/plugins/vis_type_timeline/public/to_ast.ts b/src/plugins/vis_type_timeline/public/to_ast.ts index 42d9026d783e..ec7cf83a2775 100644 --- a/src/plugins/vis_type_timeline/public/to_ast.ts +++ b/src/plugins/vis_type_timeline/public/to_ast.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildExpression, buildExpressionFunction } from '../../expressions/public'; import { Vis } from '../../visualizations/public'; import { TimelineExpressionFunctionDefinition, TimelineVisParams } from './timeline_vis_fn'; diff --git a/src/plugins/vis_type_timeline/server/fit_functions/average.js b/src/plugins/vis_type_timeline/server/fit_functions/average.js index 08a6cc5361df..10f022c943f5 100644 --- a/src/plugins/vis_type_timeline/server/fit_functions/average.js +++ b/src/plugins/vis_type_timeline/server/fit_functions/average.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; // Upsampling and down sampling of non-cumulative sets diff --git a/src/plugins/vis_type_timeline/server/fit_functions/average.test.js b/src/plugins/vis_type_timeline/server/fit_functions/average.test.js index b21f9603baa8..8969568769c9 100644 --- a/src/plugins/vis_type_timeline/server/fit_functions/average.test.js +++ b/src/plugins/vis_type_timeline/server/fit_functions/average.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './average'; import moment from 'moment'; const expect = require('chai').expect; diff --git a/src/plugins/vis_type_timeline/server/fit_functions/carry.js b/src/plugins/vis_type_timeline/server/fit_functions/carry.js index 42e7348fd934..1f018b49426f 100644 --- a/src/plugins/vis_type_timeline/server/fit_functions/carry.js +++ b/src/plugins/vis_type_timeline/server/fit_functions/carry.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_timeline/server/fit_functions/carry.test.js b/src/plugins/vis_type_timeline/server/fit_functions/carry.test.js index 2b6ca0eeddd1..1f319b22aa68 100644 --- a/src/plugins/vis_type_timeline/server/fit_functions/carry.test.js +++ b/src/plugins/vis_type_timeline/server/fit_functions/carry.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './carry'; import moment from 'moment'; const expect = require('chai').expect; diff --git a/src/plugins/vis_type_timeline/server/fit_functions/nearest.js b/src/plugins/vis_type_timeline/server/fit_functions/nearest.js index 2dd411c2630b..74bb95c14f8e 100644 --- a/src/plugins/vis_type_timeline/server/fit_functions/nearest.js +++ b/src/plugins/vis_type_timeline/server/fit_functions/nearest.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; // Upsampling and downsampling of non-cumulative sets diff --git a/src/plugins/vis_type_timeline/server/fit_functions/none.js b/src/plugins/vis_type_timeline/server/fit_functions/none.js index 2a335c13843e..b7439319a51a 100644 --- a/src/plugins/vis_type_timeline/server/fit_functions/none.js +++ b/src/plugins/vis_type_timeline/server/fit_functions/none.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // **DON'T USE THIS** // Performing joins/math with other sets that don't match perfectly will be wrong // Does not resample at all. diff --git a/src/plugins/vis_type_timeline/server/fit_functions/scale.js b/src/plugins/vis_type_timeline/server/fit_functions/scale.js index 12947fd9b2a4..3a0ea6da53d6 100644 --- a/src/plugins/vis_type_timeline/server/fit_functions/scale.js +++ b/src/plugins/vis_type_timeline/server/fit_functions/scale.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; // Downsampling of cumulative metrics diff --git a/src/plugins/vis_type_timeline/server/handlers/chain_runner.js b/src/plugins/vis_type_timeline/server/handlers/chain_runner.js index 0c5617bb000c..75382b73de57 100644 --- a/src/plugins/vis_type_timeline/server/handlers/chain_runner.js +++ b/src/plugins/vis_type_timeline/server/handlers/chain_runner.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import Bluebird from 'bluebird'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/arg_type.js b/src/plugins/vis_type_timeline/server/handlers/lib/arg_type.js index 32b2a2b2bdda..bcc2afdd9df3 100644 --- a/src/plugins/vis_type_timeline/server/handlers/lib/arg_type.js +++ b/src/plugins/vis_type_timeline/server/handlers/lib/arg_type.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default function argType(arg) { diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/index_arguments.js b/src/plugins/vis_type_timeline/server/handlers/lib/index_arguments.js index 7981ae143e21..d515da6562c5 100644 --- a/src/plugins/vis_type_timeline/server/handlers/lib/index_arguments.js +++ b/src/plugins/vis_type_timeline/server/handlers/lib/index_arguments.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/parse_sheet.js b/src/plugins/vis_type_timeline/server/handlers/lib/parse_sheet.js index 06e8717a5328..b741ec9c005e 100644 --- a/src/plugins/vis_type_timeline/server/handlers/lib/parse_sheet.js +++ b/src/plugins/vis_type_timeline/server/handlers/lib/parse_sheet.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import fs from 'fs'; import path from 'path'; diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/parse_sheet.test.js b/src/plugins/vis_type_timeline/server/handlers/lib/parse_sheet.test.js index 1550e7d5998a..98fb4118da88 100644 --- a/src/plugins/vis_type_timeline/server/handlers/lib/parse_sheet.test.js +++ b/src/plugins/vis_type_timeline/server/handlers/lib/parse_sheet.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const parseSheet = require('./parse_sheet'); const expect = require('chai').expect; diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/preprocess_chain.js b/src/plugins/vis_type_timeline/server/handlers/lib/preprocess_chain.js index 1dacb8f1fa8a..4a81a32a6afb 100644 --- a/src/plugins/vis_type_timeline/server/handlers/lib/preprocess_chain.js +++ b/src/plugins/vis_type_timeline/server/handlers/lib/preprocess_chain.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default function preProcessChainFn(tlConfig) { diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/reposition_arguments.js b/src/plugins/vis_type_timeline/server/handlers/lib/reposition_arguments.js index 2bea1896860f..646fd0a0b1ba 100644 --- a/src/plugins/vis_type_timeline/server/handlers/lib/reposition_arguments.js +++ b/src/plugins/vis_type_timeline/server/handlers/lib/reposition_arguments.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/tl_config.js b/src/plugins/vis_type_timeline/server/handlers/lib/tl_config.js index e2cc4272828f..fad0a758ef15 100644 --- a/src/plugins/vis_type_timeline/server/handlers/lib/tl_config.js +++ b/src/plugins/vis_type_timeline/server/handlers/lib/tl_config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import buildTarget from '../../lib/build_target.js'; diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/validate_arg.js b/src/plugins/vis_type_timeline/server/handlers/lib/validate_arg.js index 77d6c9f6f364..8ffc5888c496 100644 --- a/src/plugins/vis_type_timeline/server/handlers/lib/validate_arg.js +++ b/src/plugins/vis_type_timeline/server/handlers/lib/validate_arg.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import argType from './arg_type'; import _ from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/validate_time.js b/src/plugins/vis_type_timeline/server/handlers/lib/validate_time.js index 8dd0f8b24e5e..2bccc6547667 100644 --- a/src/plugins/vis_type_timeline/server/handlers/lib/validate_time.js +++ b/src/plugins/vis_type_timeline/server/handlers/lib/validate_time.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import moment from 'moment'; diff --git a/src/plugins/vis_type_timeline/server/index.ts b/src/plugins/vis_type_timeline/server/index.ts index ac3859f2b4f8..fb1118250bfa 100644 --- a/src/plugins/vis_type_timeline/server/index.ts +++ b/src/plugins/vis_type_timeline/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginConfigDescriptor, PluginInitializerContext } from '../../../core/server'; import { configSchema, ConfigSchema } from '../config'; import { Plugin } from './plugin'; diff --git a/src/plugins/vis_type_timeline/server/lib/alter.js b/src/plugins/vis_type_timeline/server/lib/alter.js index a6fd1ebec969..bcedf49263ed 100644 --- a/src/plugins/vis_type_timeline/server/lib/alter.js +++ b/src/plugins/vis_type_timeline/server/lib/alter.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Bluebird from 'bluebird'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/lib/as_sorted.js b/src/plugins/vis_type_timeline/server/lib/as_sorted.js index dc6fafd6ef19..54e9c514b69d 100644 --- a/src/plugins/vis_type_timeline/server/lib/as_sorted.js +++ b/src/plugins/vis_type_timeline/server/lib/as_sorted.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import unzipPairs from './unzip_pairs.js'; diff --git a/src/plugins/vis_type_timeline/server/lib/build_target.js b/src/plugins/vis_type_timeline/server/lib/build_target.js index 21918c43d705..d7ab6d062318 100644 --- a/src/plugins/vis_type_timeline/server/lib/build_target.js +++ b/src/plugins/vis_type_timeline/server/lib/build_target.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import splitInterval from './split_interval.js'; diff --git a/src/plugins/vis_type_timeline/server/lib/classes/chainable.js b/src/plugins/vis_type_timeline/server/lib/classes/chainable.js index 8a54af35c31d..daf0f90604ae 100644 --- a/src/plugins/vis_type_timeline/server/lib/classes/chainable.js +++ b/src/plugins/vis_type_timeline/server/lib/classes/chainable.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import TimelineFunction from './timeline_function'; export default class Chainable extends TimelineFunction { diff --git a/src/plugins/vis_type_timeline/server/lib/classes/datasource.js b/src/plugins/vis_type_timeline/server/lib/classes/datasource.js index 241c2567ba54..a3f5bf3812de 100644 --- a/src/plugins/vis_type_timeline/server/lib/classes/datasource.js +++ b/src/plugins/vis_type_timeline/server/lib/classes/datasource.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import loadFunctions from '../load_functions.js'; const fitFunctions = loadFunctions('fit_functions'); diff --git a/src/plugins/vis_type_timeline/server/lib/classes/timeline_function.d.ts b/src/plugins/vis_type_timeline/server/lib/classes/timeline_function.d.ts index bcf4b89303a7..e1aab98672e8 100644 --- a/src/plugins/vis_type_timeline/server/lib/classes/timeline_function.d.ts +++ b/src/plugins/vis_type_timeline/server/lib/classes/timeline_function.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TimelineFunctionArgs } from '../../../common/types'; export interface TimelineFunctionInterface extends TimelineFunctionConfig { diff --git a/src/plugins/vis_type_timeline/server/lib/classes/timeline_function.js b/src/plugins/vis_type_timeline/server/lib/classes/timeline_function.js index 5e47a7971df0..74984913a05d 100644 --- a/src/plugins/vis_type_timeline/server/lib/classes/timeline_function.js +++ b/src/plugins/vis_type_timeline/server/lib/classes/timeline_function.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import loadFunctions from '../load_functions.js'; const fitFunctions = loadFunctions('fit_functions'); diff --git a/src/plugins/vis_type_timeline/server/lib/config_manager.ts b/src/plugins/vis_type_timeline/server/lib/config_manager.ts index c3beb812295b..8d5e9edc0eb6 100644 --- a/src/plugins/vis_type_timeline/server/lib/config_manager.ts +++ b/src/plugins/vis_type_timeline/server/lib/config_manager.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/server'; import { TypeOf } from '@osd/config-schema'; import { configSchema } from '../../config'; diff --git a/src/plugins/vis_type_timeline/server/lib/functions_md.js b/src/plugins/vis_type_timeline/server/lib/functions_md.js index ec5125bf5773..f309f7e33291 100644 --- a/src/plugins/vis_type_timeline/server/lib/functions_md.js +++ b/src/plugins/vis_type_timeline/server/lib/functions_md.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import loadFunctions from './load_functions.js'; const functions = loadFunctions('series_functions/'); import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/lib/get_namespaced_settings.js b/src/plugins/vis_type_timeline/server/lib/get_namespaced_settings.js index 1a927c49538b..e17e82193625 100644 --- a/src/plugins/vis_type_timeline/server/lib/get_namespaced_settings.js +++ b/src/plugins/vis_type_timeline/server/lib/get_namespaced_settings.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import configFile from '../timeline.json'; diff --git a/src/plugins/vis_type_timeline/server/lib/load_functions.d.ts b/src/plugins/vis_type_timeline/server/lib/load_functions.d.ts index 06ccb3725350..47ec60207aa6 100644 --- a/src/plugins/vis_type_timeline/server/lib/load_functions.d.ts +++ b/src/plugins/vis_type_timeline/server/lib/load_functions.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { TimelineFunctionInterface } from '../types'; declare function loadFunctions(directory: string): LoadFunctions; diff --git a/src/plugins/vis_type_timeline/server/lib/load_functions.js b/src/plugins/vis_type_timeline/server/lib/load_functions.js index 7a075418de7c..40dca0ac4401 100644 --- a/src/plugins/vis_type_timeline/server/lib/load_functions.js +++ b/src/plugins/vis_type_timeline/server/lib/load_functions.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import glob from 'glob'; import path from 'path'; diff --git a/src/plugins/vis_type_timeline/server/lib/load_functions.test.js b/src/plugins/vis_type_timeline/server/lib/load_functions.test.js index 50eebeac6cdc..3dc0ec729be4 100644 --- a/src/plugins/vis_type_timeline/server/lib/load_functions.test.js +++ b/src/plugins/vis_type_timeline/server/lib/load_functions.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const fn = require(`src/plugins/vis_type_timeline/server/lib/load_functions`); const expect = require('chai').expect; diff --git a/src/plugins/vis_type_timeline/server/lib/offset_time.js b/src/plugins/vis_type_timeline/server/lib/offset_time.js index e8a493c14648..4f1894763495 100644 --- a/src/plugins/vis_type_timeline/server/lib/offset_time.js +++ b/src/plugins/vis_type_timeline/server/lib/offset_time.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; // usually reverse = false on the request, true on the response diff --git a/src/plugins/vis_type_timeline/server/lib/offset_time.test.js b/src/plugins/vis_type_timeline/server/lib/offset_time.test.js index bd53288b7cad..3cb90a9e30fe 100644 --- a/src/plugins/vis_type_timeline/server/lib/offset_time.test.js +++ b/src/plugins/vis_type_timeline/server/lib/offset_time.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import moment from 'moment'; import { preprocessOffset } from './offset_time'; diff --git a/src/plugins/vis_type_timeline/server/lib/process_function_definition.js b/src/plugins/vis_type_timeline/server/lib/process_function_definition.js index 4a60c7479919..b550bcec9ea3 100644 --- a/src/plugins/vis_type_timeline/server/lib/process_function_definition.js +++ b/src/plugins/vis_type_timeline/server/lib/process_function_definition.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default function (func) { diff --git a/src/plugins/vis_type_timeline/server/lib/reduce.js b/src/plugins/vis_type_timeline/server/lib/reduce.js index f99253d7ba79..6eaf5d519564 100644 --- a/src/plugins/vis_type_timeline/server/lib/reduce.js +++ b/src/plugins/vis_type_timeline/server/lib/reduce.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; function allSeriesContainKey(seriesList, key) { diff --git a/src/plugins/vis_type_timeline/server/lib/split_interval.js b/src/plugins/vis_type_timeline/server/lib/split_interval.js index 32634c43de57..3197b37b6410 100644 --- a/src/plugins/vis_type_timeline/server/lib/split_interval.js +++ b/src/plugins/vis_type_timeline/server/lib/split_interval.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function splitInterval(interval) { if (!interval.match(/[0-9]+[mshdwMy]+/g)) { throw new Error('Malformed `interval`: ' + interval); diff --git a/src/plugins/vis_type_timeline/server/lib/unzip_pairs.js b/src/plugins/vis_type_timeline/server/lib/unzip_pairs.js index f6bb825aca79..1d2d47794d5a 100644 --- a/src/plugins/vis_type_timeline/server/lib/unzip_pairs.js +++ b/src/plugins/vis_type_timeline/server/lib/unzip_pairs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default function unzipPairs(timeValObject) { diff --git a/src/plugins/vis_type_timeline/server/plugin.ts b/src/plugins/vis_type_timeline/server/plugin.ts index 2a271d2f5124..e7bec6c2e254 100644 --- a/src/plugins/vis_type_timeline/server/plugin.ts +++ b/src/plugins/vis_type_timeline/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { first } from 'rxjs/operators'; import { TypeOf, schema } from '@osd/config-schema'; diff --git a/src/plugins/vis_type_timeline/server/routes/functions.ts b/src/plugins/vis_type_timeline/server/routes/functions.ts index 84236a29efa7..d1f3f37f11f5 100644 --- a/src/plugins/vis_type_timeline/server/routes/functions.ts +++ b/src/plugins/vis_type_timeline/server/routes/functions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { IRouter } from 'opensearch-dashboards/server'; import { LoadFunctions } from '../lib/load_functions'; diff --git a/src/plugins/vis_type_timeline/server/routes/run.ts b/src/plugins/vis_type_timeline/server/routes/run.ts index d892aa0f300b..ab6a993b4bb5 100644 --- a/src/plugins/vis_type_timeline/server/routes/run.ts +++ b/src/plugins/vis_type_timeline/server/routes/run.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { IRouter, Logger, CoreSetup } from 'opensearch-dashboards/server'; import { schema } from '@osd/config-schema'; import Bluebird from 'bluebird'; diff --git a/src/plugins/vis_type_timeline/server/routes/validate_es.ts b/src/plugins/vis_type_timeline/server/routes/validate_es.ts index d6562acd87ed..5cef93df7f3b 100644 --- a/src/plugins/vis_type_timeline/server/routes/validate_es.ts +++ b/src/plugins/vis_type_timeline/server/routes/validate_es.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { IRouter, CoreSetup } from 'opensearch-dashboards/server'; import { OPENSEARCH_SEARCH_STRATEGY } from '../../../data/server'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/abs.js b/src/plugins/vis_type_timeline/server/series_functions/abs.js index 348461ec4d5d..afee4bea9a76 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/abs.js +++ b/src/plugins/vis_type_timeline/server/series_functions/abs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/abs.test.js b/src/plugins/vis_type_timeline/server/series_functions/abs.test.js index 444bfdafe8b6..a146dc29b85a 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/abs.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/abs.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './abs'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/aggregate.test.js b/src/plugins/vis_type_timeline/server/series_functions/aggregate/aggregate.test.js index 2ade218c6362..ba412d3cb603 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/aggregate/aggregate.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/aggregate/aggregate.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './index'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/avg.js b/src/plugins/vis_type_timeline/server/series_functions/aggregate/avg.js index a946e1dd6ca7..e65d32c9a8e6 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/aggregate/avg.js +++ b/src/plugins/vis_type_timeline/server/series_functions/aggregate/avg.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default function (points) { diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/cardinality.js b/src/plugins/vis_type_timeline/server/series_functions/aggregate/cardinality.js index 44032ec09924..dccca5c0cec7 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/aggregate/cardinality.js +++ b/src/plugins/vis_type_timeline/server/series_functions/aggregate/cardinality.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default function (points) { diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/first.js b/src/plugins/vis_type_timeline/server/series_functions/aggregate/first.js index 89b70c52f44f..bbd3762a9d03 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/aggregate/first.js +++ b/src/plugins/vis_type_timeline/server/series_functions/aggregate/first.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default function (points) { diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/index.js b/src/plugins/vis_type_timeline/server/series_functions/aggregate/index.js index 8c91e005931a..0ad869409e91 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/aggregate/index.js +++ b/src/plugins/vis_type_timeline/server/series_functions/aggregate/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../../lib/alter.js'; import Chainable from '../../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/last.js b/src/plugins/vis_type_timeline/server/series_functions/aggregate/last.js index 359895fe7db9..3bd66f0e4394 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/aggregate/last.js +++ b/src/plugins/vis_type_timeline/server/series_functions/aggregate/last.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default function (points) { diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/max.js b/src/plugins/vis_type_timeline/server/series_functions/aggregate/max.js index 6fd92163181a..7053fe424362 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/aggregate/max.js +++ b/src/plugins/vis_type_timeline/server/series_functions/aggregate/max.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default function (points) { diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/min.js b/src/plugins/vis_type_timeline/server/series_functions/aggregate/min.js index 1235a81d2d1c..3146b27b55ea 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/aggregate/min.js +++ b/src/plugins/vis_type_timeline/server/series_functions/aggregate/min.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default function (points) { diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/sum.js b/src/plugins/vis_type_timeline/server/series_functions/aggregate/sum.js index 75e0bc95d07c..51105d75eeac 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/aggregate/sum.js +++ b/src/plugins/vis_type_timeline/server/series_functions/aggregate/sum.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default function (points) { diff --git a/src/plugins/vis_type_timeline/server/series_functions/bars.js b/src/plugins/vis_type_timeline/server/series_functions/bars.js index cf54523178e4..76c6dcb3cbcc 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/bars.js +++ b/src/plugins/vis_type_timeline/server/series_functions/bars.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import Chainable from '../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/bars.test.js b/src/plugins/vis_type_timeline/server/series_functions/bars.test.js index f75a7ba50704..5d8ea2915c52 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/bars.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/bars.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './bars'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/color.js b/src/plugins/vis_type_timeline/server/series_functions/color.js index 21c061f7490d..e987cbfa799d 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/color.js +++ b/src/plugins/vis_type_timeline/server/series_functions/color.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import Chainable from '../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/color.test.js b/src/plugins/vis_type_timeline/server/series_functions/color.test.js index 1db940631536..9a7d2f18d9f0 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/color.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/color.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './color'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/condition.js b/src/plugins/vis_type_timeline/server/series_functions/condition.js index 3684c4f5351f..a266c4189c45 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/condition.js +++ b/src/plugins/vis_type_timeline/server/series_functions/condition.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/condition.test.js b/src/plugins/vis_type_timeline/server/series_functions/condition.test.js index 767f33adeb53..5a3348eaf148 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/condition.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/condition.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './condition'; import moment from 'moment'; const expect = require('chai').expect; diff --git a/src/plugins/vis_type_timeline/server/series_functions/cusum.js b/src/plugins/vis_type_timeline/server/series_functions/cusum.js index 0834b4d86db1..8a534031e803 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/cusum.js +++ b/src/plugins/vis_type_timeline/server/series_functions/cusum.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/cusum.test.js b/src/plugins/vis_type_timeline/server/series_functions/cusum.test.js index bc88107764f2..5e5e61e71f25 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/cusum.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/cusum.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './cusum'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/derivative.js b/src/plugins/vis_type_timeline/server/series_functions/derivative.js index f941589749c3..7e60de0a508e 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/derivative.js +++ b/src/plugins/vis_type_timeline/server/series_functions/derivative.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/derivative.test.js b/src/plugins/vis_type_timeline/server/series_functions/derivative.test.js index a6ca795331dd..cd4f133f0493 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/derivative.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/derivative.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './derivative'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/divide.js b/src/plugins/vis_type_timeline/server/series_functions/divide.js index 981257fdbbb3..8074d1b8a498 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/divide.js +++ b/src/plugins/vis_type_timeline/server/series_functions/divide.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import reduce from '../lib/reduce.js'; import Chainable from '../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/divide.test.js b/src/plugins/vis_type_timeline/server/series_functions/divide.test.js index 93f10da4cac2..423b3c7b559e 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/divide.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/divide.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './divide'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/first.js b/src/plugins/vis_type_timeline/server/series_functions/first.js index 5a598a827f73..9c7b2e6549bb 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/first.js +++ b/src/plugins/vis_type_timeline/server/series_functions/first.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import Chainable from '../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/first.test.js b/src/plugins/vis_type_timeline/server/series_functions/first.test.js index c9ff4d1cbdcb..f5736d0bb340 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/first.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/first.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './first'; const expect = require('chai').expect; diff --git a/src/plugins/vis_type_timeline/server/series_functions/fit.js b/src/plugins/vis_type_timeline/server/series_functions/fit.js index b475b981f3e8..f9fde782c734 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/fit.js +++ b/src/plugins/vis_type_timeline/server/series_functions/fit.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/fit.test.js b/src/plugins/vis_type_timeline/server/series_functions/fit.test.js index ed385d22f6ff..c8211929b0e3 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/fit.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/fit.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const fn = require(`src/plugins/vis_type_timeline/server/series_functions/fit`); import moment from 'moment'; const expect = require('chai').expect; diff --git a/src/plugins/vis_type_timeline/server/series_functions/fixtures/bucket_list.js b/src/plugins/vis_type_timeline/server/series_functions/fixtures/bucket_list.js index 0c1ef0349547..fba0da1ed7d3 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/fixtures/bucket_list.js +++ b/src/plugins/vis_type_timeline/server/series_functions/fixtures/bucket_list.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; export default [ diff --git a/src/plugins/vis_type_timeline/server/series_functions/fixtures/opensearch_response.js b/src/plugins/vis_type_timeline/server/series_functions/fixtures/opensearch_response.js index 5cdf7126f38c..4ee8709fd38c 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/fixtures/opensearch_response.js +++ b/src/plugins/vis_type_timeline/server/series_functions/fixtures/opensearch_response.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable quotes */ /* diff --git a/src/plugins/vis_type_timeline/server/series_functions/fixtures/series_list.js b/src/plugins/vis_type_timeline/server/series_functions/fixtures/series_list.js index 4c27e37f7211..5ab9dcba4def 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/fixtures/series_list.js +++ b/src/plugins/vis_type_timeline/server/series_functions/fixtures/series_list.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import buckets from './bucket_list'; import getSeries from '../helpers/get_series'; import getSeriesList from '../helpers/get_series_list'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/fixtures/tl_config.js b/src/plugins/vis_type_timeline/server/series_functions/fixtures/tl_config.js index 611cddc8f347..55a1f644936c 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/fixtures/tl_config.js +++ b/src/plugins/vis_type_timeline/server/series_functions/fixtures/tl_config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import sinon from 'sinon'; import timelineDefaults from '../../lib/get_namespaced_settings'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/graphite.js b/src/plugins/vis_type_timeline/server/series_functions/graphite.js index 75a42717a13a..abf4b0a691f3 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/graphite.js +++ b/src/plugins/vis_type_timeline/server/series_functions/graphite.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import _ from 'lodash'; import fetch from 'node-fetch'; @@ -37,10 +35,10 @@ import moment from 'moment'; import Datasource from '../lib/classes/datasource'; import { isValidConfig } from './helpers/graphite_helper'; -const MISS_CHECKLIST_MESSAGE = `Please configure on the opensearch_dashboards.yml file. +const MISS_CHECKLIST_MESSAGE = `Please configure on the opensearch_dashboards.yml file. You can always enable the default allowlist configuration.`; -const INVALID_URL_MESSAGE = `The Graphite URL provided by you is invalid. +const INVALID_URL_MESSAGE = `The Graphite URL provided by you is invalid. Please update your config from OpenSearch Dashboards's Advanced Setting.`; export default new Datasource('graphite', { diff --git a/src/plugins/vis_type_timeline/server/series_functions/graphite.test.js b/src/plugins/vis_type_timeline/server/series_functions/graphite.test.js index 965ab52cc2ee..e5ef1c987992 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/graphite.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/graphite.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,19 +28,14 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const expect = require('chai').expect; import fn from './graphite'; -const MISS_CHECKLIST_MESSAGE = `Please configure on the opensearch_dashboards.yml file. +const MISS_CHECKLIST_MESSAGE = `Please configure on the opensearch_dashboards.yml file. You can always enable the default allowlist configuration.`; -const INVALID_URL_MESSAGE = `The Graphite URL provided by you is invalid. +const INVALID_URL_MESSAGE = `The Graphite URL provided by you is invalid. Please update your config from OpenSearch Dashboards's Advanced Setting.`; jest.mock('node-fetch', () => (url) => { diff --git a/src/plugins/vis_type_timeline/server/series_functions/helpers/get_series.js b/src/plugins/vis_type_timeline/server/series_functions/helpers/get_series.js index a17f36621911..d90eb5a34e8c 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/helpers/get_series.js +++ b/src/plugins/vis_type_timeline/server/series_functions/helpers/get_series.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default function getSeries(name, buckets, points) { diff --git a/src/plugins/vis_type_timeline/server/series_functions/helpers/get_series_list.js b/src/plugins/vis_type_timeline/server/series_functions/helpers/get_series_list.js index 2a6f9ea9c109..50e21e2e376a 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/helpers/get_series_list.js +++ b/src/plugins/vis_type_timeline/server/series_functions/helpers/get_series_list.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default function (list, overrides) { diff --git a/src/plugins/vis_type_timeline/server/series_functions/helpers/get_single_series_list.js b/src/plugins/vis_type_timeline/server/series_functions/helpers/get_single_series_list.js index 99d21cc24319..b1e95f9382a4 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/helpers/get_single_series_list.js +++ b/src/plugins/vis_type_timeline/server/series_functions/helpers/get_single_series_list.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import getSeries from './get_series'; import getSeriesList from './get_series_list'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/helpers/graphite_helper.js b/src/plugins/vis_type_timeline/server/series_functions/helpers/graphite_helper.js index d62199be7a7d..ceb19a0f819e 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/helpers/graphite_helper.js +++ b/src/plugins/vis_type_timeline/server/series_functions/helpers/graphite_helper.js @@ -1,32 +1,8 @@ /* + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 - * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. - */ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ + import dns from 'dns-sync'; import IPCIDR from 'ip-cidr'; /** diff --git a/src/plugins/vis_type_timeline/server/series_functions/helpers/graphite_helper.test.js b/src/plugins/vis_type_timeline/server/series_functions/helpers/graphite_helper.test.js index 32d27f7962f3..20053c7bc212 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/helpers/graphite_helper.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/helpers/graphite_helper.test.js @@ -1,31 +1,6 @@ /* + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 - * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. - */ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import * as helper from './graphite_helper'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/helpers/invoke_series_fn.js b/src/plugins/vis_type_timeline/server/series_functions/helpers/invoke_series_fn.js index a03a7852217c..d29e3608b64b 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/helpers/invoke_series_fn.js +++ b/src/plugins/vis_type_timeline/server/series_functions/helpers/invoke_series_fn.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // invokes a series_function with the specified arguments import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/hide.js b/src/plugins/vis_type_timeline/server/series_functions/hide.js index ed98f266497d..ffeae3b3235f 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/hide.js +++ b/src/plugins/vis_type_timeline/server/series_functions/hide.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import Chainable from '../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/hide.test.js b/src/plugins/vis_type_timeline/server/series_functions/hide.test.js index 4b9f67da3836..b190f4f343f0 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/hide.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/hide.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './hide'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/holt/index.js b/src/plugins/vis_type_timeline/server/series_functions/holt/index.js index 4da9a314d227..0b951e29eab4 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/holt/index.js +++ b/src/plugins/vis_type_timeline/server/series_functions/holt/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import _ from 'lodash'; import Chainable from '../../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/holt/lib/des.js b/src/plugins/vis_type_timeline/server/series_functions/holt/lib/des.js index 1259f72a33d0..66e03f5fc450 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/holt/lib/des.js +++ b/src/plugins/vis_type_timeline/server/series_functions/holt/lib/des.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/holt/lib/ses.js b/src/plugins/vis_type_timeline/server/series_functions/holt/lib/ses.js index 5a5bb66f3034..d4d397ccb61c 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/holt/lib/ses.js +++ b/src/plugins/vis_type_timeline/server/series_functions/holt/lib/ses.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* Single exponential smoothing. Assuming even interval */ diff --git a/src/plugins/vis_type_timeline/server/series_functions/holt/lib/tes.js b/src/plugins/vis_type_timeline/server/series_functions/holt/lib/tes.js index fe8be49a665f..bac9ecf048cf 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/holt/lib/tes.js +++ b/src/plugins/vis_type_timeline/server/series_functions/holt/lib/tes.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // Frequency = number of points per season // Season = 1 hump diff --git a/src/plugins/vis_type_timeline/server/series_functions/label.js b/src/plugins/vis_type_timeline/server/series_functions/label.js index 311beffe5e7d..c935d537081f 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/label.js +++ b/src/plugins/vis_type_timeline/server/series_functions/label.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import Chainable from '../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/label.test.js b/src/plugins/vis_type_timeline/server/series_functions/label.test.js index bbdad4598507..c6dc832914a3 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/label.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/label.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './label'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/legend.js b/src/plugins/vis_type_timeline/server/series_functions/legend.js index ca5bb8d8cdee..278ea2964b0a 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/legend.js +++ b/src/plugins/vis_type_timeline/server/series_functions/legend.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import Chainable from '../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/legend.test.js b/src/plugins/vis_type_timeline/server/series_functions/legend.test.js index d19ba2fbbca1..7d1332f975fc 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/legend.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/legend.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './legend'; const expect = require('chai').expect; diff --git a/src/plugins/vis_type_timeline/server/series_functions/lines.js b/src/plugins/vis_type_timeline/server/series_functions/lines.js index b19fe9a6573b..d65cededc3b6 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/lines.js +++ b/src/plugins/vis_type_timeline/server/series_functions/lines.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import Chainable from '../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/lines.test.js b/src/plugins/vis_type_timeline/server/series_functions/lines.test.js index c61d1a9b095a..14a62653881e 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/lines.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/lines.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './lines'; const expect = require('chai').expect; diff --git a/src/plugins/vis_type_timeline/server/series_functions/log.js b/src/plugins/vis_type_timeline/server/series_functions/log.js index e368ca24dcb7..9bf19dc6d168 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/log.js +++ b/src/plugins/vis_type_timeline/server/series_functions/log.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/log.test.js b/src/plugins/vis_type_timeline/server/series_functions/log.test.js index 407290597808..024a675e436e 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/log.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/log.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './log'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/max.js b/src/plugins/vis_type_timeline/server/series_functions/max.js index 6b000aa767fe..8c78c035b8c7 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/max.js +++ b/src/plugins/vis_type_timeline/server/series_functions/max.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import reduce from '../lib/reduce.js'; import Chainable from '../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/max.test.js b/src/plugins/vis_type_timeline/server/series_functions/max.test.js index 48f846396674..2a15ed2f5087 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/max.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/max.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './max'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/min.js b/src/plugins/vis_type_timeline/server/series_functions/min.js index e770d102de76..aa9e588eb10a 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/min.js +++ b/src/plugins/vis_type_timeline/server/series_functions/min.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import reduce from '../lib/reduce.js'; import Chainable from '../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/min.test.js b/src/plugins/vis_type_timeline/server/series_functions/min.test.js index a259948c88f8..4c75f807cda0 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/min.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/min.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './min'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/movingaverage.js b/src/plugins/vis_type_timeline/server/series_functions/movingaverage.js index fa6af252e597..49ada173d11d 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/movingaverage.js +++ b/src/plugins/vis_type_timeline/server/series_functions/movingaverage.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/movingaverage.test.js b/src/plugins/vis_type_timeline/server/series_functions/movingaverage.test.js index 669e05ff29ea..d93f4a36ec94 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/movingaverage.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/movingaverage.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './movingaverage'; const expect = require('chai').expect; diff --git a/src/plugins/vis_type_timeline/server/series_functions/movingstd.js b/src/plugins/vis_type_timeline/server/series_functions/movingstd.js index 8ceefb1c670b..ffecaa18be23 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/movingstd.js +++ b/src/plugins/vis_type_timeline/server/series_functions/movingstd.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/movingstd.test.js b/src/plugins/vis_type_timeline/server/series_functions/movingstd.test.js index c34f3bc80bbc..ec5be16157db 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/movingstd.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/movingstd.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './movingstd'; import moment from 'moment'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/multiply.js b/src/plugins/vis_type_timeline/server/series_functions/multiply.js index c213d7a373b3..9c53b81044e9 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/multiply.js +++ b/src/plugins/vis_type_timeline/server/series_functions/multiply.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import reduce from '../lib/reduce.js'; import Chainable from '../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/multiply.test.js b/src/plugins/vis_type_timeline/server/series_functions/multiply.test.js index aed8d3777dd6..fc1d1e352daf 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/multiply.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/multiply.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './multiply'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/opensearch/index.js b/src/plugins/vis_type_timeline/server/series_functions/opensearch/index.js index 933789fe2d7c..8837116bfc02 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/opensearch/index.js +++ b/src/plugins/vis_type_timeline/server/series_functions/opensearch/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import _ from 'lodash'; import { OPENSEARCH_SEARCH_STRATEGY } from '../../../../data/server'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/agg_body.js b/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/agg_body.js index 22b6b57c582d..bda96e23847d 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/agg_body.js +++ b/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/agg_body.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function buildAggBody(fieldName, scriptedFields) { const scriptedField = scriptedFields.find((field) => { return field.name === fieldName; diff --git a/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/agg_response_to_series_list.js b/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/agg_response_to_series_list.js index 9624e4ad6e39..f7f3dbd0b8a5 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/agg_response_to_series_list.js +++ b/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/agg_response_to_series_list.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export function timeBucketsToPairs(buckets) { diff --git a/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/build_request.js b/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/build_request.js index 382ebaa757fe..8436b4dbb04a 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/build_request.js +++ b/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/build_request.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import moment from 'moment'; import { buildAggBody } from './agg_body'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/create_date_agg.js b/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/create_date_agg.js index 81bfc003e090..9e814174ee53 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/create_date_agg.js +++ b/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/create_date_agg.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { buildAggBody } from './agg_body'; import { search } from '../../../../../data/server'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/opensearch/opensearch.test.js b/src/plugins/vis_type_timeline/server/series_functions/opensearch/opensearch.test.js index ba93a9e6b3a8..d733f577274a 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/opensearch/opensearch.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/opensearch/opensearch.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import opensearch from './index'; import tlConfigFn from '../fixtures/tl_config'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/points.js b/src/plugins/vis_type_timeline/server/series_functions/points.js index 1dd2d5874304..c01e7858dc74 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/points.js +++ b/src/plugins/vis_type_timeline/server/series_functions/points.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/points.test.js b/src/plugins/vis_type_timeline/server/series_functions/points.test.js index c8d1e5765099..f766370a98e5 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/points.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/points.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './points'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/precision.js b/src/plugins/vis_type_timeline/server/series_functions/precision.js index 8eef3dc532c1..b62196735091 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/precision.js +++ b/src/plugins/vis_type_timeline/server/series_functions/precision.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import reduce from '../lib/reduce.js'; import alter from '../lib/alter.js'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/precision.test.js b/src/plugins/vis_type_timeline/server/series_functions/precision.test.js index 0fd359565a58..311dc8b57231 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/precision.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/precision.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './precision'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/props.js b/src/plugins/vis_type_timeline/server/series_functions/props.js index 9216f31aa045..b693e9689e64 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/props.js +++ b/src/plugins/vis_type_timeline/server/series_functions/props.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import Chainable from '../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/quandl.js b/src/plugins/vis_type_timeline/server/series_functions/quandl.js index 4c069cc3b379..1205fe9b436e 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/quandl.js +++ b/src/plugins/vis_type_timeline/server/series_functions/quandl.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import _ from 'lodash'; import fetch from 'node-fetch'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/quandl.test.js b/src/plugins/vis_type_timeline/server/series_functions/quandl.test.js index b920bf61dde3..9e7d47605f3c 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/quandl.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/quandl.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parse } from 'query-string'; import fn from './quandl'; import moment from 'moment'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/range.js b/src/plugins/vis_type_timeline/server/series_functions/range.js index b63b1ced60e9..0c8850d97634 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/range.js +++ b/src/plugins/vis_type_timeline/server/series_functions/range.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/range.test.js b/src/plugins/vis_type_timeline/server/series_functions/range.test.js index baffa61c8376..c00f0f938c67 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/range.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/range.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './range'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/scale_interval.js b/src/plugins/vis_type_timeline/server/series_functions/scale_interval.js index 710d08533823..f7811bb53884 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/scale_interval.js +++ b/src/plugins/vis_type_timeline/server/series_functions/scale_interval.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import { toMS } from '../../common/lib/to_milliseconds'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/scale_interval.test.js b/src/plugins/vis_type_timeline/server/series_functions/scale_interval.test.js index fea8036d1064..8f1027afbb72 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/scale_interval.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/scale_interval.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './scale_interval'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/static.js b/src/plugins/vis_type_timeline/server/series_functions/static.js index 8870af0ab1af..0b9ca4011061 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/static.js +++ b/src/plugins/vis_type_timeline/server/series_functions/static.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import _ from 'lodash'; import Datasource from '../lib/classes/datasource'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/static.test.js b/src/plugins/vis_type_timeline/server/series_functions/static.test.js index 3f93f1c57029..611f6c032a1c 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/static.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/static.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './static'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/subtract.js b/src/plugins/vis_type_timeline/server/series_functions/subtract.js index 1b6d81f04fb0..9b98d21db0f3 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/subtract.js +++ b/src/plugins/vis_type_timeline/server/series_functions/subtract.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import reduce from '../lib/reduce.js'; import Chainable from '../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/subtract.test.js b/src/plugins/vis_type_timeline/server/series_functions/subtract.test.js index 9a604cf088f4..bf09c30818a3 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/subtract.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/subtract.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './subtract'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/sum.js b/src/plugins/vis_type_timeline/server/series_functions/sum.js index 16fa945e5ea7..58b2f88f8f44 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/sum.js +++ b/src/plugins/vis_type_timeline/server/series_functions/sum.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import reduce from '../lib/reduce.js'; import Chainable from '../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/sum.test.js b/src/plugins/vis_type_timeline/server/series_functions/sum.test.js index c9ef75758aee..abfbde400f0e 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/sum.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/sum.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './sum'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/title.js b/src/plugins/vis_type_timeline/server/series_functions/title.js index 3ea99df3c25c..39d17d0dab09 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/title.js +++ b/src/plugins/vis_type_timeline/server/series_functions/title.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import Chainable from '../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/title.test.js b/src/plugins/vis_type_timeline/server/series_functions/title.test.js index 90016b145374..10f4bac81dcd 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/title.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/title.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './title'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/trend/index.js b/src/plugins/vis_type_timeline/server/series_functions/trend/index.js index 7e16f6d1a679..dd3b8dd5e319 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/trend/index.js +++ b/src/plugins/vis_type_timeline/server/series_functions/trend/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import _ from 'lodash'; import Chainable from '../../lib/classes/chainable'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/trend/lib/regress.js b/src/plugins/vis_type_timeline/server/series_functions/trend/lib/regress.js index 0bd598da5bbc..9bc2cd1c5e06 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/trend/lib/regress.js +++ b/src/plugins/vis_type_timeline/server/series_functions/trend/lib/regress.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* * Algorithms from * copyright(c) 2013 Tom Alexander diff --git a/src/plugins/vis_type_timeline/server/series_functions/trim.js b/src/plugins/vis_type_timeline/server/series_functions/trim.js index e0a0139357a0..4167265e15c1 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/trim.js +++ b/src/plugins/vis_type_timeline/server/series_functions/trim.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import alter from '../lib/alter.js'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/trim.test.js b/src/plugins/vis_type_timeline/server/series_functions/trim.test.js index e8c55f34d981..51524815f083 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/trim.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/trim.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './trim'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/worldbank.js b/src/plugins/vis_type_timeline/server/series_functions/worldbank.js index 452f9aa7986a..ef1a83b70c24 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/worldbank.js +++ b/src/plugins/vis_type_timeline/server/series_functions/worldbank.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import _ from 'lodash'; import fetch from 'node-fetch'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/worldbank_indicators.js b/src/plugins/vis_type_timeline/server/series_functions/worldbank_indicators.js index 2a854965eb6a..61ff344a391c 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/worldbank_indicators.js +++ b/src/plugins/vis_type_timeline/server/series_functions/worldbank_indicators.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import _ from 'lodash'; import worldbank from './worldbank.js'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/yaxis.js b/src/plugins/vis_type_timeline/server/series_functions/yaxis.js index 4a830c823f30..d5b4eebf1283 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/yaxis.js +++ b/src/plugins/vis_type_timeline/server/series_functions/yaxis.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import _ from 'lodash'; import alter from '../lib/alter.js'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/yaxis.test.js b/src/plugins/vis_type_timeline/server/series_functions/yaxis.test.js index 051674e4a959..aa45f7b6ab0f 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/yaxis.test.js +++ b/src/plugins/vis_type_timeline/server/series_functions/yaxis.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fn from './yaxis'; import Bluebird from 'bluebird'; const expect = require('chai').expect; diff --git a/src/plugins/vis_type_timeline/server/types.ts b/src/plugins/vis_type_timeline/server/types.ts index 9b7784f824a7..f021ffeae00f 100644 --- a/src/plugins/vis_type_timeline/server/types.ts +++ b/src/plugins/vis_type_timeline/server/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { TimelineFunctionInterface, TimelineFunctionConfig } from './lib/classes/timeline_function'; diff --git a/src/plugins/vis_type_timeseries/common/agg_lookup.js b/src/plugins/vis_type_timeseries/common/agg_lookup.js index 1cfb32e762b5..5db372a79021 100644 --- a/src/plugins/vis_type_timeseries/common/agg_lookup.js +++ b/src/plugins/vis_type_timeseries/common/agg_lookup.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_timeseries/common/agg_lookup.test.js b/src/plugins/vis_type_timeseries/common/agg_lookup.test.js index c0c2a1f882c4..455108cdcaf5 100644 --- a/src/plugins/vis_type_timeseries/common/agg_lookup.test.js +++ b/src/plugins/vis_type_timeseries/common/agg_lookup.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isBasicAgg } from './agg_lookup'; describe('aggLookup', () => { diff --git a/src/plugins/vis_type_timeseries/common/basic_aggs.js b/src/plugins/vis_type_timeseries/common/basic_aggs.js index 200d6fc18ae2..8f02ca83766e 100644 --- a/src/plugins/vis_type_timeseries/common/basic_aggs.js +++ b/src/plugins/vis_type_timeseries/common/basic_aggs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const basicAggs = [ 'count', 'avg', diff --git a/src/plugins/vis_type_timeseries/common/calculate_label.js b/src/plugins/vis_type_timeseries/common/calculate_label.js index c35e04a0b0ab..3697fd35e5a1 100644 --- a/src/plugins/vis_type_timeseries/common/calculate_label.js +++ b/src/plugins/vis_type_timeseries/common/calculate_label.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { includes, startsWith } from 'lodash'; import { lookup } from './agg_lookup'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_timeseries/common/calculate_label.test.js b/src/plugins/vis_type_timeseries/common/calculate_label.test.js index 34a4d0dc0541..ab457df22867 100644 --- a/src/plugins/vis_type_timeseries/common/calculate_label.test.js +++ b/src/plugins/vis_type_timeseries/common/calculate_label.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { calculateLabel } from './calculate_label'; describe('calculateLabel(metric, metrics)', () => { diff --git a/src/plugins/vis_type_timeseries/common/constants.ts b/src/plugins/vis_type_timeseries/common/constants.ts index 812d71994a18..f97c4aaae3ad 100644 --- a/src/plugins/vis_type_timeseries/common/constants.ts +++ b/src/plugins/vis_type_timeseries/common/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const MAX_BUCKETS_SETTING = 'metrics:max_buckets'; export const INDEXES_SEPARATOR = ','; diff --git a/src/plugins/vis_type_timeseries/common/extract_index_patterns.js b/src/plugins/vis_type_timeseries/common/extract_index_patterns.js index 6c6f74c0bb97..0fff19becee6 100644 --- a/src/plugins/vis_type_timeseries/common/extract_index_patterns.js +++ b/src/plugins/vis_type_timeseries/common/extract_index_patterns.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { uniq } from 'lodash'; export function extractIndexPatterns(panel, excludedFields = {}) { 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 index dba2664d390e..d61ec86b39f2 100644 --- a/src/plugins/vis_type_timeseries/common/extract_index_patterns.test.js +++ b/src/plugins/vis_type_timeseries/common/extract_index_patterns.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { extractIndexPatterns } from './extract_index_patterns'; describe('extractIndexPatterns(vis)', () => { diff --git a/src/plugins/vis_type_timeseries/common/field_types.js b/src/plugins/vis_type_timeseries/common/field_types.js index 3c09d1a9b510..e6bc7330a381 100644 --- a/src/plugins/vis_type_timeseries/common/field_types.js +++ b/src/plugins/vis_type_timeseries/common/field_types.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const FIELD_TYPES = { BOOLEAN: 'boolean', DATE: 'date', diff --git a/src/plugins/vis_type_timeseries/common/get_last_value.js b/src/plugins/vis_type_timeseries/common/get_last_value.js index 113b1b997f57..6d71393912f4 100644 --- a/src/plugins/vis_type_timeseries/common/get_last_value.js +++ b/src/plugins/vis_type_timeseries/common/get_last_value.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isArray, last } from 'lodash'; const DEFAULT_VALUE = 0; 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 index f7292705b05f..7f383e52d58b 100644 --- a/src/plugins/vis_type_timeseries/common/get_last_value.test.js +++ b/src/plugins/vis_type_timeseries/common/get_last_value.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getLastValue } from './get_last_value'; describe('getLastValue(data)', () => { diff --git a/src/plugins/vis_type_timeseries/common/interval_regexp.js b/src/plugins/vis_type_timeseries/common/interval_regexp.js index 34adb08ab7f7..e259e97e1290 100644 --- a/src/plugins/vis_type_timeseries/common/interval_regexp.js +++ b/src/plugins/vis_type_timeseries/common/interval_regexp.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import dateMath from '@elastic/datemath'; export const GTE_INTERVAL_RE = new RegExp(`^>=([\\d\\.]+\\s*(${dateMath.units.join('|')}))$`); diff --git a/src/plugins/vis_type_timeseries/common/interval_regexp.test.js b/src/plugins/vis_type_timeseries/common/interval_regexp.test.js index 4f8439f2f8b0..e877c53d1484 100644 --- a/src/plugins/vis_type_timeseries/common/interval_regexp.test.js +++ b/src/plugins/vis_type_timeseries/common/interval_regexp.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { GTE_INTERVAL_RE, INTERVAL_STRING_RE } from './interval_regexp'; describe('interval_regexp', () => { diff --git a/src/plugins/vis_type_timeseries/common/metric_types.js b/src/plugins/vis_type_timeseries/common/metric_types.js index fa64a56f2494..75c448bed2a5 100644 --- a/src/plugins/vis_type_timeseries/common/metric_types.js +++ b/src/plugins/vis_type_timeseries/common/metric_types.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const METRIC_TYPES = { PERCENTILE: 'percentile', PERCENTILE_RANK: 'percentile_rank', diff --git a/src/plugins/vis_type_timeseries/common/model_options.js b/src/plugins/vis_type_timeseries/common/model_options.js index fd99819c5885..722784c56192 100644 --- a/src/plugins/vis_type_timeseries/common/model_options.js +++ b/src/plugins/vis_type_timeseries/common/model_options.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const MODEL_TYPES = { UNWEIGHTED: 'simple', WEIGHTED_EXPONENTIAL: 'ewma', diff --git a/src/plugins/vis_type_timeseries/common/model_options.test.js b/src/plugins/vis_type_timeseries/common/model_options.test.js index be009d537447..0c0d0eeea25a 100644 --- a/src/plugins/vis_type_timeseries/common/model_options.test.js +++ b/src/plugins/vis_type_timeseries/common/model_options.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MODEL_TYPES } from './model_options'; describe('src/legacy/core_plugins/metrics/common/model_options.js', () => { diff --git a/src/plugins/vis_type_timeseries/common/panel_types.ts b/src/plugins/vis_type_timeseries/common/panel_types.ts index 21326d93ba2a..628abbe600b6 100644 --- a/src/plugins/vis_type_timeseries/common/panel_types.ts +++ b/src/plugins/vis_type_timeseries/common/panel_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const PANEL_TYPES = { TABLE: 'table', GAUGE: 'gauge', diff --git a/src/plugins/vis_type_timeseries/common/timerange_data_modes.js b/src/plugins/vis_type_timeseries/common/timerange_data_modes.js index 51c65fce01c0..f0cb4c789b01 100644 --- a/src/plugins/vis_type_timeseries/common/timerange_data_modes.js +++ b/src/plugins/vis_type_timeseries/common/timerange_data_modes.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Time Range data modes. * @constant diff --git a/src/plugins/vis_type_timeseries/common/to_percentile_number.js b/src/plugins/vis_type_timeseries/common/to_percentile_number.js index 3226b0b2bda5..080817e4ba27 100644 --- a/src/plugins/vis_type_timeseries/common/to_percentile_number.js +++ b/src/plugins/vis_type_timeseries/common/to_percentile_number.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ const percentileNumberTest = /\d+\.\d+/; export const toPercentileNumber = (value) => diff --git a/src/plugins/vis_type_timeseries/common/types.ts b/src/plugins/vis_type_timeseries/common/types.ts index b7d69e18ac1a..31cb406d6059 100644 --- a/src/plugins/vis_type_timeseries/common/types.ts +++ b/src/plugins/vis_type_timeseries/common/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TypeOf } from '@osd/config-schema'; import { metricsItems, panel, seriesItems } from './vis_schema'; diff --git a/src/plugins/vis_type_timeseries/common/ui_restrictions.ts b/src/plugins/vis_type_timeseries/common/ui_restrictions.ts index de43a73441a7..a153c4329a5b 100644 --- a/src/plugins/vis_type_timeseries/common/ui_restrictions.ts +++ b/src/plugins/vis_type_timeseries/common/ui_restrictions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PANEL_TYPES } from './panel_types'; /** diff --git a/src/plugins/vis_type_timeseries/common/vis_schema.ts b/src/plugins/vis_type_timeseries/common/vis_schema.ts index 7d85c2733c19..c6c79b165727 100644 --- a/src/plugins/vis_type_timeseries/common/vis_schema.ts +++ b/src/plugins/vis_type_timeseries/common/vis_schema.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; import { TypeOptions } from '@osd/config-schema/target/types/types'; 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 index 5f2d9d6b59f9..aaa2b3034790 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; import { AddDeleteButtons } from './add_delete_buttons'; 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 index a5e8836474fa..caf5fe61394c 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { MouseEvent } from 'react'; import { EuiButtonIcon, EuiFlexGroup, EuiFlexItem, EuiToolTip } from '@elastic/eui'; import { i18n } from '@osd/i18n'; 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 index d079bde77bf7..81d9bb928825 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/agg.tsx +++ b/src/plugins/vis_type_timeseries/public/application/components/aggs/agg.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { HTMLAttributes } from 'react'; // @ts-ignore import { aggToComponent } from '../lib/agg_to_component'; 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 index bf3d57eca9a9..26237348a71e 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { last } from 'lodash'; import { EuiIcon, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; 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 index fe046be506f1..5a187d93e229 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { AggSelect } from './agg_select'; 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 index 107c2ae990c2..e3fdc5a6c3f3 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiComboBox, EuiComboBoxOptionOption } from '@elastic/eui'; import { i18n } from '@osd/i18n'; 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 index 53039c041afb..45e2bed66c1d 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/aggs.tsx +++ b/src/plugins/vis_type_timeseries/public/application/components/aggs/aggs.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { PureComponent } from 'react'; import { EuiDraggable, EuiDroppable } from '@elastic/eui'; 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 index 57e014374919..45078cdeedfa 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/calculation.js +++ b/src/plugins/vis_type_timeseries/public/application/components/aggs/calculation.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { useEffect } from 'react'; import { AggRow } from './agg_row'; 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 index 58d572ad546f..682c496cb64e 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { AggRow } from './agg_row'; 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 index d5771670065f..408ba9504ac1 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/derivative.js +++ b/src/plugins/vis_type_timeseries/public/application/components/aggs/derivative.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { AggSelect } from './agg_select'; 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 index b77bea9df06c..cf426266d101 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { EuiComboBox } from '@elastic/eui'; 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 index 259ae4728b96..2e83afe5480f 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { useCallback, useMemo } from 'react'; import { AggSelect } from './agg_select'; 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 index 4fa7938604a1..aeaf8fb883a0 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { FilterRatioAgg } from './filter_ratio'; 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 index 4caf82d95e87..750d377fac03 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { Agg } from './agg'; 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 index c19a7f806772..0049ca25b1f0 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/math.js +++ b/src/plugins/vis_type_timeseries/public/application/components/aggs/math.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect } from 'react'; import PropTypes from 'prop-types'; import { AggRow } from './agg_row'; 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 index ad8424d56297..3ab5ad8f939f 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { includes } from 'lodash'; 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 index 2f32b94c384e..6ad7b582860d 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Fragment } from 'react'; import { AggRow } from './agg_row'; 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 index 220ac43e5aea..178606495c8b 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/percentile.js +++ b/src/plugins/vis_type_timeseries/public/application/components/aggs/percentile.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { useEffect } from 'react'; import { AggSelect } from './agg_select'; 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 index 3c0458bda27b..01283482e6d5 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,8 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { PercentileRankAgg } from './percentile_rank'; 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 index 9f184cacd28a..c3aaaf48702f 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { ChangeEvent } from 'react'; import { get } from 'lodash'; import { FormattedMessage } from '@osd/i18n/react'; 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 index 7089ed39e095..e59b97a90c03 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { htmlIdGenerator, 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 index 9dae7663baba..d919f505ea25 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { last } from 'lodash'; 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 index f195657262a4..e5d33306bef3 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import _ from 'lodash'; 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 index e9fb1285c796..e40f668cc3c8 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { AggSelect } from './agg_select'; 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 index ab7be43d3e9d..c187f57d5087 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { AggSelect } from './agg_select'; 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 index 989e2cec922c..d0941e8c2369 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { AggSelect } from './agg_select'; 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 index 1d938b26ad68..a1b5c029db02 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { AggSelect } from './agg_select'; 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 index bd119a6c3914..6f41dd2e7d3e 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/static.js +++ b/src/plugins/vis_type_timeseries/public/application/components/aggs/static.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { AggSelect } from './agg_select'; 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 index 34daae1f782e..d99390c747af 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { AggSelect } from './agg_select'; 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 index 22abff0dadfe..35256ba27609 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { AggSelect } from './agg_select'; 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 index ce3dc097980c..408de8b6773b 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { AggRow } from './agg_row'; 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 index 9a1aa58a05a4..5816bfa1ec1e 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiCode, EuiTitle } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; 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 index 5d7a25247308..fbe8614f8fe9 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { AggRow } from './agg_row'; import { AggSelect } from './agg_select'; 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 index ed1f7105377d..db361a201685 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiCode, EuiTitle } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; 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 index cbab4602de3a..36eef85abac9 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/vars.js +++ b/src/plugins/vis_type_timeseries/public/application/components/aggs/vars.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import uuid from 'uuid'; 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 index 39bc0e177c76..8a473c396511 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import _ from 'lodash'; 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 index 501d8003ef1e..456e334b36b2 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { ColorPicker, ColorPickerProps } from './color_picker'; import { mount } from 'enzyme'; 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 index eeb3ee1fef22..196dbc6257a3 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/color_picker.tsx +++ b/src/plugins/vis_type_timeseries/public/application/components/color_picker.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable jsx-a11y/click-events-have-key-events */ // The color picker is not yet accessible. 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 index c8892e022403..d05b00819fd5 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/color_rules.js +++ b/src/plugins/vis_type_timeseries/public/application/components/color_rules.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component, Fragment } from 'react'; import _ from 'lodash'; 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 index 2005f023aed4..90f03b4e894d 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { collectionActions } from './lib/collection_actions'; import { ColorRules } from './color_rules'; 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 index 5c75b99f6a8c..50ae4bf054e5 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/error.js b/src/plugins/vis_type_timeseries/public/application/components/error.js index e8e42db49956..0d638ed9151d 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/error.js +++ b/src/plugins/vis_type_timeseries/public/application/components/error.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiIcon, EuiSpacer, EuiText } from '@elastic/eui'; import PropTypes from 'prop-types'; import React from 'react'; 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 index 93cfd29d7d87..1720a6a0ab50 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { EuiComboBox, EuiIcon } from '@elastic/eui'; 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 index 18175eb7ad7f..0171f3a07abe 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { IconSelect, IconView, ICONS } from './icon_select'; 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 index c6eab5ac44ca..b28be12ffc33 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import PropTypes from 'prop-types'; import React, { useContext } from 'react'; 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 index 560e427f1d2a..219de0311de8 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MovingAverageAgg } from '../aggs/moving_average'; import { DerivativeAgg } from '../aggs/derivative'; import { CalculationAgg } from '../aggs/calculation'; 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 index 8d06b31c5d5f..df34f8968e58 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; function getAncestors(siblings, item) { 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 index 9d5e50f92d5b..1240ad111697 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { calculateSiblings } from './calculate_siblings'; describe('calculateSiblings(metrics, metric)', () => { 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 index 1ab64893c0b6..8ba3fae42dae 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import uuid from 'uuid'; const newFn = () => ({ id: uuid.v1() }); 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 index d53a88f69a92..ea3fbd7e6cef 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { handleChange, handleAdd, handleDelete } from './collection_actions'; describe('collection actions', () => { 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 index 67d1d61e333d..ed4fd7bfe614 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { set } from '@elastic/safer-lodash-set'; import _ from 'lodash'; import { getLastValue } from '../../../../common/get_last_value'; 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 index 03817e444652..b98a40c743a9 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - describe('convertSeriesToVars(series, model)', () => { test('returns and object', () => {}); }); 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 index 1c2c95f4e096..93db6e246196 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export const createChangeHandler = (handleChange, model) => (part) => { 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 index 4588707b0aa3..12e43ba6af22 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { detectIE } from './detect_ie'; 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 index 52d9686ef068..245c43573c8d 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createNumberHandler } from './create_number_handler'; describe('createNumberHandler()', () => { 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 index 84ed97ce9fb3..c8710837c173 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export const createSelectHandler = (handleChange) => { 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 index 16a73ff5e846..0c911d13968a 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createSelectHandler } from './create_select_handler'; describe('createSelectHandler()', () => { 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 index 13e8c43ba061..d3f4e09ee297 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { detectIE } from './detect_ie'; 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 index aa8877e414bc..4c28d97ffbd1 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createTextHandler } from './create_text_handler'; describe('createTextHandler()', () => { 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 index 8d1f00c1712d..33ab7d775e90 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; function getFormat(interval, rules = []) { 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 index 1a8912a4fc1e..d04d9d1b1607 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function detectIE() { const ua = window.navigator.userAgent; 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 index f7361b4c25b3..826ace0b1b49 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/lib/durations.js +++ b/src/plugins/vis_type_timeseries/public/application/components/lib/durations.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; const durationBaseOptions = [ 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 index b3a927a9e068..9ea8cdefbb76 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { isDuration } from './durations'; describe('durations', () => { 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 index 2655b82b8f9e..f2a2aa506a0c 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { convertIntervalIntoUnit } from './get_interval'; import { i18n } from '@osd/i18n'; 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 index 472a31b755e4..7a58e452fa82 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getAxisLabelString } from './get_axis_label_string'; describe('getAxisLabelString(interval)', () => { 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 index c8347660e1b9..69a12f2bb91f 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getUISettings } from '../../../services'; import { UI_SETTINGS } from '../../../../../data/public'; 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 index ea28de7d6b5a..bc3876482b49 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function getDisplayName(Component) { return Component.displayName || Component.name || 'Component'; } 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 index 15d23cfd2d1d..6969ecefbe0a 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import moment from 'moment'; import { i18n } from '@osd/i18n'; import { get } from 'lodash'; 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 index 77b0471f5c1c..f20e0e2feade 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OSD_FIELD_TYPES } from '../../../../../../plugins/data/public'; import { METRIC_TYPES } from '../../../../common/metric_types'; 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 index 9e8911f0925d..8ae2cb82b46c 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getSupportedFieldsByMetricType } from './get_supported_fields_by_metric_type'; import { OSD_FIELD_TYPES } from '../../../../../../plugins/data/public'; 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 index 7e95fc760d2f..58d721a5965d 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import uuid from 'uuid'; import { MetricsItemsSchema } from '../../../../common/types'; 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 index fa93b658eb21..24531e201e0d 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import uuid from 'uuid'; import _ from 'lodash'; import { newMetricAggFn } from './new_metric_agg_fn'; 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 index bd6b1d0df0e5..5c08a5d723eb 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import uuid from 'uuid'; import _ from 'lodash'; 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 index cfe80a2062cf..2c3500727984 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import uuid from 'uuid'; import { reIdSeries } from './re_id_series'; 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 index cabbcf85f4f5..ec5aff72965d 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/lib/reorder.js +++ b/src/plugins/vis_type_timeseries/public/application/components/lib/reorder.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export const reorder = (list, startIndex, endIndex) => { const result = Array.from(list); const [removed] = result.splice(startIndex, 1); 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 index 07fb047353e6..4abbc7fc72c1 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import handlebars from 'handlebars/dist/handlebars'; import { i18n } from '@osd/i18n'; 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 index ce58c3752249..a577dde0ed8e 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { replaceVars } from './replace_vars'; describe('replaceVars(str, args, vars)', () => { 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 index da62de4e0a6a..f845d2f4fabd 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { newMetricAggFn } from './new_metric_agg_fn'; import { isBasicAgg } from '../../../../common/agg_lookup'; 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 index c9fb3f3e4a7a..63a81562824f 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/lib/stacked.js +++ b/src/plugins/vis_type_timeseries/public/application/components/lib/stacked.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const isPercentDisabled = (seriesQuantity) => seriesQuantity < 2; 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 index d77852722d27..1ff8c867fb31 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import handlebars from 'handlebars/dist/handlebars'; import { isNumber } from 'lodash'; import { inputFormats, outputFormats, isDuration } from '../lib/durations'; 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 index 609475cb1e0e..d826c537b207 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createTickFormatter } from './tick_formatter'; import { getFieldFormatsRegistry } from '../../../../../data/public/test_utils'; import { setFieldFormats } from '../../../services'; 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 index 2003d70c86ae..f793e1ff724a 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/markdown_editor.js +++ b/src/plugins/vis_type_timeseries/public/application/components/markdown_editor.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable jsx-a11y/anchor-is-valid, jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */ // Markdown builder is not yet properly accessible 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 index f1efdd145eac..5e080542b210 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/no_data.js +++ b/src/plugins/vis_type_timeseries/public/application/components/no_data.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { FormattedMessage } from '@osd/i18n/react'; import { EuiIcon, EuiSpacer, EuiText } from '@elastic/eui'; 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 index e487ee0aaa33..d76e42b65207 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import PropTypes from 'prop-types'; import React, { useState, useEffect } from 'react'; import { TimeseriesPanelConfig as timeseries } from './panel_config/timeseries'; 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 index 53f61eac9566..cf0130084720 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { SeriesEditor } from '../series_editor'; 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 index b7390b7c2c40..5037b87de35d 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; 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 index ba07942c5e5c..e7bbb54d7001 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { SeriesEditor } from '../series_editor'; 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 index 1d1ec8a402d4..247342754cdb 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { SeriesEditor } from '../series_editor'; 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 index e165670633f1..2ed3337b77fc 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { FieldSelect } from '../aggs/field_select'; 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 index c12e4ec239ad..d4eaec9c4da2 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { SeriesEditor } from '../series_editor'; 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 index ca58aaa7de34..14a47bc11c7c 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { SeriesEditor } from '../series_editor'; 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 index 092376a34845..043643c6fd8f 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useContext } from 'react'; import { CoreStartContext } from '../contexts/query_input_bar_context'; import { QueryStringInput } from '../../../../../plugins/data/public'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/series.js b/src/plugins/vis_type_timeseries/public/application/components/series.js index 81560a537b51..0d194257d1bc 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/series.js +++ b/src/plugins/vis_type_timeseries/public/application/components/series.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { assign, get } from 'lodash'; 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 index b7995203e4dd..6d6f9df1c2d0 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/series_config.js +++ b/src/plugins/vis_type_timeseries/public/application/components/series_config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { DataFormatPicker } from './data_format_picker'; 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 index 25b57b0b3620..192c4c85c996 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { PureComponent } from 'react'; import { EuiFlexItem, EuiToolTip, EuiIcon } from '@elastic/eui'; import { i18n } from '@osd/i18n'; 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 index 32f92af9aefa..16cba9410e27 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/series_editor.js +++ b/src/plugins/vis_type_timeseries/public/application/components/series_editor.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { find } from 'lodash'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/split.js b/src/plugins/vis_type_timeseries/public/application/components/split.js index c43191495609..ee5fd8b3c338 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/split.js +++ b/src/plugins/vis_type_timeseries/public/application/components/split.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import uuid from 'uuid'; 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 index 77b4194c5271..c482e3763ac9 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/splits/everything.js +++ b/src/plugins/vis_type_timeseries/public/application/components/splits/everything.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createSelectHandler } from '../lib/create_select_handler'; import { GroupBySelect } from './group_by_select'; import PropTypes from 'prop-types'; 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 index 037eaa8a26d1..8e615036f07c 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/splits/filter.js +++ b/src/plugins/vis_type_timeseries/public/application/components/splits/filter.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createSelectHandler } from '../lib/create_select_handler'; import { GroupBySelect } from './group_by_select'; import PropTypes from 'prop-types'; 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 index e9a1e1defc07..7e1a392c2efb 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import _ from 'lodash'; 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 index 8d733d13fbc1..42a80f0ca481 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/splits/filters.js +++ b/src/plugins/vis_type_timeseries/public/application/components/splits/filters.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createSelectHandler } from '../lib/create_select_handler'; import { GroupBySelect } from './group_by_select'; import { FilterItems } from './filter_items'; 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 index c3af30e6958f..10b0891ada5d 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { EuiComboBox } from '@elastic/eui'; 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 index 416741085719..2ddc214de5bf 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { get, find } from 'lodash'; 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 index aa9c39a8dd9b..dc5e1f17c1ed 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { SplitByTermsUI } from './terms'; 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 index 679a5ae2fa5d..ca956553b8a9 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createSelectHandler } from '../lib/create_select_handler'; import { GroupBySelect } from './group_by_select'; import PropTypes from 'prop-types'; 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 index 5f25bcdad340..2569bd9d1f1e 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; export const bombIcon = () => ( 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 index 9d277977f00e..caa1eff24231 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; export const fireIcon = () => ( 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 index 4f7dfaf88dde..e3d78bd0a824 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import * as Rx from 'rxjs'; 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 index 8b096129423a..34090fc0064c 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { lazy, Suspense } from 'react'; import { EuiLoadingSpinner } from '@elastic/eui'; 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 index 6a310351c669..958ac1c76218 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { get } from 'lodash'; 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 index a809b2c62a2b..e2953d4022b7 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { EuiTabs, EuiTab } from '@elastic/eui'; 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 index 597bf6ac272f..797f7edecd78 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { ColorPicker } from '../../color_picker'; 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 index f6151c01de49..8a32de022946 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { GaugeSeries } from './series'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; 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 index 8ca40961b159..dcdabccf77c1 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { visWithSplits } from '../../vis_with_splits'; 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 index 0a3344d9d143..6452a54e6cbb 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { AddDeleteButtons } from '../../add_delete_buttons'; 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 index 48bd671306bd..6e3c3ec65b00 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; 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 index ece6c5fb88b8..d60c0f071915 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { ColorPicker } from '../../color_picker'; 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 index 13c48e9d3233..6471233ad34d 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { MetricSeries } from './series'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; 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 index 7b55e5bae362..3f7f1b4837a1 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { visWithSplits } from '../../vis_with_splits'; 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 index d9fbe0bb016b..f251adfeaa72 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component } from 'react'; import PropTypes from 'prop-types'; import uuid from 'uuid'; 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 index 5d6c6e9ed062..118020d4c6ce 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { basicAggs } from '../../../../../common/basic_aggs'; export function isSortable(metric) { 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 index e970bc2706ab..b27590b84013 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import PropTypes from 'prop-types'; import { AddDeleteButtons } from '../../add_delete_buttons'; 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 index e82bf0aea6c4..c227b5a1f91f 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _, { isArray, last, get } from 'lodash'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; 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 index 088fa9405896..dc733a0c735e 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { DataFormatPicker } from '../../data_format_picker'; 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 index bcfd45ceaae5..8930fc512aca 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { ColorPicker } from '../../color_picker'; 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 index d3ed2506dbe0..0fd58769ea76 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import reactCSS from 'reactcss'; 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 index 2bd694711115..b2760a1ff442 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import { ColorPicker } from '../../color_picker'; 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 index 5d19d166e25b..8463a79936dc 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getCoreStart } from '../../../../services'; import { createTickFormatter } from '../../lib/tick_formatter'; import { TopN } from '../../../visualizations/views/top_n'; 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 index 84e3029b7dbd..2763f29ad17c 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { getDisplayName } from './lib/get_display_name'; import { last, findIndex, first } from 'lodash'; diff --git a/src/plugins/vis_type_timeseries/public/application/components/visualization.js b/src/plugins/vis_type_timeseries/public/application/components/visualization.js index 3ebd4beb4203..c4f4261a233b 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/visualization.js +++ b/src/plugins/vis_type_timeseries/public/application/components/visualization.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import _ from 'lodash'; 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 index 069fba8e51de..9e88f5e7460f 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/yes_no.js +++ b/src/plugins/vis_type_timeseries/public/application/components/yes_no.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React from 'react'; import _ from 'lodash'; 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 index bcd4b157031e..cdca3c3039c9 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { expect } from 'chai'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; 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 index e368733f7d9c..512a06e6629c 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; export const FormValidationContext = React.createContext({}); 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 index 4dd8e9e93eb7..a19abbfd4104 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { IUiSettingsClient, SavedObjectsClientContract } from 'src/core/public'; import { IStorageWrapper } from 'src/plugins/opensearch_dashboards_utils/public'; 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 index 1104feea1ad2..78473b5979a4 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; export const VisDataContext = React.createContext({}); diff --git a/src/plugins/vis_type_timeseries/public/application/editor_controller.js b/src/plugins/vis_type_timeseries/public/application/editor_controller.js index d0921fc80d33..c1778c65ff9d 100644 --- a/src/plugins/vis_type_timeseries/public/application/editor_controller.js +++ b/src/plugins/vis_type_timeseries/public/application/editor_controller.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { fetchIndexPatternFields } from './lib/fetch_fields'; diff --git a/src/plugins/vis_type_timeseries/public/application/index.ts b/src/plugins/vis_type_timeseries/public/application/index.ts index 50d11f0d393c..fe7fbfcbd3cf 100644 --- a/src/plugins/vis_type_timeseries/public/application/index.ts +++ b/src/plugins/vis_type_timeseries/public/application/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore export { EditorController } from './editor_controller'; export * from './lib'; 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 index 8e0b0f61d133..e2128d77c758 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { RESTRICTIONS_KEYS, 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 index c0dd51b7cdba..f5a10e973f46 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createBrushHandler } from './create_brush_handler'; import { ExprVisAPIEvents } from '../../../../visualizations/public'; 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 index 10bb580300a9..324b227e2ccc 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExprVisAPIEvents } from '../../../../visualizations/public'; export const createBrushHandler = (applyFilter: ExprVisAPIEvents['applyFilter']) => ( 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 index 6915938f95ba..cac4c910fee4 100644 --- a/src/plugins/vis_type_timeseries/public/application/lib/fetch_fields.js +++ b/src/plugins/vis_type_timeseries/public/application/lib/fetch_fields.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; import { extractIndexPatterns } from '../../../common/extract_index_patterns'; import { getCoreStart } from '../../services'; 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 index e5a86dae7872..d76c1b969c7e 100644 --- a/src/plugins/vis_type_timeseries/public/application/lib/get_timezone.ts +++ b/src/plugins/vis_type_timeseries/public/application/lib/get_timezone.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment-timezone'; import { IUiSettingsClient } from 'opensearch-dashboards/public'; diff --git a/src/plugins/vis_type_timeseries/public/application/lib/index.ts b/src/plugins/vis_type_timeseries/public/application/lib/index.ts index 412ca22a3280..2083f5b9e16d 100644 --- a/src/plugins/vis_type_timeseries/public/application/lib/index.ts +++ b/src/plugins/vis_type_timeseries/public/application/lib/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore export { validateInterval } from './validate_interval'; export { getTimezone } from './get_timezone'; 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 index 35132a7a3629..e33bfe5b2295 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import color from 'color'; import { getUISettings } from '../../services'; 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 index 15dd3aff0b6b..ac1fe3a200c7 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { GTE_INTERVAL_RE } from '../../../../../plugins/vis_type_timeseries/common/interval_regexp'; import { i18n } from '@osd/i18n'; import { search } from '../../../../../plugins/data/public'; 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 index ad7d9e9e1ad0..a9a82d5c2bef 100644 --- a/src/plugins/vis_type_timeseries/public/application/visualizations/constants/chart.js +++ b/src/plugins/vis_type_timeseries/public/application/visualizations/constants/chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const COLORS = { LINE_COLOR: 'rgba(105,112,125,0.2)', TEXT_COLOR: 'rgba(0,0,0,0.4)', 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 index 419aaee98ef5..f7bbd9bffed1 100644 --- a/src/plugins/vis_type_timeseries/public/application/visualizations/constants/icons.js +++ b/src/plugins/vis_type_timeseries/public/application/visualizations/constants/icons.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { bombIcon } from '../../components/svg/bomb_icon'; import { fireIcon } from '../../components/svg/fire_icon'; 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 index ed0d961b345d..098768bb5604 100644 --- a/src/plugins/vis_type_timeseries/public/application/visualizations/constants/index.js +++ b/src/plugins/vis_type_timeseries/public/application/visualizations/constants/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './chart'; export * from './icons'; 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 index 5262e4f9ba7a..8e4035d5a5ce 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // TODO: Remove bus when action/triggers are available with LegacyPluginApi or metric is converted to Embeddable import $ from 'jquery'; 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 index 0b6f54a07218..f956c33bf5a5 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function calcDimensions(el, scale) { const newWidth = Math.floor(el.clientWidth * scale); const newHeight = Math.floor(el.clientHeight * scale); 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 index 464dc4799d8c..6981e8e8abb4 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { findDOMNode } from 'react-dom'; import { calcDimensions } from './calc_dimensions'; 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 index 7d2af0b8bc87..7609c1d55181 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export const getValueBy = (fn, data) => { 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 index 8030dc448367..9badefbc507d 100644 --- a/src/plugins/vis_type_timeseries/public/application/visualizations/views/annotation.js +++ b/src/plugins/vis_type_timeseries/public/application/visualizations/views/annotation.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import moment from 'moment'; 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 index 40f241621462..282fd2fa8431 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; 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 index e8d382904280..a75a1e79dc08 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import _ from 'lodash'; 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 index 0a6b6ebf9155..748529a7314e 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import _ from 'lodash'; 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 index 5068bc690d97..051bde8d9231 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const CurveType = { CURVE_CARDINAL: 0, CURVE_NATURAL: 1, 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 index 944b24333170..24d73450c2a5 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { ScaleType, AreaSeries } from '@elastic/charts'; import { getAreaStyles } from '../utils/series_styles'; 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 index 8f8a5d3faba2..ac55d07fef5f 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { AreaSeriesDecorator } from './area_decorator'; 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 index ea1a73520181..8c6970f4458f 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { ScaleType, BarSeries } from '@elastic/charts'; import { getBarStyles } from '../utils/series_styles'; 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 index 1645f34475eb..3109052b3945 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { BarSeriesDecorator } from './bar_decorator'; 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 index 153bb8861db1..d5f8f6e35ada 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useRef } from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; 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 index 4d4cff9d5759..2ef2f0fadc89 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; const Chart = { 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 index d0fc09dfdf56..af4610aa7a06 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ChartsEntities } from './charts'; describe('src/legacy/core_plugins/metrics/public/visualizations/views/timeseries/model/charts.js', () => { 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 index b59657e05924..0533c969297c 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CurveType } from '@elastic/charts'; const DEFAULT_COLOR = '#000'; 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 index 0c72545593de..f73b8a80043a 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getBarStyles, getAreaStyles } from './series_styles'; describe('src/legacy/core_plugins/metrics/public/visualizations/views/timeseries/utils/series_styles.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 index 7bc5cba022be..e38767ae3509 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { STACK_ACCESSORS, STACKED_OPTIONS } from '../../../constants'; export const getStackAccessors = (stack) => { 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 index 84402f289f8c..eb285f44d93d 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getStackAccessors } from './stack_format'; import { X_ACCESSOR_INDEX, STACKED_OPTIONS } from '../../../constants'; 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 index a8287e26d3ac..1a82a1b700a6 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getBaseTheme } from './theme'; import { LIGHT_THEME, DARK_THEME } from '@elastic/charts'; 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 index f4b5f21130f1..b094d5f496ec 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ // @ts-ignore import colorJS from 'color'; import { Theme, LIGHT_THEME, DARK_THEME } from '@elastic/charts'; 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 index 1aa46221effa..2077ca927d19 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { getLastValue } from '../../../../../../plugins/vis_type_timeseries/common/get_last_value'; diff --git a/src/plugins/vis_type_timeseries/public/index.ts b/src/plugins/vis_type_timeseries/public/index.ts index ef4f9d5ed7d0..2e02fa431309 100644 --- a/src/plugins/vis_type_timeseries/public/index.ts +++ b/src/plugins/vis_type_timeseries/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from '../../../core/public'; import { MetricsPlugin as Plugin } from './plugin'; diff --git a/src/plugins/vis_type_timeseries/public/metrics_fn.ts b/src/plugins/vis_type_timeseries/public/metrics_fn.ts index a9fa3730c9fc..f277e66f7886 100644 --- a/src/plugins/vis_type_timeseries/public/metrics_fn.ts +++ b/src/plugins/vis_type_timeseries/public/metrics_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { i18n } from '@osd/i18n'; import { diff --git a/src/plugins/vis_type_timeseries/public/metrics_type.ts b/src/plugins/vis_type_timeseries/public/metrics_type.ts index c5f2289a491a..3562684a0b1b 100644 --- a/src/plugins/vis_type_timeseries/public/metrics_type.ts +++ b/src/plugins/vis_type_timeseries/public/metrics_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; // @ts-ignore diff --git a/src/plugins/vis_type_timeseries/public/plugin.ts b/src/plugins/vis_type_timeseries/public/plugin.ts index de5768d0652b..da565a160164 100644 --- a/src/plugins/vis_type_timeseries/public/plugin.ts +++ b/src/plugins/vis_type_timeseries/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './application/index.scss'; import { diff --git a/src/plugins/vis_type_timeseries/public/request_handler.js b/src/plugins/vis_type_timeseries/public/request_handler.js index ed090ba8cdf9..2785f65e869c 100644 --- a/src/plugins/vis_type_timeseries/public/request_handler.js +++ b/src/plugins/vis_type_timeseries/public/request_handler.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getTimezone, validateInterval } from './application'; import { getUISettings, getDataStart, getCoreStart } from './services'; import { MAX_BUCKETS_SETTING } from '../common/constants'; diff --git a/src/plugins/vis_type_timeseries/public/services.ts b/src/plugins/vis_type_timeseries/public/services.ts index e16e8528d774..15532bc4fd6f 100644 --- a/src/plugins/vis_type_timeseries/public/services.ts +++ b/src/plugins/vis_type_timeseries/public/services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { I18nStart, SavedObjectsStart, IUiSettingsClient, CoreStart } from 'src/core/public'; import { createGetterSetter } from '../../opensearch_dashboards_utils/public'; import { ChartsPluginSetup } from '../../charts/public'; diff --git a/src/plugins/vis_type_timeseries/public/test_utils/index.ts b/src/plugins/vis_type_timeseries/public/test_utils/index.ts index 51eab97827ce..92ff3544611a 100644 --- a/src/plugins/vis_type_timeseries/public/test_utils/index.ts +++ b/src/plugins/vis_type_timeseries/public/test_utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const UI_RESTRICTIONS = { '*': true }; export const INDEX_PATTERN = 'some-pattern'; export const FIELDS = { diff --git a/src/plugins/vis_type_timeseries/public/types.ts b/src/plugins/vis_type_timeseries/public/types.ts index 4be4deac3fb9..abfa1701832d 100644 --- a/src/plugins/vis_type_timeseries/public/types.ts +++ b/src/plugins/vis_type_timeseries/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiDraggable } from '@elastic/eui'; diff --git a/src/plugins/vis_type_timeseries/server/config.ts b/src/plugins/vis_type_timeseries/server/config.ts index 176ba7fb5eb1..72d567c7a7b5 100644 --- a/src/plugins/vis_type_timeseries/server/config.ts +++ b/src/plugins/vis_type_timeseries/server/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export const config = schema.object({ diff --git a/src/plugins/vis_type_timeseries/server/index.ts b/src/plugins/vis_type_timeseries/server/index.ts index 97c020a86d53..e561882c576e 100644 --- a/src/plugins/vis_type_timeseries/server/index.ts +++ b/src/plugins/vis_type_timeseries/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, PluginConfigDescriptor } from 'src/core/server'; import { VisTypeTimeseriesConfig, config as configSchema } from './config'; import { VisTypeTimeseriesPlugin } from './plugin'; diff --git a/src/plugins/vis_type_timeseries/server/lib/get_fields.ts b/src/plugins/vis_type_timeseries/server/lib/get_fields.ts index 5577bfd20942..1752d3f91f86 100644 --- a/src/plugins/vis_type_timeseries/server/lib/get_fields.ts +++ b/src/plugins/vis_type_timeseries/server/lib/get_fields.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { uniqBy, get } from 'lodash'; import { first, map } from 'rxjs/operators'; import { OpenSearchDashboardsRequest, RequestHandlerContext } from 'opensearch-dashboards/server'; 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 index a50776f2aa96..708574820a37 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FakeRequest, RequestHandlerContext } from 'opensearch-dashboards/server'; import _ from 'lodash'; import { first, map } from 'rxjs/operators'; 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 index c056b28b177a..7807d0fb54c3 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { convertIntervalToUnit, parseInterval, 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 index 122588522e94..b318a06755f0 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { DefaultSearchCapabilities } from './default_search_capabilities'; describe('DefaultSearchCapabilities', () => { 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 index d6a04722aa47..486b18f25f12 100644 --- a/src/plugins/vis_type_timeseries/server/lib/search_strategies/index.ts +++ b/src/plugins/vis_type_timeseries/server/lib/search_strategies/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SearchStrategyRegistry } from './search_strategy_registry'; 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 index e9ee97af8e5f..83b552144405 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SearchStrategyRegistry } from './search_strategy_registry'; // @ts-ignore import { AbstractSearchStrategy } from './strategies/abstract_search_strategy'; 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 index 7db5f6cb9032..7a0d2dcae093 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { AbstractSearchStrategy } from './strategies/abstract_search_strategy'; // @ts-ignore import { DefaultSearchStrategy } from './strategies/default_search_strategy'; 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 index e955c43b6996..fa130462e78d 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { AbstractSearchStrategy } from './abstract_search_strategy'; describe('AbstractSearchStrategy', () => { 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 index 132e1e6d14c9..6b69628353ac 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { RequestHandlerContext, FakeRequest, 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 index dbb56e84f58e..343572f718d9 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OPENSEARCH_SEARCH_STRATEGY } from '../../../../../data/server'; import { AbstractSearchStrategy } from './abstract_search_strategy'; import { DefaultSearchCapabilities } from '../default_search_capabilities'; 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 index 243e5a64d191..b86e99f2a564 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { DefaultSearchStrategy } from './default_search_strategy'; describe('DefaultSearchStrategy', () => { 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 index b160a78bd829..bae306542275 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { buildProcessorFunction } from '../build_processor_function'; import { processors } from '../request_processors/annotations'; 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 index 85f4dd095491..95f40d74741d 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { buildAnnotationRequest } from './build_request_body'; import { getOpenSearchShardTimeout } from '../helpers/get_opensearch_shard_timeout'; import { getIndexPatternObject } from '../helpers/get_index_pattern'; 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 index 60fa74e99f2c..e5b7989f95fa 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildProcessorFunction } from './build_processor_function'; describe('buildProcessorFunction(chain, ...args)', () => { 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 index 8ce36e04dd07..4baa8739f08e 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function buildProcessorFunction(chain: any[], ...args: any) { return chain.reduceRight( (next, fn) => fn(...args)(next), 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 index ab2b415e90e9..16b526d1ba2e 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ 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 index 2c1a2b564734..bb40a97cf419 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const DEFAULT_TIME_FIELD = '@timestamp'; export function getIntervalAndTimefield(panel, series = {}, indexPatternObject) { 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 index 2000333f5a08..50d59f81d70f 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getIntervalAndTimefield } from './get_interval_and_timefield'; describe('getIntervalAndTimefield(panel, series)', () => { 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 index 6df55c23d61b..91c75762ad9e 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function getPanelData(req: any): any; 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 index bcaaac582dea..924066155f8e 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getTableData } from './get_table_data'; import { getSeriesData } from './get_series_data'; 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 index e0ec24bf0164..a5c8a239d2b0 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { getSeriesRequestParams } from './series/get_request_params'; import { handleResponseBody } from './series/handle_response_body'; import { handleErrorResponse } from './handle_error_response'; 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 index 5c3ff7f25f6e..0b744638c3d8 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { buildRequestBody } from './table/build_request_body'; import { handleErrorResponse } from './handle_error_response'; import { get } from 'lodash'; 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 index 8ef1b705ff3e..a06eb639ec9c 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const handleErrorResponse = (panel) => (error) => { if (error.isBoom && error.status === 401) throw error; const result = {}; 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 index bdccb4cf8983..1684128122d5 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getBucketsPath } from './get_buckets_path'; import { parseInterval } from './parse_interval'; import { set } from '@elastic/safer-lodash-set'; 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 index 92b468050337..8186cb6fafc0 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { bucketTransform } from './bucket_transform'; describe('src/legacy/core_plugins/metrics/server/lib/vis_data/helpers/bucket_transform.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 index cbb07ad72668..d869f29dbcfc 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; const d = moment.duration; 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 index 49a1b8f2c52e..0ebde6965de9 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function formatKey(key, series) { if (/{{\s*key\s*}}/.test(series.label)) { return series.label.replace(/{{\s*key\s*}}/, key); 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 index 8592d1977135..130077fd396b 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PanelSchema } from '../../../../common/types'; import { PANEL_TYPES } from '../../../../common/panel_types'; import { limitOfSeries } from '../../../../common/ui_restrictions'; 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 index ded7ac031df5..d169e81831c4 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, includes, max, min, sum, noop } from 'lodash'; import { toPercentileNumber } from '../../../../common/to_percentile_number'; import { EXTENDED_STATS_TYPES, METRIC_TYPES } from '../../../../common/metric_types'; 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 index 622178dfda86..b18757e6c2d9 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getAggValue } from './get_agg_value'; function testAgg(row, metric, expected) { 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 index 1b229ed3dba9..acaa77462d6d 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { calculateAuto } from './calculate_auto'; import { getUnitValue, 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 index b03724ccff94..5ab22c7f5456 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getBucketSize } from './get_bucket_size'; describe('getBucketSize', () => { 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 index 4ff850bce549..b10e692ce9d2 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { startsWith } from 'lodash'; import { toPercentileNumber } from '../../../../common/to_percentile_number'; import { METRIC_TYPES } from '../../../../common/metric_types'; 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 index e848dd1066ba..759fc730b02e 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getBucketsPath } from './get_buckets_path'; describe('getBucketsPath', () => { 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 index e47a441475fb..d3dbc4e3280e 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const getDefaultDecoration = (series) => { const pointSize = series.point_size != null ? Number(series.point_size) : Number(series.line_width); 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 index b983cd9eb4f1..42bcaf64d4d3 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getDefaultDecoration } from './get_default_decoration'; describe('getDefaultDecoration', () => { 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 index d20c9d4359d9..ef43a4bdd1a9 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { get } from 'lodash'; export async function getIndexPatternObject(req, indexPatternString) { 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 index 96df41ca6170..aabe9eebb7aa 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export function getLastMetric(series) { 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 index c716638287de..471e180c53bd 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getLastMetric } from './get_last_metric'; describe('getLastMetric(series)', () => { 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 index 58664d04a3ee..b9b3c2f538a8 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UI_SETTINGS } from '../../../../../data/server'; export async function getOpenSearchQueryConfig(req) { 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 index da6fbf19c046..c3ca105bbd6a 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export async function getOpenSearchShardTimeout(req) { return await req.getOpenSearchShardTimeout(); } 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 index d72567ce8a57..92a68e7b4408 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getOpenSearchShardTimeout } from './get_opensearch_shard_timeout'; describe('getOpenSearchShardTimeout', () => { 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 index b3d7046a74cc..18f078868123 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export const getSiblingAggValue = (row, metric) => { 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 index f34cbbd733fc..9ebad6f42dd2 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getSiblingAggValue } from './get_sibling_agg_value'; describe('getSiblingAggValue', () => { 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 index 82c2ea941ffc..f352b1b718c9 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Color from 'color'; export function getSplitColors(inputColor, size = 10, style = 'opensearchDashboards') { 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 index f50dead1350b..2f01085b00dc 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Color from 'color'; import { calculateLabel } from '../../../../common/calculate_label'; import _ from 'lodash'; 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 index 76ae6c1ce1ee..a90c80fae202 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getSplits } from './get_splits'; describe('getSplits(resp, panel, series)', () => { 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 index f59e92a52005..8ab25dca7007 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; export const getTimerange = (req) => { 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 index bf835aa7da81..945bbb36ecb4 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getTimerange } from './get_timerange'; import moment from 'moment'; 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 index d5e273205a6b..cbb2c343cb9e 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TIME_RANGE_DATA_MODES, TIME_RANGE_MODE_KEY, 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 index 16d2778adb74..0d6f688165ea 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { bucketTransform } from './bucket_transform'; export { getAggValue } from './get_agg_value'; export { getBucketSize } from './get_bucket_size'; 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 index 60ba2b6672fc..6b8a02842dfa 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getAggValue } from './get_agg_value'; export function mapBucket(metric) { 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 index e0945597dcf7..2a433b9df304 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mapBucket } from './map_bucket'; describe('mapBucket(metric)', () => { 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 index ec9a6a723cd6..3384eabcdff7 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MODEL_TYPES } from '../../../../common/model_options'; export const MODEL_SCRIPTS = { 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 index 8dcc2427a46b..04ce1152b627 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MODEL_TYPES } from '../../../../common/model_options'; import { MODEL_SCRIPTS } from './moving_fn_scripts'; 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 index 186480cf5687..3ec0ea02a5c2 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import set from 'set-value'; /** 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 index d1457fb096cd..24403836d6fc 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import moment from 'moment'; import dateMath from '@elastic/datemath'; 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 index c43c499b1a10..f52bd79381c9 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const numericKeys = ['alpha', 'beta', 'gamma', 'period']; const booleanKeys = ['pad']; function castBasedOnKey(key, val) { 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 index 09207fdb532e..e5140174f6b3 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parseSettings } from './parse_settings'; describe('parseSettings', () => { 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 index 79e297dafdeb..f2897ad4f08b 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { last } from 'lodash'; /** 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 index d7014ee228c2..0748c06ba83b 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getLastSeriesTimestamp } from './timestamp'; describe('src/legacy/core_plugins/metrics/server/lib/vis_data/helpers/timestamp.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 index 8a8ae68e5475..5f703225458f 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { INTERVAL_STRING_RE } from '../../../../common/interval_regexp'; import { sortBy, isNumber } from 'lodash'; 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 index 57219dde1383..1fbcfdde37f8 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getUnitValue, parseInterval, 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 index 4ec626f2cc31..48f3346419f6 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getTimerange } from './helpers/get_timerange'; export function offsetTime(req, by) { 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 index 65b3d52a5f6b..220c25c6a4d7 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { offsetTime } from './offset_time'; 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 index aca6dd6b652d..02e33f072fe0 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { overwrite } from '../../helpers'; import { getBucketSize } from '../../helpers/get_bucket_size'; import { getTimerange } from '../../helpers/get_timerange'; 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 index 8ec222dde735..a09c5ad3dd3f 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { query } from './query'; import { dateHistogram } from './date_histogram'; import { topHits } from './top_hits'; 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 index 26bd1202264b..ef7020a72480 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getBucketSize } from '../../helpers/get_bucket_size'; import { getTimerange } from '../../helpers/get_timerange'; import { opensearchQuery } from '../../../../../../data/server'; 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 index cd604d80131a..e83c6ddda573 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { overwrite } from '../../helpers'; export function topHits(req, panel, annotation) { 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 index da9950c0deee..3dc47dbaccd3 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { overwrite } from '../../helpers'; import { getBucketSize } from '../../helpers/get_bucket_size'; import { offsetTime } from '../../offset_time'; 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 index 7faf1be6cba5..9be30459a48d 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DefaultSearchCapabilities } from '../../../search_strategies/default_search_capabilities'; import { dateHistogram } from './date_histogram'; 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 index 599a8bb313f6..ae1e0085a1bb 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const filter = (metric) => metric.type === 'filter_ratio'; import { bucketTransform } from '../../helpers/bucket_transform'; import { overwrite } from '../../helpers'; 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 index 4947e295f310..56f5a6c89eab 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ratios } from './filter_ratios'; describe('ratios(req, panel, series, opensearchQueryConfig, indexPatternObject)', () => { 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 index d49568f73f29..c767956b59e8 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { query } from './query'; import { splitByEverything } from './split_by_everything'; import { splitByFilter } from './split_by_filter'; 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 index c4d48d706d97..5ccdba0abb2c 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { overwrite } from '../../helpers'; import { getBucketSize } from '../../helpers/get_bucket_size'; import { bucketTransform } from '../../helpers/bucket_transform'; 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 index c8a9c76d4d75..a3120a2bd5f1 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { metricBuckets } from './metric_buckets'; describe('metricBuckets(req, panel, series)', () => { 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 index 2733e101f397..1b6115b59a94 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { overwrite } from '../../helpers'; import _ from 'lodash'; 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 index 236516cc7ea1..0654985db815 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { normalizeQuery } from './normalize_query'; describe('normalizeQuery', () => { 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 index 28ca0d4ae9e6..4da1f74a1b4c 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getBucketSize } from '../../helpers/get_bucket_size'; import { getIntervalAndTimefield } from '../../get_interval_and_timefield'; import { bucketTransform } from '../../helpers/bucket_transform'; 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 index 2c5fdecef88c..cd3f68dfeb48 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { positiveRate } from './positive_rate'; describe('positiveRate(req, panel, series)', () => { let panel; 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 index b8afe2fb6bda..1eeb2c0616d7 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { offsetTime } from '../../offset_time'; import { getIntervalAndTimefield } from '../../get_interval_and_timefield'; import { opensearchQuery } from '../../../../../../data/server'; 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 index cbdea1ec6eba..e0957f4eb860 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { query } from './query'; describe('query(req, panel, series)', () => { 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 index 6da0c4a84d24..4344e4df8d49 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { overwrite } from '../../helpers'; import { getBucketSize } from '../../helpers/get_bucket_size'; import { bucketTransform } from '../../helpers/bucket_transform'; 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 index 7774f6fe5905..58878b7d79e5 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { siblingBuckets } from './sibling_buckets'; describe('siblingBuckets(req, panel, series)', () => { 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 index 803c443e3da6..1d1217288d4b 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { overwrite } from '../../helpers'; export function splitByEverything(req, panel, series) { 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 index d42700bebda3..3521e1ce3b87 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { splitByEverything } from './split_by_everything'; describe('splitByEverything(req, panel, series)', () => { 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 index e246691cfa35..f065aeb2e3de 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { overwrite } from '../../helpers'; import { opensearchQuery } from '../../../../../../data/server'; 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 index 9b5995afc0b1..20204c47cb6a 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { splitByFilter } from './split_by_filter'; describe('splitByFilter(req, panel, series)', () => { 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 index 9a86178253cd..d8824d77737e 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { overwrite } from '../../helpers'; import { opensearchQuery } from '../../../../../../data/server'; 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 index eca740412739..ebd354332fde 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { splitByFilters } from './split_by_filters'; describe('splitByFilters(req, panel, series)', () => { 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 index 07b66974e54f..4a8e7beb0d74 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { overwrite } from '../../helpers'; import { basicAggs } from '../../../../../common/basic_aggs'; import { getBucketsPath } from '../../helpers/get_buckets_path'; 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 index 09875f654cf5..a1824bffd6ec 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { splitByTerms } from './split_by_terms'; describe('splitByTerms(req, panel, series)', () => { 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 index e8ac43cddd29..dff5ff7f209f 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export function calculateAggRoot(doc, column) { 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 index 5eb98210e67c..b0506540c3be 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { overwrite } from '../../helpers'; import { getBucketSize } from '../../helpers/get_bucket_size'; import { isLastValueTimerangeMode } from '../../helpers/get_timerange_mode'; 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 index 0dcd4cf61078..457f54fcd021 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const filter = (metric) => metric.type === 'filter_ratio'; import { opensearchQuery } from '../../../../../../data/server'; import { bucketTransform } from '../../helpers/bucket_transform'; 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 index 7327cd28794c..cbfb86921933 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { pivot } from './pivot'; import { query } from './query'; import { splitByEverything } from './split_by_everything'; 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 index c3219b427908..db90ae583644 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { overwrite } from '../../helpers'; import { getBucketSize } from '../../helpers/get_bucket_size'; import { bucketTransform } from '../../helpers/bucket_transform'; 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 index 1d2a2cbb2bd7..7446e3930289 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import _ from 'lodash'; import { overwrite } from '../../helpers'; const isEmptyFilter = (filter = {}) => Boolean(filter.match_all) && _.isEmpty(filter.match_all); 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 index daa62bdc6f16..bdc5bfc6d37a 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { normalizeQuery } from './normalize_query'; describe('normalizeQuery', () => { 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 index 5a890df17055..c89f25071e6b 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, last } from 'lodash'; import { overwrite } from '../../helpers'; 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 index 24fd125dae69..441250593282 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getBucketSize } from '../../helpers/get_bucket_size'; import { getIntervalAndTimefield } from '../../get_interval_and_timefield'; import { calculateAggRoot } from './calculate_agg_root'; 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 index fb9a9e5a8aef..ff334e115550 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { getTimerange } from '../../helpers/get_timerange'; import { getIntervalAndTimefield } from '../../get_interval_and_timefield'; import { opensearchQuery } from '../../../../../../data/server'; 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 index 3fa4fd4ae9a3..58cb78ce7758 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { overwrite } from '../../helpers'; import { getBucketSize } from '../../helpers/get_bucket_size'; import { bucketTransform } from '../../helpers/bucket_transform'; 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 index 228633c98a24..7c3cb6d4b539 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { overwrite } from '../../helpers'; import { opensearchQuery } from '../../../../../../data/server'; 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 index 286925503f93..45965d759716 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { overwrite } from '../../helpers'; import { opensearchQuery } from '../../../../../../data/server'; 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 index 3d8158436e19..1f98c762453f 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, isEmpty } from 'lodash'; export function getAnnotationBuckets(resp, annotation) { 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 index 890c518baee6..c5d8369cef44 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * @param {Function} by - it's a callback which determines how data will be mapped. * @return {Function} function - a predefined filter function 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 index 4c96a5ce568c..3aeaca3ea8c5 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { makeFilter, annotationFilter } from './filter'; describe('src/legacy/core_plugins/metrics/server/lib/vis_data/response_processors/annotations/annotations.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 index db528cbfe338..d8c63b98728e 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { flow } from 'lodash'; import { filterAnnotations } from './filter'; import { getAnnotationBuckets } from './buckets'; 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 index 308b51f73532..3aa61f6f5bea 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; function mean(values) { 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 index 6154f9d7f43d..1fde1bfa93ef 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SeriesAgg as seriesAgg } from './_series_agg'; describe('seriesAgg', () => { 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 index 4fcaf69432bd..59d1dcff4bac 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { isLastValueTimerangeMode } from '../../helpers/get_timerange_mode'; 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 index 66cf5168210e..2f50b1d72fdf 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { percentile } from './percentile'; import { percentileRank } from './percentile_rank'; 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 index bada372700b0..54cf2b857f0e 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const percentileValueMatch = /\[([0-9\.]+)\]$/; import { startsWith, flatten, values, first, last } from 'lodash'; import { getDefaultDecoration } from '../../helpers/get_default_decoration'; 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 index 7658ccb3fd84..0aa07673d566 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mathAgg } from './math'; import { stdMetric } from './std_metric'; 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 index 5db5fe4b1b87..acdf0aa4dab7 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getAggValue } from '../../helpers/get_agg_value'; import { getDefaultDecoration } from '../../helpers/get_default_decoration'; import { getSplits } from '../../helpers/get_splits'; 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 index e09fee746d77..1ce0fe9dc82d 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { percentile } from './percentile'; describe('percentile(resp, panel, series)', () => { 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 index 42db31ebd117..82407b37a268 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { getAggValue } from '../../helpers/get_agg_value'; import { getDefaultDecoration } from '../../helpers/get_default_decoration'; import { getSplits } from '../../helpers/get_splits'; 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 index 1d91bbb2adad..702e3296691a 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SeriesAgg } from './_series_agg'; import _ from 'lodash'; import { getDefaultDecoration } from '../../helpers/get_default_decoration'; 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 index 319914564bde..06fe2a794f9e 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { seriesAgg } from './series_agg'; import { stdMetric } from './std_metric'; 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 index 6e366b0e21f2..f0696c348824 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getAggValue, getLastMetric, getSplits } from '../../helpers'; import { METRIC_TYPES } from '../../../../../common/metric_types'; 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 index f7996074f26b..213f8c57c275 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { stdDeviationBands } from './std_deviation_bands'; describe('stdDeviationBands(resp, panel, series)', () => { 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 index 875fd9846ddb..74b6bedd6728 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getSplits, getLastMetric, getSiblingAggValue } from '../../helpers'; export function stdDeviationSibling(resp, panel, series, meta) { 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 index b59f84c4245b..8df31c932cad 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { stdDeviationSibling } from './std_deviation_sibling'; describe('stdDeviationSibling(resp, panel, series)', () => { 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 index d11609ebe46e..fabfba7370b0 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getDefaultDecoration } from '../../helpers/get_default_decoration'; import { getSplits } from '../../helpers/get_splits'; import { getLastMetric } from '../../helpers/get_last_metric'; 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 index 4e4c5b3f8138..625a25e181da 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { stdMetric } from './std_metric'; describe('stdMetric(resp, panel, series)', () => { 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 index a123dd30127e..015750159128 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getDefaultDecoration } from '../../helpers/get_default_decoration'; import { getSplits } from '../../helpers/get_splits'; import { getLastMetric } from '../../helpers/get_last_metric'; 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 index e64e4b48173c..59e2db96f3f3 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { stdSibling } from './std_sibling'; describe('stdSibling(resp, panel, series)', () => { 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 index 80a86a15dc61..d2020ed8100a 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import moment from 'moment'; 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 index 3a7308d85d5b..b5830d76403a 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { timeShift } from './time_shift'; import { stdMetric } from './std_metric'; 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 index e560092ff298..c3be7284bdcc 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; function mean(values) { 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 index 3a3cbbeb3063..79de5a109238 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { dropLastBucket } from '../series/drop_last_bucket'; import { isLastValueTimerangeMode } from '../../helpers/get_timerange_mode'; 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 index 3557d5b427c2..c38782e2b972 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // import percentile from './percentile'; import { stdMetric } from './std_metric'; import { stdSibling } from './std_sibling'; 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 index 9085d7fa9c80..eaa4df1e9f79 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { mathAgg } from '../series/math'; export function math(bucket, panel, series) { 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 index 38055fe515fa..118e30322adc 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { last } from 'lodash'; import { getSplits } from '../../helpers/get_splits'; import { getLastMetric } from '../../helpers/get_last_metric'; 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 index 95c9ef6a8f18..fe5e5b42a43c 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { last } from 'lodash'; import { getSplits } from '../../helpers/get_splits'; import { getLastMetric } from '../../helpers/get_last_metric'; 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 index 03ae89fdd5a9..6062ea2ff844 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SeriesAgg } from './_series_agg'; import _ from 'lodash'; import { calculateLabel } from '../../../../../common/calculate_label'; 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 index 52f5764cb1c7..783afc66c835 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getSplits } from '../../helpers/get_splits'; import { getLastMetric } from '../../helpers/get_last_metric'; import { mapBucket } from '../../helpers/map_bucket'; 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 index 3986f464ff33..4e3f61595bde 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getSplits } from '../../helpers/get_splits'; import { getLastMetric } from '../../helpers/get_last_metric'; import { getSiblingAggValue } from '../../helpers/get_sibling_agg_value'; 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 index 1d28a23af1a3..e3fea1138a05 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildRequestBody } from './build_request_body'; const body = JSON.parse(` 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 index ace563b2d000..b60c7f832ded 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildProcessorFunction } from '../build_processor_function'; // @ts-ignore import { processors } from '../request_processors/series/index'; 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 index a8c6a225b852..52764af86754 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { buildRequestBody } from './build_request_body'; import { getOpenSearchShardTimeout } from '../helpers/get_opensearch_shard_timeout'; import { getIndexPatternObject } from '../helpers/get_index_pattern'; 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 index b98fda2ce498..e9d298e67d4c 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildProcessorFunction } from '../build_processor_function'; import { processors } from '../response_processors/series'; import { get } from 'lodash'; 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 index 8e8779677ed2..8de785fc250f 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildProcessorFunction } from '../build_processor_function'; import { processors } from '../request_processors/table'; 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 index 8e9ee7598c92..d796c2f8be98 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildProcessorFunction } from '../build_processor_function'; import { processors } from '../response_processors/table'; import { getLastValue } from '../../../../common/get_last_value'; 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 index ae7375223430..93ffbf26013b 100644 --- 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { processBucket } from './process_bucket'; function createValueObject(key, value, seriesId) { diff --git a/src/plugins/vis_type_timeseries/server/plugin.ts b/src/plugins/vis_type_timeseries/server/plugin.ts index fa1e30d6d1cd..654c85d452b1 100644 --- a/src/plugins/vis_type_timeseries/server/plugin.ts +++ b/src/plugins/vis_type_timeseries/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, CoreSetup, diff --git a/src/plugins/vis_type_timeseries/server/routes/fields.ts b/src/plugins/vis_type_timeseries/server/routes/fields.ts index 463247771236..bff34ee159f5 100644 --- a/src/plugins/vis_type_timeseries/server/routes/fields.ts +++ b/src/plugins/vis_type_timeseries/server/routes/fields.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isBoom } from '@hapi/boom'; import { schema } from '@osd/config-schema'; import { getFields } from '../lib/get_fields'; diff --git a/src/plugins/vis_type_timeseries/server/routes/vis.ts b/src/plugins/vis_type_timeseries/server/routes/vis.ts index b4cc21cd664f..0a4eb34c41e5 100644 --- a/src/plugins/vis_type_timeseries/server/routes/vis.ts +++ b/src/plugins/vis_type_timeseries/server/routes/vis.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IRouter, OpenSearchDashboardsRequest } from 'opensearch-dashboards/server'; import { schema } from '@osd/config-schema'; import { getVisData, GetVisDataOptions } from '../lib/get_vis_data'; diff --git a/src/plugins/vis_type_timeseries/server/saved_objects/index.ts b/src/plugins/vis_type_timeseries/server/saved_objects/index.ts index babb8d91f5d2..03a6711a9b57 100644 --- a/src/plugins/vis_type_timeseries/server/saved_objects/index.ts +++ b/src/plugins/vis_type_timeseries/server/saved_objects/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { tsvbTelemetrySavedObjectType } from './tsvb_telemetry'; 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 index c9672060e555..b9aea4b5e035 100644 --- a/src/plugins/vis_type_timeseries/server/saved_objects/tsvb_telemetry.ts +++ b/src/plugins/vis_type_timeseries/server/saved_objects/tsvb_telemetry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { flow } from 'lodash'; import { SavedObjectMigrationFn, SavedObjectsType } from 'opensearch-dashboards/server'; diff --git a/src/plugins/vis_type_timeseries/server/ui_settings.ts b/src/plugins/vis_type_timeseries/server/ui_settings.ts index 505829205d75..8ba23bc8e582 100644 --- a/src/plugins/vis_type_timeseries/server/ui_settings.ts +++ b/src/plugins/vis_type_timeseries/server/ui_settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { schema } from '@osd/config-schema'; diff --git a/src/plugins/vis_type_timeseries/server/validation_telemetry/index.ts b/src/plugins/vis_type_timeseries/server/validation_telemetry/index.ts index eb6d981edea7..0b34a4fd9d27 100644 --- a/src/plugins/vis_type_timeseries/server/validation_telemetry/index.ts +++ b/src/plugins/vis_type_timeseries/server/validation_telemetry/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './validation_telemetry_service'; 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 index 87448a531280..b59a8e62a641 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 @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { LegacyAPICaller, CoreSetup, diff --git a/src/plugins/vis_type_vega/config.ts b/src/plugins/vis_type_vega/config.ts index d54c96bba60f..e8eed86fa941 100644 --- a/src/plugins/vis_type_vega/config.ts +++ b/src/plugins/vis_type_vega/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema, TypeOf } from '@osd/config-schema'; export const configSchema = schema.object({ diff --git a/src/plugins/vis_type_vega/public/components/experimental_map_vis_info.tsx b/src/plugins/vis_type_vega/public/components/experimental_map_vis_info.tsx index 77e44f57dd18..1ba1ede5670f 100644 --- a/src/plugins/vis_type_vega/public/components/experimental_map_vis_info.tsx +++ b/src/plugins/vis_type_vega/public/components/experimental_map_vis_info.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parse } from 'hjson'; import React from 'react'; import { EuiCallOut, EuiLink } from '@elastic/eui'; diff --git a/src/plugins/vis_type_vega/public/components/index.ts b/src/plugins/vis_type_vega/public/components/index.ts index 44a6726b7bda..8b7572299d13 100644 --- a/src/plugins/vis_type_vega/public/components/index.ts +++ b/src/plugins/vis_type_vega/public/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { VegaVisEditor } from './vega_vis_editor'; diff --git a/src/plugins/vis_type_vega/public/components/vega_actions_menu.tsx b/src/plugins/vis_type_vega/public/components/vega_actions_menu.tsx index cfce6c0d0b50..e16fa393d3df 100644 --- a/src/plugins/vis_type_vega/public/components/vega_actions_menu.tsx +++ b/src/plugins/vis_type_vega/public/components/vega_actions_menu.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState, useCallback } from 'react'; import { EuiButtonIcon, EuiContextMenuPanel, EuiContextMenuItem, EuiPopover } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/vis_type_vega/public/components/vega_help_menu.tsx b/src/plugins/vis_type_vega/public/components/vega_help_menu.tsx index 74a75aeb78b2..6e07cd873bba 100644 --- a/src/plugins/vis_type_vega/public/components/vega_help_menu.tsx +++ b/src/plugins/vis_type_vega/public/components/vega_help_menu.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback, useState } from 'react'; import { EuiButtonIcon, EuiContextMenuPanel, EuiContextMenuItem, EuiPopover } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/vis_type_vega/public/components/vega_vis_editor.tsx b/src/plugins/vis_type_vega/public/components/vega_vis_editor.tsx index e766f764b636..86343ae10b0d 100644 --- a/src/plugins/vis_type_vega/public/components/vega_vis_editor.tsx +++ b/src/plugins/vis_type_vega/public/components/vega_vis_editor.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { EuiCodeEditor } from '@elastic/eui'; import compactStringify from 'json-stringify-pretty-compact'; diff --git a/src/plugins/vis_type_vega/public/data_model/ems_file_parser.ts b/src/plugins/vis_type_vega/public/data_model/ems_file_parser.ts index f4aeb58a1004..961204330baa 100644 --- a/src/plugins/vis_type_vega/public/data_model/ems_file_parser.ts +++ b/src/plugins/vis_type_vega/public/data_model/ems_file_parser.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; // @ts-ignore import { bypassExternalUrlCheck } from '../vega_view/vega_base_view'; diff --git a/src/plugins/vis_type_vega/public/data_model/opensearch_query_parser.test.js b/src/plugins/vis_type_vega/public/data_model/opensearch_query_parser.test.js index c17fd6be741b..91367700369a 100644 --- a/src/plugins/vis_type_vega/public/data_model/opensearch_query_parser.test.js +++ b/src/plugins/vis_type_vega/public/data_model/opensearch_query_parser.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeep } from 'lodash'; import moment from 'moment'; import { OpenSearchQueryParser } from './opensearch_query_parser'; diff --git a/src/plugins/vis_type_vega/public/data_model/opensearch_query_parser.ts b/src/plugins/vis_type_vega/public/data_model/opensearch_query_parser.ts index 3596342cae3a..f5da7e7b81d2 100644 --- a/src/plugins/vis_type_vega/public/data_model/opensearch_query_parser.ts +++ b/src/plugins/vis_type_vega/public/data_model/opensearch_query_parser.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { i18n } from '@osd/i18n'; import { cloneDeep, isPlainObject } from 'lodash'; diff --git a/src/plugins/vis_type_vega/public/data_model/search_api.ts b/src/plugins/vis_type_vega/public/data_model/search_api.ts index 23e7ada1a6ba..7f3a333f84d2 100644 --- a/src/plugins/vis_type_vega/public/data_model/search_api.ts +++ b/src/plugins/vis_type_vega/public/data_model/search_api.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { combineLatest } from 'rxjs'; import { map, tap } from 'rxjs/operators'; import { CoreStart, IUiSettingsClient } from 'opensearch-dashboards/public'; diff --git a/src/plugins/vis_type_vega/public/data_model/time_cache.test.js b/src/plugins/vis_type_vega/public/data_model/time_cache.test.js index fb0875895fe1..ffd6df9d219b 100644 --- a/src/plugins/vis_type_vega/public/data_model/time_cache.test.js +++ b/src/plugins/vis_type_vega/public/data_model/time_cache.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TimeCache } from './time_cache'; jest.mock('../services'); diff --git a/src/plugins/vis_type_vega/public/data_model/time_cache.ts b/src/plugins/vis_type_vega/public/data_model/time_cache.ts index e638a97e1427..649e3497888d 100644 --- a/src/plugins/vis_type_vega/public/data_model/time_cache.ts +++ b/src/plugins/vis_type_vega/public/data_model/time_cache.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TimefilterContract } from '../../../data/public'; import { TimeRange } from '../../../data/common'; import { CacheBounds } from './types'; diff --git a/src/plugins/vis_type_vega/public/data_model/types.ts b/src/plugins/vis_type_vega/public/data_model/types.ts index 9ae71ff3d7aa..cd6cbc94bcc7 100644 --- a/src/plugins/vis_type_vega/public/data_model/types.ts +++ b/src/plugins/vis_type_vega/public/data_model/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SearchResponse, SearchParams } from 'elasticsearch'; import { Filter } from 'src/plugins/data/public'; diff --git a/src/plugins/vis_type_vega/public/data_model/url_parser.ts b/src/plugins/vis_type_vega/public/data_model/url_parser.ts index 80060bc626b7..e8c2fc0a1bfc 100644 --- a/src/plugins/vis_type_vega/public/data_model/url_parser.ts +++ b/src/plugins/vis_type_vega/public/data_model/url_parser.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; import { i18n } from '@osd/i18n'; import { UrlObject } from './types'; diff --git a/src/plugins/vis_type_vega/public/data_model/utils.ts b/src/plugins/vis_type_vega/public/data_model/utils.ts index 20dac9d396c5..f363740f536d 100644 --- a/src/plugins/vis_type_vega/public/data_model/utils.ts +++ b/src/plugins/vis_type_vega/public/data_model/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import compactStringify from 'json-stringify-pretty-compact'; export class Utils { diff --git a/src/plugins/vis_type_vega/public/data_model/vega_parser.test.js b/src/plugins/vis_type_vega/public/data_model/vega_parser.test.js index bdc68214c353..72921f8213e9 100644 --- a/src/plugins/vis_type_vega/public/data_model/vega_parser.test.js +++ b/src/plugins/vis_type_vega/public/data_model/vega_parser.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeep } from 'lodash'; import { euiThemeVars } from '@osd/ui-shared-deps/theme'; import { VegaParser } from './vega_parser'; diff --git a/src/plugins/vis_type_vega/public/data_model/vega_parser.ts b/src/plugins/vis_type_vega/public/data_model/vega_parser.ts index 18c40e5d30c3..d1d5712ec7cc 100644 --- a/src/plugins/vis_type_vega/public/data_model/vega_parser.ts +++ b/src/plugins/vis_type_vega/public/data_model/vega_parser.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import schemaParser from 'vega-schema-url-parser'; import versionCompare from 'compare-versions'; diff --git a/src/plugins/vis_type_vega/public/default_spec.ts b/src/plugins/vis_type_vega/public/default_spec.ts index 1afc05912f68..0b94674323a3 100644 --- a/src/plugins/vis_type_vega/public/default_spec.ts +++ b/src/plugins/vis_type_vega/public/default_spec.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // @ts-ignore import defaultSpec from '!!raw-loader!./default.spec.hjson'; diff --git a/src/plugins/vis_type_vega/public/index.ts b/src/plugins/vis_type_vega/public/index.ts index 7f8f5cfb03a1..c41add63d681 100644 --- a/src/plugins/vis_type_vega/public/index.ts +++ b/src/plugins/vis_type_vega/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { ConfigSchema } from '../config'; import { VegaPlugin as Plugin } from './plugin'; diff --git a/src/plugins/vis_type_vega/public/lib/extract_index_pattern.test.ts b/src/plugins/vis_type_vega/public/lib/extract_index_pattern.test.ts index 0ca454d92468..7532f67c7227 100644 --- a/src/plugins/vis_type_vega/public/lib/extract_index_pattern.test.ts +++ b/src/plugins/vis_type_vega/public/lib/extract_index_pattern.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { dataPluginMock } from '../../../data/public/mocks'; import { extractIndexPatternsFromSpec } from './extract_index_pattern'; import { setData } from '../services'; diff --git a/src/plugins/vis_type_vega/public/lib/extract_index_pattern.ts b/src/plugins/vis_type_vega/public/lib/extract_index_pattern.ts index 65eb57582e85..4de31882e61d 100644 --- a/src/plugins/vis_type_vega/public/lib/extract_index_pattern.ts +++ b/src/plugins/vis_type_vega/public/lib/extract_index_pattern.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { flatten } from 'lodash'; import { getData } from '../services'; diff --git a/src/plugins/vis_type_vega/public/lib/vega.js b/src/plugins/vis_type_vega/public/lib/vega.js index dbd3a90cd29f..73d1af5d30af 100644 --- a/src/plugins/vis_type_vega/public/lib/vega.js +++ b/src/plugins/vis_type_vega/public/lib/vega.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as vegaLite from 'vega-lite/build-es5/vega-lite'; import * as vega from 'vega/build-es5/vega'; diff --git a/src/plugins/vis_type_vega/public/plugin.ts b/src/plugins/vis_type_vega/public/plugin.ts index 51f8dfe38701..64ab81eedfd2 100644 --- a/src/plugins/vis_type_vega/public/plugin.ts +++ b/src/plugins/vis_type_vega/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { PluginInitializerContext, CoreSetup, CoreStart, Plugin } from '../../../core/public'; import { Plugin as ExpressionsPublicPlugin } from '../../expressions/public'; import { DataPublicPluginSetup, DataPublicPluginStart } from '../../data/public'; diff --git a/src/plugins/vis_type_vega/public/services.ts b/src/plugins/vis_type_vega/public/services.ts index eb0d6fcbfb32..ab6cae0024b0 100644 --- a/src/plugins/vis_type_vega/public/services.ts +++ b/src/plugins/vis_type_vega/public/services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreStart, NotificationsStart, IUiSettingsClient } from 'src/core/public'; import { DataPublicPluginStart } from '../../data/public'; diff --git a/src/plugins/vis_type_vega/public/vega_fn.ts b/src/plugins/vis_type_vega/public/vega_fn.ts index 0c0f14cad640..adad05547a25 100644 --- a/src/plugins/vis_type_vega/public/vega_fn.ts +++ b/src/plugins/vis_type_vega/public/vega_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { i18n } from '@osd/i18n'; import { diff --git a/src/plugins/vis_type_vega/public/vega_inspector/components/data_viewer.tsx b/src/plugins/vis_type_vega/public/vega_inspector/components/data_viewer.tsx index 6ddd3a213ac6..389caad94659 100644 --- a/src/plugins/vis_type_vega/public/vega_inspector/components/data_viewer.tsx +++ b/src/plugins/vis_type_vega/public/vega_inspector/components/data_viewer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useState, useCallback, useEffect } from 'react'; import { i18n } from '@osd/i18n'; import { diff --git a/src/plugins/vis_type_vega/public/vega_inspector/components/index.ts b/src/plugins/vis_type_vega/public/vega_inspector/components/index.ts index b60916f8b4e8..993baba7872e 100644 --- a/src/plugins/vis_type_vega/public/vega_inspector/components/index.ts +++ b/src/plugins/vis_type_vega/public/vega_inspector/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DataViewer } from './data_viewer'; export { SignalViewer } from './signal_viewer'; export { SpecViewer } from './spec_viewer'; diff --git a/src/plugins/vis_type_vega/public/vega_inspector/components/inspector_data_grid.tsx b/src/plugins/vis_type_vega/public/vega_inspector/components/inspector_data_grid.tsx index 31c0ac628aeb..bf0eb584fc58 100644 --- a/src/plugins/vis_type_vega/public/vega_inspector/components/inspector_data_grid.tsx +++ b/src/plugins/vis_type_vega/public/vega_inspector/components/inspector_data_grid.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useState, useCallback, useMemo, useEffect } from 'react'; import { EuiDataGrid, EuiDataGridSorting, EuiDataGridProps } from '@elastic/eui'; import { VegaRuntimeData } from '../vega_adapter'; diff --git a/src/plugins/vis_type_vega/public/vega_inspector/components/signal_viewer.tsx b/src/plugins/vis_type_vega/public/vega_inspector/components/signal_viewer.tsx index a581e953257e..bfd651d4cac5 100644 --- a/src/plugins/vis_type_vega/public/vega_inspector/components/signal_viewer.tsx +++ b/src/plugins/vis_type_vega/public/vega_inspector/components/signal_viewer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useEffect, useState } from 'react'; import { EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/vis_type_vega/public/vega_inspector/components/spec_viewer.tsx b/src/plugins/vis_type_vega/public/vega_inspector/components/spec_viewer.tsx index f40cc34518e0..2c0db29387f5 100644 --- a/src/plugins/vis_type_vega/public/vega_inspector/components/spec_viewer.tsx +++ b/src/plugins/vis_type_vega/public/vega_inspector/components/spec_viewer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useEffect, useState } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_vega/public/vega_inspector/index.ts b/src/plugins/vis_type_vega/public/vega_inspector/index.ts index 37282b5a5ac9..2dd445def3a0 100644 --- a/src/plugins/vis_type_vega/public/vega_inspector/index.ts +++ b/src/plugins/vis_type_vega/public/vega_inspector/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createInspectorAdapters, getVegaInspectorView, diff --git a/src/plugins/vis_type_vega/public/vega_inspector/vega_adapter.ts b/src/plugins/vis_type_vega/public/vega_inspector/vega_adapter.ts index 05f90b0b5f1b..d5101fcf4543 100644 --- a/src/plugins/vis_type_vega/public/vega_inspector/vega_adapter.ts +++ b/src/plugins/vis_type_vega/public/vega_inspector/vega_adapter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Observable, ReplaySubject, fromEventPattern, merge, timer } from 'rxjs'; import { map, switchMap, filter, debounce } from 'rxjs/operators'; import { View, Runtime, Spec } from 'vega'; diff --git a/src/plugins/vis_type_vega/public/vega_inspector/vega_data_inspector.tsx b/src/plugins/vis_type_vega/public/vega_inspector/vega_data_inspector.tsx index b42a8f4e0a11..15e06c9e9c77 100644 --- a/src/plugins/vis_type_vega/public/vega_inspector/vega_data_inspector.tsx +++ b/src/plugins/vis_type_vega/public/vega_inspector/vega_data_inspector.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './vega_data_inspector.scss'; import React from 'react'; diff --git a/src/plugins/vis_type_vega/public/vega_inspector/vega_inspector.tsx b/src/plugins/vis_type_vega/public/vega_inspector/vega_inspector.tsx index bc81e5d9ec3c..f8b32a13028d 100644 --- a/src/plugins/vis_type_vega/public/vega_inspector/vega_inspector.tsx +++ b/src/plugins/vis_type_vega/public/vega_inspector/vega_inspector.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_vega/public/vega_request_handler.ts b/src/plugins/vis_type_vega/public/vega_request_handler.ts index 7cb20c592588..7878e97d5889 100644 --- a/src/plugins/vis_type_vega/public/vega_request_handler.ts +++ b/src/plugins/vis_type_vega/public/vega_request_handler.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Filter, opensearchQuery, TimeRange, Query } from '../../data/public'; import { SearchAPI } from './data_model/search_api'; diff --git a/src/plugins/vis_type_vega/public/vega_type.ts b/src/plugins/vis_type_vega/public/vega_type.ts index 235effde1aff..7f4a422f3b1a 100644 --- a/src/plugins/vis_type_vega/public/vega_type.ts +++ b/src/plugins/vis_type_vega/public/vega_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { parse } from 'hjson'; import { BaseVisTypeOptions } from 'src/plugins/visualizations/public'; diff --git a/src/plugins/vis_type_vega/public/vega_view/vega_base_view.js b/src/plugins/vis_type_vega/public/vega_view/vega_base_view.js index 2120f58f2c7a..6040c8ffb2d3 100644 --- a/src/plugins/vis_type_vega/public/vega_view/vega_base_view.js +++ b/src/plugins/vis_type_vega/public/vega_view/vega_base_view.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; import moment from 'moment'; import dateMath from '@elastic/datemath'; diff --git a/src/plugins/vis_type_vega/public/vega_view/vega_map_layer.js b/src/plugins/vis_type_vega/public/vega_view/vega_map_layer.js index 1e6429095f9b..565e1e14b390 100644 --- a/src/plugins/vis_type_vega/public/vega_view/vega_map_layer.js +++ b/src/plugins/vis_type_vega/public/vega_view/vega_map_layer.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchDashboardsMapLayer } from '../../../maps_legacy/public'; export class VegaMapLayer extends OpenSearchDashboardsMapLayer { diff --git a/src/plugins/vis_type_vega/public/vega_view/vega_map_view.js b/src/plugins/vis_type_vega/public/vega_view/vega_map_view.js index d300d5246736..2a604f8d834f 100644 --- a/src/plugins/vis_type_vega/public/vega_view/vega_map_view.js +++ b/src/plugins/vis_type_vega/public/vega_view/vega_map_view.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { vega } from '../lib/vega'; import { VegaBaseView } from './vega_base_view'; diff --git a/src/plugins/vis_type_vega/public/vega_view/vega_tooltip.js b/src/plugins/vis_type_vega/public/vega_view/vega_tooltip.js index 43252be7c6a1..4cde4f8e59d7 100644 --- a/src/plugins/vis_type_vega/public/vega_view/vega_tooltip.js +++ b/src/plugins/vis_type_vega/public/vega_view/vega_tooltip.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { calculatePopoverPosition } from '@elastic/eui'; import { formatValue as createTooltipContent } from 'vega-tooltip'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_vega/public/vega_view/vega_view.js b/src/plugins/vis_type_vega/public/vega_view/vega_view.js index 80ed4e5edc11..50119439f680 100644 --- a/src/plugins/vis_type_vega/public/vega_view/vega_view.js +++ b/src/plugins/vis_type_vega/public/vega_view/vega_view.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { vega } from '../lib/vega'; import { VegaBaseView } from './vega_base_view'; diff --git a/src/plugins/vis_type_vega/public/vega_visualization.js b/src/plugins/vis_type_vega/public/vega_visualization.js index 1bdc95c120b7..af5c58f8a149 100644 --- a/src/plugins/vis_type_vega/public/vega_visualization.js +++ b/src/plugins/vis_type_vega/public/vega_visualization.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; import { getNotifications, getData } from './services'; diff --git a/src/plugins/vis_type_vega/public/vega_visualization.test.js b/src/plugins/vis_type_vega/public/vega_visualization.test.js index ebcd105d0939..f809a28bc0b0 100644 --- a/src/plugins/vis_type_vega/public/vega_visualization.test.js +++ b/src/plugins/vis_type_vega/public/vega_visualization.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; import 'leaflet/dist/leaflet.js'; diff --git a/src/plugins/vis_type_vega/server/index.ts b/src/plugins/vis_type_vega/server/index.ts index 4b39ba46cdd1..444886efa19c 100644 --- a/src/plugins/vis_type_vega/server/index.ts +++ b/src/plugins/vis_type_vega/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginConfigDescriptor, PluginInitializerContext } from 'opensearch-dashboards/server'; import { configSchema, ConfigSchema } from '../config'; diff --git a/src/plugins/vis_type_vega/server/plugin.ts b/src/plugins/vis_type_vega/server/plugin.ts index 9879d49e27c4..cf3339211698 100644 --- a/src/plugins/vis_type_vega/server/plugin.ts +++ b/src/plugins/vis_type_vega/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, CoreSetup, CoreStart, Plugin } from '../../../core/server'; import { registerVegaUsageCollector } from './usage_collector'; import { diff --git a/src/plugins/vis_type_vega/server/types.ts b/src/plugins/vis_type_vega/server/types.ts index 5f7574102337..9695f6dc23d7 100644 --- a/src/plugins/vis_type_vega/server/types.ts +++ b/src/plugins/vis_type_vega/server/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Observable } from 'rxjs'; import { HomeServerPluginSetup } from '../../home/server'; import { UsageCollectionSetup } from '../../usage_collection/server'; diff --git a/src/plugins/vis_type_vega/server/usage_collector/get_usage_collector.test.ts b/src/plugins/vis_type_vega/server/usage_collector/get_usage_collector.test.ts index 421ecb36e525..3fcc50de941e 100644 --- a/src/plugins/vis_type_vega/server/usage_collector/get_usage_collector.test.ts +++ b/src/plugins/vis_type_vega/server/usage_collector/get_usage_collector.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { of } from 'rxjs'; import { LegacyAPICaller } from 'src/core/server'; diff --git a/src/plugins/vis_type_vega/server/usage_collector/get_usage_collector.ts b/src/plugins/vis_type_vega/server/usage_collector/get_usage_collector.ts index 60d5626f4749..c9ba07c09289 100644 --- a/src/plugins/vis_type_vega/server/usage_collector/get_usage_collector.ts +++ b/src/plugins/vis_type_vega/server/usage_collector/get_usage_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { parse } from 'hjson'; import { first } from 'rxjs/operators'; import { SearchResponse } from 'elasticsearch'; diff --git a/src/plugins/vis_type_vega/server/usage_collector/index.ts b/src/plugins/vis_type_vega/server/usage_collector/index.ts index 59d7acc781f1..2671e39e5ea4 100644 --- a/src/plugins/vis_type_vega/server/usage_collector/index.ts +++ b/src/plugins/vis_type_vega/server/usage_collector/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UsageCollectionSetup } from 'src/plugins/usage_collection/server'; import { getUsageCollector } from './get_usage_collector'; import { ConfigObservable, VisTypeVegaPluginSetupDependencies } from '../types'; diff --git a/src/plugins/vis_type_vislib/common/index.ts b/src/plugins/vis_type_vislib/common/index.ts index 990b9c84123d..3f4627cd2320 100644 --- a/src/plugins/vis_type_vislib/common/index.ts +++ b/src/plugins/vis_type_vislib/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const DIMMING_OPACITY_SETTING = 'visualization:dimmingOpacity'; export const HEATMAP_MAX_BUCKETS_SETTING = 'visualization:heatmap:maxBuckets'; diff --git a/src/plugins/vis_type_vislib/public/area.ts b/src/plugins/vis_type_vislib/public/area.ts index 598859fd4852..2b412d9bff39 100644 --- a/src/plugins/vis_type_vislib/public/area.ts +++ b/src/plugins/vis_type_vislib/public/area.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; // @ts-ignore import { palettes } from '@elastic/eui/lib/services'; diff --git a/src/plugins/vis_type_vislib/public/components/common/index.ts b/src/plugins/vis_type_vislib/public/components/common/index.ts index f5c98c658127..04b259a8136b 100644 --- a/src/plugins/vis_type_vislib/public/components/common/index.ts +++ b/src/plugins/vis_type_vislib/public/components/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { TruncateLabelsOption } from './truncate_labels'; export { ValidationWrapper, ValidationVisOptionsProps } from './validation_wrapper'; diff --git a/src/plugins/vis_type_vislib/public/components/common/truncate_labels.tsx b/src/plugins/vis_type_vislib/public/components/common/truncate_labels.tsx index f7da5a72965a..3f3c49417e9a 100644 --- a/src/plugins/vis_type_vislib/public/components/common/truncate_labels.tsx +++ b/src/plugins/vis_type_vislib/public/components/common/truncate_labels.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ChangeEvent } from 'react'; import { i18n } from '@osd/i18n'; import { EuiFormRow, EuiFieldNumber } from '@elastic/eui'; diff --git a/src/plugins/vis_type_vislib/public/components/common/validation_wrapper.tsx b/src/plugins/vis_type_vislib/public/components/common/validation_wrapper.tsx index 9b352b682b5d..0224f28fc359 100644 --- a/src/plugins/vis_type_vislib/public/components/common/validation_wrapper.tsx +++ b/src/plugins/vis_type_vislib/public/components/common/validation_wrapper.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useState, useCallback } from 'react'; import { VisOptionsProps } from 'src/plugins/vis_default_editor/public'; diff --git a/src/plugins/vis_type_vislib/public/components/index.ts b/src/plugins/vis_type_vislib/public/components/index.ts index 2b7547ca040f..f80a07f05e81 100644 --- a/src/plugins/vis_type_vislib/public/components/index.ts +++ b/src/plugins/vis_type_vislib/public/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './common'; diff --git a/src/plugins/vis_type_vislib/public/components/options/gauge/index.tsx b/src/plugins/vis_type_vislib/public/components/options/gauge/index.tsx index f2f9f5fe60ac..1ec71a9d892d 100644 --- a/src/plugins/vis_type_vislib/public/components/options/gauge/index.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/gauge/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/vis_type_vislib/public/components/options/gauge/labels_panel.tsx b/src/plugins/vis_type_vislib/public/components/options/gauge/labels_panel.tsx index 3fd5eadef637..19fb6ffef888 100644 --- a/src/plugins/vis_type_vislib/public/components/options/gauge/labels_panel.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/gauge/labels_panel.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiPanel, EuiSpacer, EuiTitle } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_vislib/public/components/options/gauge/ranges_panel.tsx b/src/plugins/vis_type_vislib/public/components/options/gauge/ranges_panel.tsx index 3c411f075576..bb96c4da1d49 100644 --- a/src/plugins/vis_type_vislib/public/components/options/gauge/ranges_panel.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/gauge/ranges_panel.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { EuiPanel, EuiSpacer, EuiTitle } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_vislib/public/components/options/gauge/style_panel.tsx b/src/plugins/vis_type_vislib/public/components/options/gauge/style_panel.tsx index 08135bda9d0c..1bf25c9fe0e4 100644 --- a/src/plugins/vis_type_vislib/public/components/options/gauge/style_panel.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/gauge/style_panel.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiPanel, EuiSpacer, EuiTitle } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_vislib/public/components/options/heatmap/index.tsx b/src/plugins/vis_type_vislib/public/components/options/heatmap/index.tsx index 197efe8ea773..9672f8ac6e8d 100644 --- a/src/plugins/vis_type_vislib/public/components/options/heatmap/index.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/heatmap/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback, useEffect, useState } from 'react'; import { EuiPanel, EuiSpacer, EuiTitle } from '@elastic/eui'; diff --git a/src/plugins/vis_type_vislib/public/components/options/heatmap/labels_panel.tsx b/src/plugins/vis_type_vislib/public/components/options/heatmap/labels_panel.tsx index 32971c007f44..521da36aa7af 100644 --- a/src/plugins/vis_type_vislib/public/components/options/heatmap/labels_panel.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/heatmap/labels_panel.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { EuiColorPicker, EuiFormRow, EuiPanel, EuiSpacer, EuiTitle } from '@elastic/eui'; diff --git a/src/plugins/vis_type_vislib/public/components/options/index.ts b/src/plugins/vis_type_vislib/public/components/options/index.ts index d6e8b69eadfb..513debbbaca3 100644 --- a/src/plugins/vis_type_vislib/public/components/options/index.ts +++ b/src/plugins/vis_type_vislib/public/components/options/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { GaugeOptions } from './gauge'; export { PieOptions } from './pie'; export { PointSeriesOptions } from './point_series'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/category_axis_panel.test.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/category_axis_panel.test.tsx index 7d3d998e42f6..83a887c4b10a 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/category_axis_panel.test.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/category_axis_panel.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { CategoryAxisPanel, CategoryAxisPanelProps } from './category_axis_panel'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/category_axis_panel.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/category_axis_panel.tsx index 92289ff1ee2f..4d3a3b8e0acd 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/category_axis_panel.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/category_axis_panel.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { EuiPanel, EuiTitle, EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/chart_options.test.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/chart_options.test.tsx index 4ea7de355ff6..11b20a771120 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/chart_options.test.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/chart_options.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { ChartOptions, ChartOptionsParams } from './chart_options'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/chart_options.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/chart_options.tsx index 7a3e964d3cef..6b4f9acd6d83 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/chart_options.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/chart_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useMemo, useCallback } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/custom_extents_options.test.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/custom_extents_options.test.tsx index f2d5dabad4fd..46bab8179d7b 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/custom_extents_options.test.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/custom_extents_options.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow, mount } from 'enzyme'; import { CustomExtentsOptions, CustomExtentsOptionsProps } from './custom_extents_options'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/custom_extents_options.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/custom_extents_options.tsx index 1380d11e99e9..7259c6a4f429 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/custom_extents_options.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/custom_extents_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback, useEffect } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/index.test.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/index.test.tsx index d7f332fd8902..39c711a49362 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/index.test.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/index.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount, shallow } from 'enzyme'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/index.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/index.tsx index 4bc12b385523..8cb907168b54 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/index.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useState, useEffect, useCallback, useMemo } from 'react'; import { cloneDeep, get } from 'lodash'; import { EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/label_options.test.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/label_options.test.tsx index b8cd565745ee..22e82e1cf2fd 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/label_options.test.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/label_options.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { LabelOptions, LabelOptionsProps } from './label_options'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/label_options.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/label_options.tsx index d076a6ee5984..96dca64f5c0e 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/label_options.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/label_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback, useMemo } from 'react'; import { EuiTitle, EuiFlexGroup, EuiFlexItem, EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/line_options.test.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/line_options.test.tsx index d3d7212ab832..53ef5151cbf3 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/line_options.test.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/line_options.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { LineOptions, LineOptionsParams } from './line_options'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/line_options.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/line_options.tsx index 4edfe0f34134..fed4f0b7bbf0 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/line_options.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/line_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback } from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/mocks.ts b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/mocks.ts index 31e4eab70d83..46bbdac57f17 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/mocks.ts +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Vis } from '../../../../../visualizations/public'; import { Axis, ValueAxis, SeriesParam } from '../../../types'; import { diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/series_panel.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/series_panel.tsx index 89cbba8a14b1..0dc0f1821629 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/series_panel.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/series_panel.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiPanel, EuiTitle, EuiSpacer, EuiAccordion } from '@elastic/eui'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/utils.ts b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/utils.ts index 9e312432239e..d910ff945afe 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/utils.ts +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { upperFirst } from 'lodash'; import { BasicVislibParams, ValueAxis, SeriesParam } from '../../../types'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/value_axes_panel.test.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/value_axes_panel.test.tsx index cc9a671528d2..0d27b98f4a44 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/value_axes_panel.test.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/value_axes_panel.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { ValueAxesPanel, ValueAxesPanelProps } from './value_axes_panel'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/value_axes_panel.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/value_axes_panel.tsx index 862ed473cf5d..d930bccf4f60 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/value_axes_panel.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/value_axes_panel.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback, useMemo } from 'react'; import { EuiPanel, diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/value_axis_options.test.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/value_axis_options.test.tsx index d46700cf2bda..92e2fb70300e 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/value_axis_options.test.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/value_axis_options.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallow } from 'enzyme'; import { ValueAxisOptions, ValueAxisOptionsParams } from './value_axis_options'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/value_axis_options.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/value_axis_options.tsx index f0d4e6106c33..72ee669cb067 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/value_axis_options.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/value_axis_options.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useCallback, useMemo } from 'react'; import { i18n } from '@osd/i18n'; import { EuiSpacer, EuiAccordion, EuiHorizontalRule } from '@elastic/eui'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/y_extents.test.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/y_extents.test.tsx index e49781e3acf5..6340495cf360 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/y_extents.test.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/y_extents.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount, shallow } from 'enzyme'; import { YExtents, YExtentsProps } from './y_extents'; diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/y_extents.tsx b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/y_extents.tsx index a694aaaf60e9..d5e53d48fa5c 100644 --- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/y_extents.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/y_extents.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useCallback } from 'react'; import { EuiFlexGroup, EuiFlexItem, EuiFormRow } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_vislib/public/components/options/pie.tsx b/src/plugins/vis_type_vislib/public/components/options/pie.tsx index e90feb68b1d9..6fe20420c230 100644 --- a/src/plugins/vis_type_vislib/public/components/options/pie.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/pie.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React from 'react'; import { EuiPanel, EuiTitle, EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/vis_type_vislib/public/components/options/point_series/grid_panel.tsx b/src/plugins/vis_type_vislib/public/components/options/point_series/grid_panel.tsx index 50377bfa9302..0dc977d985be 100644 --- a/src/plugins/vis_type_vislib/public/components/options/point_series/grid_panel.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/point_series/grid_panel.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useMemo, useEffect, useCallback } from 'react'; import { EuiPanel, EuiTitle, EuiSpacer } from '@elastic/eui'; diff --git a/src/plugins/vis_type_vislib/public/components/options/point_series/index.ts b/src/plugins/vis_type_vislib/public/components/options/point_series/index.ts index c6aa2da53b4f..fce12c14003b 100644 --- a/src/plugins/vis_type_vislib/public/components/options/point_series/index.ts +++ b/src/plugins/vis_type_vislib/public/components/options/point_series/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { PointSeriesOptions } from './point_series'; diff --git a/src/plugins/vis_type_vislib/public/components/options/point_series/point_series.tsx b/src/plugins/vis_type_vislib/public/components/options/point_series/point_series.tsx index 4f4464b5a5b6..95e39516f798 100644 --- a/src/plugins/vis_type_vislib/public/components/options/point_series/point_series.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/point_series/point_series.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useMemo } from 'react'; import { EuiPanel, EuiTitle, EuiSpacer } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_vislib/public/components/options/point_series/threshold_panel.tsx b/src/plugins/vis_type_vislib/public/components/options/point_series/threshold_panel.tsx index 672642fd7a7d..54cca34d85b7 100644 --- a/src/plugins/vis_type_vislib/public/components/options/point_series/threshold_panel.tsx +++ b/src/plugins/vis_type_vislib/public/components/options/point_series/threshold_panel.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { useCallback } from 'react'; import { EuiPanel, EuiTitle, EuiColorPicker, EuiFormRow, EuiSpacer } from '@elastic/eui'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_columns.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_columns.js index e57d495cc4ad..11085961d37f 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_columns.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_columns.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_rows.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_rows.js index 9286efbb7d61..9a0f4d87d25f 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_rows.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_rows.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_rows_series_with_holes.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_rows_series_with_holes.js index c455bce03e34..c9631c4f673b 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_rows_series_with_holes.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_rows_series_with_holes.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; export const rowsSeriesWithHoles = { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_series.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_series.js index d8578da03df2..4dead5fddc16 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_series.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_series.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_series_monthly_interval.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_series_monthly_interval.js index fc2d8b8bb449..c6c9beb8963e 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_series_monthly_interval.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_series_monthly_interval.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; export const seriesMonthlyInterval = { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_series_neg.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_series_neg.js index b53c21d0a468..9ce19d2522d2 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_series_neg.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_series_neg.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_series_pos_neg.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_series_pos_neg.js index f7602c271d43..f37d3482e2a3 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_series_pos_neg.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_series_pos_neg.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_stacked_series.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_stacked_series.js index d96d13dd9843..2ac75a14ea01 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_stacked_series.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/date_histogram/_stacked_series.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/filters/_columns.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/filters/_columns.js index ff238c653bd5..05b03fa7f4b6 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/filters/_columns.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/filters/_columns.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/filters/_rows.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/filters/_rows.js index b8b45ae8f602..7cf4897d19c2 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/filters/_rows.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/filters/_rows.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/filters/_series.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/filters/_series.js index 02477214ad41..c401c2c94803 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/filters/_series.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/filters/_series.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/geohash/_columns.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/geohash/_columns.js index 7d741c810503..18a79abba93c 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/geohash/_columns.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/geohash/_columns.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/geohash/_geo_json.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/geohash/_geo_json.js index ae93d22064a9..b9f4c19c3d6d 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/geohash/_geo_json.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/geohash/_geo_json.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/geohash/_rows.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/geohash/_rows.js index ea5a13f3b545..69f9b178d477 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/geohash/_rows.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/geohash/_rows.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/histogram/_columns.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/histogram/_columns.js index baaf86172a36..afb3e5b15039 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/histogram/_columns.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/histogram/_columns.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/histogram/_rows.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/histogram/_rows.js index 6c9e9895d827..c90f0353f0c4 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/histogram/_rows.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/histogram/_rows.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/histogram/_series.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/histogram/_series.js index 416b786a0980..fde5a472149d 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/histogram/_series.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/histogram/_series.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/histogram/_slices.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/histogram/_slices.js index 2be17a2d5f64..31de2efd20a2 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/histogram/_slices.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/histogram/_slices.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/not_enough_data/_one_point.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/not_enough_data/_one_point.js index 840f338086e9..63d78ab29a42 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/not_enough_data/_one_point.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/not_enough_data/_one_point.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/range/_columns.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/range/_columns.js index 86c9cd4151d4..12e95fbced8d 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/range/_columns.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/range/_columns.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/range/_rows.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/range/_rows.js index 1c26c5c1ad1e..c49fe8c89ae5 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/range/_rows.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/range/_rows.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/range/_series.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/range/_series.js index 8d9d866586e3..0fac7eecd25f 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/range/_series.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/range/_series.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/significant_terms/_columns.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/significant_terms/_columns.js index 33ec5b863651..f3e9edc9b3b3 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/significant_terms/_columns.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/significant_terms/_columns.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/significant_terms/_rows.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/significant_terms/_rows.js index 57c6162b36c9..e62be110a968 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/significant_terms/_rows.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/significant_terms/_rows.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/significant_terms/_series.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/significant_terms/_series.js index 458faf1518d0..c89de652feee 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/significant_terms/_series.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/significant_terms/_series.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/stacked/_stacked.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/stacked/_stacked.js index 8ea335715e54..e23efe0e3324 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/stacked/_stacked.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/stacked/_stacked.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/terms/_columns.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/terms/_columns.js index 5329743314ed..1ce3dffdb87d 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/terms/_columns.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/terms/_columns.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/terms/_rows.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/terms/_rows.js index b240112222fc..aede4607e3cd 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/terms/_rows.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/terms/_rows.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/terms/_series.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/terms/_series.js index 1679ecac8aff..ff078407e365 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/terms/_series.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/terms/_series.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mock_data/terms/_series_multiple.js b/src/plugins/vis_type_vislib/public/fixtures/mock_data/terms/_series_multiple.js index 9c7d7e4b70fb..3a66dbe835a7 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mock_data/terms/_series_multiple.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mock_data/terms/_series_multiple.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export default { diff --git a/src/plugins/vis_type_vislib/public/fixtures/mocks.js b/src/plugins/vis_type_vislib/public/fixtures/mocks.js index 504aa430d066..10a78d4c7c7e 100644 --- a/src/plugins/vis_type_vislib/public/fixtures/mocks.js +++ b/src/plugins/vis_type_vislib/public/fixtures/mocks.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { setFormatService } from '../services'; setFormatService({ diff --git a/src/plugins/vis_type_vislib/public/gauge.ts b/src/plugins/vis_type_vislib/public/gauge.ts index 60a1e432b57a..87d40b4b3576 100644 --- a/src/plugins/vis_type_vislib/public/gauge.ts +++ b/src/plugins/vis_type_vislib/public/gauge.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { RangeValues, Schemas } from '../../vis_default_editor/public'; diff --git a/src/plugins/vis_type_vislib/public/goal.ts b/src/plugins/vis_type_vislib/public/goal.ts index 9d851bfe4e2c..ff790cd97017 100644 --- a/src/plugins/vis_type_vislib/public/goal.ts +++ b/src/plugins/vis_type_vislib/public/goal.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { GaugeOptions } from './components/options'; diff --git a/src/plugins/vis_type_vislib/public/heatmap.ts b/src/plugins/vis_type_vislib/public/heatmap.ts index ae2d92796824..f199e11e8bfa 100644 --- a/src/plugins/vis_type_vislib/public/heatmap.ts +++ b/src/plugins/vis_type_vislib/public/heatmap.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { RangeValues, Schemas } from '../../vis_default_editor/public'; diff --git a/src/plugins/vis_type_vislib/public/histogram.ts b/src/plugins/vis_type_vislib/public/histogram.ts index f254599cd8a1..df3203a58a96 100644 --- a/src/plugins/vis_type_vislib/public/histogram.ts +++ b/src/plugins/vis_type_vislib/public/histogram.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; // @ts-ignore import { palettes } from '@elastic/eui/lib/services'; diff --git a/src/plugins/vis_type_vislib/public/horizontal_bar.ts b/src/plugins/vis_type_vislib/public/horizontal_bar.ts index 1dae27f31a02..5535e6ce23cd 100644 --- a/src/plugins/vis_type_vislib/public/horizontal_bar.ts +++ b/src/plugins/vis_type_vislib/public/horizontal_bar.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; // @ts-ignore import { palettes, euiPaletteColorBlind } from '@elastic/eui/lib/services'; diff --git a/src/plugins/vis_type_vislib/public/index.ts b/src/plugins/vis_type_vislib/public/index.ts index 79156b0260c1..525be8eaf829 100644 --- a/src/plugins/vis_type_vislib/public/index.ts +++ b/src/plugins/vis_type_vislib/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from '../../../core/public'; import { VisTypeVislibPlugin as Plugin } from './plugin'; diff --git a/src/plugins/vis_type_vislib/public/line.ts b/src/plugins/vis_type_vislib/public/line.ts index 930f68697e18..06a5be4fe414 100644 --- a/src/plugins/vis_type_vislib/public/line.ts +++ b/src/plugins/vis_type_vislib/public/line.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; // @ts-ignore import { palettes, euiPaletteColorBlind } from '@elastic/eui/lib/services'; diff --git a/src/plugins/vis_type_vislib/public/pie.ts b/src/plugins/vis_type_vislib/public/pie.ts index e32c96cae281..cb11593f32a9 100644 --- a/src/plugins/vis_type_vislib/public/pie.ts +++ b/src/plugins/vis_type_vislib/public/pie.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { AggGroupNames } from '../../data/public'; diff --git a/src/plugins/vis_type_vislib/public/pie_fn.test.ts b/src/plugins/vis_type_vislib/public/pie_fn.test.ts index e623cdceb696..2c38f7f7b507 100644 --- a/src/plugins/vis_type_vislib/public/pie_fn.test.ts +++ b/src/plugins/vis_type_vislib/public/pie_fn.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { functionWrapper } from '../../expressions/common/expression_functions/specs/tests/utils'; import { createPieVisFn } from './pie_fn'; // @ts-ignore diff --git a/src/plugins/vis_type_vislib/public/pie_fn.ts b/src/plugins/vis_type_vislib/public/pie_fn.ts index 86d12d308f08..872efdb9058e 100644 --- a/src/plugins/vis_type_vislib/public/pie_fn.ts +++ b/src/plugins/vis_type_vislib/public/pie_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition, diff --git a/src/plugins/vis_type_vislib/public/plugin.ts b/src/plugins/vis_type_vislib/public/plugin.ts index ae842d670e65..1a00730f3fef 100644 --- a/src/plugins/vis_type_vislib/public/plugin.ts +++ b/src/plugins/vis_type_vislib/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index.scss'; import { diff --git a/src/plugins/vis_type_vislib/public/services.ts b/src/plugins/vis_type_vislib/public/services.ts index 505ee192a82e..2a2822464b02 100644 --- a/src/plugins/vis_type_vislib/public/services.ts +++ b/src/plugins/vis_type_vislib/public/services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createGetterSetter } from '../../opensearch_dashboards_utils/public'; import { DataPublicPluginStart } from '../../data/public'; import { OpenSearchDashboardsLegacyStart } from '../../opensearch_dashboards_legacy/public'; diff --git a/src/plugins/vis_type_vislib/public/types.ts b/src/plugins/vis_type_vislib/public/types.ts index 9adeb206ae4c..3416a1ee3c4a 100644 --- a/src/plugins/vis_type_vislib/public/types.ts +++ b/src/plugins/vis_type_vislib/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TimeMarker } from './vislib/visualizations/time_marker'; import { Positions, diff --git a/src/plugins/vis_type_vislib/public/utils/collections.ts b/src/plugins/vis_type_vislib/public/utils/collections.ts index 2509dc504836..26702f1ba1d8 100644 --- a/src/plugins/vis_type_vislib/public/utils/collections.ts +++ b/src/plugins/vis_type_vislib/public/utils/collections.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { $Values } from '@osd/utility-types'; diff --git a/src/plugins/vis_type_vislib/public/utils/common_config.tsx b/src/plugins/vis_type_vislib/public/utils/common_config.tsx index cf95d7e2d97e..e99bb6f910aa 100644 --- a/src/plugins/vis_type_vislib/public/utils/common_config.tsx +++ b/src/plugins/vis_type_vislib/public/utils/common_config.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_vislib/public/vis_controller.tsx b/src/plugins/vis_type_vislib/public/vis_controller.tsx index 4774ec0a92d6..ec994cbe3e82 100644 --- a/src/plugins/vis_type_vislib/public/vis_controller.tsx +++ b/src/plugins/vis_type_vislib/public/vis_controller.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; import React, { RefObject } from 'react'; diff --git a/src/plugins/vis_type_vislib/public/vis_type_vislib_vis_fn.ts b/src/plugins/vis_type_vislib/public/vis_type_vislib_vis_fn.ts index 4d93a845ad29..146dc37735d2 100644 --- a/src/plugins/vis_type_vislib/public/vis_type_vislib_vis_fn.ts +++ b/src/plugins/vis_type_vislib/public/vis_type_vislib_vis_fn.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition, diff --git a/src/plugins/vis_type_vislib/public/vis_type_vislib_vis_types.ts b/src/plugins/vis_type_vislib/public/vis_type_vislib_vis_types.ts index 542292925321..4ba201e212d9 100644 --- a/src/plugins/vis_type_vislib/public/vis_type_vislib_vis_types.ts +++ b/src/plugins/vis_type_vislib/public/vis_type_vislib_vis_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createHistogramVisTypeDefinition } from './histogram'; export { createLineVisTypeDefinition } from './line'; export { createPieVisTypeDefinition } from './pie'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/labels/data_array.js b/src/plugins/vis_type_vislib/public/vislib/components/labels/data_array.js index 2b554b2b7cc0..6175cc5e52d5 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/labels/data_array.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/labels/data_array.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { flattenSeries } from './flatten_series'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/labels/flatten_series.js b/src/plugins/vis_type_vislib/public/vislib/components/labels/flatten_series.js index db7c97ca957d..5c0c16dc5702 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/labels/flatten_series.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/labels/flatten_series.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; /* diff --git a/src/plugins/vis_type_vislib/public/vislib/components/labels/index.js b/src/plugins/vis_type_vislib/public/vislib/components/labels/index.js index f1a2dfb97c1b..ee36a19bf992 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/labels/index.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/labels/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { labels } from './labels'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/labels/labels.js b/src/plugins/vis_type_vislib/public/vislib/components/labels/labels.js index 4bc3217c8785..3fca29c69b80 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/labels/labels.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/labels/labels.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { dataArray as createArr } from './data_array'; import { uniqLabels as getArrOfUniqLabels } from './uniq_labels'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/labels/labels.test.js b/src/plugins/vis_type_vislib/public/vislib/components/labels/labels.test.js index 6874aada01ac..6318cd3fba5e 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/labels/labels.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/labels/labels.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { labels } from './labels'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/labels/truncate_labels.js b/src/plugins/vis_type_vislib/public/vislib/components/labels/truncate_labels.js index 67b2086b94eb..df9cfa05593a 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/labels/truncate_labels.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/labels/truncate_labels.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; import d3 from 'd3'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/labels/uniq_labels.js b/src/plugins/vis_type_vislib/public/vislib/components/labels/uniq_labels.js index 1ab555a5ce25..65b38aedff93 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/labels/uniq_labels.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/labels/uniq_labels.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; /* diff --git a/src/plugins/vis_type_vislib/public/vislib/components/legend/index.ts b/src/plugins/vis_type_vislib/public/vislib/components/legend/index.ts index eaf0826384d2..2018a7068bf7 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/legend/index.ts +++ b/src/plugins/vis_type_vislib/public/vislib/components/legend/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { VisLegend } from './legend'; export { CUSTOM_LEGEND_VIS_TYPES } from './models'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/legend/legend.test.tsx b/src/plugins/vis_type_vislib/public/vislib/components/legend/legend.test.tsx index f6c8b8b87c7c..18192c3faa34 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/legend/legend.test.tsx +++ b/src/plugins/vis_type_vislib/public/vislib/components/legend/legend.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mount, ReactWrapper } from 'enzyme'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/legend/legend.tsx b/src/plugins/vis_type_vislib/public/vislib/components/legend/legend.tsx index 8804e29a1305..3e137a0df98e 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/legend/legend.tsx +++ b/src/plugins/vis_type_vislib/public/vislib/components/legend/legend.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import React, { BaseSyntheticEvent, KeyboardEvent, PureComponent } from 'react'; import classNames from 'classnames'; import { compact, uniqBy, map, every, isUndefined } from 'lodash'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/legend/legend_item.tsx b/src/plugins/vis_type_vislib/public/vislib/components/legend/legend_item.tsx index 97e13c146558..21c65608b1bb 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/legend/legend_item.tsx +++ b/src/plugins/vis_type_vislib/public/vislib/components/legend/legend_item.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { memo, BaseSyntheticEvent, KeyboardEvent } from 'react'; import classNames from 'classnames'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/legend/models.ts b/src/plugins/vis_type_vislib/public/vislib/components/legend/models.ts index 4492a40db6c0..1d86703b5c38 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/legend/models.ts +++ b/src/plugins/vis_type_vislib/public/vislib/components/legend/models.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface LegendItem { label: string; values: any[]; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/legend/pie_utils.ts b/src/plugins/vis_type_vislib/public/vislib/components/legend/pie_utils.ts index 5d43b519eb14..506d37a6b034 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/legend/pie_utils.ts +++ b/src/plugins/vis_type_vislib/public/vislib/components/legend/pie_utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; /** diff --git a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_collect_branch.js b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_collect_branch.js index 309a0ef36dcf..b6245740f2c1 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_collect_branch.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_collect_branch.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function collectBranch(leaf) { // walk up the branch for each parent function walk(item, memo) { diff --git a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_collect_branch.test.js b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_collect_branch.test.js index d9689bcba04e..a74b583ea203 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_collect_branch.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_collect_branch.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { collectBranch } from './_collect_branch'; describe('collectBranch()', () => { diff --git a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_hierarchical_tooltip_formatter.js b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_hierarchical_tooltip_formatter.js index 4a7537b931e4..52c488c987c7 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_hierarchical_tooltip_formatter.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_hierarchical_tooltip_formatter.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import _ from 'lodash'; import numeral from '@elastic/numeral'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.js b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.js index 285c40c7404b..fbc5b7c6c31c 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { renderToStaticMarkup } from 'react-dom/server'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.test.js b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.test.js index e8c046474c00..0582615feed5 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/index.js b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/index.js index cb2017a73703..30ec2b466f6f 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/index.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Tooltip } from './tooltip'; export { hierarchicalTooltipFormatter } from './_hierarchical_tooltip_formatter'; export { pointSeriesTooltipFormatter } from './_pointseries_tooltip_formatter'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/position_tooltip.js b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/position_tooltip.js index 0333e63d4f71..de755a8d200d 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/position_tooltip.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/position_tooltip.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/position_tooltip.test.js b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/position_tooltip.test.js index 2ed1fabd80b6..e4b30ef32528 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/position_tooltip.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/position_tooltip.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; import _ from 'lodash'; import sinon from 'sinon'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/tooltip.js b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/tooltip.js index 62d012905953..99e095897b89 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/tooltip/tooltip.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/tooltip/tooltip.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/flatten_data.js b/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/flatten_data.js index 69ea8c29dd6c..dabd341e8eed 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/flatten_data.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/flatten_data.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; /* diff --git a/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/inject_zeros.js b/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/inject_zeros.js index 42bf4a931825..6dca7c824134 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/inject_zeros.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/inject_zeros.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { orderXValues } from './ordered_x_keys'; import { createZeroFilledArray } from './zero_filled_array'; import { zeroFillDataArray } from './zero_fill_data_array'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/ordered_x_keys.js b/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/ordered_x_keys.js index a2010867adf1..63e090959b57 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/ordered_x_keys.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/ordered_x_keys.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import moment from 'moment'; import { getUniqKeys } from './uniq_keys'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/uniq_keys.js b/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/uniq_keys.js index 3ec39b911f22..30360887772b 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/uniq_keys.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/uniq_keys.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isObject, isNumber } from 'lodash'; import { flattenData } from './flatten_data'; diff --git a/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/zero_fill_data_array.js b/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/zero_fill_data_array.js index 90bd4e5c47e3..3dd48ec339af 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/zero_fill_data_array.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/zero_fill_data_array.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; /* diff --git a/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/zero_filled_array.js b/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/zero_filled_array.js index 5035da6f2a0f..35e4ab56ea09 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/zero_filled_array.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/zero_filled_array.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* * Accepts an array of x axis values (strings or numbers). * Returns a zero filled array. diff --git a/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/zero_injection.test.js b/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/zero_injection.test.js index 1001fbd406ec..2401e283ba25 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/zero_injection.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/components/zero_injection/zero_injection.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { injectZeros } from './inject_zeros'; import { orderXValues } from './ordered_x_keys'; diff --git a/src/plugins/vis_type_vislib/public/vislib/errors.ts b/src/plugins/vis_type_vislib/public/vislib/errors.ts index 15b59fbeabba..64aaf50c227d 100644 --- a/src/plugins/vis_type_vislib/public/vislib/errors.ts +++ b/src/plugins/vis_type_vislib/public/vislib/errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable max-classes-per-file */ import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/hierarchical/build_hierarchical_data.test.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/hierarchical/build_hierarchical_data.test.ts index d25c6a8f0101..4f0694ea76ad 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/hierarchical/build_hierarchical_data.test.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/hierarchical/build_hierarchical_data.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { buildHierarchicalData, Dimensions, Dimension } from './build_hierarchical_data'; import { Table, TableParent } from '../../types'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/hierarchical/build_hierarchical_data.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/hierarchical/build_hierarchical_data.ts index 3c5828ccb10f..236e0384ad32 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/hierarchical/build_hierarchical_data.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/hierarchical/build_hierarchical_data.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { toArray } from 'lodash'; import { SerializedFieldFormat } from '../../../../../expressions/common/types'; import { getFormatService } from '../../../services'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/index.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/index.ts index 14468dca6e5c..d95bfbfbd965 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/index.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { buildPointSeriesData } from './point_series'; export { buildHierarchicalData } from './hierarchical/build_hierarchical_data'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_add_to_siri.test.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_add_to_siri.test.ts index 986d122387f3..530198cb83f6 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_add_to_siri.test.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_add_to_siri.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { addToSiri, Serie } from './_add_to_siri'; import { Point } from './_get_point'; import { Dimension } from './point_series'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_add_to_siri.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_add_to_siri.ts index efc79ea066cb..d26ac8690a0a 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_add_to_siri.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_add_to_siri.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Point } from './_get_point'; import { Dimension } from './point_series'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_fake_x_aspect.test.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_fake_x_aspect.test.ts index 74ec371db071..089abfb578c3 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_fake_x_aspect.test.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_fake_x_aspect.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { makeFakeXAspect } from './_fake_x_aspect'; describe('makeFakeXAspect', function () { diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_fake_x_aspect.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_fake_x_aspect.ts index b24a07efce9f..d9cdec3243a4 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_fake_x_aspect.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_fake_x_aspect.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { Aspect } from './point_series'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_aspects.test.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_aspects.test.ts index cb3b05196bfd..c044335209b3 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_aspects.test.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_aspects.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getAspects } from './_get_aspects'; import { Dimension, Dimensions, Aspect } from './point_series'; import { Table, Row } from '../../types'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_aspects.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_aspects.ts index b780572d901f..5afbb9213085 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_aspects.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_aspects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { makeFakeXAspect } from './_fake_x_aspect'; import { Dimensions, Aspects } from './point_series'; import { Table } from '../../types'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_point.test.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_point.test.ts index e7b1859fb47a..e49d6b2c7f66 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_point.test.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_point.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IFieldFormatsRegistry } from '../../../../../data/common'; import { getPoint } from './_get_point'; import { setFormatService } from '../../../services'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_point.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_point.ts index af0044659371..33afe95ea723 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_point.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_point.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getFormatService } from '../../../services'; import { Aspect } from './point_series'; import { Table, Row } from '../../types'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_series.test.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_series.test.ts index b221028dd97e..f85d2c96f94b 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_series.test.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_series.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getSeries } from './_get_series'; import { setFormatService } from '../../../services'; import { Chart, Aspect } from './point_series'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_series.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_series.ts index ffdcdc8b6e50..4523719d1858 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_series.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_get_series.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { partial } from 'lodash'; import { getPoint } from './_get_point'; import { addToSiri, Serie } from './_add_to_siri'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_init_x_axis.test.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_init_x_axis.test.ts index 31be624254f7..b3fc6872b9bf 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_init_x_axis.test.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_init_x_axis.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { initXAxis } from './_init_x_axis'; import { makeFakeXAspect } from './_fake_x_aspect'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_init_x_axis.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_init_x_axis.ts index d31bba9bc17d..bece215697d3 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_init_x_axis.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_init_x_axis.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { uniq } from 'lodash'; import moment from 'moment'; import { Chart } from './point_series'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_init_y_axis.test.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_init_y_axis.test.ts index 0994ec7bdab8..154f64b58f16 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_init_y_axis.test.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_init_y_axis.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { initYAxis } from './_init_y_axis'; import { Chart } from './point_series'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_init_y_axis.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_init_y_axis.ts index 73f110289bf5..8370c93ad9bb 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_init_y_axis.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_init_y_axis.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Chart } from './point_series'; export function initYAxis(chart: Chart) { diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_ordered_date_axis.test.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_ordered_date_axis.test.ts index edbd52b7bd64..609bd5d14fc7 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_ordered_date_axis.test.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_ordered_date_axis.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import _ from 'lodash'; import { orderedDateAxis } from './_ordered_date_axis'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_ordered_date_axis.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_ordered_date_axis.ts index 91cff02d0ec0..66e50abeedeb 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_ordered_date_axis.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/_ordered_date_axis.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OrderedChart } from './point_series'; export function orderedDateAxis(chart: OrderedChart) { diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/index.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/index.ts index 7af9249dee37..eb569f6985d6 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/index.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { buildPointSeriesData } from './point_series'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/point_series.test.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/point_series.test.ts index 2a367a13ef30..579eb1fdf093 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/point_series.test.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/point_series.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { buildPointSeriesData, Dimensions } from './point_series'; import { Table, Column } from '../../types'; diff --git a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/point_series.ts b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/point_series.ts index 194799ce25a2..1585f3732843 100644 --- a/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/point_series.ts +++ b/src/plugins/vis_type_vislib/public/vislib/helpers/point_series/point_series.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Duration } from 'moment'; import { getSeries } from './_get_series'; import { getAspects } from './_get_aspects'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/_data_label.js b/src/plugins/vis_type_vislib/public/vislib/lib/_data_label.js index f31d221b340e..e2a0a499dad2 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/_data_label.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/_data_label.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; /** * Creates a string based on the hex color passed in diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/_error_handler.js b/src/plugins/vis_type_vislib/public/vislib/lib/_error_handler.js index 91b21792b954..844f70a367ee 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/_error_handler.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/_error_handler.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { ContainerTooSmall } from '../errors'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/_error_handler.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/_error_handler.test.js index 47db7dda35ea..3542c36874b5 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/_error_handler.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/_error_handler.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ErrorHandler } from './_error_handler'; describe('Vislib ErrorHandler Test Suite', function () { diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/alerts.js b/src/plugins/vis_type_vislib/public/vislib/lib/alerts.js index 5b279ab9f1f5..75c3abdd64a6 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/alerts.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/alerts.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis.js b/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis.js index 6a094f2b0ded..78eb4ded4bd4 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis.test.js index 188a0bc08e19..10bf677edbf5 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_config.js b/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_config.js index c068fba3c45c..4883f501a625 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_config.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { set } from '@elastic/safer-lodash-set'; import _ from 'lodash'; import d3 from 'd3'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_labels.js b/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_labels.js index 11aec751f0f7..8d5ebf7fd066 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_labels.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_labels.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import $ from 'jquery'; import { truncateLabel } from '../../components/labels/truncate_labels'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_scale.js b/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_scale.js index d73158693bd0..a2a1ca39beee 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_scale.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_scale.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; import moment from 'moment'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_title.js b/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_title.js index ceb086359d0c..77fbda062978 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_title.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_title.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_title.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_title.test.js index 55eb5eabfe3c..dc8ce4c99b9c 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_title.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/axis/axis_title.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/axis/index.js b/src/plugins/vis_type_vislib/public/vislib/lib/axis/index.js index 174a91502035..c06fe5cb4b18 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/axis/index.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/axis/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Axis } from './axis'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/axis/scale_modes.js b/src/plugins/vis_type_vislib/public/vislib/lib/axis/scale_modes.js index 76f93f048b82..31468f0cb3b5 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/axis/scale_modes.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/axis/scale_modes.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const SCALE_MODES = { NORMAL: 'normal', PERCENTAGE: 'percentage', diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/axis/time_ticks.js b/src/plugins/vis_type_vislib/public/vislib/lib/axis/time_ticks.js index cb0f86c7be79..a4f431cceeba 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/axis/time_ticks.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/axis/time_ticks.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; export const timeTicks = (scale) => { diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/axis/time_ticks.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/axis/time_ticks.test.js index bdfa7edbb221..83e28da01c07 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/axis/time_ticks.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/axis/time_ticks.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import moment from 'moment-timezone'; import { timeTicks } from './time_ticks'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/axis/x_axis.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/axis/x_axis.test.js index 6e89e3cb2942..2c05fa09d0c2 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/axis/x_axis.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/axis/x_axis.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/axis/y_axis.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/axis/y_axis.test.js index c2cf63cb99e4..80701c0c8c73 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/axis/y_axis.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/axis/y_axis.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import d3 from 'd3'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/binder.ts b/src/plugins/vis_type_vislib/public/vislib/lib/binder.ts index c6a55b503f5b..33ef39590d35 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/binder.ts +++ b/src/plugins/vis_type_vislib/public/vislib/lib/binder.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import $ from 'jquery'; import { IScope } from 'angular'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/chart_grid.js b/src/plugins/vis_type_vislib/public/vislib/lib/chart_grid.js index 32b939974b47..cc3733718e17 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/chart_grid.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/chart_grid.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import { set } from '@elastic/safer-lodash-set'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/chart_title.js b/src/plugins/vis_type_vislib/public/vislib/lib/chart_title.js index 14f9d3de7364..ebf8499bf924 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/chart_title.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/chart_title.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/chart_title.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/chart_title.test.js index 1123e32edeb6..21f846c789e0 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/chart_title.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/chart_title.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; import { diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/data.js b/src/plugins/vis_type_vislib/public/vislib/lib/data.js index 09e86228a357..f7b90694210a 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/data.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/data.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/data.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/data.test.js index aea45ccb66a3..b8684758cb53 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/data.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/data.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { Data } from './data'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/dispatch.js b/src/plugins/vis_type_vislib/public/vislib/lib/dispatch.js index 5d5ee55c8cbe..a8627c2b6e7b 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/dispatch.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/dispatch.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import { get, pull, rest, size, reduce } from 'lodash'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/dispatch.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/dispatch.test.js index b56345d25138..cf5b5424e12e 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/dispatch.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/dispatch.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import d3 from 'd3'; import { diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/dispatch_heatmap.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/dispatch_heatmap.test.js index 19c0ff078231..82879c7a32bb 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/dispatch_heatmap.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/dispatch_heatmap.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import mockDispatchDataD3 from '../../fixtures/dispatch_heatmap_d3.json'; import { Dispatch } from './dispatch'; import mockdataPoint from '../../fixtures/dispatch_heatmap_data_point.json'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/dispatch_vertical_bar_chart.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/dispatch_vertical_bar_chart.test.js index 9fa9db7f303b..cb07c8d1124c 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/dispatch_vertical_bar_chart.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/dispatch_vertical_bar_chart.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import mockDispatchDataD3 from '../../fixtures/dispatch_bar_chart_d3.json'; import { Dispatch } from './dispatch'; import mockdataPoint from '../../fixtures/dispatch_bar_chart_data_point.json'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/handler.js b/src/plugins/vis_type_vislib/public/vislib/lib/handler.js index 4ab1ac533024..49dcadd68ba1 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/handler.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/handler.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; import MarkdownIt from 'markdown-it'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/handler.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/handler.test.js index 8d3faa1f2d01..26d9e8d54d4e 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/handler.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/handler.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; import { setHTMLElementClientSizes, diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/index.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/index.js index 86b56e66c508..12415fdc34c5 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/index.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Layout } from './layout'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/layout.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/layout.js index 6bb834a33453..67d5fc4e408b 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/layout.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/layout.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/layout.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/layout.test.js index dbee2389c3c4..98a352180bf3 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/layout.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/layout.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import $ from 'jquery'; import { diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/layout_types.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/layout_types.js index 37375c75e422..637f7a1def99 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/layout_types.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/layout_types.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { columnLayout } from './types/column_layout'; import { pieLayout } from './types/pie_layout'; import { gaugeLayout } from './types/gauge_layout'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/layout_types.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/layout_types.test.js index 24341d0d42e1..7aa3b725156c 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/layout_types.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/layout_types.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { layoutTypes as layoutType } from './layout_types'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/chart_split.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/chart_split.js index c81696d98d63..b2ac921c2e4e 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/chart_split.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/chart_split.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; /* diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/chart_title_split.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/chart_title_split.js index c5063dd0a5ba..3e90a7331d3d 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/chart_title_split.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/chart_title_split.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/splits.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/splits.test.js index 056266e94fca..6cebefa01aa5 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/splits.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/splits.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/x_axis_split.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/x_axis_split.js index d7d0fb74d626..d5e2824b9d1f 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/x_axis_split.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/x_axis_split.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; /* diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/y_axis_split.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/y_axis_split.js index abcb78846d3e..8baadaf02e94 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/y_axis_split.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/y_axis_split.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; /* diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/gauge_chart/chart_split.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/gauge_chart/chart_split.js index 695743b70769..87d61b152123 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/gauge_chart/chart_split.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/gauge_chart/chart_split.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; /* diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/gauge_chart/chart_title_split.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/gauge_chart/chart_title_split.js index d715586a9c61..9d268aa07cad 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/gauge_chart/chart_title_split.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/gauge_chart/chart_title_split.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; /* diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/gauge_chart/splits.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/gauge_chart/splits.test.js index 2b92b209252a..9600468b37e5 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/gauge_chart/splits.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/gauge_chart/splits.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/pie_chart/chart_split.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/pie_chart/chart_split.js index e6ee67c2268a..1442080f3f5c 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/pie_chart/chart_split.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/pie_chart/chart_split.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; /* diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/pie_chart/chart_title_split.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/pie_chart/chart_title_split.js index d715586a9c61..9d268aa07cad 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/pie_chart/chart_title_split.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/splits/pie_chart/chart_title_split.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; /* diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/types/column_layout.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/types/column_layout.js index 3c936008db6f..cdf8f4e65fad 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/types/column_layout.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/types/column_layout.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { chartSplit } from '../splits/column_chart/chart_split'; import { yAxisSplit } from '../splits/column_chart/y_axis_split'; import { xAxisSplit } from '../splits/column_chart/x_axis_split'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/types/column_layout.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/types/column_layout.test.js index 0ebaa898a25e..a3a28f836da7 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/types/column_layout.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/types/column_layout.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/types/gauge_layout.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/types/gauge_layout.js index e3fcb283d66c..bb96a61516fa 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/types/gauge_layout.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/types/gauge_layout.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { chartSplit } from '../splits/gauge_chart/chart_split'; /** diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/layout/types/pie_layout.js b/src/plugins/vis_type_vislib/public/vislib/lib/layout/types/pie_layout.js index 435dcf300c23..9ef7bde0679d 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/layout/types/pie_layout.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/layout/types/pie_layout.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { chartSplit } from '../splits/pie_chart/chart_split'; import { chartTitleSplit } from '../splits/pie_chart/chart_title_split'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/types/gauge.js b/src/plugins/vis_type_vislib/public/vislib/lib/types/gauge.js index c014e012cd98..9df6bb530827 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/types/gauge.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/types/gauge.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function vislibGaugeConfig(config) { return config; } diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/types/index.js b/src/plugins/vis_type_vislib/public/vislib/lib/types/index.js index 20102a7e9558..5a7122e0b89b 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/types/index.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/types/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { vislibPointSeriesTypes as pointSeries } from './point_series'; import { vislibPieConfig } from './pie'; import { vislibGaugeConfig } from './gauge'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/types/pie.js b/src/plugins/vis_type_vislib/public/vislib/lib/types/pie.js index 6f387f74b57c..69ad481e7129 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/types/pie.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/types/pie.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; export function vislibPieConfig(config) { diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/types/point_series.js b/src/plugins/vis_type_vislib/public/vislib/lib/types/point_series.js index 0524e724b416..e90efda5ece8 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/types/point_series.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/types/point_series.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/types/point_series.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/types/point_series.test.js index bcdc7bbc7736..5a5d699286f1 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/types/point_series.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/types/point_series.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import stackedSeries from '../../../fixtures/mock_data/date_histogram/_stacked_series'; import { vislibPointSeriesTypes } from './point_series'; import percentileTestdata from './testdata_linechart_percentile.json'; diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/vis_config.js b/src/plugins/vis_type_vislib/public/vislib/lib/vis_config.js index e42a1048ce28..4f163a28cc1c 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/vis_config.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/vis_config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Provides vislib configuration, throws error if invalid property is accessed without providing defaults */ diff --git a/src/plugins/vis_type_vislib/public/vislib/lib/vis_config.test.js b/src/plugins/vis_type_vislib/public/vislib/lib/vis_config.test.js index 923f7c3149b9..5ec413f40498 100644 --- a/src/plugins/vis_type_vislib/public/vislib/lib/vis_config.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/lib/vis_config.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import { VisConfig } from './vis_config'; diff --git a/src/plugins/vis_type_vislib/public/vislib/response_handler.js b/src/plugins/vis_type_vislib/public/vislib/response_handler.js index a4cac0f777d4..8cb6c05b6b25 100644 --- a/src/plugins/vis_type_vislib/public/vislib/response_handler.js +++ b/src/plugins/vis_type_vislib/public/vislib/response_handler.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getFormatService } from '../services'; import { buildHierarchicalData, buildPointSeriesData } from './helpers'; diff --git a/src/plugins/vis_type_vislib/public/vislib/response_handler.test.ts b/src/plugins/vis_type_vislib/public/vislib/response_handler.test.ts index 639dc75753a4..605c78a09a14 100644 --- a/src/plugins/vis_type_vislib/public/vislib/response_handler.test.ts +++ b/src/plugins/vis_type_vislib/public/vislib/response_handler.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { setFormatService } from '../services'; jest.mock('./helpers', () => ({ diff --git a/src/plugins/vis_type_vislib/public/vislib/types.ts b/src/plugins/vis_type_vislib/public/vislib/types.ts index e1afd5798f79..3d81f5306e11 100644 --- a/src/plugins/vis_type_vislib/public/vislib/types.ts +++ b/src/plugins/vis_type_vislib/public/vislib/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface Column { // -1 value can be in a fake X aspect id: string | -1; diff --git a/src/plugins/vis_type_vislib/public/vislib/vis.js b/src/plugins/vis_type_vislib/public/vislib/vis.js index 5184e758067c..508d77d6629a 100644 --- a/src/plugins/vis_type_vislib/public/vislib/vis.js +++ b/src/plugins/vis_type_vislib/public/vislib/vis.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import d3 from 'd3'; import { EventEmitter } from 'events'; diff --git a/src/plugins/vis_type_vislib/public/vislib/vis.test.js b/src/plugins/vis_type_vislib/public/vislib/vis.test.js index 352d62b52268..fcab7fe8028d 100644 --- a/src/plugins/vis_type_vislib/public/vislib/vis.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/vis.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import $ from 'jquery'; import { diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/_chart.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/_chart.js index d830fb1260ca..fd363989ad08 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/_chart.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/_chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/_vis_fixture.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/_vis_fixture.js index 824a1de11623..6d2f9a3f636c 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/_vis_fixture.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/_vis_fixture.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import $ from 'jquery'; import { coreMock } from '../../../../../core/public/mocks'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/chart.test.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/chart.test.js index 50c08401eb43..bcffd2039970 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/chart.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/chart.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import { setHTMLElementClientSizes, setSVGElementGetBBox } from '../../../../../test_utils/public'; import { Chart } from './_chart'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/gauge_chart.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/gauge_chart.js index 9cbf21575b63..c4a2598e1ee7 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/gauge_chart.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/gauge_chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import { Chart } from './_chart'; import { gaugeTypes } from './gauges/gauge_types'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/gauge_chart.test.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/gauge_chart.test.js index eb7b5cd1cd04..aa25c059ed28 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/gauge_chart.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/gauge_chart.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import $ from 'jquery'; import _ from 'lodash'; import { setHTMLElementClientSizes, setSVGElementGetBBox } from '../../../../../test_utils/public'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/gauges/gauge_types.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/gauges/gauge_types.js index 79fc4dcd9fb4..89409144cb33 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/gauges/gauge_types.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/gauges/gauge_types.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { MeterGauge } from './meter'; export const gaugeTypes = { diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/gauges/meter.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/gauges/meter.js index eacd65222f9c..862ad70add65 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/gauges/meter.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/gauges/meter.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/pie_chart.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/pie_chart.js index ac0023690376..ed858dd7b95e 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/pie_chart.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/pie_chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/pie_chart.test.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/pie_chart.test.js index 9623ef5c4619..5df1e01a9014 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/pie_chart.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/pie_chart.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/pie_chart_mock_data.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/pie_chart_mock_data.js index 72087b2293d7..464bc0c3487e 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/pie_chart_mock_data.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/pie_chart_mock_data.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const pieChartMockData = { rowData: { rows: [ diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series.js index 0a7eced1a652..80108521c1e0 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/_point_series.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/_point_series.js index dde2e192fac6..90048fca9490 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/_point_series.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/_point_series.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { euiPaletteColorBlind } from '@elastic/eui/lib/services'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/_point_series.test.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/_point_series.test.js index a0bff0ca6a66..4efd9ad19c8c 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/_point_series.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/_point_series.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { PointSeries } from './_point_series'; describe('Point Series', () => { diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/area_chart.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/area_chart.js index 7d25f1b2a051..6ec248e8971b 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/area_chart.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/area_chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/area_chart.test.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/area_chart.test.js index 0ed3a158e175..e5724bccf1e4 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/area_chart.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/area_chart.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/column_chart.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/column_chart.js index 42c346e5bbb4..012af6a3bb29 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/column_chart.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/column_chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import d3 from 'd3'; import { isColorDark } from '@elastic/eui/lib/services'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/column_chart.test.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/column_chart.test.js index dc8030aa557e..1e28b334e4e0 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/column_chart.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/column_chart.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import d3 from 'd3'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/heatmap_chart.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/heatmap_chart.js index 1532d0f004ec..06e658771682 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/heatmap_chart.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/heatmap_chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import moment from 'moment'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/heatmap_chart.test.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/heatmap_chart.test.js index 0fd04312d257..b2d15103c915 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/heatmap_chart.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/heatmap_chart.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import $ from 'jquery'; import d3 from 'd3'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/line_chart.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/line_chart.js index dec053565f48..7364ecafd176 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/line_chart.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/line_chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import _ from 'lodash'; import { PointSeries } from './_point_series'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/line_chart.test.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/line_chart.test.js index b01699306ae5..b9bacb69c0b5 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/line_chart.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/line_chart.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import $ from 'jquery'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/series_types.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/series_types.js index 1136261c2758..c8d02e2e2fa8 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/series_types.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/point_series/series_types.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ColumnChart } from './column_chart'; import { LineChart } from './line_chart'; import { AreaChart } from './area_chart'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/time_marker.d.ts b/src/plugins/vis_type_vislib/public/vislib/visualizations/time_marker.d.ts index 4fee5e0712d7..2dbbfcb887e2 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/time_marker.d.ts +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/time_marker.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export interface TimeMarker { time: string; class?: string; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/time_marker.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/time_marker.js index b58979e777e5..be6c6d961f77 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/time_marker.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/time_marker.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import dateMath from '@elastic/datemath'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/time_marker.test.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/time_marker.test.js index d6030cf1afa1..92445d7e5121 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/time_marker.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/time_marker.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import d3 from 'd3'; import $ from 'jquery'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/vis_types.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/vis_types.js index 8bddb7c4e526..adcd60de0785 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/vis_types.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/vis_types.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PointSeries } from './point_series'; import { PieChart } from './pie_chart'; import { GaugeChart } from './gauge_chart'; diff --git a/src/plugins/vis_type_vislib/public/vislib/visualizations/vis_types.test.js b/src/plugins/vis_type_vislib/public/vislib/visualizations/vis_types.test.js index 56267a9584be..69536b358d9b 100644 --- a/src/plugins/vis_type_vislib/public/vislib/visualizations/vis_types.test.js +++ b/src/plugins/vis_type_vislib/public/vislib/visualizations/vis_types.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { visTypes } from './vis_types'; diff --git a/src/plugins/vis_type_vislib/server/index.ts b/src/plugins/vis_type_vislib/server/index.ts index e353face4a99..1dab7a5e8113 100644 --- a/src/plugins/vis_type_vislib/server/index.ts +++ b/src/plugins/vis_type_vislib/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { schema } from '@osd/config-schema'; import { VisTypeVislibServerPlugin } from './plugin'; export const config = { diff --git a/src/plugins/vis_type_vislib/server/plugin.ts b/src/plugins/vis_type_vislib/server/plugin.ts index 8244fcde827b..329e53d14acd 100644 --- a/src/plugins/vis_type_vislib/server/plugin.ts +++ b/src/plugins/vis_type_vislib/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, CoreStart, Plugin } from 'opensearch-dashboards/server'; import { uiSettings } from './ui_settings'; diff --git a/src/plugins/vis_type_vislib/server/ui_settings.ts b/src/plugins/vis_type_vislib/server/ui_settings.ts index 1652a330fa9e..6cd21d7baaa7 100644 --- a/src/plugins/vis_type_vislib/server/ui_settings.ts +++ b/src/plugins/vis_type_vislib/server/ui_settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { schema } from '@osd/config-schema'; diff --git a/src/plugins/vis_type_xy/public/index.ts b/src/plugins/vis_type_xy/public/index.ts index 7cb8d28c52dc..9f4f7a42b818 100644 --- a/src/plugins/vis_type_xy/public/index.ts +++ b/src/plugins/vis_type_xy/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from '../../../core/public'; import { VisTypeXyPlugin as Plugin } from './plugin'; diff --git a/src/plugins/vis_type_xy/public/plugin.ts b/src/plugins/vis_type_xy/public/plugin.ts index 0c7b34cc5267..9e82914af68d 100644 --- a/src/plugins/vis_type_xy/public/plugin.ts +++ b/src/plugins/vis_type_xy/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, CoreStart, diff --git a/src/plugins/vis_type_xy/server/index.ts b/src/plugins/vis_type_xy/server/index.ts index 31655e1a5126..bbf01cf867e2 100644 --- a/src/plugins/vis_type_xy/server/index.ts +++ b/src/plugins/vis_type_xy/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { schema } from '@osd/config-schema'; export const config = { diff --git a/src/plugins/visualizations/common/constants.ts b/src/plugins/visualizations/common/constants.ts index a583b399191d..fb2b4152ec66 100644 --- a/src/plugins/visualizations/common/constants.ts +++ b/src/plugins/visualizations/common/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const VISUALIZE_ENABLE_LABS_SETTING = 'visualize:enableLabs'; export const VISUALIZE_DISABLE_BUCKET_AGG_SETTING = 'visualize:disableBucketAgg'; diff --git a/src/plugins/visualizations/public/components/index.ts b/src/plugins/visualizations/public/components/index.ts index bd8482f6659a..b05fce85aac0 100644 --- a/src/plugins/visualizations/public/components/index.ts +++ b/src/plugins/visualizations/public/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { Visualization } from './visualization'; export { VisualizationContainer } from './visualization_container'; export { VisualizationNoResults } from './visualization_noresults'; diff --git a/src/plugins/visualizations/public/components/visualization.test.js b/src/plugins/visualizations/public/components/visualization.test.js index ab5f8c52c570..ddd4de065b0f 100644 --- a/src/plugins/visualizations/public/components/visualization.test.js +++ b/src/plugins/visualizations/public/components/visualization.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.useFakeTimers(); import React from 'react'; diff --git a/src/plugins/visualizations/public/components/visualization.tsx b/src/plugins/visualizations/public/components/visualization.tsx index e4fff82efea3..0274232904a3 100644 --- a/src/plugins/visualizations/public/components/visualization.tsx +++ b/src/plugins/visualizations/public/components/visualization.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import React from 'react'; import { PersistedState } from '../../../../plugins/visualizations/public'; diff --git a/src/plugins/visualizations/public/components/visualization_chart.test.js b/src/plugins/visualizations/public/components/visualization_chart.test.js index 90829f9adc9d..ebdf4b5969c3 100644 --- a/src/plugins/visualizations/public/components/visualization_chart.test.js +++ b/src/plugins/visualizations/public/components/visualization_chart.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - jest.useFakeTimers(); import React from 'react'; diff --git a/src/plugins/visualizations/public/components/visualization_chart.tsx b/src/plugins/visualizations/public/components/visualization_chart.tsx index ccfda486a751..3bb00e52505d 100644 --- a/src/plugins/visualizations/public/components/visualization_chart.tsx +++ b/src/plugins/visualizations/public/components/visualization_chart.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import * as Rx from 'rxjs'; import { debounceTime, filter, share, switchMap } from 'rxjs/operators'; diff --git a/src/plugins/visualizations/public/components/visualization_container.tsx b/src/plugins/visualizations/public/components/visualization_container.tsx index 2f13060cf5c3..b0f1232b8091 100644 --- a/src/plugins/visualizations/public/components/visualization_container.tsx +++ b/src/plugins/visualizations/public/components/visualization_container.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ReactNode, Suspense } from 'react'; import { EuiLoadingChart } from '@elastic/eui'; import classNames from 'classnames'; diff --git a/src/plugins/visualizations/public/components/visualization_noresults.test.js b/src/plugins/visualizations/public/components/visualization_noresults.test.js index 5acd3fb580cb..2eb3e4fe015d 100644 --- a/src/plugins/visualizations/public/components/visualization_noresults.test.js +++ b/src/plugins/visualizations/public/components/visualization_noresults.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { VisualizationNoResults } from './visualization_noresults'; diff --git a/src/plugins/visualizations/public/components/visualization_noresults.tsx b/src/plugins/visualizations/public/components/visualization_noresults.tsx index a16a7135377d..103aaef20964 100644 --- a/src/plugins/visualizations/public/components/visualization_noresults.tsx +++ b/src/plugins/visualizations/public/components/visualization_noresults.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiIcon, EuiSpacer, EuiText } from '@elastic/eui'; import { i18n } from '@osd/i18n'; import React from 'react'; diff --git a/src/plugins/visualizations/public/components/visualization_requesterror.test.js b/src/plugins/visualizations/public/components/visualization_requesterror.test.js index 06e4576f7ddb..b2d8f45f4410 100644 --- a/src/plugins/visualizations/public/components/visualization_requesterror.test.js +++ b/src/plugins/visualizations/public/components/visualization_requesterror.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render } from 'enzyme'; import { VisualizationRequestError } from './visualization_requesterror'; diff --git a/src/plugins/visualizations/public/components/visualization_requesterror.tsx b/src/plugins/visualizations/public/components/visualization_requesterror.tsx index 1954ab8e6f2e..e490a8fcc854 100644 --- a/src/plugins/visualizations/public/components/visualization_requesterror.tsx +++ b/src/plugins/visualizations/public/components/visualization_requesterror.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiIcon, EuiSpacer, EuiText } from '@elastic/eui'; import React from 'react'; import { SearchError } from '../../../../plugins/data/public'; diff --git a/src/plugins/visualizations/public/embeddable/constants.ts b/src/plugins/visualizations/public/embeddable/constants.ts index d0c71b5549d3..85ba310d3ee0 100644 --- a/src/plugins/visualizations/public/embeddable/constants.ts +++ b/src/plugins/visualizations/public/embeddable/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const VISUALIZE_EMBEDDABLE_TYPE = 'visualization'; diff --git a/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts b/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts index 2c20f32f6d8d..03666a199dca 100644 --- a/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts +++ b/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Vis } from '../types'; import { VisualizeInput, diff --git a/src/plugins/visualizations/public/embeddable/disabled_lab_embeddable.tsx b/src/plugins/visualizations/public/embeddable/disabled_lab_embeddable.tsx index 76b781112ace..d929083c501d 100644 --- a/src/plugins/visualizations/public/embeddable/disabled_lab_embeddable.tsx +++ b/src/plugins/visualizations/public/embeddable/disabled_lab_embeddable.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { Embeddable, EmbeddableOutput } from '../../../embeddable/public'; diff --git a/src/plugins/visualizations/public/embeddable/disabled_lab_visualization.tsx b/src/plugins/visualizations/public/embeddable/disabled_lab_visualization.tsx index 90eab953086e..79d6369fa88d 100644 --- a/src/plugins/visualizations/public/embeddable/disabled_lab_visualization.tsx +++ b/src/plugins/visualizations/public/embeddable/disabled_lab_visualization.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FormattedMessage } from '@osd/i18n/react'; import React from 'react'; diff --git a/src/plugins/visualizations/public/embeddable/events.ts b/src/plugins/visualizations/public/embeddable/events.ts index b02f7d5c72c6..2a17ef9d5ef3 100644 --- a/src/plugins/visualizations/public/embeddable/events.ts +++ b/src/plugins/visualizations/public/embeddable/events.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { APPLY_FILTER_TRIGGER, SELECT_RANGE_TRIGGER, diff --git a/src/plugins/visualizations/public/embeddable/get_index_pattern.ts b/src/plugins/visualizations/public/embeddable/get_index_pattern.ts index a513554351a1..8b8899b0d1ad 100644 --- a/src/plugins/visualizations/public/embeddable/get_index_pattern.ts +++ b/src/plugins/visualizations/public/embeddable/get_index_pattern.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { VisSavedObject } from '../types'; import { indexPatterns, IIndexPattern, IndexPatternAttributes } from '../../../data/public'; import { getUISettings, getSavedObjects } from '../services'; diff --git a/src/plugins/visualizations/public/embeddable/index.ts b/src/plugins/visualizations/public/embeddable/index.ts index fdad4363fca7..9f8db086ea18 100644 --- a/src/plugins/visualizations/public/embeddable/index.ts +++ b/src/plugins/visualizations/public/embeddable/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ export { DisabledLabEmbeddable } from './disabled_lab_embeddable'; export { VisualizeEmbeddable, VisualizeInput } from './visualize_embeddable'; export { VisualizeEmbeddableFactory } from './visualize_embeddable_factory'; diff --git a/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts b/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts index 3971decd5e0a..f3808951d519 100644 --- a/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts +++ b/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _, { get } from 'lodash'; import { Subscription } from 'rxjs'; import * as Rx from 'rxjs'; diff --git a/src/plugins/visualizations/public/embeddable/visualize_embeddable_factory.tsx b/src/plugins/visualizations/public/embeddable/visualize_embeddable_factory.tsx index 0f387c81e5f0..eb9b6dfef529 100644 --- a/src/plugins/visualizations/public/embeddable/visualize_embeddable_factory.tsx +++ b/src/plugins/visualizations/public/embeddable/visualize_embeddable_factory.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { SavedObjectMetaData, OnSaveProps } from 'src/plugins/saved_objects/public'; import { first } from 'rxjs/operators'; diff --git a/src/plugins/visualizations/public/expression_functions/range.ts b/src/plugins/visualizations/public/expression_functions/range.ts index 759287b814a4..a8b73d0614a1 100644 --- a/src/plugins/visualizations/public/expression_functions/range.ts +++ b/src/plugins/visualizations/public/expression_functions/range.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition, diff --git a/src/plugins/visualizations/public/expression_functions/vis_dimension.ts b/src/plugins/visualizations/public/expression_functions/vis_dimension.ts index 982d4577de2e..6bbfe98d83a9 100644 --- a/src/plugins/visualizations/public/expression_functions/vis_dimension.ts +++ b/src/plugins/visualizations/public/expression_functions/vis_dimension.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition, diff --git a/src/plugins/visualizations/public/expressions/vis.ts b/src/plugins/visualizations/public/expressions/vis.ts index ca7e468012ec..acf747973dee 100644 --- a/src/plugins/visualizations/public/expressions/vis.ts +++ b/src/plugins/visualizations/public/expressions/vis.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * @name Vis * diff --git a/src/plugins/visualizations/public/expressions/visualization_function.ts b/src/plugins/visualizations/public/expressions/visualization_function.ts index 712f0118f117..840757f86d14 100644 --- a/src/plugins/visualizations/public/expressions/visualization_function.ts +++ b/src/plugins/visualizations/public/expressions/visualization_function.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import { i18n } from '@osd/i18n'; import { VisResponseValue, PersistedState } from '../../../../plugins/visualizations/public'; diff --git a/src/plugins/visualizations/public/expressions/visualization_renderer.tsx b/src/plugins/visualizations/public/expressions/visualization_renderer.tsx index 1904aa8eb2d1..1d3a1ab68ef2 100644 --- a/src/plugins/visualizations/public/expressions/visualization_renderer.tsx +++ b/src/plugins/visualizations/public/expressions/visualization_renderer.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; // @ts-ignore diff --git a/src/plugins/visualizations/public/index.ts b/src/plugins/visualizations/public/index.ts index 866ca47399a2..1b91816b3fc5 100644 --- a/src/plugins/visualizations/public/index.ts +++ b/src/plugins/visualizations/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PublicContract } from '@osd/utility-types'; import { PluginInitializerContext } from 'src/core/public'; import { VisualizationsPlugin, VisualizationsSetup, VisualizationsStart } from './plugin'; diff --git a/src/plugins/visualizations/public/legacy/build_pipeline.test.ts b/src/plugins/visualizations/public/legacy/build_pipeline.test.ts index 3051eff12207..90721f66c4af 100644 --- a/src/plugins/visualizations/public/legacy/build_pipeline.test.ts +++ b/src/plugins/visualizations/public/legacy/build_pipeline.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { prepareJson, prepareString, diff --git a/src/plugins/visualizations/public/legacy/build_pipeline.ts b/src/plugins/visualizations/public/legacy/build_pipeline.ts index 2f052210256d..e0f2ee7e1cca 100644 --- a/src/plugins/visualizations/public/legacy/build_pipeline.ts +++ b/src/plugins/visualizations/public/legacy/build_pipeline.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; import moment from 'moment'; import { formatExpression, SerializedFieldFormat } from '../../../../plugins/expressions/public'; diff --git a/src/plugins/visualizations/public/legacy/memoize.test.ts b/src/plugins/visualizations/public/legacy/memoize.test.ts index 939199b3bdb6..0f6a90067f92 100644 --- a/src/plugins/visualizations/public/legacy/memoize.test.ts +++ b/src/plugins/visualizations/public/legacy/memoize.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { memoizeLast } from './memoize'; describe('memoizeLast', () => { diff --git a/src/plugins/visualizations/public/legacy/memoize.ts b/src/plugins/visualizations/public/legacy/memoize.ts index 5d10f11830e7..c9c46a88bb1c 100644 --- a/src/plugins/visualizations/public/legacy/memoize.ts +++ b/src/plugins/visualizations/public/legacy/memoize.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - interface MemoizedCall { args: any[]; returnValue: any; diff --git a/src/plugins/visualizations/public/legacy/vis_update_state.js b/src/plugins/visualizations/public/legacy/vis_update_state.js index d274db83e1e7..ac8c0c361188 100644 --- a/src/plugins/visualizations/public/legacy/vis_update_state.js +++ b/src/plugins/visualizations/public/legacy/vis_update_state.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { set } from '@elastic/safer-lodash-set'; import _ from 'lodash'; diff --git a/src/plugins/visualizations/public/legacy/vis_update_state.stub.js b/src/plugins/visualizations/public/legacy/vis_update_state.stub.js index 0122aab7b163..d027ad95c769 100644 --- a/src/plugins/visualizations/public/legacy/vis_update_state.stub.js +++ b/src/plugins/visualizations/public/legacy/vis_update_state.stub.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* eslint-disable camelcase */ export const pre_6_1 = { diff --git a/src/plugins/visualizations/public/legacy/vis_update_state.test.js b/src/plugins/visualizations/public/legacy/vis_update_state.test.js index 68a3e101c5ef..c1192a607c3d 100644 --- a/src/plugins/visualizations/public/legacy/vis_update_state.test.js +++ b/src/plugins/visualizations/public/legacy/vis_update_state.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { updateOldState } from './vis_update_state'; diff --git a/src/plugins/visualizations/public/mocks.ts b/src/plugins/visualizations/public/mocks.ts index a4ffc02644f8..94cfa03d7def 100644 --- a/src/plugins/visualizations/public/mocks.ts +++ b/src/plugins/visualizations/public/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from '../../../core/public'; import { VisualizationsSetup, VisualizationsStart } from './'; import { VisualizationsPlugin } from './plugin'; diff --git a/src/plugins/visualizations/public/persisted_state/index.ts b/src/plugins/visualizations/public/persisted_state/index.ts index 9adc2635d1b4..a2232157993b 100644 --- a/src/plugins/visualizations/public/persisted_state/index.ts +++ b/src/plugins/visualizations/public/persisted_state/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { PersistedState } from './persisted_state'; diff --git a/src/plugins/visualizations/public/persisted_state/persisted_state.ts b/src/plugins/visualizations/public/persisted_state/persisted_state.ts index e8ce31499d10..fc7d38c4a83a 100644 --- a/src/plugins/visualizations/public/persisted_state/persisted_state.ts +++ b/src/plugins/visualizations/public/persisted_state/persisted_state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EventEmitter } from 'events'; import { set } from '@elastic/safer-lodash-set'; diff --git a/src/plugins/visualizations/public/persisted_state/persisted_state_provider.test.ts b/src/plugins/visualizations/public/persisted_state/persisted_state_provider.test.ts index 6abb6f1a7e07..a63d7469dc91 100644 --- a/src/plugins/visualizations/public/persisted_state/persisted_state_provider.test.ts +++ b/src/plugins/visualizations/public/persisted_state/persisted_state_provider.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PersistedState } from './persisted_state'; describe('Persisted State Provider', () => { diff --git a/src/plugins/visualizations/public/plugin.ts b/src/plugins/visualizations/public/plugin.ts index fc93bf3e93d3..682e678ed584 100644 --- a/src/plugins/visualizations/public/plugin.ts +++ b/src/plugins/visualizations/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './index.scss'; import { diff --git a/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts b/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts index 97c6d8a4db20..9c1e716e432f 100644 --- a/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts +++ b/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * @name SavedVis * diff --git a/src/plugins/visualizations/public/saved_visualizations/find_list_items.test.ts b/src/plugins/visualizations/public/saved_visualizations/find_list_items.test.ts index 12fe25c3ad49..eaf23ea3e351 100644 --- a/src/plugins/visualizations/public/saved_visualizations/find_list_items.test.ts +++ b/src/plugins/visualizations/public/saved_visualizations/find_list_items.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { findListItems } from './find_list_items'; import { coreMock } from '../../../../core/public/mocks'; import { SavedObjectsClientContract } from '../../../../core/public'; diff --git a/src/plugins/visualizations/public/saved_visualizations/find_list_items.ts b/src/plugins/visualizations/public/saved_visualizations/find_list_items.ts index b5b2b221ecf1..469fe4e89cd1 100644 --- a/src/plugins/visualizations/public/saved_visualizations/find_list_items.ts +++ b/src/plugins/visualizations/public/saved_visualizations/find_list_items.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import { SavedObjectAttributes, SavedObjectsClientContract } from '../../../../core/public'; import { SavedObjectLoader } from '../../../saved_objects/public'; diff --git a/src/plugins/visualizations/public/saved_visualizations/index.ts b/src/plugins/visualizations/public/saved_visualizations/index.ts index b04e284382fc..2dcf3f412283 100644 --- a/src/plugins/visualizations/public/saved_visualizations/index.ts +++ b/src/plugins/visualizations/public/saved_visualizations/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './saved_visualizations'; diff --git a/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references.test.ts b/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references.test.ts index ea17f584326b..16a29f7328a1 100644 --- a/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references.test.ts +++ b/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { extractReferences, injectReferences } from './saved_visualization_references'; import { VisSavedObject, SavedVisState } from '../types'; diff --git a/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references.ts b/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references.ts index 9bd0f22a79ba..b0ee904273ab 100644 --- a/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references.ts +++ b/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SavedObjectAttribute, SavedObjectAttributes, diff --git a/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts b/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts index 6b4b40b3a5c5..85296e985a56 100644 --- a/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts +++ b/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { SavedObjectLoader, SavedObjectOpenSearchDashboardsServices, diff --git a/src/plugins/visualizations/public/services.ts b/src/plugins/visualizations/public/services.ts index 4d85cc45ee86..e3f3ba56f6b1 100644 --- a/src/plugins/visualizations/public/services.ts +++ b/src/plugins/visualizations/public/services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ApplicationStart, Capabilities, diff --git a/src/plugins/visualizations/public/types.ts b/src/plugins/visualizations/public/types.ts index ca362ed406fa..4b04ac308af2 100644 --- a/src/plugins/visualizations/public/types.ts +++ b/src/plugins/visualizations/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionAstExpression } from 'src/plugins/expressions'; import { SavedObject } from '../../saved_objects/public'; import { diff --git a/src/plugins/visualizations/public/vis.test.ts b/src/plugins/visualizations/public/vis.test.ts index 6d0f64a4fa83..135df1982939 100644 --- a/src/plugins/visualizations/public/vis.test.ts +++ b/src/plugins/visualizations/public/vis.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Vis } from './vis'; jest.mock('./services', () => { diff --git a/src/plugins/visualizations/public/vis.ts b/src/plugins/visualizations/public/vis.ts index f542094d74e9..1c0acb450382 100644 --- a/src/plugins/visualizations/public/vis.ts +++ b/src/plugins/visualizations/public/vis.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * @name Vis * diff --git a/src/plugins/visualizations/public/vis_types/base_vis_type.test.ts b/src/plugins/visualizations/public/vis_types/base_vis_type.test.ts index f17af1155a45..5c4305747167 100644 --- a/src/plugins/visualizations/public/vis_types/base_vis_type.test.ts +++ b/src/plugins/visualizations/public/vis_types/base_vis_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BaseVisType } from './base_vis_type'; describe('BaseVisType', () => { diff --git a/src/plugins/visualizations/public/vis_types/base_vis_type.ts b/src/plugins/visualizations/public/vis_types/base_vis_type.ts index 509489b9a889..a6eb517bee7a 100644 --- a/src/plugins/visualizations/public/vis_types/base_vis_type.ts +++ b/src/plugins/visualizations/public/vis_types/base_vis_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { defaultsDeep } from 'lodash'; import { ISchemas } from 'src/plugins/vis_default_editor/public'; import { VisParams } from '../types'; diff --git a/src/plugins/visualizations/public/vis_types/index.ts b/src/plugins/visualizations/public/vis_types/index.ts index 66f31370c921..907ca87f0b13 100644 --- a/src/plugins/visualizations/public/vis_types/index.ts +++ b/src/plugins/visualizations/public/vis_types/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './types_service'; export { VisType } from './types'; export type { BaseVisTypeOptions } from './base_vis_type'; diff --git a/src/plugins/visualizations/public/vis_types/react_vis_controller.tsx b/src/plugins/visualizations/public/vis_types/react_vis_controller.tsx index cdb7176c1154..2e575f606cf8 100644 --- a/src/plugins/visualizations/public/vis_types/react_vis_controller.tsx +++ b/src/plugins/visualizations/public/vis_types/react_vis_controller.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { VisualizationController } from '../types'; diff --git a/src/plugins/visualizations/public/vis_types/react_vis_type.test.ts b/src/plugins/visualizations/public/vis_types/react_vis_type.test.ts index 19a4eabc693a..edb304292d35 100644 --- a/src/plugins/visualizations/public/vis_types/react_vis_type.test.ts +++ b/src/plugins/visualizations/public/vis_types/react_vis_type.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeep } from 'lodash'; import { ReactVisType } from './react_vis_type'; diff --git a/src/plugins/visualizations/public/vis_types/react_vis_type.ts b/src/plugins/visualizations/public/vis_types/react_vis_type.ts index 3f74223c31f2..c402a8b11b22 100644 --- a/src/plugins/visualizations/public/vis_types/react_vis_type.ts +++ b/src/plugins/visualizations/public/vis_types/react_vis_type.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BaseVisType, BaseVisTypeOptions } from './base_vis_type'; import { ReactVisController } from './react_vis_controller'; import { VisType } from './types'; diff --git a/src/plugins/visualizations/public/vis_types/types.ts b/src/plugins/visualizations/public/vis_types/types.ts index bb35073f3cd1..244038fc2cf7 100644 --- a/src/plugins/visualizations/public/vis_types/types.ts +++ b/src/plugins/visualizations/public/vis_types/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IconType } from '@elastic/eui'; import React from 'react'; import { Adapters } from 'src/plugins/inspector'; diff --git a/src/plugins/visualizations/public/vis_types/types_service.ts b/src/plugins/visualizations/public/vis_types/types_service.ts index 00ad68e87831..5e8fd0fd5106 100644 --- a/src/plugins/visualizations/public/vis_types/types_service.ts +++ b/src/plugins/visualizations/public/vis_types/types_service.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { visTypeAliasRegistry, VisTypeAlias } from './vis_type_alias_registry'; import { BaseVisType, BaseVisTypeOptions } from './base_vis_type'; import { ReactVisType, ReactVisTypeOptions } from './react_vis_type'; diff --git a/src/plugins/visualizations/public/vis_types/vis_type_alias_registry.ts b/src/plugins/visualizations/public/vis_types/vis_type_alias_registry.ts index 856199271a4d..0d196482be37 100644 --- a/src/plugins/visualizations/public/vis_types/vis_type_alias_registry.ts +++ b/src/plugins/visualizations/public/vis_types/vis_type_alias_registry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { TriggerContextMapping } from '../../../ui_actions/public'; export interface VisualizationListItem { diff --git a/src/plugins/visualizations/public/wizard/index.ts b/src/plugins/visualizations/public/wizard/index.ts index 33a21ed2abdd..699e3f6f3500 100644 --- a/src/plugins/visualizations/public/wizard/index.ts +++ b/src/plugins/visualizations/public/wizard/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { showNewVisModal } from './show_new_vis'; diff --git a/src/plugins/visualizations/public/wizard/new_vis_modal.test.tsx b/src/plugins/visualizations/public/wizard/new_vis_modal.test.tsx index 405e1a1db051..91eb63233506 100644 --- a/src/plugins/visualizations/public/wizard/new_vis_modal.test.tsx +++ b/src/plugins/visualizations/public/wizard/new_vis_modal.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { TypesStart, VisType } from '../vis_types'; diff --git a/src/plugins/visualizations/public/wizard/new_vis_modal.tsx b/src/plugins/visualizations/public/wizard/new_vis_modal.tsx index 2d6b56ea8973..376a816b04ba 100644 --- a/src/plugins/visualizations/public/wizard/new_vis_modal.tsx +++ b/src/plugins/visualizations/public/wizard/new_vis_modal.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiModal, EuiOverlayMask } from '@elastic/eui'; diff --git a/src/plugins/visualizations/public/wizard/search_selection/index.ts b/src/plugins/visualizations/public/wizard/search_selection/index.ts index 59f7d93cd49b..63ea5e13ac32 100644 --- a/src/plugins/visualizations/public/wizard/search_selection/index.ts +++ b/src/plugins/visualizations/public/wizard/search_selection/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SearchSelection } from './search_selection'; diff --git a/src/plugins/visualizations/public/wizard/search_selection/search_selection.tsx b/src/plugins/visualizations/public/wizard/search_selection/search_selection.tsx index 66b11369c1c7..9f98f7520103 100644 --- a/src/plugins/visualizations/public/wizard/search_selection/search_selection.tsx +++ b/src/plugins/visualizations/public/wizard/search_selection/search_selection.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiModalBody, EuiModalHeader, EuiModalHeaderTitle } from '@elastic/eui'; import { i18n } from '@osd/i18n'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/visualizations/public/wizard/show_new_vis.tsx b/src/plugins/visualizations/public/wizard/show_new_vis.tsx index 09950c2a9c18..a9dad7f026b6 100644 --- a/src/plugins/visualizations/public/wizard/show_new_vis.tsx +++ b/src/plugins/visualizations/public/wizard/show_new_vis.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; diff --git a/src/plugins/visualizations/public/wizard/type_selection/index.ts b/src/plugins/visualizations/public/wizard/type_selection/index.ts index 98e08d62ec47..6083d14fb263 100644 --- a/src/plugins/visualizations/public/wizard/type_selection/index.ts +++ b/src/plugins/visualizations/public/wizard/type_selection/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { TypeSelection } from './type_selection'; diff --git a/src/plugins/visualizations/public/wizard/type_selection/new_vis_help.test.tsx b/src/plugins/visualizations/public/wizard/type_selection/new_vis_help.test.tsx index 0a0308d36c05..360f8ed1964f 100644 --- a/src/plugins/visualizations/public/wizard/type_selection/new_vis_help.test.tsx +++ b/src/plugins/visualizations/public/wizard/type_selection/new_vis_help.test.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { shallowWithIntl } from 'test_utils/enzyme_helpers'; import { NewVisHelp } from './new_vis_help'; diff --git a/src/plugins/visualizations/public/wizard/type_selection/new_vis_help.tsx b/src/plugins/visualizations/public/wizard/type_selection/new_vis_help.tsx index 4171bfde9a45..179ca65467c0 100644 --- a/src/plugins/visualizations/public/wizard/type_selection/new_vis_help.tsx +++ b/src/plugins/visualizations/public/wizard/type_selection/new_vis_help.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FormattedMessage } from '@osd/i18n/react'; import React, { Fragment } from 'react'; import { EuiText, EuiButton } from '@elastic/eui'; diff --git a/src/plugins/visualizations/public/wizard/type_selection/type_selection.tsx b/src/plugins/visualizations/public/wizard/type_selection/type_selection.tsx index ff09c1c89090..e5197041552b 100644 --- a/src/plugins/visualizations/public/wizard/type_selection/type_selection.tsx +++ b/src/plugins/visualizations/public/wizard/type_selection/type_selection.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { FormattedMessage } from '@osd/i18n/react'; import { orderBy } from 'lodash'; diff --git a/src/plugins/visualizations/public/wizard/type_selection/vis_help_text.tsx b/src/plugins/visualizations/public/wizard/type_selection/vis_help_text.tsx index 683c5b854bed..1616cc415b51 100644 --- a/src/plugins/visualizations/public/wizard/type_selection/vis_help_text.tsx +++ b/src/plugins/visualizations/public/wizard/type_selection/vis_help_text.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiSpacer, EuiText, EuiTitle } from '@elastic/eui'; diff --git a/src/plugins/visualizations/public/wizard/type_selection/vis_type_icon.tsx b/src/plugins/visualizations/public/wizard/type_selection/vis_type_icon.tsx index aa69c513b61b..097721870326 100644 --- a/src/plugins/visualizations/public/wizard/type_selection/vis_type_icon.tsx +++ b/src/plugins/visualizations/public/wizard/type_selection/vis_type_icon.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EuiIcon, IconType } from '@elastic/eui'; import React from 'react'; diff --git a/src/plugins/visualizations/server/index.ts b/src/plugins/visualizations/server/index.ts index 8b03ee854e8d..5732cdac0d98 100644 --- a/src/plugins/visualizations/server/index.ts +++ b/src/plugins/visualizations/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from '../../../core/server'; import { VisualizationsPlugin } from './plugin'; diff --git a/src/plugins/visualizations/server/plugin.ts b/src/plugins/visualizations/server/plugin.ts index 3dfd7ba23321..1be4eaa65050 100644 --- a/src/plugins/visualizations/server/plugin.ts +++ b/src/plugins/visualizations/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { schema } from '@osd/config-schema'; import { Observable } from 'rxjs'; diff --git a/src/plugins/visualizations/server/saved_objects/index.ts b/src/plugins/visualizations/server/saved_objects/index.ts index aa60067d63ee..3af4306ce21e 100644 --- a/src/plugins/visualizations/server/saved_objects/index.ts +++ b/src/plugins/visualizations/server/saved_objects/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { visualizationSavedObjectType } from './visualization'; diff --git a/src/plugins/visualizations/server/saved_objects/visualization.ts b/src/plugins/visualizations/server/saved_objects/visualization.ts index 7d23ba643123..15a926b3f81d 100644 --- a/src/plugins/visualizations/server/saved_objects/visualization.ts +++ b/src/plugins/visualizations/server/saved_objects/visualization.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectsType } from 'opensearch-dashboards/server'; import { visualizationSavedObjectTypeMigrations } from './visualization_migrations'; diff --git a/src/plugins/visualizations/server/saved_objects/visualization_migrations.test.ts b/src/plugins/visualizations/server/saved_objects/visualization_migrations.test.ts index 87d50df2ae13..a981ce578c09 100644 --- a/src/plugins/visualizations/server/saved_objects/visualization_migrations.test.ts +++ b/src/plugins/visualizations/server/saved_objects/visualization_migrations.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { visualizationSavedObjectTypeMigrations } from './visualization_migrations'; import { SavedObjectMigrationContext, SavedObjectMigrationFn } from 'opensearch-dashboards/server'; diff --git a/src/plugins/visualizations/server/saved_objects/visualization_migrations.ts b/src/plugins/visualizations/server/saved_objects/visualization_migrations.ts index eb039665f32a..4aa15ecf68d1 100644 --- a/src/plugins/visualizations/server/saved_objects/visualization_migrations.ts +++ b/src/plugins/visualizations/server/saved_objects/visualization_migrations.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SavedObjectMigrationFn } from 'opensearch-dashboards/server'; import { cloneDeep, get, omit, has, flow } from 'lodash'; import { DEFAULT_QUERY_LANGUAGE } from '../../../data/common'; diff --git a/src/plugins/visualizations/server/types.ts b/src/plugins/visualizations/server/types.ts index 4f22ccfe7ca4..c1871208ab0f 100644 --- a/src/plugins/visualizations/server/types.ts +++ b/src/plugins/visualizations/server/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface VisualizationsPluginSetup {} // eslint-disable-next-line @typescript-eslint/no-empty-interface diff --git a/src/plugins/visualizations/server/usage_collector/get_past_days.test.ts b/src/plugins/visualizations/server/usage_collector/get_past_days.test.ts index f2788f7b02a2..bd0d16ed4215 100644 --- a/src/plugins/visualizations/server/usage_collector/get_past_days.test.ts +++ b/src/plugins/visualizations/server/usage_collector/get_past_days.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { getPastDays } from './get_past_days'; diff --git a/src/plugins/visualizations/server/usage_collector/get_past_days.ts b/src/plugins/visualizations/server/usage_collector/get_past_days.ts index b94b2d4c870e..f767fbe4456d 100644 --- a/src/plugins/visualizations/server/usage_collector/get_past_days.ts +++ b/src/plugins/visualizations/server/usage_collector/get_past_days.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const getPastDays = (dateString: string): number => { const date = new Date(dateString); const today = new Date(); diff --git a/src/plugins/visualizations/server/usage_collector/get_usage_collector.test.ts b/src/plugins/visualizations/server/usage_collector/get_usage_collector.test.ts index 883ac519bb30..3dcecfd1ce66 100644 --- a/src/plugins/visualizations/server/usage_collector/get_usage_collector.test.ts +++ b/src/plugins/visualizations/server/usage_collector/get_usage_collector.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { of } from 'rxjs'; diff --git a/src/plugins/visualizations/server/usage_collector/get_usage_collector.ts b/src/plugins/visualizations/server/usage_collector/get_usage_collector.ts index c52516acb941..aa3cb886f548 100644 --- a/src/plugins/visualizations/server/usage_collector/get_usage_collector.ts +++ b/src/plugins/visualizations/server/usage_collector/get_usage_collector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { countBy, get, groupBy, mapValues, max, min, values } from 'lodash'; import { first } from 'rxjs/operators'; diff --git a/src/plugins/visualizations/server/usage_collector/index.ts b/src/plugins/visualizations/server/usage_collector/index.ts index 439f13d44e67..019f6d0b96f2 100644 --- a/src/plugins/visualizations/server/usage_collector/index.ts +++ b/src/plugins/visualizations/server/usage_collector/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Observable } from 'rxjs'; import { UsageCollectionSetup } from 'src/plugins/usage_collection/server'; diff --git a/src/plugins/visualize/common/constants.ts b/src/plugins/visualize/common/constants.ts index 96df88bce056..b7a4c3464748 100644 --- a/src/plugins/visualize/common/constants.ts +++ b/src/plugins/visualize/common/constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const AGGS_TERMS_SIZE_SETTING = 'discover:aggs:terms:size'; diff --git a/src/plugins/visualize/public/actions/visualize_field_action.ts b/src/plugins/visualize/public/actions/visualize_field_action.ts index 146663f8c717..6957be039812 100644 --- a/src/plugins/visualize/public/actions/visualize_field_action.ts +++ b/src/plugins/visualize/public/actions/visualize_field_action.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { i18n } from '@osd/i18n'; import { createAction, diff --git a/src/plugins/visualize/public/application/app.tsx b/src/plugins/visualize/public/application/app.tsx index 0b82722ca32b..552fd86508e1 100644 --- a/src/plugins/visualize/public/application/app.tsx +++ b/src/plugins/visualize/public/application/app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './app.scss'; import React, { useEffect } from 'react'; import { Route, Switch, useLocation } from 'react-router-dom'; diff --git a/src/plugins/visualize/public/application/components/experimental_vis_info.tsx b/src/plugins/visualize/public/application/components/experimental_vis_info.tsx index db5d739f9b9e..b8f12ddcc4c0 100644 --- a/src/plugins/visualize/public/application/components/experimental_vis_info.tsx +++ b/src/plugins/visualize/public/application/components/experimental_vis_info.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { memo } from 'react'; import { EuiCallOut, EuiLink } from '@elastic/eui'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/visualize/public/application/components/index.ts b/src/plugins/visualize/public/application/components/index.ts index 3c2640a84de0..89992ae75766 100644 --- a/src/plugins/visualize/public/application/components/index.ts +++ b/src/plugins/visualize/public/application/components/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { VisualizeListing } from './visualize_listing'; export { VisualizeEditor } from './visualize_editor'; export { VisualizeNoMatch } from './visualize_no_match'; diff --git a/src/plugins/visualize/public/application/components/visualize_byvalue_editor.tsx b/src/plugins/visualize/public/application/components/visualize_byvalue_editor.tsx index b579886a74cc..93a15b043c77 100644 --- a/src/plugins/visualize/public/application/components/visualize_byvalue_editor.tsx +++ b/src/plugins/visualize/public/application/components/visualize_byvalue_editor.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './visualize_editor.scss'; import React, { useEffect, useState } from 'react'; import { EventEmitter } from 'events'; diff --git a/src/plugins/visualize/public/application/components/visualize_editor.tsx b/src/plugins/visualize/public/application/components/visualize_editor.tsx index f535d936c0f0..c7e2378a35d6 100644 --- a/src/plugins/visualize/public/application/components/visualize_editor.tsx +++ b/src/plugins/visualize/public/application/components/visualize_editor.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './visualize_editor.scss'; import React, { useEffect, useState } from 'react'; import { useParams } from 'react-router-dom'; diff --git a/src/plugins/visualize/public/application/components/visualize_editor_common.tsx b/src/plugins/visualize/public/application/components/visualize_editor_common.tsx index acf7b2cf2614..f4e5169e7972 100644 --- a/src/plugins/visualize/public/application/components/visualize_editor_common.tsx +++ b/src/plugins/visualize/public/application/components/visualize_editor_common.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import './visualize_editor.scss'; import React, { RefObject } from 'react'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/visualize/public/application/components/visualize_listing.tsx b/src/plugins/visualize/public/application/components/visualize_listing.tsx index 49b19846a9ec..9c39150cc036 100644 --- a/src/plugins/visualize/public/application/components/visualize_listing.tsx +++ b/src/plugins/visualize/public/application/components/visualize_listing.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import './visualize_listing.scss'; import React, { useCallback, useRef, useMemo, useEffect } from 'react'; diff --git a/src/plugins/visualize/public/application/components/visualize_no_match.tsx b/src/plugins/visualize/public/application/components/visualize_no_match.tsx index 20ecb296e6b4..dbc7258c6138 100644 --- a/src/plugins/visualize/public/application/components/visualize_no_match.tsx +++ b/src/plugins/visualize/public/application/components/visualize_no_match.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect } from 'react'; import { i18n } from '@osd/i18n'; import { FormattedMessage } from '@osd/i18n/react'; diff --git a/src/plugins/visualize/public/application/components/visualize_top_nav.tsx b/src/plugins/visualize/public/application/components/visualize_top_nav.tsx index 097cd858d3aa..d0a1755f275e 100644 --- a/src/plugins/visualize/public/application/components/visualize_top_nav.tsx +++ b/src/plugins/visualize/public/application/components/visualize_top_nav.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { memo, useCallback, useMemo, useState, useEffect } from 'react'; import { AppMountParameters, OverlayRef } from 'opensearch-dashboards/public'; diff --git a/src/plugins/visualize/public/application/index.tsx b/src/plugins/visualize/public/application/index.tsx index edc767343422..422f626a6588 100644 --- a/src/plugins/visualize/public/application/index.tsx +++ b/src/plugins/visualize/public/application/index.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { Router } from 'react-router-dom'; diff --git a/src/plugins/visualize/public/application/types.ts b/src/plugins/visualize/public/application/types.ts index 3bb3c5479804..49fe4e1c6da4 100644 --- a/src/plugins/visualize/public/application/types.ts +++ b/src/plugins/visualize/public/application/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { History } from 'history'; import { TimeRange, Query, Filter, DataPublicPluginStart } from 'src/plugins/data/public'; import { diff --git a/src/plugins/visualize/public/application/utils/breadcrumbs.ts b/src/plugins/visualize/public/application/utils/breadcrumbs.ts index 2754b3428368..bfb3e70f9c0c 100644 --- a/src/plugins/visualize/public/application/utils/breadcrumbs.ts +++ b/src/plugins/visualize/public/application/utils/breadcrumbs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { VisualizeConstants } from '../visualize_constants'; diff --git a/src/plugins/visualize/public/application/utils/create_visualize_app_state.test.ts b/src/plugins/visualize/public/application/utils/create_visualize_app_state.test.ts index d2899abcc7b4..78e1a3633de5 100644 --- a/src/plugins/visualize/public/application/utils/create_visualize_app_state.test.ts +++ b/src/plugins/visualize/public/application/utils/create_visualize_app_state.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { IOsdUrlStateStorage } from 'src/plugins/opensearch_dashboards_utils/public'; import { createVisualizeAppState } from './create_visualize_app_state'; import { migrateAppState } from './migrate_app_state'; diff --git a/src/plugins/visualize/public/application/utils/create_visualize_app_state.ts b/src/plugins/visualize/public/application/utils/create_visualize_app_state.ts index 9d41825ed105..ac6e1306c95b 100644 --- a/src/plugins/visualize/public/application/utils/create_visualize_app_state.ts +++ b/src/plugins/visualize/public/application/utils/create_visualize_app_state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { isFunction, omitBy, union } from 'lodash'; import { migrateAppState } from './migrate_app_state'; diff --git a/src/plugins/visualize/public/application/utils/get_table_columns.tsx b/src/plugins/visualize/public/application/utils/get_table_columns.tsx index 747b4761b6c0..356d28989551 100644 --- a/src/plugins/visualize/public/application/utils/get_table_columns.tsx +++ b/src/plugins/visualize/public/application/utils/get_table_columns.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { History } from 'history'; import { EuiBetaBadge, EuiButton, EuiEmptyPrompt, EuiIcon, EuiLink, EuiBadge } from '@elastic/eui'; diff --git a/src/plugins/visualize/public/application/utils/get_top_nav_config.tsx b/src/plugins/visualize/public/application/utils/get_top_nav_config.tsx index 3fef8e756d04..d0e79b85d7c5 100644 --- a/src/plugins/visualize/public/application/utils/get_top_nav_config.tsx +++ b/src/plugins/visualize/public/application/utils/get_top_nav_config.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { i18n } from '@osd/i18n'; diff --git a/src/plugins/visualize/public/application/utils/get_visualization_instance.test.ts b/src/plugins/visualize/public/application/utils/get_visualization_instance.test.ts index 240691434b20..33d4de45d057 100644 --- a/src/plugins/visualize/public/application/utils/get_visualization_instance.test.ts +++ b/src/plugins/visualize/public/application/utils/get_visualization_instance.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createSavedSearchesLoader } from '../../../../discover/public'; import { getVisualizationInstance } from './get_visualization_instance'; import { createVisualizeServicesMock } from './mocks'; diff --git a/src/plugins/visualize/public/application/utils/get_visualization_instance.ts b/src/plugins/visualize/public/application/utils/get_visualization_instance.ts index 9abbb5d0022a..986b4f0c527c 100644 --- a/src/plugins/visualize/public/application/utils/get_visualization_instance.ts +++ b/src/plugins/visualize/public/application/utils/get_visualization_instance.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SerializedVis, Vis, diff --git a/src/plugins/visualize/public/application/utils/index.ts b/src/plugins/visualize/public/application/utils/index.ts index ffbe4c77e848..90d66d1e4246 100644 --- a/src/plugins/visualize/public/application/utils/index.ts +++ b/src/plugins/visualize/public/application/utils/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export * from './get_table_columns'; export * from './get_top_nav_config'; export * from './breadcrumbs'; diff --git a/src/plugins/visualize/public/application/utils/migrate_app_state.ts b/src/plugins/visualize/public/application/utils/migrate_app_state.ts index 44e21d10cf31..594141ae0aff 100644 --- a/src/plugins/visualize/public/application/utils/migrate_app_state.ts +++ b/src/plugins/visualize/public/application/utils/migrate_app_state.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get, omit } from 'lodash'; import { VisualizeAppState } from '../types'; diff --git a/src/plugins/visualize/public/application/utils/migrate_legacy_query.ts b/src/plugins/visualize/public/application/utils/migrate_legacy_query.ts index 0a41aa82a8ff..90458c135b98 100644 --- a/src/plugins/visualize/public/application/utils/migrate_legacy_query.ts +++ b/src/plugins/visualize/public/application/utils/migrate_legacy_query.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { has } from 'lodash'; import { Query } from 'src/plugins/data/public'; diff --git a/src/plugins/visualize/public/application/utils/mocks.ts b/src/plugins/visualize/public/application/utils/mocks.ts index 78a9eaf2cd05..26b2f8556439 100644 --- a/src/plugins/visualize/public/application/utils/mocks.ts +++ b/src/plugins/visualize/public/application/utils/mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { coreMock } from '../../../../../core/public/mocks'; import { dataPluginMock } from '../../../../data/public/mocks'; import { visualizationsPluginMock } from '../../../../visualizations/public/mocks'; diff --git a/src/plugins/visualize/public/application/utils/stubs.ts b/src/plugins/visualize/public/application/utils/stubs.ts index de0de701b19b..66dca8012b60 100644 --- a/src/plugins/visualize/public/application/utils/stubs.ts +++ b/src/plugins/visualize/public/application/utils/stubs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { VisualizeAppState } from '../types'; export const visualizeAppStateStub: VisualizeAppState = { diff --git a/src/plugins/visualize/public/application/utils/use/index.ts b/src/plugins/visualize/public/application/utils/use/index.ts index 73d97002b2b1..db31bf0ad58d 100644 --- a/src/plugins/visualize/public/application/utils/use/index.ts +++ b/src/plugins/visualize/public/application/utils/use/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { useChromeVisibility } from './use_chrome_visibility'; export { useEditorUpdates } from './use_editor_updates'; export { useSavedVisInstance } from './use_saved_vis_instance'; diff --git a/src/plugins/visualize/public/application/utils/use/use_chrome_visibility.test.ts b/src/plugins/visualize/public/application/utils/use/use_chrome_visibility.test.ts index 0bf008fb7731..613a7da48d9c 100644 --- a/src/plugins/visualize/public/application/utils/use/use_chrome_visibility.test.ts +++ b/src/plugins/visualize/public/application/utils/use/use_chrome_visibility.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { act, renderHook } from '@testing-library/react-hooks'; import { chromeServiceMock } from '../../../../../../core/public/mocks'; diff --git a/src/plugins/visualize/public/application/utils/use/use_chrome_visibility.ts b/src/plugins/visualize/public/application/utils/use/use_chrome_visibility.ts index 9cede40eb8d1..8d43409e15ce 100644 --- a/src/plugins/visualize/public/application/utils/use/use_chrome_visibility.ts +++ b/src/plugins/visualize/public/application/utils/use/use_chrome_visibility.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useState, useEffect } from 'react'; import { ChromeStart } from 'opensearch-dashboards/public'; diff --git a/src/plugins/visualize/public/application/utils/use/use_editor_updates.test.ts b/src/plugins/visualize/public/application/utils/use/use_editor_updates.test.ts index 4084f219c818..349bbf9cd3f5 100644 --- a/src/plugins/visualize/public/application/utils/use/use_editor_updates.test.ts +++ b/src/plugins/visualize/public/application/utils/use/use_editor_updates.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { renderHook, act } from '@testing-library/react-hooks'; import { EventEmitter } from 'events'; diff --git a/src/plugins/visualize/public/application/utils/use/use_editor_updates.ts b/src/plugins/visualize/public/application/utils/use/use_editor_updates.ts index b5ee5eb722f2..361822f5b8f2 100644 --- a/src/plugins/visualize/public/application/utils/use/use_editor_updates.ts +++ b/src/plugins/visualize/public/application/utils/use/use_editor_updates.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useEffect, useState } from 'react'; import { isEqual } from 'lodash'; import { EventEmitter } from 'events'; diff --git a/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.test.ts b/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.test.ts index cda7a4b1a734..2e1851d3626f 100644 --- a/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.test.ts +++ b/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { renderHook } from '@testing-library/react-hooks'; import { EventEmitter } from 'events'; diff --git a/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts b/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts index dd4317f16aa7..ad096aaa709f 100644 --- a/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts +++ b/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useEffect } from 'react'; import { i18n } from '@osd/i18n'; import { EventEmitter } from 'events'; diff --git a/src/plugins/visualize/public/application/utils/use/use_saved_vis_instance.test.ts b/src/plugins/visualize/public/application/utils/use/use_saved_vis_instance.test.ts index 8b5f61b3f88f..46d616d06730 100644 --- a/src/plugins/visualize/public/application/utils/use/use_saved_vis_instance.test.ts +++ b/src/plugins/visualize/public/application/utils/use/use_saved_vis_instance.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { renderHook } from '@testing-library/react-hooks'; import { EventEmitter } from 'events'; diff --git a/src/plugins/visualize/public/application/utils/use/use_saved_vis_instance.ts b/src/plugins/visualize/public/application/utils/use/use_saved_vis_instance.ts index 2fb0e9bf36f0..c80b2b1afd5d 100644 --- a/src/plugins/visualize/public/application/utils/use/use_saved_vis_instance.ts +++ b/src/plugins/visualize/public/application/utils/use/use_saved_vis_instance.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { useEffect, useRef, useState } from 'react'; import { EventEmitter } from 'events'; import { parse } from 'query-string'; diff --git a/src/plugins/visualize/public/application/utils/use/use_vis_byvalue.ts b/src/plugins/visualize/public/application/utils/use/use_vis_byvalue.ts index d5dead1b4bc0..e45083e398fc 100644 --- a/src/plugins/visualize/public/application/utils/use/use_vis_byvalue.ts +++ b/src/plugins/visualize/public/application/utils/use/use_vis_byvalue.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { EventEmitter } from 'events'; import { useEffect, useRef, useState } from 'react'; import { VisualizeInput } from 'src/plugins/visualizations/public'; diff --git a/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.test.ts b/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.test.ts index 2cefb205c8c9..e344d94fb4d0 100644 --- a/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.test.ts +++ b/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { act, renderHook } from '@testing-library/react-hooks'; import { EventEmitter } from 'events'; import { Observable } from 'rxjs'; diff --git a/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx b/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx index 4dcc9a41e6dc..91971a363c05 100644 --- a/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx +++ b/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect, useState } from 'react'; import { cloneDeep, isEqual } from 'lodash'; import { map } from 'rxjs/operators'; diff --git a/src/plugins/visualize/public/application/utils/utils.ts b/src/plugins/visualize/public/application/utils/utils.ts index 86c9cd525b7b..be4939782380 100644 --- a/src/plugins/visualize/public/application/utils/utils.ts +++ b/src/plugins/visualize/public/application/utils/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { i18n } from '@osd/i18n'; import { ChromeStart, DocLinksStart } from 'opensearch-dashboards/public'; diff --git a/src/plugins/visualize/public/application/visualize_constants.ts b/src/plugins/visualize/public/application/visualize_constants.ts index 01ff8b3fd248..253284ccabb5 100644 --- a/src/plugins/visualize/public/application/visualize_constants.ts +++ b/src/plugins/visualize/public/application/visualize_constants.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const APP_NAME = 'visualize'; export const VisualizeConstants = { diff --git a/src/plugins/visualize/public/index.ts b/src/plugins/visualize/public/index.ts index 95dd2c99ac6f..718d1f63a069 100644 --- a/src/plugins/visualize/public/index.ts +++ b/src/plugins/visualize/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { VisualizePlugin } from './plugin'; diff --git a/src/plugins/visualize/public/plugin.ts b/src/plugins/visualize/public/plugin.ts index 8ece469adc01..297db26c48de 100644 --- a/src/plugins/visualize/public/plugin.ts +++ b/src/plugins/visualize/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { i18n } from '@osd/i18n'; import { filter, map } from 'rxjs/operators'; diff --git a/src/plugins/visualize/public/services.ts b/src/plugins/visualize/public/services.ts index ccb74533d4ad..c0f359e8a002 100644 --- a/src/plugins/visualize/public/services.ts +++ b/src/plugins/visualize/public/services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ApplicationStart, IUiSettingsClient } from '../../../core/public'; import { createGetterSetter } from '../../../plugins/opensearch_dashboards_utils/public'; import { IndexPatternsContract, DataPublicPluginStart } from '../../../plugins/data/public'; diff --git a/src/plugins/visualize/public/url_generator.test.ts b/src/plugins/visualize/public/url_generator.test.ts index 80a8efec7a5a..3dc81748af63 100644 --- a/src/plugins/visualize/public/url_generator.test.ts +++ b/src/plugins/visualize/public/url_generator.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createVisualizeUrlGenerator } from './url_generator'; import { opensearchFilters } from '../../data/public'; diff --git a/src/plugins/visualize/public/url_generator.ts b/src/plugins/visualize/public/url_generator.ts index e2aa87be6f21..2e829b2675e4 100644 --- a/src/plugins/visualize/public/url_generator.ts +++ b/src/plugins/visualize/public/url_generator.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { TimeRange, Filter, diff --git a/src/plugins/visualize/server/capabilities_provider.ts b/src/plugins/visualize/server/capabilities_provider.ts index 62580939e19b..961b2ff6ed5d 100644 --- a/src/plugins/visualize/server/capabilities_provider.ts +++ b/src/plugins/visualize/server/capabilities_provider.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const capabilitiesProvider = () => ({ visualize: { show: true, diff --git a/src/plugins/visualize/server/index.ts b/src/plugins/visualize/server/index.ts index 1429d84c5f05..170eeedea216 100644 --- a/src/plugins/visualize/server/index.ts +++ b/src/plugins/visualize/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/server'; import { VisualizeServerPlugin } from './plugin'; diff --git a/src/plugins/visualize/server/plugin.ts b/src/plugins/visualize/server/plugin.ts index 10ddfd43bb71..aa8359d396c7 100644 --- a/src/plugins/visualize/server/plugin.ts +++ b/src/plugins/visualize/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext, CoreSetup, diff --git a/src/setup_node_env/dist.js b/src/setup_node_env/dist.js index 5fdbe7b66bc1..f1c883800e4e 100644 --- a/src/setup_node_env/dist.js +++ b/src/setup_node_env/dist.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('./no_transpilation'); require('./polyfill'); diff --git a/src/setup_node_env/exit_on_warning.js b/src/setup_node_env/exit_on_warning.js index b5e1e908851f..ab48e23e6807 100644 --- a/src/setup_node_env/exit_on_warning.js +++ b/src/setup_node_env/exit_on_warning.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - if (process.noProcessWarnings !== true) { var ignore = ['MaxListenersExceededWarning', 'NodeDeprecationWarning']; diff --git a/src/setup_node_env/harden/child_process.js b/src/setup_node_env/harden/child_process.js index 00a06cc8495d..6144f00d0566 100644 --- a/src/setup_node_env/harden/child_process.js +++ b/src/setup_node_env/harden/child_process.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ var hook = require('require-in-the-middle'); // Ensure, when spawning a new child process, that the `options` and the diff --git a/src/setup_node_env/harden/index.js b/src/setup_node_env/harden/index.js index ec3847aecd05..05f759c9c4bb 100644 --- a/src/setup_node_env/harden/index.js +++ b/src/setup_node_env/harden/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('./child_process'); require('./lodash_template'); diff --git a/src/setup_node_env/harden/lodash_template.js b/src/setup_node_env/harden/lodash_template.js index 951e9fc0cd24..2589f70acd62 100644 --- a/src/setup_node_env/harden/lodash_template.js +++ b/src/setup_node_env/harden/lodash_template.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ var hook = require('require-in-the-middle'); var isIterateeCall = require('lodash/_isIterateeCall'); diff --git a/src/setup_node_env/index.js b/src/setup_node_env/index.js index 31beb592b9a4..1346a88f4cb9 100644 --- a/src/setup_node_env/index.js +++ b/src/setup_node_env/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('./no_transpilation'); require('@osd/optimizer').registerNodeAutoTranspilation(); diff --git a/src/setup_node_env/no_transpilation.js b/src/setup_node_env/no_transpilation.js index ea14e1cb8e1d..855f485b315d 100644 --- a/src/setup_node_env/no_transpilation.js +++ b/src/setup_node_env/no_transpilation.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // The following require statements MUST be executed before any others - BEGIN require('./exit_on_warning'); require('./harden'); diff --git a/src/setup_node_env/node_version_validator.js b/src/setup_node_env/node_version_validator.js index b646d786dcfe..4218eeb9e1ea 100644 --- a/src/setup_node_env/node_version_validator.js +++ b/src/setup_node_env/node_version_validator.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - var pkg = require('../../package.json'); // Note: This is written in ES5 so we can run this before anything else diff --git a/src/setup_node_env/node_version_validator.test.js b/src/setup_node_env/node_version_validator.test.js index 6266a7432ffd..fc22dce39949 100644 --- a/src/setup_node_env/node_version_validator.test.js +++ b/src/setup_node_env/node_version_validator.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - var exec = require('child_process').exec; var pkg = require('../../package.json'); diff --git a/src/setup_node_env/polyfill.js b/src/setup_node_env/polyfill.js index 2e8350301bc7..bca52db9e989 100644 --- a/src/setup_node_env/polyfill.js +++ b/src/setup_node_env/polyfill.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('core-js/stable'); diff --git a/src/setup_node_env/root/force.js b/src/setup_node_env/root/force.js index a4bd65ec5a30..6deae0ae8e30 100644 --- a/src/setup_node_env/root/force.js +++ b/src/setup_node_env/root/force.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = function (argv) { var rootIndex = argv.indexOf('--allow-root'); var force = rootIndex >= 0; diff --git a/src/setup_node_env/root/force.test.js b/src/setup_node_env/root/force.test.js index 5151d1365678..f48f3255e4ed 100644 --- a/src/setup_node_env/root/force.test.js +++ b/src/setup_node_env/root/force.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - var forceRoot = require('./force'); describe('forceRoot', function () { diff --git a/src/setup_node_env/root/index.js b/src/setup_node_env/root/index.js index 4264760cf050..2ddbff61bc60 100644 --- a/src/setup_node_env/root/index.js +++ b/src/setup_node_env/root/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - var force = require('./force')(process.argv); var uid = process.getuid && process.getuid(); diff --git a/src/setup_node_env/root/is_root.js b/src/setup_node_env/root/is_root.js index 91b4a7673bea..ee85f4c38b8b 100644 --- a/src/setup_node_env/root/is_root.js +++ b/src/setup_node_env/root/is_root.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = function (uid) { return uid === 0; }; diff --git a/src/setup_node_env/root/is_root.test.js b/src/setup_node_env/root/is_root.test.js index b2287d3e7530..81dfbe3616cb 100644 --- a/src/setup_node_env/root/is_root.test.js +++ b/src/setup_node_env/root/is_root.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - var isRoot = require('./is_root'); describe('isRoot', function () { diff --git a/src/test_utils/__tests__/get_url.js b/src/test_utils/__tests__/get_url.js index d763270617cc..804df3528d46 100644 --- a/src/test_utils/__tests__/get_url.js +++ b/src/test_utils/__tests__/get_url.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import getUrl from '../get_url'; diff --git a/src/test_utils/get_url.js b/src/test_utils/get_url.js index b741f8197953..3b25d2bc626b 100644 --- a/src/test_utils/get_url.js +++ b/src/test_utils/get_url.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import url from 'url'; diff --git a/src/test_utils/public/enzyme_helpers.tsx b/src/test_utils/public/enzyme_helpers.tsx index 0441b0d7a818..54c15fcf6679 100644 --- a/src/test_utils/public/enzyme_helpers.tsx +++ b/src/test_utils/public/enzyme_helpers.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * Components using the @osd/i18n module require access to the intl context. * This is not available when mounting single components in Enzyme. diff --git a/src/test_utils/public/helpers/find_test_subject.ts b/src/test_utils/public/helpers/find_test_subject.ts index b49b2c754220..98687e3f0eef 100644 --- a/src/test_utils/public/helpers/find_test_subject.ts +++ b/src/test_utils/public/helpers/find_test_subject.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ReactWrapper } from 'enzyme'; type Matcher = '=' | '~=' | '|=' | '^=' | '$=' | '*='; diff --git a/src/test_utils/public/helpers/index.ts b/src/test_utils/public/helpers/index.ts index b86a472d175d..c006844f8a4b 100644 --- a/src/test_utils/public/helpers/index.ts +++ b/src/test_utils/public/helpers/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { findTestSubject } from './find_test_subject'; export { WithStore } from './redux_helpers'; diff --git a/src/test_utils/public/helpers/jsdom_svg_mocks.ts b/src/test_utils/public/helpers/jsdom_svg_mocks.ts index 3ea728505e14..79bbb69b8c5a 100644 --- a/src/test_utils/public/helpers/jsdom_svg_mocks.ts +++ b/src/test_utils/public/helpers/jsdom_svg_mocks.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const setHTMLElementClientSizes = (width: number, height: number) => { const spyWidth = jest.spyOn(window.HTMLElement.prototype, 'clientWidth', 'get'); spyWidth.mockReturnValue(width); diff --git a/src/test_utils/public/helpers/redux_helpers.tsx b/src/test_utils/public/helpers/redux_helpers.tsx index bedec7bb1d05..b72d6a4a327a 100644 --- a/src/test_utils/public/helpers/redux_helpers.tsx +++ b/src/test_utils/public/helpers/redux_helpers.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ComponentType } from 'react'; import { Provider } from 'react-redux'; diff --git a/src/test_utils/public/helpers/router_helpers.tsx b/src/test_utils/public/helpers/router_helpers.tsx index ef370067a377..09b972771ce5 100644 --- a/src/test_utils/public/helpers/router_helpers.tsx +++ b/src/test_utils/public/helpers/router_helpers.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { Component, ComponentType } from 'react'; import { MemoryRouter, Route, withRouter } from 'react-router-dom'; import * as H from 'history'; diff --git a/src/test_utils/public/helpers/utils.ts b/src/test_utils/public/helpers/utils.ts index 7a0aebeb5378..f2841a2bbebd 100644 --- a/src/test_utils/public/helpers/utils.ts +++ b/src/test_utils/public/helpers/utils.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Chance from 'chance'; const chance = new Chance(); diff --git a/src/test_utils/public/index.ts b/src/test_utils/public/index.ts index 31f451a33851..56f5a5e13a7a 100644 --- a/src/test_utils/public/index.ts +++ b/src/test_utils/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { setSVGElementGetBBox, setHTMLElementOffset, diff --git a/src/test_utils/public/key_map.ts b/src/test_utils/public/key_map.ts index e3828d966e73..e85deb4e2972 100644 --- a/src/test_utils/public/key_map.ts +++ b/src/test_utils/public/key_map.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const keyMap: { [key: number]: string } = { 8: 'backspace', 9: 'tab', diff --git a/src/test_utils/public/stub_browser_storage.test.ts b/src/test_utils/public/stub_browser_storage.test.ts index 0fad111a4f72..6cf7563092d0 100644 --- a/src/test_utils/public/stub_browser_storage.test.ts +++ b/src/test_utils/public/stub_browser_storage.test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { StubBrowserStorage } from './stub_browser_storage'; describe('StubBrowserStorage', () => { diff --git a/src/test_utils/public/stub_browser_storage.ts b/src/test_utils/public/stub_browser_storage.ts index c2bde42612bb..0acab2e58dd9 100644 --- a/src/test_utils/public/stub_browser_storage.ts +++ b/src/test_utils/public/stub_browser_storage.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export class StubBrowserStorage implements Storage { private keys: string[] = []; private values: string[] = []; diff --git a/src/test_utils/public/testbed/index.ts b/src/test_utils/public/testbed/index.ts index bceeaa8d3cb4..a941abeda32f 100644 --- a/src/test_utils/public/testbed/index.ts +++ b/src/test_utils/public/testbed/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,5 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { registerTestBed } from './testbed'; export { TestBed, TestBedConfig, SetupFunc, UnwrapPromise } from './types'; diff --git a/src/test_utils/public/testbed/mount_component.tsx b/src/test_utils/public/testbed/mount_component.tsx index 6d64e7f44446..e941584292db 100644 --- a/src/test_utils/public/testbed/mount_component.tsx +++ b/src/test_utils/public/testbed/mount_component.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { ComponentType } from 'react'; import { Store } from 'redux'; import { ReactWrapper } from 'enzyme'; diff --git a/src/test_utils/public/testbed/testbed.ts b/src/test_utils/public/testbed/testbed.ts index 77b4cca1a70b..02a27b8aaa9b 100644 --- a/src/test_utils/public/testbed/testbed.ts +++ b/src/test_utils/public/testbed/testbed.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ComponentType, ReactWrapper } from 'enzyme'; import { findTestSubject, reactRouterMock } from '../helpers'; diff --git a/src/test_utils/public/testbed/types.ts b/src/test_utils/public/testbed/types.ts index ffa3bf6662da..9df36d3f97e3 100644 --- a/src/test_utils/public/testbed/types.ts +++ b/src/test_utils/public/testbed/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Store } from 'redux'; import { ReactWrapper } from 'enzyme'; diff --git a/src/type_definitions/react_virtualized.d.ts b/src/type_definitions/react_virtualized.d.ts index c3eb22675eea..b4feea77c2cc 100644 --- a/src/type_definitions/react_virtualized.d.ts +++ b/src/type_definitions/react_virtualized.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - declare module 'react-virtualized' { export type ListProps = any; } diff --git a/tasks/check_plugins.js b/tasks/check_plugins.js index ff358b79604f..3433a3a52261 100644 --- a/tasks/check_plugins.js +++ b/tasks/check_plugins.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import fs from 'fs'; import path from 'path'; diff --git a/tasks/config/availabletasks.js b/tasks/config/availabletasks.js index 454323bf1d76..ef581a794903 100644 --- a/tasks/config/availabletasks.js +++ b/tasks/config/availabletasks.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = function (grunt) { const config = { availabletasks: { diff --git a/tasks/config/peg.js b/tasks/config/peg.js index 7a22bcc284e3..26cbe51eba6f 100644 --- a/tasks/config/peg.js +++ b/tasks/config/peg.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = { kuery: { src: 'src/plugins/data/common/opensearch_query/kuery/ast/kuery.peg', diff --git a/tasks/config/run.js b/tasks/config/run.js index 60fa80aa7452..e4455d4e0599 100644 --- a/tasks/config/run.js +++ b/tasks/config/run.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { getFunctionalTestGroupRunConfigs } from '../function_test_groups'; const { version } = require('../../package.json'); diff --git a/tasks/config/watch.js b/tasks/config/watch.js index c7b05b5df77e..ba2eb6aa1020 100644 --- a/tasks/config/watch.js +++ b/tasks/config/watch.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = { peg: { files: ['src/legacy/utils/kuery/ast/*.peg'], diff --git a/tasks/docker_docs.js b/tasks/docker_docs.js index 819580515b73..6ead68bb084b 100644 --- a/tasks/docker_docs.js +++ b/tasks/docker_docs.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import del from 'del'; import { join } from 'path'; import { execFileSync as exec } from 'child_process'; diff --git a/tasks/function_test_groups.js b/tasks/function_test_groups.js index 74d3861643b5..91f017a437c3 100644 --- a/tasks/function_test_groups.js +++ b/tasks/function_test_groups.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { readFileSync } from 'fs'; import { resolve } from 'path'; diff --git a/tasks/jenkins.js b/tasks/jenkins.js index 58623dc8702c..88f7c2f51029 100644 --- a/tasks/jenkins.js +++ b/tasks/jenkins.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - module.exports = function (grunt) { grunt.registerTask('jenkins:docs', ['docker:docs']); diff --git a/tasks/licenses_csv_report.js b/tasks/licenses_csv_report.js index a2271a1e8659..a5bd8f7cada8 100644 --- a/tasks/licenses_csv_report.js +++ b/tasks/licenses_csv_report.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { writeFileSync } from 'fs'; import { resolve } from 'path'; import { getInstalledPackages } from '../src/dev/npm'; diff --git a/tasks/test.js b/tasks/test.js index 4f99e6e8de55..83a6e59dc168 100644 --- a/tasks/test.js +++ b/tasks/test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { run } from '../utilities/visual_regression'; module.exports = function (grunt) { diff --git a/tasks/test_jest.js b/tasks/test_jest.js index f36b0c7140f2..9cf6f8e293ea 100644 --- a/tasks/test_jest.js +++ b/tasks/test_jest.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const { resolve } = require('path'); module.exports = function (grunt) { diff --git a/test/accessibility/apps/console.ts b/test/accessibility/apps/console.ts index 8cac3ee3a568..77f981cf8191 100644 --- a/test/accessibility/apps/console.ts +++ b/test/accessibility/apps/console.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/accessibility/apps/dashboard.ts b/test/accessibility/apps/dashboard.ts index 266bff0720f3..c0a8db47e026 100644 --- a/test/accessibility/apps/dashboard.ts +++ b/test/accessibility/apps/dashboard.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/accessibility/apps/dashboard_panel.ts b/test/accessibility/apps/dashboard_panel.ts index b1323ca72ab2..04353751080b 100644 --- a/test/accessibility/apps/dashboard_panel.ts +++ b/test/accessibility/apps/dashboard_panel.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const PageObjects = getPageObjects(['common', 'dashboard', 'header', 'home', 'settings']); diff --git a/test/accessibility/apps/discover.ts b/test/accessibility/apps/discover.ts index 8b2cdac08bae..8cea410d4392 100644 --- a/test/accessibility/apps/discover.ts +++ b/test/accessibility/apps/discover.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/accessibility/apps/filter_panel.ts b/test/accessibility/apps/filter_panel.ts index 4f9225349f19..65c2d3626a43 100644 --- a/test/accessibility/apps/filter_panel.ts +++ b/test/accessibility/apps/filter_panel.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/accessibility/apps/home.ts b/test/accessibility/apps/home.ts index 5a23278a573f..cd0c41b4a09b 100644 --- a/test/accessibility/apps/home.ts +++ b/test/accessibility/apps/home.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/accessibility/apps/management.ts b/test/accessibility/apps/management.ts index d951ea4ab705..4a60dc1a4862 100644 --- a/test/accessibility/apps/management.ts +++ b/test/accessibility/apps/management.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/accessibility/apps/opensearch_dashboards_overview.ts b/test/accessibility/apps/opensearch_dashboards_overview.ts index 593c611d55d8..64dbc9932edd 100644 --- a/test/accessibility/apps/opensearch_dashboards_overview.ts +++ b/test/accessibility/apps/opensearch_dashboards_overview.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/accessibility/apps/visualize.ts b/test/accessibility/apps/visualize.ts index d72feee72593..da85400da2dd 100644 --- a/test/accessibility/apps/visualize.ts +++ b/test/accessibility/apps/visualize.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/accessibility/config.ts b/test/accessibility/config.ts index 9cf2cea544f9..d712a3de04c9 100644 --- a/test/accessibility/config.ts +++ b/test/accessibility/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrConfigProviderContext } from '@osd/test/types/ftr'; import { services } from './services'; import { pageObjects } from './page_objects'; diff --git a/test/accessibility/ftr_provider_context.d.ts b/test/accessibility/ftr_provider_context.d.ts index b3172e44a298..eab2dd199c11 100644 --- a/test/accessibility/ftr_provider_context.d.ts +++ b/test/accessibility/ftr_provider_context.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { GenericFtrProviderContext } from '@osd/test/types/ftr'; import { pageObjects } from './page_objects'; diff --git a/test/accessibility/page_objects.ts b/test/accessibility/page_objects.ts index e546aea6f78d..4949de06aeb1 100644 --- a/test/accessibility/page_objects.ts +++ b/test/accessibility/page_objects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { pageObjects } from '../functional/page_objects'; diff --git a/test/accessibility/services/a11y/a11y.ts b/test/accessibility/services/a11y/a11y.ts index 7472f226328e..8900e5b35da6 100644 --- a/test/accessibility/services/a11y/a11y.ts +++ b/test/accessibility/services/a11y/a11y.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import chalk from 'chalk'; import testSubjectToCss from '@osd/test-subj-selector'; diff --git a/test/accessibility/services/a11y/analyze_with_axe.js b/test/accessibility/services/a11y/analyze_with_axe.js index ca3bcfc20b25..346c1a63ab7c 100644 --- a/test/accessibility/services/a11y/analyze_with_axe.js +++ b/test/accessibility/services/a11y/analyze_with_axe.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { readFileSync } from 'fs'; export function analyzeWithAxe(context, options, callback) { diff --git a/test/accessibility/services/a11y/axe_report.ts b/test/accessibility/services/a11y/axe_report.ts index ea7907d69fd3..85f1a882bc79 100644 --- a/test/accessibility/services/a11y/axe_report.ts +++ b/test/accessibility/services/a11y/axe_report.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - type AxeImpact = 'minor' | 'moderate' | 'serious' | 'critical'; type AxeRelatedNodes = Array<{ diff --git a/test/accessibility/services/a11y/index.ts b/test/accessibility/services/a11y/index.ts index 94aa87da887a..8821a432eaa1 100644 --- a/test/accessibility/services/a11y/index.ts +++ b/test/accessibility/services/a11y/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { A11yProvider } from './a11y'; diff --git a/test/accessibility/services/index.ts b/test/accessibility/services/index.ts index 27b98589d584..d6490222e8f1 100644 --- a/test/accessibility/services/index.ts +++ b/test/accessibility/services/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { services as opensearchDashboardsFunctionalServices } from '../../functional/services'; import { A11yProvider } from './a11y'; diff --git a/test/api_integration/apis/core/index.js b/test/api_integration/apis/core/index.js index 3446bd3a7575..edca353e9af0 100644 --- a/test/api_integration/apis/core/index.js +++ b/test/api_integration/apis/core/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/dql_telemetry/dql_telemetry.js b/test/api_integration/apis/dql_telemetry/dql_telemetry.js index eba71a348f8b..a94f8e6500f3 100644 --- a/test/api_integration/apis/dql_telemetry/dql_telemetry.js +++ b/test/api_integration/apis/dql_telemetry/dql_telemetry.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import Bluebird from 'bluebird'; import { get } from 'lodash'; diff --git a/test/api_integration/apis/dql_telemetry/index.js b/test/api_integration/apis/dql_telemetry/index.js index 500895e752ba..1716e41a4753 100644 --- a/test/api_integration/apis/dql_telemetry/index.js +++ b/test/api_integration/apis/dql_telemetry/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('DQL', () => { loadTestFile(require.resolve('./dql_telemetry')); diff --git a/test/api_integration/apis/general/cookies.js b/test/api_integration/apis/general/cookies.js index 3f4ccf9aaf47..8ea806b7d80b 100644 --- a/test/api_integration/apis/general/cookies.js +++ b/test/api_integration/apis/general/cookies.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/general/csp.js b/test/api_integration/apis/general/csp.js index 89b8fd182cd9..452166bb160b 100644 --- a/test/api_integration/apis/general/csp.js +++ b/test/api_integration/apis/general/csp.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/general/index.js b/test/api_integration/apis/general/index.js index abdd4ac2b147..58d42b44d316 100644 --- a/test/api_integration/apis/general/index.js +++ b/test/api_integration/apis/general/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('general', () => { loadTestFile(require.resolve('./cookies')); diff --git a/test/api_integration/apis/home/index.js b/test/api_integration/apis/home/index.js index 64503199144e..4db25e12d019 100644 --- a/test/api_integration/apis/home/index.js +++ b/test/api_integration/apis/home/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('home apis', () => { loadTestFile(require.resolve('./sample_data')); diff --git a/test/api_integration/apis/home/sample_data.js b/test/api_integration/apis/home/sample_data.js index c1a0f1373ec2..13205d4926b4 100644 --- a/test/api_integration/apis/home/sample_data.js +++ b/test/api_integration/apis/home/sample_data.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/index.js b/test/api_integration/apis/index.js index 94fc57916b7c..54ffe6e774a5 100644 --- a/test/api_integration/apis/index.js +++ b/test/api_integration/apis/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('apis', () => { loadTestFile(require.resolve('./core')); diff --git a/test/api_integration/apis/index_patterns/fields_for_time_pattern_route/errors.js b/test/api_integration/apis/index_patterns/fields_for_time_pattern_route/errors.js index caf8ae4ebcad..f1881bda6c53 100644 --- a/test/api_integration/apis/index_patterns/fields_for_time_pattern_route/errors.js +++ b/test/api_integration/apis/index_patterns/fields_for_time_pattern_route/errors.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService }) { const supertest = getService('supertest'); diff --git a/test/api_integration/apis/index_patterns/fields_for_time_pattern_route/index.js b/test/api_integration/apis/index_patterns/fields_for_time_pattern_route/index.js index 29bd1e5994a6..8671f3d15bfd 100644 --- a/test/api_integration/apis/index_patterns/fields_for_time_pattern_route/index.js +++ b/test/api_integration/apis/index_patterns/fields_for_time_pattern_route/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('index_patterns/_fields_for_time_pattern', () => { loadTestFile(require.resolve('./errors')); diff --git a/test/api_integration/apis/index_patterns/fields_for_time_pattern_route/pattern.js b/test/api_integration/apis/index_patterns/fields_for_time_pattern_route/pattern.js index ad2a6afd610e..8f3cb2cf83dc 100644 --- a/test/api_integration/apis/index_patterns/fields_for_time_pattern_route/pattern.js +++ b/test/api_integration/apis/index_patterns/fields_for_time_pattern_route/pattern.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/index_patterns/fields_for_time_pattern_route/query_params.js b/test/api_integration/apis/index_patterns/fields_for_time_pattern_route/query_params.js index c0e0b3e31a95..5e54da889211 100644 --- a/test/api_integration/apis/index_patterns/fields_for_time_pattern_route/query_params.js +++ b/test/api_integration/apis/index_patterns/fields_for_time_pattern_route/query_params.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/index_patterns/fields_for_wildcard_route/conflicts.js b/test/api_integration/apis/index_patterns/fields_for_wildcard_route/conflicts.js index d00439870370..c672cb48b12c 100644 --- a/test/api_integration/apis/index_patterns/fields_for_wildcard_route/conflicts.js +++ b/test/api_integration/apis/index_patterns/fields_for_wildcard_route/conflicts.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/index_patterns/fields_for_wildcard_route/index.js b/test/api_integration/apis/index_patterns/fields_for_wildcard_route/index.js index 1d4126542d74..207aaabe9749 100644 --- a/test/api_integration/apis/index_patterns/fields_for_wildcard_route/index.js +++ b/test/api_integration/apis/index_patterns/fields_for_wildcard_route/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('index_patterns/_fields_for_wildcard route', () => { loadTestFile(require.resolve('./params')); diff --git a/test/api_integration/apis/index_patterns/fields_for_wildcard_route/params.js b/test/api_integration/apis/index_patterns/fields_for_wildcard_route/params.js index 984ef0470c4a..8c60e168f3de 100644 --- a/test/api_integration/apis/index_patterns/fields_for_wildcard_route/params.js +++ b/test/api_integration/apis/index_patterns/fields_for_wildcard_route/params.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService }) { const opensearchArchiver = getService('opensearchArchiver'); const supertest = getService('supertest'); diff --git a/test/api_integration/apis/index_patterns/fields_for_wildcard_route/response.js b/test/api_integration/apis/index_patterns/fields_for_wildcard_route/response.js index 17f9fd546c42..65791150226d 100644 --- a/test/api_integration/apis/index_patterns/fields_for_wildcard_route/response.js +++ b/test/api_integration/apis/index_patterns/fields_for_wildcard_route/response.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { sortBy } from 'lodash'; diff --git a/test/api_integration/apis/index_patterns/index.js b/test/api_integration/apis/index_patterns/index.js index dbc67997c072..7c7257312bc3 100644 --- a/test/api_integration/apis/index_patterns/index.js +++ b/test/api_integration/apis/index_patterns/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('index_patterns', () => { loadTestFile(require.resolve('./opensearch_errors')); diff --git a/test/api_integration/apis/index_patterns/opensearch_errors/errors.js b/test/api_integration/apis/index_patterns/opensearch_errors/errors.js index 61954bb41a74..07036a364731 100644 --- a/test/api_integration/apis/index_patterns/opensearch_errors/errors.js +++ b/test/api_integration/apis/index_patterns/opensearch_errors/errors.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { errors as opensearchErrors } from 'elasticsearch'; import Boom from '@hapi/boom'; diff --git a/test/api_integration/apis/index_patterns/opensearch_errors/index.js b/test/api_integration/apis/index_patterns/opensearch_errors/index.js index 6ac9c1dd5df9..c8b3d37e92fb 100644 --- a/test/api_integration/apis/index_patterns/opensearch_errors/index.js +++ b/test/api_integration/apis/index_patterns/opensearch_errors/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('index_patterns/service/lib', () => { loadTestFile(require.resolve('./errors')); diff --git a/test/api_integration/apis/index_patterns/opensearch_errors/lib/get_opensearch_errors.js b/test/api_integration/apis/index_patterns/opensearch_errors/lib/get_opensearch_errors.js index 8b92257c590a..4e5457458e3d 100644 --- a/test/api_integration/apis/index_patterns/opensearch_errors/lib/get_opensearch_errors.js +++ b/test/api_integration/apis/index_patterns/opensearch_errors/lib/get_opensearch_errors.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export async function getIndexNotFoundError(opensearch) { diff --git a/test/api_integration/apis/index_patterns/opensearch_errors/lib/index.js b/test/api_integration/apis/index_patterns/opensearch_errors/lib/index.js index 12a900adbaa1..f6d094e58599 100644 --- a/test/api_integration/apis/index_patterns/opensearch_errors/lib/index.js +++ b/test/api_integration/apis/index_patterns/opensearch_errors/lib/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { getIndexNotFoundError, getDocNotFoundError } from './get_opensearch_errors'; diff --git a/test/api_integration/apis/saved_objects/bulk_create.js b/test/api_integration/apis/saved_objects/bulk_create.js index d758b3c05457..0685a66fa7d8 100644 --- a/test/api_integration/apis/saved_objects/bulk_create.js +++ b/test/api_integration/apis/saved_objects/bulk_create.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/saved_objects/bulk_get.js b/test/api_integration/apis/saved_objects/bulk_get.js index eb9acedda638..fd3847855df2 100644 --- a/test/api_integration/apis/saved_objects/bulk_get.js +++ b/test/api_integration/apis/saved_objects/bulk_get.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/saved_objects/bulk_update.js b/test/api_integration/apis/saved_objects/bulk_update.js index ca5f07976474..7a048050b995 100644 --- a/test/api_integration/apis/saved_objects/bulk_update.js +++ b/test/api_integration/apis/saved_objects/bulk_update.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import _ from 'lodash'; diff --git a/test/api_integration/apis/saved_objects/create.js b/test/api_integration/apis/saved_objects/create.js index bcb1b9459bbb..dc7cf1e2adf3 100644 --- a/test/api_integration/apis/saved_objects/create.js +++ b/test/api_integration/apis/saved_objects/create.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/saved_objects/delete.js b/test/api_integration/apis/saved_objects/delete.js index 14a99e794f51..70afbecaf400 100644 --- a/test/api_integration/apis/saved_objects/delete.js +++ b/test/api_integration/apis/saved_objects/delete.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/saved_objects/export.js b/test/api_integration/apis/saved_objects/export.js index 72249a17f482..3cab6fe3a75f 100644 --- a/test/api_integration/apis/saved_objects/export.js +++ b/test/api_integration/apis/saved_objects/export.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/saved_objects/find.js b/test/api_integration/apis/saved_objects/find.js index 82754e69b96f..d31504d3e9b8 100644 --- a/test/api_integration/apis/saved_objects/find.js +++ b/test/api_integration/apis/saved_objects/find.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/saved_objects/get.js b/test/api_integration/apis/saved_objects/get.js index b9e09710326c..02bb49270f79 100644 --- a/test/api_integration/apis/saved_objects/get.js +++ b/test/api_integration/apis/saved_objects/get.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/saved_objects/import.js b/test/api_integration/apis/saved_objects/import.js index ccfd4263ce2b..d319b93420df 100644 --- a/test/api_integration/apis/saved_objects/import.js +++ b/test/api_integration/apis/saved_objects/import.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { join } from 'path'; diff --git a/test/api_integration/apis/saved_objects/index.js b/test/api_integration/apis/saved_objects/index.js index ece19780681a..a0e1fa666302 100644 --- a/test/api_integration/apis/saved_objects/index.js +++ b/test/api_integration/apis/saved_objects/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('saved_objects', () => { loadTestFile(require.resolve('./bulk_create')); diff --git a/test/api_integration/apis/saved_objects/migrations.ts b/test/api_integration/apis/saved_objects/migrations.ts index 3c297e498b1a..1f6d226e4ee8 100644 --- a/test/api_integration/apis/saved_objects/migrations.ts +++ b/test/api_integration/apis/saved_objects/migrations.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* * Smokescreen tests for core migration logic */ diff --git a/test/api_integration/apis/saved_objects/resolve_import_errors.js b/test/api_integration/apis/saved_objects/resolve_import_errors.js index 46afb7578114..2cd010772f9b 100644 --- a/test/api_integration/apis/saved_objects/resolve_import_errors.js +++ b/test/api_integration/apis/saved_objects/resolve_import_errors.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { join } from 'path'; diff --git a/test/api_integration/apis/saved_objects/update.js b/test/api_integration/apis/saved_objects/update.js index f9f501be350f..a619e7307482 100644 --- a/test/api_integration/apis/saved_objects/update.js +++ b/test/api_integration/apis/saved_objects/update.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/saved_objects_management/find.ts b/test/api_integration/apis/saved_objects_management/find.ts index 4e0acafb0467..a82d4e792cdc 100644 --- a/test/api_integration/apis/saved_objects_management/find.ts +++ b/test/api_integration/apis/saved_objects_management/find.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { Response } from 'supertest'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/api_integration/apis/saved_objects_management/get.ts b/test/api_integration/apis/saved_objects_management/get.ts index d66969e2dc05..d2b1b4f4d732 100644 --- a/test/api_integration/apis/saved_objects_management/get.ts +++ b/test/api_integration/apis/saved_objects_management/get.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { Response } from 'supertest'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/api_integration/apis/saved_objects_management/index.ts b/test/api_integration/apis/saved_objects_management/index.ts index d0edab4e7fd8..85f9e6f13f6e 100644 --- a/test/api_integration/apis/saved_objects_management/index.ts +++ b/test/api_integration/apis/saved_objects_management/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ loadTestFile }: FtrProviderContext) { diff --git a/test/api_integration/apis/saved_objects_management/relationships.ts b/test/api_integration/apis/saved_objects_management/relationships.ts index 1eb9e7b8a23c..f0af2d8d9e79 100644 --- a/test/api_integration/apis/saved_objects_management/relationships.ts +++ b/test/api_integration/apis/saved_objects_management/relationships.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { schema } from '@osd/config-schema'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/api_integration/apis/saved_objects_management/scroll_count.ts b/test/api_integration/apis/saved_objects_management/scroll_count.ts index 231761fb827c..ec955824b67e 100644 --- a/test/api_integration/apis/saved_objects_management/scroll_count.ts +++ b/test/api_integration/apis/saved_objects_management/scroll_count.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { SuperTest, Test } from 'supertest'; import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/api_integration/apis/scripts/index.js b/test/api_integration/apis/scripts/index.js index c32c434db023..10257708b036 100644 --- a/test/api_integration/apis/scripts/index.js +++ b/test/api_integration/apis/scripts/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('scripts', () => { loadTestFile(require.resolve('./languages')); diff --git a/test/api_integration/apis/scripts/languages.js b/test/api_integration/apis/scripts/languages.js index b6be2cc47cdb..cd8d8dc4bccc 100644 --- a/test/api_integration/apis/scripts/languages.js +++ b/test/api_integration/apis/scripts/languages.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/search/index.ts b/test/api_integration/apis/search/index.ts index df629dc315b4..1da40db2e8b4 100644 --- a/test/api_integration/apis/search/index.ts +++ b/test/api_integration/apis/search/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ loadTestFile }: FtrProviderContext) { diff --git a/test/api_integration/apis/search/search.ts b/test/api_integration/apis/search/search.ts index ee28810438fe..d51d18ebc591 100644 --- a/test/api_integration/apis/search/search.ts +++ b/test/api_integration/apis/search/search.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ getService }: FtrProviderContext) { diff --git a/test/api_integration/apis/shorten/index.js b/test/api_integration/apis/shorten/index.js index 87608be89bfe..dd622c6c0b39 100644 --- a/test/api_integration/apis/shorten/index.js +++ b/test/api_integration/apis/shorten/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/stats/index.js b/test/api_integration/apis/stats/index.js index 305acb3ffbba..2054cd9da552 100644 --- a/test/api_integration/apis/stats/index.js +++ b/test/api_integration/apis/stats/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('stats', () => { loadTestFile(require.resolve('./stats')); diff --git a/test/api_integration/apis/stats/stats.js b/test/api_integration/apis/stats/stats.js index 50d9acb138e7..e6be1f3b999b 100644 --- a/test/api_integration/apis/stats/stats.js +++ b/test/api_integration/apis/stats/stats.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; const assertStatsAndMetrics = (body) => { diff --git a/test/api_integration/apis/status/index.js b/test/api_integration/apis/status/index.js index 472a106dc45c..3627c08b5d6c 100644 --- a/test/api_integration/apis/status/index.js +++ b/test/api_integration/apis/status/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('status', () => { loadTestFile(require.resolve('./status')); diff --git a/test/api_integration/apis/status/status.js b/test/api_integration/apis/status/status.js index 2f327dea5c90..decc13a78296 100644 --- a/test/api_integration/apis/status/status.js +++ b/test/api_integration/apis/status/status.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService }) { diff --git a/test/api_integration/apis/suggestions/index.js b/test/api_integration/apis/suggestions/index.js index ca720c044cd0..50e3de0aa7d4 100644 --- a/test/api_integration/apis/suggestions/index.js +++ b/test/api_integration/apis/suggestions/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('suggestions', () => { loadTestFile(require.resolve('./suggestions')); diff --git a/test/api_integration/apis/suggestions/suggestions.js b/test/api_integration/apis/suggestions/suggestions.js index 2bbad7708ce2..95dee63117a3 100644 --- a/test/api_integration/apis/suggestions/suggestions.js +++ b/test/api_integration/apis/suggestions/suggestions.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService }) { const opensearchArchiver = getService('opensearchArchiver'); const supertest = getService('supertest'); diff --git a/test/api_integration/apis/telemetry/index.js b/test/api_integration/apis/telemetry/index.js index da22b2a4cd97..ad2471e5a312 100644 --- a/test/api_integration/apis/telemetry/index.js +++ b/test/api_integration/apis/telemetry/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('Telemetry', () => { loadTestFile(require.resolve('./telemetry_local')); diff --git a/test/api_integration/apis/telemetry/opt_in.ts b/test/api_integration/apis/telemetry/opt_in.ts index 69d423cbc864..26607aac176e 100644 --- a/test/api_integration/apis/telemetry/opt_in.ts +++ b/test/api_integration/apis/telemetry/opt_in.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { TelemetrySavedObjectAttributes } from 'src/plugins/telemetry/server/telemetry_repository'; diff --git a/test/api_integration/apis/telemetry/telemetry_local.js b/test/api_integration/apis/telemetry/telemetry_local.js index bd99be2d69b3..f8f38fbab52d 100644 --- a/test/api_integration/apis/telemetry/telemetry_local.js +++ b/test/api_integration/apis/telemetry/telemetry_local.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import _ from 'lodash'; diff --git a/test/api_integration/apis/telemetry/telemetry_optin_notice_seen.ts b/test/api_integration/apis/telemetry/telemetry_optin_notice_seen.ts index a627a530561f..1fc094ef65d7 100644 --- a/test/api_integration/apis/telemetry/telemetry_optin_notice_seen.ts +++ b/test/api_integration/apis/telemetry/telemetry_optin_notice_seen.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { Client, DeleteDocumentParams, GetParams, GetResponse } from 'elasticsearch'; import { TelemetrySavedObjectAttributes } from 'src/plugins/telemetry/server/telemetry_repository'; diff --git a/test/api_integration/apis/ui_metric/index.js b/test/api_integration/apis/ui_metric/index.js index 36da1035ebe7..9e11fc17a419 100644 --- a/test/api_integration/apis/ui_metric/index.js +++ b/test/api_integration/apis/ui_metric/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('UI Metric', () => { loadTestFile(require.resolve('./ui_metric')); diff --git a/test/api_integration/apis/ui_metric/ui_metric.js b/test/api_integration/apis/ui_metric/ui_metric.js index 911b0e70b61d..60bf1f5f615d 100644 --- a/test/api_integration/apis/ui_metric/ui_metric.js +++ b/test/api_integration/apis/ui_metric/ui_metric.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { ReportManager, METRIC_TYPE } from '@osd/analytics'; diff --git a/test/api_integration/config.js b/test/api_integration/config.js index 9fe8b51ce632..b7b329b9b04c 100644 --- a/test/api_integration/config.js +++ b/test/api_integration/config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { services } from './services'; export default async function ({ readConfigFile }) { diff --git a/test/api_integration/ftr_provider_context.d.ts b/test/api_integration/ftr_provider_context.d.ts index 6b7e742716c3..3fc79fd7189c 100644 --- a/test/api_integration/ftr_provider_context.d.ts +++ b/test/api_integration/ftr_provider_context.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { GenericFtrProviderContext } from '@osd/test/types/ftr'; import { services } from './services'; diff --git a/test/api_integration/services/index.ts b/test/api_integration/services/index.ts index a636af214d2b..c7fd1a82d873 100644 --- a/test/api_integration/services/index.ts +++ b/test/api_integration/services/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { services as commonServices } from '../../common/services'; import { OpenSearchDashboardsSupertestProvider, OpenSearchSupertestProvider } from './supertest'; diff --git a/test/api_integration/services/supertest.ts b/test/api_integration/services/supertest.ts index 0de142662d37..369c25902b11 100644 --- a/test/api_integration/services/supertest.ts +++ b/test/api_integration/services/supertest.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { FtrProviderContext } from 'test/functional/ftr_provider_context'; import { format as formatUrl } from 'url'; diff --git a/test/common/config.js b/test/common/config.js index 7ed1b32e50df..5db5748087a3 100644 --- a/test/common/config.js +++ b/test/common/config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - //import path from 'path'; import { format as formatUrl } from 'url'; import { opensearchTestConfig, osdTestConfig, opensearchDashboardsServerTestUser } from '@osd/test'; diff --git a/test/common/fixtures/plugins/newsfeed/server/index.ts b/test/common/fixtures/plugins/newsfeed/server/index.ts index 1b51f662fb18..1ecba648a87f 100644 --- a/test/common/fixtures/plugins/newsfeed/server/index.ts +++ b/test/common/fixtures/plugins/newsfeed/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializerContext } from 'opensearch-dashboards/public'; import { NewsFeedSimulatorPlugin } from './plugin'; diff --git a/test/common/fixtures/plugins/newsfeed/server/plugin.ts b/test/common/fixtures/plugins/newsfeed/server/plugin.ts index 1e088d05ffed..d625d327fabf 100644 --- a/test/common/fixtures/plugins/newsfeed/server/plugin.ts +++ b/test/common/fixtures/plugins/newsfeed/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, Plugin } from 'opensearch-dashboards/server'; import { PluginInitializerContext } from 'opensearch-dashboards/public'; diff --git a/test/common/ftr_provider_context.d.ts b/test/common/ftr_provider_context.d.ts index 6b7e742716c3..3fc79fd7189c 100644 --- a/test/common/ftr_provider_context.d.ts +++ b/test/common/ftr_provider_context.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { GenericFtrProviderContext } from '@osd/test/types/ftr'; import { services } from './services'; diff --git a/test/common/services/deployment.ts b/test/common/services/deployment.ts index fac7aca2eb03..d28ed55a2bb3 100644 --- a/test/common/services/deployment.ts +++ b/test/common/services/deployment.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { get } from 'lodash'; // @ts-ignore import fetch from 'node-fetch'; diff --git a/test/common/services/index.ts b/test/common/services/index.ts index a89eed4204c7..4f4987609aae 100644 --- a/test/common/services/index.ts +++ b/test/common/services/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DeploymentProvider } from './deployment'; import { LegacyOpenSearchProvider } from './legacy_opensearch'; import { OpenSearchProvider } from './opensearch'; diff --git a/test/common/services/legacy_opensearch.ts b/test/common/services/legacy_opensearch.ts index ad07f9492a6c..597a55a79f3b 100644 --- a/test/common/services/legacy_opensearch.ts +++ b/test/common/services/legacy_opensearch.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { format as formatUrl } from 'url'; import * as legacyOpenSearch from 'elasticsearch'; diff --git a/test/common/services/opensearch.ts b/test/common/services/opensearch.ts index de7b03172d9b..b162ee961f6d 100644 --- a/test/common/services/opensearch.ts +++ b/test/common/services/opensearch.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { format as formatUrl } from 'url'; import fs from 'fs'; import { Client } from '@opensearch-project/opensearch'; diff --git a/test/common/services/opensearch_archiver.ts b/test/common/services/opensearch_archiver.ts index 67ef23a509a7..eb36c9e5a1d5 100644 --- a/test/common/services/opensearch_archiver.ts +++ b/test/common/services/opensearch_archiver.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { format as formatUrl } from 'url'; import { OpenSearchArchiver } from '@osd/opensearch-archiver'; import { FtrProviderContext } from '../ftr_provider_context'; diff --git a/test/common/services/opensearch_dashboards_server/extend_opensearch_archiver.js b/test/common/services/opensearch_dashboards_server/extend_opensearch_archiver.js index 9d6187a942f3..33e3acbd3d27 100644 --- a/test/common/services/opensearch_dashboards_server/extend_opensearch_archiver.js +++ b/test/common/services/opensearch_dashboards_server/extend_opensearch_archiver.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const OPENSEARCH_ARCHIVER_LOAD_METHODS = ['load', 'loadIfNeeded', 'unload']; const OPENSEARCH_DASHBOARDS_INDEX = '.kibana'; diff --git a/test/common/services/opensearch_dashboards_server/index.ts b/test/common/services/opensearch_dashboards_server/index.ts index 468ebd85c76d..98f7bbadbd61 100644 --- a/test/common/services/opensearch_dashboards_server/index.ts +++ b/test/common/services/opensearch_dashboards_server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { OpenSearchDashboardsServerProvider } from './opensearch_dashboards_server'; // @ts-ignore export { extendOpenSearchArchiver } from './extend_opensearch_archiver'; diff --git a/test/common/services/opensearch_dashboards_server/opensearch_dashboards_server.ts b/test/common/services/opensearch_dashboards_server/opensearch_dashboards_server.ts index c3039af37ceb..c989bbff9caa 100644 --- a/test/common/services/opensearch_dashboards_server/opensearch_dashboards_server.ts +++ b/test/common/services/opensearch_dashboards_server/opensearch_dashboards_server.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Url from 'url'; import { OsdClient } from '@osd/dev-utils'; diff --git a/test/common/services/randomness.ts b/test/common/services/randomness.ts index 58cfd7b16562..38738ea40db4 100644 --- a/test/common/services/randomness.ts +++ b/test/common/services/randomness.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Chance from 'chance'; import { FtrProviderContext } from '../ftr_provider_context'; diff --git a/test/common/services/retry/index.ts b/test/common/services/retry/index.ts index 800bf11dc66d..00bdb3e15035 100644 --- a/test/common/services/retry/index.ts +++ b/test/common/services/retry/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { RetryProvider } from './retry'; diff --git a/test/common/services/retry/retry.ts b/test/common/services/retry/retry.ts index 51e35adbc79c..0f1ef5ac8bbd 100644 --- a/test/common/services/retry/retry.ts +++ b/test/common/services/retry/retry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../ftr_provider_context'; import { retryForSuccess } from './retry_for_success'; import { retryForTruthy } from './retry_for_truthy'; diff --git a/test/common/services/retry/retry_for_success.ts b/test/common/services/retry/retry_for_success.ts index 64e98fb5166a..2b0560fadfd2 100644 --- a/test/common/services/retry/retry_for_success.ts +++ b/test/common/services/retry/retry_for_success.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '@osd/dev-utils'; import { inspect } from 'util'; diff --git a/test/common/services/retry/retry_for_truthy.ts b/test/common/services/retry/retry_for_truthy.ts index 87a7773b3cb6..bad06c6ffe2f 100644 --- a/test/common/services/retry/retry_for_truthy.ts +++ b/test/common/services/retry/retry_for_truthy.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ToolingLog } from '@osd/dev-utils'; import { retryForSuccess } from './retry_for_success'; diff --git a/test/common/services/security/index.ts b/test/common/services/security/index.ts index cd0c1b133df5..a66908cce7db 100644 --- a/test/common/services/security/index.ts +++ b/test/common/services/security/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { SecurityServiceProvider } from './security'; diff --git a/test/common/services/security/role.ts b/test/common/services/security/role.ts index f59b329e8bde..3dc5c38c6983 100644 --- a/test/common/services/security/role.ts +++ b/test/common/services/security/role.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import util from 'util'; import { OsdClient, ToolingLog } from '@osd/dev-utils'; diff --git a/test/common/services/security/role_mappings.ts b/test/common/services/security/role_mappings.ts index 414cf486eac8..82f001f476c3 100644 --- a/test/common/services/security/role_mappings.ts +++ b/test/common/services/security/role_mappings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import util from 'util'; import { OsdClient, ToolingLog } from '@osd/dev-utils'; diff --git a/test/common/services/security/security.ts b/test/common/services/security/security.ts index 4268a2e4842e..31f5cee5637e 100644 --- a/test/common/services/security/security.ts +++ b/test/common/services/security/security.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Role } from './role'; import { User } from './user'; import { RoleMappings } from './role_mappings'; diff --git a/test/common/services/security/test_user.ts b/test/common/services/security/test_user.ts index 4ec72536d616..8cb7b14af24e 100644 --- a/test/common/services/security/test_user.ts +++ b/test/common/services/security/test_user.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { format as formatUrl } from 'url'; import supertestAsPromised from 'supertest-as-promised'; diff --git a/test/common/services/security/user.ts b/test/common/services/security/user.ts index f2a6bd5e6373..e821d75ed046 100644 --- a/test/common/services/security/user.ts +++ b/test/common/services/security/user.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import util from 'util'; import { OsdClient, ToolingLog } from '@osd/dev-utils'; diff --git a/test/examples/bfetch_explorer/batched_function.ts b/test/examples/bfetch_explorer/batched_function.ts index 1404b6dcd391..5f0896d502c0 100644 --- a/test/examples/bfetch_explorer/batched_function.ts +++ b/test/examples/bfetch_explorer/batched_function.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../functional/ftr_provider_context'; diff --git a/test/examples/bfetch_explorer/index.ts b/test/examples/bfetch_explorer/index.ts index 48b474d275d8..e07d9fe2f093 100644 --- a/test/examples/bfetch_explorer/index.ts +++ b/test/examples/bfetch_explorer/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../functional/ftr_provider_context'; // eslint-disable-next-line import/no-default-export diff --git a/test/examples/config.js b/test/examples/config.js index c80089d9dd91..44282816866c 100644 --- a/test/examples/config.js +++ b/test/examples/config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import path from 'path'; import { services } from '../plugin_functional/services'; diff --git a/test/examples/embeddables/adding_children.ts b/test/examples/embeddables/adding_children.ts index 3839ffd913a0..dff9247f0146 100644 --- a/test/examples/embeddables/adding_children.ts +++ b/test/examples/embeddables/adding_children.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { PluginFunctionalProviderContext } from 'test/plugin_functional/services'; diff --git a/test/examples/embeddables/dashboard.ts b/test/examples/embeddables/dashboard.ts index f1271c6e23ca..2dac8c05849e 100644 --- a/test/examples/embeddables/dashboard.ts +++ b/test/examples/embeddables/dashboard.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginFunctionalProviderContext } from 'test/plugin_functional/services'; export const testDashboardInput = { diff --git a/test/examples/embeddables/hello_world_embeddable.ts b/test/examples/embeddables/hello_world_embeddable.ts index 28791d21798d..0a372b434710 100644 --- a/test/examples/embeddables/hello_world_embeddable.ts +++ b/test/examples/embeddables/hello_world_embeddable.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { PluginFunctionalProviderContext } from 'test/plugin_functional/services'; diff --git a/test/examples/embeddables/index.ts b/test/examples/embeddables/index.ts index e5989397559c..4326f64829ca 100644 --- a/test/examples/embeddables/index.ts +++ b/test/examples/embeddables/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginFunctionalProviderContext } from 'test/plugin_functional/services'; // eslint-disable-next-line import/no-default-export diff --git a/test/examples/embeddables/list_container.ts b/test/examples/embeddables/list_container.ts index c57d7a3f14ea..da14334e03c3 100644 --- a/test/examples/embeddables/list_container.ts +++ b/test/examples/embeddables/list_container.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { PluginFunctionalProviderContext } from 'test/plugin_functional/services'; diff --git a/test/examples/embeddables/todo_embeddable.ts b/test/examples/embeddables/todo_embeddable.ts index cf9a4c3346ec..8050ab123e6b 100644 --- a/test/examples/embeddables/todo_embeddable.ts +++ b/test/examples/embeddables/todo_embeddable.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { PluginFunctionalProviderContext } from 'test/plugin_functional/services'; diff --git a/test/examples/routing/index.ts b/test/examples/routing/index.ts index 10af9a32bf95..4e18d65f8fd0 100644 --- a/test/examples/routing/index.ts +++ b/test/examples/routing/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from 'test/functional/ftr_provider_context'; diff --git a/test/examples/state_sync/index.ts b/test/examples/state_sync/index.ts index a2a930cb5bd5..6c914e358ef6 100644 --- a/test/examples/state_sync/index.ts +++ b/test/examples/state_sync/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginFunctionalProviderContext } from 'test/plugin_functional/services'; // eslint-disable-next-line import/no-default-export diff --git a/test/examples/state_sync/todo_app.ts b/test/examples/state_sync/todo_app.ts index c011c3c1eae1..cf7aa821e5ff 100644 --- a/test/examples/state_sync/todo_app.ts +++ b/test/examples/state_sync/todo_app.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { PluginFunctionalProviderContext } from 'test/plugin_functional/services'; diff --git a/test/examples/ui_actions/index.ts b/test/examples/ui_actions/index.ts index 3cb418983557..af286d6876b0 100644 --- a/test/examples/ui_actions/index.ts +++ b/test/examples/ui_actions/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginFunctionalProviderContext } from 'test/plugin_functional/services'; // eslint-disable-next-line import/no-default-export diff --git a/test/examples/ui_actions/ui_actions.ts b/test/examples/ui_actions/ui_actions.ts index b2fe7fd756ab..cfb2adbc9163 100644 --- a/test/examples/ui_actions/ui_actions.ts +++ b/test/examples/ui_actions/ui_actions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { PluginFunctionalProviderContext } from 'test/plugin_functional/services'; diff --git a/test/functional/apps/bundles/index.js b/test/functional/apps/bundles/index.js index 2cd782e97d0b..e1970040488e 100644 --- a/test/functional/apps/bundles/index.js +++ b/test/functional/apps/bundles/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /** * These supertest-based tests live in the functional test suite because they depend on the optimizer bundles being built * and served diff --git a/test/functional/apps/console/_console.ts b/test/functional/apps/console/_console.ts index 5294f3cf24a6..f5cd93c35280 100644 --- a/test/functional/apps/console/_console.ts +++ b/test/functional/apps/console/_console.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/console/index.js b/test/functional/apps/console/index.js index 6347ee4c3774..07f4d27c6b99 100644 --- a/test/functional/apps/console/index.js +++ b/test/functional/apps/console/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService, loadTestFile }) { const browser = getService('browser'); diff --git a/test/functional/apps/context/_context_navigation.js b/test/functional/apps/context/_context_navigation.js index 80bbae55a0b2..70627ab11ff5 100644 --- a/test/functional/apps/context/_context_navigation.js +++ b/test/functional/apps/context/_context_navigation.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const TEST_FILTER_COLUMN_NAMES = [ [ 'agent', diff --git a/test/functional/apps/context/_date_nanos.js b/test/functional/apps/context/_date_nanos.js index c8f8278e3ad6..e612c8d3c41d 100644 --- a/test/functional/apps/context/_date_nanos.js +++ b/test/functional/apps/context/_date_nanos.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; const TEST_INDEX_PATTERN = 'date-nanos'; diff --git a/test/functional/apps/context/_date_nanos_custom_timestamp.js b/test/functional/apps/context/_date_nanos_custom_timestamp.js index 1a3b94b9498d..2c6bef3a366b 100644 --- a/test/functional/apps/context/_date_nanos_custom_timestamp.js +++ b/test/functional/apps/context/_date_nanos_custom_timestamp.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; const TEST_INDEX_PATTERN = 'date_nanos_custom_timestamp'; diff --git a/test/functional/apps/context/_discover_navigation.js b/test/functional/apps/context/_discover_navigation.js index 7ef1bc3051cf..87bbaccd0dd8 100644 --- a/test/functional/apps/context/_discover_navigation.js +++ b/test/functional/apps/context/_discover_navigation.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; const TEST_COLUMN_NAMES = ['@message']; diff --git a/test/functional/apps/context/_filters.js b/test/functional/apps/context/_filters.js index 5b1e81e2eda6..a20e6a6a40ca 100644 --- a/test/functional/apps/context/_filters.js +++ b/test/functional/apps/context/_filters.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - const TEST_INDEX_PATTERN = 'logstash-*'; const TEST_ANCHOR_ID = 'AU_x3_BrGFA8no6QjjaI'; const TEST_ANCHOR_FILTER_FIELD = 'geo.src'; diff --git a/test/functional/apps/context/_size.js b/test/functional/apps/context/_size.js index a27b1e1d5cc3..1727aa40136a 100644 --- a/test/functional/apps/context/_size.js +++ b/test/functional/apps/context/_size.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ const TEST_INDEX_PATTERN = 'logstash-*'; const TEST_ANCHOR_ID = 'AU_x3_BrGFA8no6QjjaI'; const TEST_DEFAULT_CONTEXT_SIZE = 2; diff --git a/test/functional/apps/context/index.js b/test/functional/apps/context/index.js index 162a3b7163b3..a5c3c94474ea 100644 --- a/test/functional/apps/context/index.js +++ b/test/functional/apps/context/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService, getPageObjects, loadTestFile }) { const browser = getService('browser'); const opensearchArchiver = getService('opensearchArchiver'); diff --git a/test/functional/apps/dashboard/bwc_shared_urls.js b/test/functional/apps/dashboard/bwc_shared_urls.js index 26022b41e17a..2fac8f818d1c 100644 --- a/test/functional/apps/dashboard/bwc_shared_urls.js +++ b/test/functional/apps/dashboard/bwc_shared_urls.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/dashboard/create_and_add_embeddables.js b/test/functional/apps/dashboard/create_and_add_embeddables.js index 62b9c69d9cc5..3b6e8a243556 100644 --- a/test/functional/apps/dashboard/create_and_add_embeddables.js +++ b/test/functional/apps/dashboard/create_and_add_embeddables.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { VisualizeConstants } from '../../../../src/plugins/visualize/public/application/visualize_constants'; diff --git a/test/functional/apps/dashboard/dashboard_back_button.ts b/test/functional/apps/dashboard/dashboard_back_button.ts index 0617c9a630da..dbf5464a8f28 100644 --- a/test/functional/apps/dashboard/dashboard_back_button.ts +++ b/test/functional/apps/dashboard/dashboard_back_button.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/dashboard/dashboard_clone.js b/test/functional/apps/dashboard/dashboard_clone.js index abced23e4cba..6fbe8e90b04b 100644 --- a/test/functional/apps/dashboard/dashboard_clone.js +++ b/test/functional/apps/dashboard/dashboard_clone.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/dashboard/dashboard_error_handling.ts b/test/functional/apps/dashboard/dashboard_error_handling.ts index bf23d6e0c461..96566cdb2bab 100644 --- a/test/functional/apps/dashboard/dashboard_error_handling.ts +++ b/test/functional/apps/dashboard/dashboard_error_handling.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/functional/apps/dashboard/dashboard_filter_bar.js b/test/functional/apps/dashboard/dashboard_filter_bar.js index d22254866850..0d19c84a5089 100644 --- a/test/functional/apps/dashboard/dashboard_filter_bar.js +++ b/test/functional/apps/dashboard/dashboard_filter_bar.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/dashboard/dashboard_filtering.js b/test/functional/apps/dashboard/dashboard_filtering.js index fb24c342ad21..fd05f5b134e9 100644 --- a/test/functional/apps/dashboard/dashboard_filtering.js +++ b/test/functional/apps/dashboard/dashboard_filtering.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; /** diff --git a/test/functional/apps/dashboard/dashboard_grid.js b/test/functional/apps/dashboard/dashboard_grid.js index 651fe3d689c4..3e68f33f2043 100644 --- a/test/functional/apps/dashboard/dashboard_grid.js +++ b/test/functional/apps/dashboard/dashboard_grid.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/dashboard/dashboard_listing.js b/test/functional/apps/dashboard/dashboard_listing.js index 3cd68eaa2869..0ed45f07113f 100644 --- a/test/functional/apps/dashboard/dashboard_listing.js +++ b/test/functional/apps/dashboard/dashboard_listing.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/dashboard/dashboard_options.js b/test/functional/apps/dashboard/dashboard_options.js index 8947763d4fc2..c838f8951589 100644 --- a/test/functional/apps/dashboard/dashboard_options.js +++ b/test/functional/apps/dashboard/dashboard_options.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/dashboard/dashboard_query_bar.js b/test/functional/apps/dashboard/dashboard_query_bar.js index 409e8193c31e..f1c2893268a9 100644 --- a/test/functional/apps/dashboard/dashboard_query_bar.js +++ b/test/functional/apps/dashboard/dashboard_query_bar.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/dashboard/dashboard_save.js b/test/functional/apps/dashboard/dashboard_save.js index a9a76123f247..cc223cf2a203 100644 --- a/test/functional/apps/dashboard/dashboard_save.js +++ b/test/functional/apps/dashboard/dashboard_save.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getPageObjects, getService }) { const PageObjects = getPageObjects(['dashboard', 'header']); const listingTable = getService('listingTable'); diff --git a/test/functional/apps/dashboard/dashboard_saved_query.js b/test/functional/apps/dashboard/dashboard_saved_query.js index c0e671facefc..a8d54afac776 100644 --- a/test/functional/apps/dashboard/dashboard_saved_query.js +++ b/test/functional/apps/dashboard/dashboard_saved_query.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/dashboard/dashboard_snapshots.js b/test/functional/apps/dashboard/dashboard_snapshots.js index f0cf5aa7aee4..09a804f39b5b 100644 --- a/test/functional/apps/dashboard/dashboard_snapshots.js +++ b/test/functional/apps/dashboard/dashboard_snapshots.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects, updateBaselines }) { diff --git a/test/functional/apps/dashboard/dashboard_state.js b/test/functional/apps/dashboard/dashboard_state.js index 37d33dfa8843..d4ca87821204 100644 --- a/test/functional/apps/dashboard/dashboard_state.js +++ b/test/functional/apps/dashboard/dashboard_state.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { PIE_CHART_VIS_NAME, AREA_CHART_VIS_NAME } from '../../page_objects/dashboard_page'; diff --git a/test/functional/apps/dashboard/dashboard_time.js b/test/functional/apps/dashboard/dashboard_time.js index 640cd4aa70b3..c50dfc62e16e 100644 --- a/test/functional/apps/dashboard/dashboard_time.js +++ b/test/functional/apps/dashboard/dashboard_time.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; const dashboardName = 'Dashboard Test Time'; diff --git a/test/functional/apps/dashboard/dashboard_time_picker.js b/test/functional/apps/dashboard/dashboard_time_picker.js index 2d1e4460aa2d..c1f4e50e6a65 100644 --- a/test/functional/apps/dashboard/dashboard_time_picker.js +++ b/test/functional/apps/dashboard/dashboard_time_picker.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PIE_CHART_VIS_NAME } from '../../page_objects/dashboard_page'; import expect from '@osd/expect'; diff --git a/test/functional/apps/dashboard/data_shared_attributes.js b/test/functional/apps/dashboard/data_shared_attributes.js index 94aed364cc85..33309dc61522 100644 --- a/test/functional/apps/dashboard/data_shared_attributes.js +++ b/test/functional/apps/dashboard/data_shared_attributes.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/dashboard/edit_embeddable_redirects.js b/test/functional/apps/dashboard/edit_embeddable_redirects.js index 778d1b4edf9e..c9dac6f323de 100644 --- a/test/functional/apps/dashboard/edit_embeddable_redirects.js +++ b/test/functional/apps/dashboard/edit_embeddable_redirects.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/dashboard/edit_visualizations.js b/test/functional/apps/dashboard/edit_visualizations.js index 151ec3f9c18b..4a2a85cc1d21 100644 --- a/test/functional/apps/dashboard/edit_visualizations.js +++ b/test/functional/apps/dashboard/edit_visualizations.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/dashboard/embed_mode.js b/test/functional/apps/dashboard/embed_mode.js index 4b0b88025ef3..7babefadf73d 100644 --- a/test/functional/apps/dashboard/embed_mode.js +++ b/test/functional/apps/dashboard/embed_mode.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/dashboard/embeddable_rendering.js b/test/functional/apps/dashboard/embeddable_rendering.js index 8806d6110c99..b11955a1e24d 100644 --- a/test/functional/apps/dashboard/embeddable_rendering.js +++ b/test/functional/apps/dashboard/embeddable_rendering.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; /** diff --git a/test/functional/apps/dashboard/empty_dashboard.js b/test/functional/apps/dashboard/empty_dashboard.js index 8d21d0755466..1d765dae8afd 100644 --- a/test/functional/apps/dashboard/empty_dashboard.js +++ b/test/functional/apps/dashboard/empty_dashboard.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/dashboard/full_screen_mode.js b/test/functional/apps/dashboard/full_screen_mode.js index 4a1ef826eee3..138f2055e01d 100644 --- a/test/functional/apps/dashboard/full_screen_mode.js +++ b/test/functional/apps/dashboard/full_screen_mode.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/dashboard/index.js b/test/functional/apps/dashboard/index.js index a2e10a501330..c26f8f0966e7 100644 --- a/test/functional/apps/dashboard/index.js +++ b/test/functional/apps/dashboard/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService, loadTestFile }) { const browser = getService('browser'); const opensearchArchiver = getService('opensearchArchiver'); diff --git a/test/functional/apps/dashboard/legacy_urls.ts b/test/functional/apps/dashboard/legacy_urls.ts index 92418fdde784..7307d01aa21d 100644 --- a/test/functional/apps/dashboard/legacy_urls.ts +++ b/test/functional/apps/dashboard/legacy_urls.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/functional/apps/dashboard/panel_cloning.ts b/test/functional/apps/dashboard/panel_cloning.ts index 584de7f3e91e..03523427f549 100644 --- a/test/functional/apps/dashboard/panel_cloning.ts +++ b/test/functional/apps/dashboard/panel_cloning.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { PIE_CHART_VIS_NAME } from '../../page_objects/dashboard_page'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/dashboard/panel_context_menu.ts b/test/functional/apps/dashboard/panel_context_menu.ts index 826cdd6523cd..2d00c81581e6 100644 --- a/test/functional/apps/dashboard/panel_context_menu.ts +++ b/test/functional/apps/dashboard/panel_context_menu.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { PIE_CHART_VIS_NAME } from '../../page_objects/dashboard_page'; import { VisualizeConstants } from '../../../../src/plugins/visualize/public/application/visualize_constants'; diff --git a/test/functional/apps/dashboard/panel_expand_toggle.js b/test/functional/apps/dashboard/panel_expand_toggle.js index aafc411d459c..263d431a5211 100644 --- a/test/functional/apps/dashboard/panel_expand_toggle.js +++ b/test/functional/apps/dashboard/panel_expand_toggle.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/dashboard/panel_replacing.ts b/test/functional/apps/dashboard/panel_replacing.ts index e3ff908acffc..0050c0205256 100644 --- a/test/functional/apps/dashboard/panel_replacing.ts +++ b/test/functional/apps/dashboard/panel_replacing.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { PIE_CHART_VIS_NAME, diff --git a/test/functional/apps/dashboard/time_zones.js b/test/functional/apps/dashboard/time_zones.js index 89f49635482a..13a424bd7ea6 100644 --- a/test/functional/apps/dashboard/time_zones.js +++ b/test/functional/apps/dashboard/time_zones.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import path from 'path'; import expect from '@osd/expect'; diff --git a/test/functional/apps/dashboard/url_field_formatter.ts b/test/functional/apps/dashboard/url_field_formatter.ts index f79222551e9f..0f7d81720634 100644 --- a/test/functional/apps/dashboard/url_field_formatter.ts +++ b/test/functional/apps/dashboard/url_field_formatter.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { WebElementWrapper } from 'test/functional/services/lib/web_element_wrapper'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/dashboard/view_edit.js b/test/functional/apps/dashboard/view_edit.js index 621cc2ecaebb..b7802668f69a 100644 --- a/test/functional/apps/dashboard/view_edit.js +++ b/test/functional/apps/dashboard/view_edit.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/discover/_date_nanos.js b/test/functional/apps/discover/_date_nanos.js index 696542df0fee..721a5de07871 100644 --- a/test/functional/apps/discover/_date_nanos.js +++ b/test/functional/apps/discover/_date_nanos.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/discover/_date_nanos_mixed.js b/test/functional/apps/discover/_date_nanos_mixed.js index 5333f46efcd4..8578572dfbc5 100644 --- a/test/functional/apps/discover/_date_nanos_mixed.js +++ b/test/functional/apps/discover/_date_nanos_mixed.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/discover/_discover.js b/test/functional/apps/discover/_discover.js index 167ecd6ea4ee..66555ddd0851 100644 --- a/test/functional/apps/discover/_discover.js +++ b/test/functional/apps/discover/_discover.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/discover/_discover_histogram.ts b/test/functional/apps/discover/_discover_histogram.ts index 823ca8dfde62..391fa97e00a9 100644 --- a/test/functional/apps/discover/_discover_histogram.ts +++ b/test/functional/apps/discover/_discover_histogram.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/discover/_doc_navigation.js b/test/functional/apps/discover/_doc_navigation.js index d04a36238ba8..bc0afcb92250 100644 --- a/test/functional/apps/discover/_doc_navigation.js +++ b/test/functional/apps/discover/_doc_navigation.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/discover/_doc_table.ts b/test/functional/apps/discover/_doc_table.ts index c2d70a3b6fa6..ed7e30201cf2 100644 --- a/test/functional/apps/discover/_doc_table.ts +++ b/test/functional/apps/discover/_doc_table.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/discover/_errors.ts b/test/functional/apps/discover/_errors.ts index 01a06abb602b..f2df3714e230 100644 --- a/test/functional/apps/discover/_errors.ts +++ b/test/functional/apps/discover/_errors.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/discover/_field_data.js b/test/functional/apps/discover/_field_data.js index 3d96559926b6..a9c4ac34f735 100644 --- a/test/functional/apps/discover/_field_data.js +++ b/test/functional/apps/discover/_field_data.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/discover/_field_visualize.ts b/test/functional/apps/discover/_field_visualize.ts index 7077f646f7a9..ecefc610b746 100644 --- a/test/functional/apps/discover/_field_visualize.ts +++ b/test/functional/apps/discover/_field_visualize.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/discover/_filter_editor.js b/test/functional/apps/discover/_filter_editor.js index 7adb04268589..482376994d79 100644 --- a/test/functional/apps/discover/_filter_editor.js +++ b/test/functional/apps/discover/_filter_editor.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/discover/_indexpattern_without_timefield.ts b/test/functional/apps/discover/_indexpattern_without_timefield.ts index 6a784fbb7911..6aa50ec2b7df 100644 --- a/test/functional/apps/discover/_indexpattern_without_timefield.ts +++ b/test/functional/apps/discover/_indexpattern_without_timefield.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/functional/apps/discover/_inspector.js b/test/functional/apps/discover/_inspector.js index fbc01bccdeaf..5c4262118fa0 100644 --- a/test/functional/apps/discover/_inspector.js +++ b/test/functional/apps/discover/_inspector.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/discover/_large_string.js b/test/functional/apps/discover/_large_string.js index 3d4ff20bdc79..6b0395aa02fd 100644 --- a/test/functional/apps/discover/_large_string.js +++ b/test/functional/apps/discover/_large_string.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/discover/_saved_queries.js b/test/functional/apps/discover/_saved_queries.js index 6bfd2a913a30..6ba2002653af 100644 --- a/test/functional/apps/discover/_saved_queries.js +++ b/test/functional/apps/discover/_saved_queries.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/discover/_shared_links.js b/test/functional/apps/discover/_shared_links.js index b54cb6ae8d5f..96b7f705c73a 100644 --- a/test/functional/apps/discover/_shared_links.js +++ b/test/functional/apps/discover/_shared_links.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/discover/_sidebar.js b/test/functional/apps/discover/_sidebar.js index 10585c351d1a..446cb1b760e0 100644 --- a/test/functional/apps/discover/_sidebar.js +++ b/test/functional/apps/discover/_sidebar.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/discover/_source_filters.js b/test/functional/apps/discover/_source_filters.js index e83f13a017c8..d324a0972b8a 100644 --- a/test/functional/apps/discover/_source_filters.js +++ b/test/functional/apps/discover/_source_filters.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/discover/index.js b/test/functional/apps/discover/index.js index 775f0af0c946..b7dbe3240f7c 100644 --- a/test/functional/apps/discover/index.js +++ b/test/functional/apps/discover/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService, loadTestFile }) { const opensearchArchiver = getService('opensearchArchiver'); const browser = getService('browser'); diff --git a/test/functional/apps/getting_started/_shakespeare.js b/test/functional/apps/getting_started/_shakespeare.js index d723c88abdeb..c3980f5a1896 100644 --- a/test/functional/apps/getting_started/_shakespeare.js +++ b/test/functional/apps/getting_started/_shakespeare.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/getting_started/index.js b/test/functional/apps/getting_started/index.js index 7bb680729f41..c0a391d99ddd 100644 --- a/test/functional/apps/getting_started/index.js +++ b/test/functional/apps/getting_started/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService, loadTestFile }) { const browser = getService('browser'); diff --git a/test/functional/apps/home/_add_data.js b/test/functional/apps/home/_add_data.js index ca2f914c084e..d5b9a25de660 100644 --- a/test/functional/apps/home/_add_data.js +++ b/test/functional/apps/home/_add_data.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/home/_home.js b/test/functional/apps/home/_home.js index 467024b1017f..2b2a8f4b7c2d 100644 --- a/test/functional/apps/home/_home.js +++ b/test/functional/apps/home/_home.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/home/_navigation.ts b/test/functional/apps/home/_navigation.ts index 5e0187cebdb9..03230f1270ed 100644 --- a/test/functional/apps/home/_navigation.ts +++ b/test/functional/apps/home/_navigation.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/home/_newsfeed.ts b/test/functional/apps/home/_newsfeed.ts index 39e943f51aea..e84c8db380b7 100644 --- a/test/functional/apps/home/_newsfeed.ts +++ b/test/functional/apps/home/_newsfeed.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/home/_sample_data.ts b/test/functional/apps/home/_sample_data.ts index 4de97658ee87..9f78c5eec4e6 100644 --- a/test/functional/apps/home/_sample_data.ts +++ b/test/functional/apps/home/_sample_data.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import moment from 'moment'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/home/index.js b/test/functional/apps/home/index.js index ee2512b98492..7334a66f2698 100644 --- a/test/functional/apps/home/index.js +++ b/test/functional/apps/home/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService, loadTestFile }) { const browser = getService('browser'); diff --git a/test/functional/apps/management/_create_index_pattern_wizard.js b/test/functional/apps/management/_create_index_pattern_wizard.js index 22904f86e0c7..75c19a581e1c 100644 --- a/test/functional/apps/management/_create_index_pattern_wizard.js +++ b/test/functional/apps/management/_create_index_pattern_wizard.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/management/_handle_alias.js b/test/functional/apps/management/_handle_alias.js index 533915f947fc..c5c6456f0442 100644 --- a/test/functional/apps/management/_handle_alias.js +++ b/test/functional/apps/management/_handle_alias.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/management/_handle_version_conflict.js b/test/functional/apps/management/_handle_version_conflict.js index a170b5956c3f..ac457074a3e6 100644 --- a/test/functional/apps/management/_handle_version_conflict.js +++ b/test/functional/apps/management/_handle_version_conflict.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - /* Steps for version conflict test 1. Create index pattern 2. Click on scripted field and fill in the values diff --git a/test/functional/apps/management/_import_objects.js b/test/functional/apps/management/_import_objects.js index a6d2b563303d..2c432964f309 100644 --- a/test/functional/apps/management/_import_objects.js +++ b/test/functional/apps/management/_import_objects.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import path from 'path'; import { keyBy } from 'lodash'; diff --git a/test/functional/apps/management/_index_pattern_create_delete.js b/test/functional/apps/management/_index_pattern_create_delete.js index d8febf492e9e..b7214590ebd4 100644 --- a/test/functional/apps/management/_index_pattern_create_delete.js +++ b/test/functional/apps/management/_index_pattern_create_delete.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/management/_index_pattern_filter.js b/test/functional/apps/management/_index_pattern_filter.js index 8152febb7a6c..40588f74df3b 100644 --- a/test/functional/apps/management/_index_pattern_filter.js +++ b/test/functional/apps/management/_index_pattern_filter.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/management/_index_pattern_popularity.js b/test/functional/apps/management/_index_pattern_popularity.js index 414c45aba080..404a4bb53a0b 100644 --- a/test/functional/apps/management/_index_pattern_popularity.js +++ b/test/functional/apps/management/_index_pattern_popularity.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/management/_index_pattern_results_sort.js b/test/functional/apps/management/_index_pattern_results_sort.js index e0bc11e60628..1823c678b2bb 100644 --- a/test/functional/apps/management/_index_pattern_results_sort.js +++ b/test/functional/apps/management/_index_pattern_results_sort.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/management/_index_patterns_empty.ts b/test/functional/apps/management/_index_patterns_empty.ts index 04807f726198..27c7861f68b6 100644 --- a/test/functional/apps/management/_index_patterns_empty.ts +++ b/test/functional/apps/management/_index_patterns_empty.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ getPageObjects, getService }: FtrProviderContext) { diff --git a/test/functional/apps/management/_mgmt_import_saved_objects.js b/test/functional/apps/management/_mgmt_import_saved_objects.js index fc27ce24bde2..631b4e85cb8b 100644 --- a/test/functional/apps/management/_mgmt_import_saved_objects.js +++ b/test/functional/apps/management/_mgmt_import_saved_objects.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import path from 'path'; diff --git a/test/functional/apps/management/_opensearch_dashboards_settings.js b/test/functional/apps/management/_opensearch_dashboards_settings.js index 10d6900eda1b..98cda687e23b 100644 --- a/test/functional/apps/management/_opensearch_dashboards_settings.js +++ b/test/functional/apps/management/_opensearch_dashboards_settings.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/management/_scripted_fields.js b/test/functional/apps/management/_scripted_fields.js index 8a30a8deef56..ac379b373a4d 100644 --- a/test/functional/apps/management/_scripted_fields.js +++ b/test/functional/apps/management/_scripted_fields.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - // Tests for 4 scripted fields; // 1. Painless (number type) // 2. Painless (string type) diff --git a/test/functional/apps/management/_scripted_fields_filter.js b/test/functional/apps/management/_scripted_fields_filter.js index 5ac123fc3173..b1714c425aac 100644 --- a/test/functional/apps/management/_scripted_fields_filter.js +++ b/test/functional/apps/management/_scripted_fields_filter.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/management/_scripted_fields_preview.js b/test/functional/apps/management/_scripted_fields_preview.js index 634d469e21db..adeefa118345 100644 --- a/test/functional/apps/management/_scripted_fields_preview.js +++ b/test/functional/apps/management/_scripted_fields_preview.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/management/_test_huge_fields.js b/test/functional/apps/management/_test_huge_fields.js index 97b1471f8ef4..ef14142acbcf 100644 --- a/test/functional/apps/management/_test_huge_fields.js +++ b/test/functional/apps/management/_test_huge_fields.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/management/index.js b/test/functional/apps/management/index.js index ed22b4c8e61e..897e9c376aa1 100644 --- a/test/functional/apps/management/index.js +++ b/test/functional/apps/management/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService, loadTestFile }) { const opensearchArchiver = getService('opensearchArchiver'); diff --git a/test/functional/apps/saved_objects_management/edit_saved_object.ts b/test/functional/apps/saved_objects_management/edit_saved_object.ts index 6756865d9fc9..1534c710179b 100644 --- a/test/functional/apps/saved_objects_management/edit_saved_object.ts +++ b/test/functional/apps/saved_objects_management/edit_saved_object.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/saved_objects_management/index.ts b/test/functional/apps/saved_objects_management/index.ts index 8b1598b1a5f3..7cca2bb4250a 100644 --- a/test/functional/apps/saved_objects_management/index.ts +++ b/test/functional/apps/saved_objects_management/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../ftr_provider_context'; export default function savedObjectsManagementApp({ loadTestFile }: FtrProviderContext) { diff --git a/test/functional/apps/status_page/index.ts b/test/functional/apps/status_page/index.ts index 1fc381b418bc..fec0560a1f77 100644 --- a/test/functional/apps/status_page/index.ts +++ b/test/functional/apps/status_page/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/timeline/_expression_typeahead.js b/test/functional/apps/timeline/_expression_typeahead.js index 1ba81d7b94ca..e86d833e57d2 100644 --- a/test/functional/apps/timeline/_expression_typeahead.js +++ b/test/functional/apps/timeline/_expression_typeahead.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getPageObjects }) { diff --git a/test/functional/apps/timeline/index.js b/test/functional/apps/timeline/index.js index 597798a5aa1e..d89ffce2eda7 100644 --- a/test/functional/apps/timeline/index.js +++ b/test/functional/apps/timeline/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService, loadTestFile }) { const browser = getService('browser'); const log = getService('log'); diff --git a/test/functional/apps/visualize/_area_chart.js b/test/functional/apps/visualize/_area_chart.js index 62fcf503a2fd..86fdb1879b7e 100644 --- a/test/functional/apps/visualize/_area_chart.js +++ b/test/functional/apps/visualize/_area_chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_chart_types.ts b/test/functional/apps/visualize/_chart_types.ts index 07da855a0164..7ddeb6c9b9cd 100644 --- a/test/functional/apps/visualize/_chart_types.ts +++ b/test/functional/apps/visualize/_chart_types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import _ from 'lodash'; import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/visualize/_custom_branding.js b/test/functional/apps/visualize/_custom_branding.js index dd6e5877006a..fe22524db4bb 100644 --- a/test/functional/apps/visualize/_custom_branding.js +++ b/test/functional/apps/visualize/_custom_branding.js @@ -1,34 +1,8 @@ /* + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 - * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. */ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import expect from '@osd/expect'; import { UI_SETTINGS } from '../../../../src/plugins/data/common'; diff --git a/test/functional/apps/visualize/_data_table.js b/test/functional/apps/visualize/_data_table.js index 88247d5a648a..fde30412bdcb 100644 --- a/test/functional/apps/visualize/_data_table.js +++ b/test/functional/apps/visualize/_data_table.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_data_table_nontimeindex.js b/test/functional/apps/visualize/_data_table_nontimeindex.js index 889ad4ab7285..37ad4c2a9eb6 100644 --- a/test/functional/apps/visualize/_data_table_nontimeindex.js +++ b/test/functional/apps/visualize/_data_table_nontimeindex.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_data_table_notimeindex_filters.ts b/test/functional/apps/visualize/_data_table_notimeindex_filters.ts index 496c0d6f9803..3661a4847bd6 100644 --- a/test/functional/apps/visualize/_data_table_notimeindex_filters.ts +++ b/test/functional/apps/visualize/_data_table_notimeindex_filters.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/visualize/_embedding_chart.js b/test/functional/apps/visualize/_embedding_chart.js index 00428765bbb0..c47319303dcf 100644 --- a/test/functional/apps/visualize/_embedding_chart.js +++ b/test/functional/apps/visualize/_embedding_chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_experimental_vis.js b/test/functional/apps/visualize/_experimental_vis.js index 8d96a229cd25..dc00f392f86c 100644 --- a/test/functional/apps/visualize/_experimental_vis.js +++ b/test/functional/apps/visualize/_experimental_vis.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default ({ getService, getPageObjects }) => { diff --git a/test/functional/apps/visualize/_gauge_chart.js b/test/functional/apps/visualize/_gauge_chart.js index 512a204779b3..326c42b58f4a 100644 --- a/test/functional/apps/visualize/_gauge_chart.js +++ b/test/functional/apps/visualize/_gauge_chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_heatmap_chart.js b/test/functional/apps/visualize/_heatmap_chart.js index 934a701f3e37..aedf19a110fb 100644 --- a/test/functional/apps/visualize/_heatmap_chart.js +++ b/test/functional/apps/visualize/_heatmap_chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_histogram_request_start.js b/test/functional/apps/visualize/_histogram_request_start.js index 0d3c5059b7d3..f797b83af730 100644 --- a/test/functional/apps/visualize/_histogram_request_start.js +++ b/test/functional/apps/visualize/_histogram_request_start.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_inspector.js b/test/functional/apps/visualize/_inspector.js index 65abac3ddbf5..6cce34dc882a 100644 --- a/test/functional/apps/visualize/_inspector.js +++ b/test/functional/apps/visualize/_inspector.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService, getPageObjects }) { const log = getService('log'); const inspector = getService('inspector'); diff --git a/test/functional/apps/visualize/_lab_mode.js b/test/functional/apps/visualize/_lab_mode.js index 55ef6ae577d2..82ecbcb2a655 100644 --- a/test/functional/apps/visualize/_lab_mode.js +++ b/test/functional/apps/visualize/_lab_mode.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { VISUALIZE_ENABLE_LABS_SETTING } from '../../../../src/plugins/visualizations/common/constants'; diff --git a/test/functional/apps/visualize/_line_chart.js b/test/functional/apps/visualize/_line_chart.js index 9ab9d054d030..dadc860147c8 100644 --- a/test/functional/apps/visualize/_line_chart.js +++ b/test/functional/apps/visualize/_line_chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_linked_saved_searches.ts b/test/functional/apps/visualize/_linked_saved_searches.ts index 9c5e799e3661..72c2a4322a2d 100644 --- a/test/functional/apps/visualize/_linked_saved_searches.ts +++ b/test/functional/apps/visualize/_linked_saved_searches.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/functional/apps/visualize/_markdown_vis.js b/test/functional/apps/visualize/_markdown_vis.js index 6315e2e34856..399dcc4f956a 100644 --- a/test/functional/apps/visualize/_markdown_vis.js +++ b/test/functional/apps/visualize/_markdown_vis.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getPageObjects, getService }) { diff --git a/test/functional/apps/visualize/_metric_chart.js b/test/functional/apps/visualize/_metric_chart.js index c5fe4b09256c..d70454753347 100644 --- a/test/functional/apps/visualize/_metric_chart.js +++ b/test/functional/apps/visualize/_metric_chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_pie_chart.js b/test/functional/apps/visualize/_pie_chart.js index e2a3804638a2..d4496d2a6b19 100644 --- a/test/functional/apps/visualize/_pie_chart.js +++ b/test/functional/apps/visualize/_pie_chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_point_series_options.js b/test/functional/apps/visualize/_point_series_options.js index b9eeda509f00..d7ea63ce656e 100644 --- a/test/functional/apps/visualize/_point_series_options.js +++ b/test/functional/apps/visualize/_point_series_options.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_region_map.js b/test/functional/apps/visualize/_region_map.js index 4afaea00d9f9..724bab393014 100644 --- a/test/functional/apps/visualize/_region_map.js +++ b/test/functional/apps/visualize/_region_map.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_shared_item.js b/test/functional/apps/visualize/_shared_item.js index 8064a97f3fcc..1b02d5b2a096 100644 --- a/test/functional/apps/visualize/_shared_item.js +++ b/test/functional/apps/visualize/_shared_item.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_tag_cloud.js b/test/functional/apps/visualize/_tag_cloud.js index 12d80b529d53..a5123434115d 100644 --- a/test/functional/apps/visualize/_tag_cloud.js +++ b/test/functional/apps/visualize/_tag_cloud.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_tile_map.js b/test/functional/apps/visualize/_tile_map.js index 12fa012dbba4..9a19264ba070 100644 --- a/test/functional/apps/visualize/_tile_map.js +++ b/test/functional/apps/visualize/_tile_map.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_tsvb_chart.ts b/test/functional/apps/visualize/_tsvb_chart.ts index aab76a31df83..0dc796233839 100644 --- a/test/functional/apps/visualize/_tsvb_chart.ts +++ b/test/functional/apps/visualize/_tsvb_chart.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/visualize/_tsvb_markdown.ts b/test/functional/apps/visualize/_tsvb_markdown.ts index 44791b4c6716..53379197cafb 100644 --- a/test/functional/apps/visualize/_tsvb_markdown.ts +++ b/test/functional/apps/visualize/_tsvb_markdown.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/visualize/_tsvb_table.ts b/test/functional/apps/visualize/_tsvb_table.ts index cda7affed1f6..0e7b219a861b 100644 --- a/test/functional/apps/visualize/_tsvb_table.ts +++ b/test/functional/apps/visualize/_tsvb_table.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/visualize/_tsvb_time_series.ts b/test/functional/apps/visualize/_tsvb_time_series.ts index b2e12541fc86..8910b1ebfc44 100644 --- a/test/functional/apps/visualize/_tsvb_time_series.ts +++ b/test/functional/apps/visualize/_tsvb_time_series.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/visualize/_vega_chart.ts b/test/functional/apps/visualize/_vega_chart.ts index 833843487bd5..c58fe4c5f138 100644 --- a/test/functional/apps/visualize/_vega_chart.ts +++ b/test/functional/apps/visualize/_vega_chart.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { unzip } from 'lodash'; import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/apps/visualize/_vertical_bar_chart.js b/test/functional/apps/visualize/_vertical_bar_chart.js index d086cae43c48..60edd329119b 100644 --- a/test/functional/apps/visualize/_vertical_bar_chart.js +++ b/test/functional/apps/visualize/_vertical_bar_chart.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_vertical_bar_chart_nontimeindex.js b/test/functional/apps/visualize/_vertical_bar_chart_nontimeindex.js index 1627fceaa34c..d512c4fbb683 100644 --- a/test/functional/apps/visualize/_vertical_bar_chart_nontimeindex.js +++ b/test/functional/apps/visualize/_vertical_bar_chart_nontimeindex.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/_visualize_listing.js b/test/functional/apps/visualize/_visualize_listing.js index 0747fb19b4df..d637c319f653 100644 --- a/test/functional/apps/visualize/_visualize_listing.js +++ b/test/functional/apps/visualize/_visualize_listing.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService, getPageObjects }) { const PageObjects = getPageObjects(['visualize', 'visEditor']); const listingTable = getService('listingTable'); diff --git a/test/functional/apps/visualize/index.ts b/test/functional/apps/visualize/index.ts index fa5468d4c171..b6563a1c28ca 100644 --- a/test/functional/apps/visualize/index.ts +++ b/test/functional/apps/visualize/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../ftr_provider_context.d'; import { UI_SETTINGS } from '../../../../src/plugins/data/common'; diff --git a/test/functional/apps/visualize/input_control_vis/chained_controls.js b/test/functional/apps/visualize/input_control_vis/chained_controls.js index 3abec821db8b..38211393819a 100644 --- a/test/functional/apps/visualize/input_control_vis/chained_controls.js +++ b/test/functional/apps/visualize/input_control_vis/chained_controls.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/input_control_vis/dynamic_options.js b/test/functional/apps/visualize/input_control_vis/dynamic_options.js index 050e539af7b6..b27e05528415 100644 --- a/test/functional/apps/visualize/input_control_vis/dynamic_options.js +++ b/test/functional/apps/visualize/input_control_vis/dynamic_options.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/input_control_vis/index.js b/test/functional/apps/visualize/input_control_vis/index.js index f6c021668997..5126439725e3 100644 --- a/test/functional/apps/visualize/input_control_vis/index.js +++ b/test/functional/apps/visualize/input_control_vis/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('input controls', function () { loadTestFile(require.resolve('./input_control_options')); diff --git a/test/functional/apps/visualize/input_control_vis/input_control_options.js b/test/functional/apps/visualize/input_control_vis/input_control_options.js index cd216ee89912..d8821d57e3e6 100644 --- a/test/functional/apps/visualize/input_control_vis/input_control_options.js +++ b/test/functional/apps/visualize/input_control_vis/input_control_options.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/functional/apps/visualize/input_control_vis/input_control_range.ts b/test/functional/apps/visualize/input_control_vis/input_control_range.ts index 69a177cfa931..90645f8ca055 100644 --- a/test/functional/apps/visualize/input_control_vis/input_control_range.ts +++ b/test/functional/apps/visualize/input_control_vis/input_control_range.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../../ftr_provider_context'; diff --git a/test/functional/config.edge.js b/test/functional/config.edge.js index 90aef707b3cb..917c0c08642c 100644 --- a/test/functional/config.edge.js +++ b/test/functional/config.edge.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default async function ({ readConfigFile }) { const defaultConfig = await readConfigFile(require.resolve('./config')); diff --git a/test/functional/config.firefox.js b/test/functional/config.firefox.js index b440aeb1c470..165b5f5fb86e 100644 --- a/test/functional/config.firefox.js +++ b/test/functional/config.firefox.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default async function ({ readConfigFile }) { const defaultConfig = await readConfigFile(require.resolve('./config')); diff --git a/test/functional/config.js b/test/functional/config.js index f05d66f70beb..20d3360f0fe5 100644 --- a/test/functional/config.js +++ b/test/functional/config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { pageObjects } from './page_objects'; import { services } from './services'; diff --git a/test/functional/ftr_provider_context.d.ts b/test/functional/ftr_provider_context.d.ts index b3172e44a298..eab2dd199c11 100644 --- a/test/functional/ftr_provider_context.d.ts +++ b/test/functional/ftr_provider_context.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { GenericFtrProviderContext } from '@osd/test/types/ftr'; import { pageObjects } from './page_objects'; diff --git a/test/functional/page_objects/common_page.ts b/test/functional/page_objects/common_page.ts index 57ff47e81cf7..1a303dab14dc 100644 --- a/test/functional/page_objects/common_page.ts +++ b/test/functional/page_objects/common_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { delay } from 'bluebird'; import expect from '@osd/expect'; // @ts-ignore diff --git a/test/functional/page_objects/console_page.ts b/test/functional/page_objects/console_page.ts index f0727fdd2e17..02d07c4bcd00 100644 --- a/test/functional/page_objects/console_page.ts +++ b/test/functional/page_objects/console_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; import { WebElementWrapper } from '../services/lib/web_element_wrapper'; diff --git a/test/functional/page_objects/context_page.ts b/test/functional/page_objects/context_page.ts index 6cd4dcd66fd8..ea6a56eb18f4 100644 --- a/test/functional/page_objects/context_page.ts +++ b/test/functional/page_objects/context_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import rison from 'rison-node'; import { FtrProviderContext } from '../ftr_provider_context'; // @ts-ignore not TS yet diff --git a/test/functional/page_objects/dashboard_page.ts b/test/functional/page_objects/dashboard_page.ts index cac4913174ff..40e177790695 100644 --- a/test/functional/page_objects/dashboard_page.ts +++ b/test/functional/page_objects/dashboard_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DashboardConstants } from '../../../src/plugins/dashboard/public/dashboard_constants'; export const PIE_CHART_VIS_NAME = 'Visualization PieChart'; diff --git a/test/functional/page_objects/discover_page.ts b/test/functional/page_objects/discover_page.ts index 0c59cc7a9840..2deec8cd44e9 100644 --- a/test/functional/page_objects/discover_page.ts +++ b/test/functional/page_objects/discover_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export function DiscoverPageProvider({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/functional/page_objects/error_page.ts b/test/functional/page_objects/error_page.ts index 2f05b307bb8e..45956d8deadb 100644 --- a/test/functional/page_objects/error_page.ts +++ b/test/functional/page_objects/error_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect/expect.js'; import { FtrProviderContext } from '../ftr_provider_context'; diff --git a/test/functional/page_objects/header_page.ts b/test/functional/page_objects/header_page.ts index c8fff92223a9..aa05dd12d8dc 100644 --- a/test/functional/page_objects/header_page.ts +++ b/test/functional/page_objects/header_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export function HeaderPageProvider({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/functional/page_objects/home_page.ts b/test/functional/page_objects/home_page.ts index 691eabfc66c0..0a56c5b50f7e 100644 --- a/test/functional/page_objects/home_page.ts +++ b/test/functional/page_objects/home_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export function HomePageProvider({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/functional/page_objects/index.ts b/test/functional/page_objects/index.ts index 9cfd59fd06ee..46f8e60e73db 100644 --- a/test/functional/page_objects/index.ts +++ b/test/functional/page_objects/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CommonPageProvider } from './common_page'; import { ConsolePageProvider } from './console_page'; import { ContextPageProvider } from './context_page'; diff --git a/test/functional/page_objects/login_page.ts b/test/functional/page_objects/login_page.ts index f41c0183817e..0e740d479761 100644 --- a/test/functional/page_objects/login_page.ts +++ b/test/functional/page_objects/login_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { delay } from 'bluebird'; import { FtrProviderContext } from '../ftr_provider_context'; diff --git a/test/functional/page_objects/management/saved_objects_page.ts b/test/functional/page_objects/management/saved_objects_page.ts index 6e8fff6717a2..3a6a987b3b68 100644 --- a/test/functional/page_objects/management/saved_objects_page.ts +++ b/test/functional/page_objects/management/saved_objects_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { keyBy } from 'lodash'; import { map as mapAsync } from 'bluebird'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/page_objects/newsfeed_page.ts b/test/functional/page_objects/newsfeed_page.ts index 955af6cc85c5..288278a750e5 100644 --- a/test/functional/page_objects/newsfeed_page.ts +++ b/test/functional/page_objects/newsfeed_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export function NewsfeedPageProvider({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/functional/page_objects/settings_page.ts b/test/functional/page_objects/settings_page.ts index 9fc853736ded..af2bf046e3a9 100644 --- a/test/functional/page_objects/settings_page.ts +++ b/test/functional/page_objects/settings_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { map as mapAsync } from 'bluebird'; import expect from '@osd/expect'; import { FtrProviderContext } from '../ftr_provider_context'; diff --git a/test/functional/page_objects/share_page.ts b/test/functional/page_objects/share_page.ts index bbe0e91c781f..8ab2a59d615d 100644 --- a/test/functional/page_objects/share_page.ts +++ b/test/functional/page_objects/share_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export function SharePageProvider({ getService }: FtrProviderContext) { diff --git a/test/functional/page_objects/tag_cloud_page.ts b/test/functional/page_objects/tag_cloud_page.ts index 08a0b684ca1d..a844e146255a 100644 --- a/test/functional/page_objects/tag_cloud_page.ts +++ b/test/functional/page_objects/tag_cloud_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; import { WebElementWrapper } from '../services/lib/web_element_wrapper'; diff --git a/test/functional/page_objects/tile_map_page.ts b/test/functional/page_objects/tile_map_page.ts index cf2e3bfc793e..8a493c4704c5 100644 --- a/test/functional/page_objects/tile_map_page.ts +++ b/test/functional/page_objects/tile_map_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export function TileMapPageProvider({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/functional/page_objects/time_picker.ts b/test/functional/page_objects/time_picker.ts index deb0e476bf91..05108f787b2c 100644 --- a/test/functional/page_objects/time_picker.ts +++ b/test/functional/page_objects/time_picker.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import moment from 'moment'; import { FtrProviderContext } from '../ftr_provider_context.d'; import { WebElementWrapper } from '../services/lib/web_element_wrapper'; diff --git a/test/functional/page_objects/timeline_page.ts b/test/functional/page_objects/timeline_page.ts index 0d4b8eb0c1bc..ee89665e4c01 100644 --- a/test/functional/page_objects/timeline_page.ts +++ b/test/functional/page_objects/timeline_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export function TimelinePageProvider({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/functional/page_objects/vega_chart_page.ts b/test/functional/page_objects/vega_chart_page.ts index 908698d5f4f8..26b2602b4f2f 100644 --- a/test/functional/page_objects/vega_chart_page.ts +++ b/test/functional/page_objects/vega_chart_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../ftr_provider_context'; diff --git a/test/functional/page_objects/visual_builder_page.ts b/test/functional/page_objects/visual_builder_page.ts index 6c7945479456..cd6af1dba2b4 100644 --- a/test/functional/page_objects/visual_builder_page.ts +++ b/test/functional/page_objects/visual_builder_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context.d'; import { WebElementWrapper } from '../services/lib/web_element_wrapper'; diff --git a/test/functional/page_objects/visualize_chart_page.ts b/test/functional/page_objects/visualize_chart_page.ts index 692253f128b8..02d9e60ca06d 100644 --- a/test/functional/page_objects/visualize_chart_page.ts +++ b/test/functional/page_objects/visualize_chart_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export function VisualizeChartPageProvider({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/functional/page_objects/visualize_editor_page.ts b/test/functional/page_objects/visualize_editor_page.ts index 4927e0dce49b..f74135bc455c 100644 --- a/test/functional/page_objects/visualize_editor_page.ts +++ b/test/functional/page_objects/visualize_editor_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect/expect.js'; import { FtrProviderContext } from '../ftr_provider_context'; diff --git a/test/functional/page_objects/visualize_page.ts b/test/functional/page_objects/visualize_page.ts index e5125cdf3abf..4f019c1a4a04 100644 --- a/test/functional/page_objects/visualize_page.ts +++ b/test/functional/page_objects/visualize_page.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; import { VisualizeConstants } from '../../../src/plugins/visualize/public/application/visualize_constants'; diff --git a/test/functional/services/apps_menu.ts b/test/functional/services/apps_menu.ts index 881cbd1a1c49..ea191626ec47 100644 --- a/test/functional/services/apps_menu.ts +++ b/test/functional/services/apps_menu.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export function AppsMenuProvider({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/functional/services/combo_box.ts b/test/functional/services/combo_box.ts index 44d2072a1918..8e1f9fd07a1c 100644 --- a/test/functional/services/combo_box.ts +++ b/test/functional/services/combo_box.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { FtrProviderContext } from '../ftr_provider_context'; import { WebElementWrapper } from './lib/web_element_wrapper'; // @ts-ignore not supported yet diff --git a/test/functional/services/common/browser.ts b/test/functional/services/common/browser.ts index e7bf09a61424..6a49ae0a67ad 100644 --- a/test/functional/services/common/browser.ts +++ b/test/functional/services/common/browser.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { cloneDeepWith } from 'lodash'; import { Key, Origin } from 'selenium-webdriver'; // @ts-ignore internal modules are not typed diff --git a/test/functional/services/common/failure_debugging.ts b/test/functional/services/common/failure_debugging.ts index 701aa633fe58..d5b64ae55ef6 100644 --- a/test/functional/services/common/failure_debugging.ts +++ b/test/functional/services/common/failure_debugging.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import { writeFile, mkdir } from 'fs'; import { promisify } from 'util'; diff --git a/test/functional/services/common/find.ts b/test/functional/services/common/find.ts index 98d5f30a5c06..ee28fa02cc52 100644 --- a/test/functional/services/common/find.ts +++ b/test/functional/services/common/find.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { WebDriver, WebElement, By, until } from 'selenium-webdriver'; import { FtrProviderContext } from '../../ftr_provider_context'; import { WebElementWrapper } from '../lib/web_element_wrapper'; diff --git a/test/functional/services/common/index.ts b/test/functional/services/common/index.ts index 085b2e22f559..3f34be1aa781 100644 --- a/test/functional/services/common/index.ts +++ b/test/functional/services/common/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { BrowserProvider, Browser } from './browser'; export { FailureDebuggingProvider } from './failure_debugging'; export { FindProvider } from './find'; diff --git a/test/functional/services/common/screenshots.ts b/test/functional/services/common/screenshots.ts index 619ac0c73571..22b8d7796a69 100644 --- a/test/functional/services/common/screenshots.ts +++ b/test/functional/services/common/screenshots.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve, dirname } from 'path'; import { writeFile, readFileSync, mkdir } from 'fs'; import { promisify } from 'util'; diff --git a/test/functional/services/common/snapshots.ts b/test/functional/services/common/snapshots.ts index 8b2295c3a1fa..ecc84e6e9680 100644 --- a/test/functional/services/common/snapshots.ts +++ b/test/functional/services/common/snapshots.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { dirname, resolve } from 'path'; import { writeFile, readFileSync, mkdir } from 'fs'; import { promisify } from 'util'; diff --git a/test/functional/services/common/test_subjects.ts b/test/functional/services/common/test_subjects.ts index 5256b0dcd3b8..09b8df58024d 100644 --- a/test/functional/services/common/test_subjects.ts +++ b/test/functional/services/common/test_subjects.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import testSubjSelector from '@osd/test-subj-selector'; import { map as mapAsync } from 'bluebird'; import { ProvidedType } from '@osd/test/types/ftr'; diff --git a/test/functional/services/dashboard/add_panel.ts b/test/functional/services/dashboard/add_panel.ts index 7395741765fa..a140f4771093 100644 --- a/test/functional/services/dashboard/add_panel.ts +++ b/test/functional/services/dashboard/add_panel.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../ftr_provider_context'; export function DashboardAddPanelProvider({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/functional/services/dashboard/expectations.ts b/test/functional/services/dashboard/expectations.ts index 909861012919..a676730f4c1b 100644 --- a/test/functional/services/dashboard/expectations.ts +++ b/test/functional/services/dashboard/expectations.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; import { WebElementWrapper } from '../lib/web_element_wrapper'; diff --git a/test/functional/services/dashboard/index.ts b/test/functional/services/dashboard/index.ts index 50e2aced06dd..aa789a43eb9d 100644 --- a/test/functional/services/dashboard/index.ts +++ b/test/functional/services/dashboard/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { DashboardVisualizationProvider } from './visualizations'; export { DashboardExpectProvider } from './expectations'; export { DashboardAddPanelProvider } from './add_panel'; diff --git a/test/functional/services/dashboard/panel_actions.ts b/test/functional/services/dashboard/panel_actions.ts index 31f8f375947a..8ce38ac28e91 100644 --- a/test/functional/services/dashboard/panel_actions.ts +++ b/test/functional/services/dashboard/panel_actions.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../ftr_provider_context'; import { WebElementWrapper } from '../lib/web_element_wrapper'; diff --git a/test/functional/services/dashboard/replace_panel.ts b/test/functional/services/dashboard/replace_panel.ts index 0d8ffec23346..facb9b0a8685 100644 --- a/test/functional/services/dashboard/replace_panel.ts +++ b/test/functional/services/dashboard/replace_panel.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../ftr_provider_context'; export function DashboardReplacePanelProvider({ getService }: FtrProviderContext) { diff --git a/test/functional/services/dashboard/visualizations.ts b/test/functional/services/dashboard/visualizations.ts index bcbadb07893d..aee71c8d58ba 100644 --- a/test/functional/services/dashboard/visualizations.ts +++ b/test/functional/services/dashboard/visualizations.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../ftr_provider_context'; export function DashboardVisualizationProvider({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/functional/services/data_grid.ts b/test/functional/services/data_grid.ts index 8d3f68a2395c..9c8218c2ab90 100644 --- a/test/functional/services/data_grid.ts +++ b/test/functional/services/data_grid.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; interface TabbedGridData { diff --git a/test/functional/services/doc_table.ts b/test/functional/services/doc_table.ts index 917485015b74..01bb01790203 100644 --- a/test/functional/services/doc_table.ts +++ b/test/functional/services/doc_table.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { FtrProviderContext } from '../ftr_provider_context'; import { WebElementWrapper } from './lib/web_element_wrapper'; diff --git a/test/functional/services/embedding.ts b/test/functional/services/embedding.ts index 1cb7b2cf6124..bf11b3221278 100644 --- a/test/functional/services/embedding.ts +++ b/test/functional/services/embedding.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export function EmbeddingProvider({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/functional/services/filter_bar.ts b/test/functional/services/filter_bar.ts index f3f8cb69d8e6..2c1b09443470 100644 --- a/test/functional/services/filter_bar.ts +++ b/test/functional/services/filter_bar.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export function FilterBarProvider({ getService, getPageObjects }: FtrProviderContext) { diff --git a/test/functional/services/flyout.ts b/test/functional/services/flyout.ts index fdd817ee834b..0073257178c2 100644 --- a/test/functional/services/flyout.ts +++ b/test/functional/services/flyout.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export function FlyoutProvider({ getService }: FtrProviderContext) { diff --git a/test/functional/services/global_nav.ts b/test/functional/services/global_nav.ts index 945ffae37488..026bfa6059f6 100644 --- a/test/functional/services/global_nav.ts +++ b/test/functional/services/global_nav.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../ftr_provider_context'; diff --git a/test/functional/services/index.ts b/test/functional/services/index.ts index 939a8d95160f..391967de7bce 100644 --- a/test/functional/services/index.ts +++ b/test/functional/services/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { services as commonServiceProviders } from '../../common/services'; import { AppsMenuProvider } from './apps_menu'; diff --git a/test/functional/services/inspector.ts b/test/functional/services/inspector.ts index 693e06d17c37..b5ff73e3c15c 100644 --- a/test/functional/services/inspector.ts +++ b/test/functional/services/inspector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../ftr_provider_context'; diff --git a/test/functional/services/lib/compare_pngs.ts b/test/functional/services/lib/compare_pngs.ts index 3b5ec63e5c51..44d472799238 100644 --- a/test/functional/services/lib/compare_pngs.ts +++ b/test/functional/services/lib/compare_pngs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { parse, join } from 'path'; import Jimp from 'jimp'; import { ToolingLog } from '@osd/dev-utils'; diff --git a/test/functional/services/lib/web_element_wrapper/custom_cheerio_api.ts b/test/functional/services/lib/web_element_wrapper/custom_cheerio_api.ts index 301eb656ed6f..1586b6511b34 100644 --- a/test/functional/services/lib/web_element_wrapper/custom_cheerio_api.ts +++ b/test/functional/services/lib/web_element_wrapper/custom_cheerio_api.ts @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable */ /** diff --git a/test/functional/services/lib/web_element_wrapper/index.ts b/test/functional/services/lib/web_element_wrapper/index.ts index ccc2b9adfba9..fe7263c0531b 100644 --- a/test/functional/services/lib/web_element_wrapper/index.ts +++ b/test/functional/services/lib/web_element_wrapper/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { WebElementWrapper } from './web_element_wrapper'; diff --git a/test/functional/services/lib/web_element_wrapper/scroll_into_view_if_necessary.js b/test/functional/services/lib/web_element_wrapper/scroll_into_view_if_necessary.js index 1f4326d05ca4..96cfba775e18 100644 --- a/test/functional/services/lib/web_element_wrapper/scroll_into_view_if_necessary.js +++ b/test/functional/services/lib/web_element_wrapper/scroll_into_view_if_necessary.js @@ -1,3 +1,14 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + /* eslint-disable @osd/eslint/require-license-header */ /* @notice diff --git a/test/functional/services/lib/web_element_wrapper/web_element_wrapper.ts b/test/functional/services/lib/web_element_wrapper/web_element_wrapper.ts index 1eb35c6fc367..cc6c0a9eb94d 100644 --- a/test/functional/services/lib/web_element_wrapper/web_element_wrapper.ts +++ b/test/functional/services/lib/web_element_wrapper/web_element_wrapper.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { delay } from 'bluebird'; import { WebElement, WebDriver, By, Key } from 'selenium-webdriver'; import { PNG } from 'pngjs'; diff --git a/test/functional/services/listing_table.ts b/test/functional/services/listing_table.ts index b6445f6a8618..8d94d1d3a69f 100644 --- a/test/functional/services/listing_table.ts +++ b/test/functional/services/listing_table.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../ftr_provider_context'; diff --git a/test/functional/services/management/index.ts b/test/functional/services/management/index.ts index ad7ebaad346c..23275d704539 100644 --- a/test/functional/services/management/index.ts +++ b/test/functional/services/management/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { ManagementMenuProvider } from './management_menu'; diff --git a/test/functional/services/management/management_menu.ts b/test/functional/services/management/management_menu.ts index 6ca9ab7a2b0c..0647d3315ac4 100644 --- a/test/functional/services/management/management_menu.ts +++ b/test/functional/services/management/management_menu.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from 'test/functional/ftr_provider_context'; export function ManagementMenuProvider({ getService }: FtrProviderContext) { diff --git a/test/functional/services/menu_toggle.ts b/test/functional/services/menu_toggle.ts index 4b96c79bb4c7..ce3c3f172d9d 100644 --- a/test/functional/services/menu_toggle.ts +++ b/test/functional/services/menu_toggle.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export function MenuToggleProvider({ getService }: FtrProviderContext) { diff --git a/test/functional/services/query_bar.ts b/test/functional/services/query_bar.ts index 9f67c04601b3..95ba20939eb5 100644 --- a/test/functional/services/query_bar.ts +++ b/test/functional/services/query_bar.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../ftr_provider_context'; diff --git a/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/config.js b/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/config.js index 8aa8bbca4f97..843482ebcd6a 100644 --- a/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/config.js +++ b/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { RemoteProvider } from '../../../remote'; export default function () { diff --git a/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/test.js b/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/test.js index 33166b4566f5..1c2121376c7b 100644 --- a/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/test.js +++ b/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService, loadTestFile }) { const remote = getService('remote'); diff --git a/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/test2.js b/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/test2.js index 7d31e7f5f377..2b563f09d089 100644 --- a/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/test2.js +++ b/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/test2.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService }) { const remote = getService('remote'); diff --git a/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/test3.1.js b/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/test3.1.js index 151715c8f2f2..48a295793be9 100644 --- a/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/test3.1.js +++ b/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/test3.1.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService }) { const remote = getService('remote'); diff --git a/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/test3.js b/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/test3.js index cab713bf18f4..bdffa2c997c9 100644 --- a/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/test3.js +++ b/test/functional/services/remote/__tests__/fixtures/several_nested_window_size_changes/test3.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService, loadTestFile }) { const remote = getService('remote'); diff --git a/test/functional/services/remote/__tests__/remote_default_window_size.js b/test/functional/services/remote/__tests__/remote_default_window_size.js index b5bfc8f47381..9ca78ecfb0b4 100644 --- a/test/functional/services/remote/__tests__/remote_default_window_size.js +++ b/test/functional/services/remote/__tests__/remote_default_window_size.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { fork } from 'child_process'; import expect from '@osd/expect'; diff --git a/test/functional/services/remote/browsers.ts b/test/functional/services/remote/browsers.ts index 4744690186de..034072e12946 100644 --- a/test/functional/services/remote/browsers.ts +++ b/test/functional/services/remote/browsers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export enum Browsers { Chrome = 'chrome', Firefox = 'firefox', diff --git a/test/functional/services/remote/create_stdout_stream.ts b/test/functional/services/remote/create_stdout_stream.ts index 025391d77110..b56f30a045df 100644 --- a/test/functional/services/remote/create_stdout_stream.ts +++ b/test/functional/services/remote/create_stdout_stream.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Net from 'net'; import * as Rx from 'rxjs'; diff --git a/test/functional/services/remote/index.ts b/test/functional/services/remote/index.ts index d33ff2660e24..7b261474f2f8 100644 --- a/test/functional/services/remote/index.ts +++ b/test/functional/services/remote/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { RemoteProvider } from './remote'; diff --git a/test/functional/services/remote/poll_for_log_entry.ts b/test/functional/services/remote/poll_for_log_entry.ts index fd6fa1f00a4b..55be568bf15e 100644 --- a/test/functional/services/remote/poll_for_log_entry.ts +++ b/test/functional/services/remote/poll_for_log_entry.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { WebDriver, logging } from 'selenium-webdriver'; import * as Rx from 'rxjs'; import { mergeMap, catchError, repeatWhen, mergeMapTo, delay } from 'rxjs/operators'; diff --git a/test/functional/services/remote/prevent_parallel_calls.test.js b/test/functional/services/remote/prevent_parallel_calls.test.js index aadb419f9421..92780e0572a8 100644 --- a/test/functional/services/remote/prevent_parallel_calls.test.js +++ b/test/functional/services/remote/prevent_parallel_calls.test.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { preventParallelCalls } from './prevent_parallel_calls'; it('only calls fn when previous call is complete, ignores when filter returns true', async () => { diff --git a/test/functional/services/remote/prevent_parallel_calls.ts b/test/functional/services/remote/prevent_parallel_calls.ts index c75cad2be426..0ce9791c4648 100644 --- a/test/functional/services/remote/prevent_parallel_calls.ts +++ b/test/functional/services/remote/prevent_parallel_calls.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function preventParallelCalls( fn: (this: C, arg: A) => Promise, filter: (arg: A) => boolean diff --git a/test/functional/services/remote/remote.ts b/test/functional/services/remote/remote.ts index b5e9cf0a899c..1407578bf0e0 100644 --- a/test/functional/services/remote/remote.ts +++ b/test/functional/services/remote/remote.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../ftr_provider_context'; import { initWebDriver, BrowserConfig } from './webdriver'; import { Browsers } from './browsers'; diff --git a/test/functional/services/remote/webdriver.ts b/test/functional/services/remote/webdriver.ts index 1866c93e7a2c..5324c9881124 100644 --- a/test/functional/services/remote/webdriver.ts +++ b/test/functional/services/remote/webdriver.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; import Fs from 'fs'; diff --git a/test/functional/services/renderable.ts b/test/functional/services/renderable.ts index 3ab7ea955fd7..577289f91631 100644 --- a/test/functional/services/renderable.ts +++ b/test/functional/services/renderable.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; const RENDER_COMPLETE_SELECTOR = '[data-render-complete="true"]'; diff --git a/test/functional/services/saved_query_management_component.ts b/test/functional/services/saved_query_management_component.ts index b032ed2cb22a..aa24d4e09a4d 100644 --- a/test/functional/services/saved_query_management_component.ts +++ b/test/functional/services/saved_query_management_component.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../ftr_provider_context'; diff --git a/test/functional/services/supertest.ts b/test/functional/services/supertest.ts index 65a9586a20c9..cc33c618be52 100644 --- a/test/functional/services/supertest.ts +++ b/test/functional/services/supertest.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from 'test/functional/ftr_provider_context'; import { format as formatUrl } from 'url'; diff --git a/test/functional/services/table.ts b/test/functional/services/table.ts index d42219a8611c..34578df40e80 100644 --- a/test/functional/services/table.ts +++ b/test/functional/services/table.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; import { WebElementWrapper } from './lib/web_element_wrapper'; diff --git a/test/functional/services/toasts.ts b/test/functional/services/toasts.ts index fd80f73c46a8..98a01df91fea 100644 --- a/test/functional/services/toasts.ts +++ b/test/functional/services/toasts.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../ftr_provider_context'; export function ToastsProvider({ getService }: FtrProviderContext) { diff --git a/test/functional/services/visualizations/index.ts b/test/functional/services/visualizations/index.ts index c8bf0667382e..26f656174d33 100644 --- a/test/functional/services/visualizations/index.ts +++ b/test/functional/services/visualizations/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { PieChartProvider } from './pie_chart'; export { OpenSearchChartProvider } from './opensearch_chart'; export { VegaDebugInspectorViewProvider } from './vega_debug_inspector'; diff --git a/test/functional/services/visualizations/opensearch_chart.ts b/test/functional/services/visualizations/opensearch_chart.ts index 3cad53a26999..fd4ce83a9ee7 100644 --- a/test/functional/services/visualizations/opensearch_chart.ts +++ b/test/functional/services/visualizations/opensearch_chart.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/services/visualizations/pie_chart.ts b/test/functional/services/visualizations/pie_chart.ts index ba8b40f6f2b0..2175cae18a1c 100644 --- a/test/functional/services/visualizations/pie_chart.ts +++ b/test/functional/services/visualizations/pie_chart.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/functional/services/visualizations/vega_debug_inspector.ts b/test/functional/services/visualizations/vega_debug_inspector.ts index 7368be649eba..1c2b89d591f1 100644 --- a/test/functional/services/visualizations/vega_debug_inspector.ts +++ b/test/functional/services/visualizations/vega_debug_inspector.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { FtrProviderContext } from '../../ftr_provider_context'; export function VegaDebugInspectorViewProvider({ getService }: FtrProviderContext) { diff --git a/test/harden/_fork.js b/test/harden/_fork.js index f5e616f7bfee..08f20589f01e 100644 --- a/test/harden/_fork.js +++ b/test/harden/_fork.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - console.log(`${process.env.POLLUTED || ''}${process.env.custom || ''}`); diff --git a/test/harden/child_process.js b/test/harden/child_process.js index 413732f4bfc6..d240d499193e 100644 --- a/test/harden/child_process.js +++ b/test/harden/child_process.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../../src/setup_node_env'); const cp = require('child_process'); diff --git a/test/harden/lodash_template.js b/test/harden/lodash_template.js index 8e658ee4ec77..cc4c26afff55 100644 --- a/test/harden/lodash_template.js +++ b/test/harden/lodash_template.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - require('../../src/setup_node_env'); const _ = require('lodash'); const template = require('lodash/template'); diff --git a/test/interpreter_functional/config.ts b/test/interpreter_functional/config.ts index 95c7f8099892..d8df74e4edd5 100644 --- a/test/interpreter_functional/config.ts +++ b/test/interpreter_functional/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import path from 'path'; import fs from 'fs'; import { FtrConfigProviderContext } from '@osd/test/types/ftr'; diff --git a/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/app/app.tsx b/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/app/app.tsx index 85a8ba8433c3..75b38edf59a3 100644 --- a/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/app/app.tsx +++ b/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/app/app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { AppMountContext, AppMountParameters } from 'opensearch-dashboards/public'; diff --git a/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/app/components/main.tsx b/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/app/components/main.tsx index d83c75034d2c..62198468d094 100644 --- a/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/app/components/main.tsx +++ b/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/app/components/main.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiPage, EuiPageBody, EuiPageContent, EuiPageContentHeader } from '@elastic/eui'; import { first } from 'rxjs/operators'; diff --git a/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/index.ts b/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/index.ts index de9be3e1877d..ef0e3e5cdf60 100644 --- a/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/index.ts +++ b/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer, PluginInitializerContext } from 'src/core/public'; import { Plugin, StartDeps } from './plugin'; export { StartDeps }; diff --git a/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/plugin.ts b/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/plugin.ts index d526533ee72b..cd1942ebc465 100644 --- a/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/plugin.ts +++ b/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, CoreStart, PluginInitializerContext } from 'src/core/public'; import { ExpressionsStart } from './types'; import { setExpressions } from './services'; diff --git a/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/services.ts b/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/services.ts index 12c35d8f2ad1..93423d3fbd2f 100644 --- a/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/services.ts +++ b/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/services.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createGetterSetter } from '../../../../../src/plugins/opensearch_dashboards_utils/public'; import { ExpressionsStart } from './types'; diff --git a/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/types.ts b/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/types.ts index 6bea77b0efff..73433c0c9021 100644 --- a/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/types.ts +++ b/test/interpreter_functional/plugins/osd_tp_run_pipeline/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpressionsStart, ExpressionRenderHandler } from 'src/plugins/expressions/public'; import { Adapters } from 'src/plugins/inspector/public'; diff --git a/test/interpreter_functional/test_suites/run_pipeline/basic.ts b/test/interpreter_functional/test_suites/run_pipeline/basic.ts index 84578fe84b73..96c9cc534226 100644 --- a/test/interpreter_functional/test_suites/run_pipeline/basic.ts +++ b/test/interpreter_functional/test_suites/run_pipeline/basic.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { ExpectExpression, expectExpressionProvider } from './helpers'; import { FtrProviderContext } from '../../../functional/ftr_provider_context'; @@ -74,7 +72,7 @@ export default function ({ {"id":"1","enabled":true,"type":"count","schema":"metric","params":{}}, {"id":"2","enabled":true,"type":"terms","schema":"segment","params": {"field":"response.raw","size":4,"order":"desc","orderBy":"1"} - }]' | + }]' | metricVis metric={visdimension 1 format="number"} bucket={visdimension 0} `; diff --git a/test/interpreter_functional/test_suites/run_pipeline/helpers.ts b/test/interpreter_functional/test_suites/run_pipeline/helpers.ts index 59b482227199..1df386f9b006 100644 --- a/test/interpreter_functional/test_suites/run_pipeline/helpers.ts +++ b/test/interpreter_functional/test_suites/run_pipeline/helpers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { ExpressionValue } from 'src/plugins/expressions'; import { FtrProviderContext } from '../../../functional/ftr_provider_context'; diff --git a/test/interpreter_functional/test_suites/run_pipeline/index.ts b/test/interpreter_functional/test_suites/run_pipeline/index.ts index 4ab4bd979dff..1f4b756bb6f6 100644 --- a/test/interpreter_functional/test_suites/run_pipeline/index.ts +++ b/test/interpreter_functional/test_suites/run_pipeline/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../../functional/ftr_provider_context'; export default function ({ getService, getPageObjects, loadTestFile }: FtrProviderContext) { diff --git a/test/interpreter_functional/test_suites/run_pipeline/metric.ts b/test/interpreter_functional/test_suites/run_pipeline/metric.ts index 4cc86d9cee9d..8a0d36621a4f 100644 --- a/test/interpreter_functional/test_suites/run_pipeline/metric.ts +++ b/test/interpreter_functional/test_suites/run_pipeline/metric.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpectExpression, expectExpressionProvider, ExpressionResult } from './helpers'; import { FtrProviderContext } from '../../../functional/ftr_provider_context'; diff --git a/test/interpreter_functional/test_suites/run_pipeline/opensearchaggs.ts b/test/interpreter_functional/test_suites/run_pipeline/opensearchaggs.ts index 7b661790cbcd..40ce6dce1c04 100644 --- a/test/interpreter_functional/test_suites/run_pipeline/opensearchaggs.ts +++ b/test/interpreter_functional/test_suites/run_pipeline/opensearchaggs.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { ExpectExpression, expectExpressionProvider } from './helpers'; import { FtrProviderContext } from '../../../functional/ftr_provider_context'; diff --git a/test/interpreter_functional/test_suites/run_pipeline/tag_cloud.ts b/test/interpreter_functional/test_suites/run_pipeline/tag_cloud.ts index 76bef4a6520a..2bb7c8fc52cd 100644 --- a/test/interpreter_functional/test_suites/run_pipeline/tag_cloud.ts +++ b/test/interpreter_functional/test_suites/run_pipeline/tag_cloud.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { ExpectExpression, expectExpressionProvider, ExpressionResult } from './helpers'; import { FtrProviderContext } from '../../../functional/ftr_provider_context'; diff --git a/test/mocha_decorations.d.ts b/test/mocha_decorations.d.ts index 1bcd16c49c73..f2e9f2a2dcac 100644 --- a/test/mocha_decorations.d.ts +++ b/test/mocha_decorations.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Suite } from 'mocha'; type Tags = diff --git a/test/new_visualize_flow/config.ts b/test/new_visualize_flow/config.ts index 6f781f361e54..3eecd7e4aab9 100644 --- a/test/new_visualize_flow/config.ts +++ b/test/new_visualize_flow/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrConfigProviderContext } from '@osd/test/types/ftr'; export default async function ({ readConfigFile }: FtrConfigProviderContext) { diff --git a/test/new_visualize_flow/dashboard_embedding.ts b/test/new_visualize_flow/dashboard_embedding.ts index 7e15ca5e9f94..d785dc3e29ca 100644 --- a/test/new_visualize_flow/dashboard_embedding.ts +++ b/test/new_visualize_flow/dashboard_embedding.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from 'test/functional/ftr_provider_context'; import expect from '@osd/expect'; diff --git a/test/new_visualize_flow/index.ts b/test/new_visualize_flow/index.ts index c26a6f15ee55..278bea7ac9fa 100644 --- a/test/new_visualize_flow/index.ts +++ b/test/new_visualize_flow/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { FtrProviderContext } from '../functional/ftr_provider_context'; // eslint-disable-next-line import/no-default-export diff --git a/test/plugin_functional/config.ts b/test/plugin_functional/config.ts index f3d8e3446449..e2f725c50bc9 100644 --- a/test/plugin_functional/config.ts +++ b/test/plugin_functional/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { FtrConfigProviderContext } from '@osd/test/types/ftr'; import path from 'path'; import fs from 'fs'; diff --git a/test/plugin_functional/plugins/app_link_test/public/app.tsx b/test/plugin_functional/plugins/app_link_test/public/app.tsx index 4404ad29d2a0..7e9e28738af1 100644 --- a/test/plugin_functional/plugins/app_link_test/public/app.tsx +++ b/test/plugin_functional/plugins/app_link_test/public/app.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import ReactDOM from 'react-dom'; import { AppMountParameters, IBasePath, ApplicationStart } from 'opensearch-dashboards/public'; diff --git a/test/plugin_functional/plugins/app_link_test/public/index.ts b/test/plugin_functional/plugins/app_link_test/public/index.ts index c0bc817e7c03..1a101be1522d 100644 --- a/test/plugin_functional/plugins/app_link_test/public/index.ts +++ b/test/plugin_functional/plugins/app_link_test/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from 'opensearch-dashboards/public'; import { CoreAppLinkPlugin, CoreAppLinkPluginSetup, CoreAppLinkPluginStart } from './plugin'; diff --git a/test/plugin_functional/plugins/app_link_test/public/plugin.ts b/test/plugin_functional/plugins/app_link_test/public/plugin.ts index 0070e5b8b0e7..e59755255ecd 100644 --- a/test/plugin_functional/plugins/app_link_test/public/plugin.ts +++ b/test/plugin_functional/plugins/app_link_test/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreSetup, AppMountParameters } from 'opensearch-dashboards/public'; import { renderApp } from './app'; diff --git a/test/plugin_functional/plugins/core_app_status/public/application.tsx b/test/plugin_functional/plugins/core_app_status/public/application.tsx index c8ac47d7d6c4..ae7e9e547649 100644 --- a/test/plugin_functional/plugins/core_app_status/public/application.tsx +++ b/test/plugin_functional/plugins/core_app_status/public/application.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { diff --git a/test/plugin_functional/plugins/core_app_status/public/index.ts b/test/plugin_functional/plugins/core_app_status/public/index.ts index a34a11c7c523..57ef98b190c6 100644 --- a/test/plugin_functional/plugins/core_app_status/public/index.ts +++ b/test/plugin_functional/plugins/core_app_status/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from 'opensearch-dashboards/public'; import { CoreAppStatusPlugin, CoreAppStatusPluginStart } from './plugin'; diff --git a/test/plugin_functional/plugins/core_app_status/public/plugin.tsx b/test/plugin_functional/plugins/core_app_status/public/plugin.tsx index a297eca4fdda..68ecbf0dc3ab 100644 --- a/test/plugin_functional/plugins/core_app_status/public/plugin.tsx +++ b/test/plugin_functional/plugins/core_app_status/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { BehaviorSubject } from 'rxjs'; import { Plugin, diff --git a/test/plugin_functional/plugins/core_app_status/public/types.ts b/test/plugin_functional/plugins/core_app_status/public/types.ts index 27672327a129..acf4abdb9aae 100644 --- a/test/plugin_functional/plugins/core_app_status/public/types.ts +++ b/test/plugin_functional/plugins/core_app_status/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreAppStatusPluginStart } from './plugin'; declare global { diff --git a/test/plugin_functional/plugins/core_plugin_a/public/application.tsx b/test/plugin_functional/plugins/core_plugin_a/public/application.tsx index 6c427fa62a07..ba58b0828c76 100644 --- a/test/plugin_functional/plugins/core_plugin_a/public/application.tsx +++ b/test/plugin_functional/plugins/core_plugin_a/public/application.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { History } from 'history'; import React from 'react'; import ReactDOM from 'react-dom'; diff --git a/test/plugin_functional/plugins/core_plugin_a/public/index.ts b/test/plugin_functional/plugins/core_plugin_a/public/index.ts index e8e5923b8e23..ce804a7b315b 100644 --- a/test/plugin_functional/plugins/core_plugin_a/public/index.ts +++ b/test/plugin_functional/plugins/core_plugin_a/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from 'opensearch-dashboards/public'; import { CorePluginAPlugin, CorePluginAPluginSetup, CorePluginAPluginStart } from './plugin'; diff --git a/test/plugin_functional/plugins/core_plugin_a/public/plugin.tsx b/test/plugin_functional/plugins/core_plugin_a/public/plugin.tsx index b30fbe45f6af..bed516acb082 100644 --- a/test/plugin_functional/plugins/core_plugin_a/public/plugin.tsx +++ b/test/plugin_functional/plugins/core_plugin_a/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreSetup } from 'opensearch-dashboards/public'; export class CorePluginAPlugin implements Plugin { diff --git a/test/plugin_functional/plugins/core_plugin_a/server/index.ts b/test/plugin_functional/plugins/core_plugin_a/server/index.ts index df5ae0a1afed..a927b0746774 100644 --- a/test/plugin_functional/plugins/core_plugin_a/server/index.ts +++ b/test/plugin_functional/plugins/core_plugin_a/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CorePluginAPlugin } from './plugin'; export { PluginARequestContext } from './plugin'; diff --git a/test/plugin_functional/plugins/core_plugin_a/server/plugin.ts b/test/plugin_functional/plugins/core_plugin_a/server/plugin.ts index feca322cdca5..b0c5e597deba 100644 --- a/test/plugin_functional/plugins/core_plugin_a/server/plugin.ts +++ b/test/plugin_functional/plugins/core_plugin_a/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreSetup } from 'opensearch-dashboards/server'; export interface PluginARequestContext { diff --git a/test/plugin_functional/plugins/core_plugin_appleave/public/application.tsx b/test/plugin_functional/plugins/core_plugin_appleave/public/application.tsx index 610a9a8fa5ef..6c4189b0d600 100644 --- a/test/plugin_functional/plugins/core_plugin_appleave/public/application.tsx +++ b/test/plugin_functional/plugins/core_plugin_appleave/public/application.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { diff --git a/test/plugin_functional/plugins/core_plugin_appleave/public/index.ts b/test/plugin_functional/plugins/core_plugin_appleave/public/index.ts index cfacd1e5e844..05df761450e6 100644 --- a/test/plugin_functional/plugins/core_plugin_appleave/public/index.ts +++ b/test/plugin_functional/plugins/core_plugin_appleave/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from 'opensearch-dashboards/public'; import { CoreAppLeavePlugin, CoreAppLeavePluginSetup, CoreAppLeavePluginStart } from './plugin'; diff --git a/test/plugin_functional/plugins/core_plugin_appleave/public/plugin.tsx b/test/plugin_functional/plugins/core_plugin_appleave/public/plugin.tsx index 7551ba17767d..2525cde1cb02 100644 --- a/test/plugin_functional/plugins/core_plugin_appleave/public/plugin.tsx +++ b/test/plugin_functional/plugins/core_plugin_appleave/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreSetup } from 'opensearch-dashboards/public'; export class CoreAppLeavePlugin diff --git a/test/plugin_functional/plugins/core_plugin_b/public/application.tsx b/test/plugin_functional/plugins/core_plugin_b/public/application.tsx index 14651798bde5..2746bb6ae856 100644 --- a/test/plugin_functional/plugins/core_plugin_b/public/application.tsx +++ b/test/plugin_functional/plugins/core_plugin_b/public/application.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { History } from 'history'; import React from 'react'; import ReactDOM from 'react-dom'; diff --git a/test/plugin_functional/plugins/core_plugin_b/public/index.ts b/test/plugin_functional/plugins/core_plugin_b/public/index.ts index a0fc087ccbc0..7d80fbaa3062 100644 --- a/test/plugin_functional/plugins/core_plugin_b/public/index.ts +++ b/test/plugin_functional/plugins/core_plugin_b/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer, PluginInitializerContext } from 'opensearch-dashboards/public'; import { CorePluginBDeps, diff --git a/test/plugin_functional/plugins/core_plugin_b/public/plugin.tsx b/test/plugin_functional/plugins/core_plugin_b/public/plugin.tsx index 5c0cb6bf09c6..1734d226b27c 100644 --- a/test/plugin_functional/plugins/core_plugin_b/public/plugin.tsx +++ b/test/plugin_functional/plugins/core_plugin_b/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, CoreStart, diff --git a/test/plugin_functional/plugins/core_plugin_b/server/index.ts b/test/plugin_functional/plugins/core_plugin_b/server/index.ts index 1991b2a4ae67..d0c0334c8177 100644 --- a/test/plugin_functional/plugins/core_plugin_b/server/index.ts +++ b/test/plugin_functional/plugins/core_plugin_b/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CorePluginBPlugin } from './plugin'; export const plugin = () => new CorePluginBPlugin(); diff --git a/test/plugin_functional/plugins/core_plugin_b/server/plugin.ts b/test/plugin_functional/plugins/core_plugin_b/server/plugin.ts index d3be2f85b017..3b5921add801 100644 --- a/test/plugin_functional/plugins/core_plugin_b/server/plugin.ts +++ b/test/plugin_functional/plugins/core_plugin_b/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreSetup } from 'opensearch-dashboards/server'; import { schema } from '@osd/config-schema'; import { PluginARequestContext } from '../../core_plugin_a/server'; diff --git a/test/plugin_functional/plugins/core_plugin_chromeless/public/application.tsx b/test/plugin_functional/plugins/core_plugin_chromeless/public/application.tsx index 77037a42c075..f0d5311bc9c1 100644 --- a/test/plugin_functional/plugins/core_plugin_chromeless/public/application.tsx +++ b/test/plugin_functional/plugins/core_plugin_chromeless/public/application.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { BrowserRouter as Router, Route } from 'react-router-dom'; diff --git a/test/plugin_functional/plugins/core_plugin_chromeless/public/index.ts b/test/plugin_functional/plugins/core_plugin_chromeless/public/index.ts index d48ac347892c..ef83c72e150a 100644 --- a/test/plugin_functional/plugins/core_plugin_chromeless/public/index.ts +++ b/test/plugin_functional/plugins/core_plugin_chromeless/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from 'opensearch-dashboards/public'; import { CorePluginChromelessPlugin, diff --git a/test/plugin_functional/plugins/core_plugin_chromeless/public/plugin.tsx b/test/plugin_functional/plugins/core_plugin_chromeless/public/plugin.tsx index 3da8e2e47440..36c128760a4d 100644 --- a/test/plugin_functional/plugins/core_plugin_chromeless/public/plugin.tsx +++ b/test/plugin_functional/plugins/core_plugin_chromeless/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreSetup } from 'opensearch-dashboards/public'; export class CorePluginChromelessPlugin diff --git a/test/plugin_functional/plugins/core_plugin_route_timeouts/server/index.ts b/test/plugin_functional/plugins/core_plugin_route_timeouts/server/index.ts index 8bb56e3bec13..3f1cfd702127 100644 --- a/test/plugin_functional/plugins/core_plugin_route_timeouts/server/index.ts +++ b/test/plugin_functional/plugins/core_plugin_route_timeouts/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CorePluginRouteTimeoutsPlugin } from './plugin'; export { PluginARequestContext } from './plugin'; diff --git a/test/plugin_functional/plugins/core_plugin_route_timeouts/server/plugin.ts b/test/plugin_functional/plugins/core_plugin_route_timeouts/server/plugin.ts index b600b483479e..0deef5fe1f70 100644 --- a/test/plugin_functional/plugins/core_plugin_route_timeouts/server/plugin.ts +++ b/test/plugin_functional/plugins/core_plugin_route_timeouts/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreSetup } from 'opensearch-dashboards/server'; import { schema } from '@osd/config-schema'; diff --git a/test/plugin_functional/plugins/core_plugin_static_assets/public/index.ts b/test/plugin_functional/plugins/core_plugin_static_assets/public/index.ts index de709e461448..5c6e7c72345e 100644 --- a/test/plugin_functional/plugins/core_plugin_static_assets/public/index.ts +++ b/test/plugin_functional/plugins/core_plugin_static_assets/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CorePluginStaticAssets } from './plugin'; export const plugin = () => new CorePluginStaticAssets(); diff --git a/test/plugin_functional/plugins/core_plugin_static_assets/public/plugin.tsx b/test/plugin_functional/plugins/core_plugin_static_assets/public/plugin.tsx index 669499aaded9..0b9c33df6f41 100644 --- a/test/plugin_functional/plugins/core_plugin_static_assets/public/plugin.tsx +++ b/test/plugin_functional/plugins/core_plugin_static_assets/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreSetup } from 'opensearch-dashboards/public'; export class CorePluginStaticAssets implements Plugin { diff --git a/test/plugin_functional/plugins/core_provider_plugin/public/index.ts b/test/plugin_functional/plugins/core_provider_plugin/public/index.ts index 11873644a857..4df6b3ae0841 100644 --- a/test/plugin_functional/plugins/core_provider_plugin/public/index.ts +++ b/test/plugin_functional/plugins/core_provider_plugin/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Plugin, CoreSetup, CoreStart } from 'opensearch-dashboards/public'; import '../types'; diff --git a/test/plugin_functional/plugins/core_provider_plugin/types.ts b/test/plugin_functional/plugins/core_provider_plugin/types.ts index ccd28b1c7835..ee6eca958f60 100644 --- a/test/plugin_functional/plugins/core_provider_plugin/types.ts +++ b/test/plugin_functional/plugins/core_provider_plugin/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CoreSetup, CoreStart } from 'opensearch-dashboards/public'; declare global { diff --git a/test/plugin_functional/plugins/data_search/server/index.ts b/test/plugin_functional/plugins/data_search/server/index.ts index f13998dd23a4..cb5fc115e2a9 100644 --- a/test/plugin_functional/plugins/data_search/server/index.ts +++ b/test/plugin_functional/plugins/data_search/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from 'src/core/server'; import { DataSearchTestPlugin, TestPluginSetup, TestPluginStart } from './plugin'; diff --git a/test/plugin_functional/plugins/data_search/server/plugin.ts b/test/plugin_functional/plugins/data_search/server/plugin.ts index 3f8a9c0b4a43..84ef66964de0 100644 --- a/test/plugin_functional/plugins/data_search/server/plugin.ts +++ b/test/plugin_functional/plugins/data_search/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, Plugin } from 'opensearch-dashboards/server'; import { schema } from '@osd/config-schema'; import { PluginStart as DataPluginStart } from '../../../../../src/plugins/data/server'; diff --git a/test/plugin_functional/plugins/doc_views_plugin/public/index.ts b/test/plugin_functional/plugins/doc_views_plugin/public/index.ts index 87291c99c6c6..0e39bd9eb10c 100644 --- a/test/plugin_functional/plugins/doc_views_plugin/public/index.ts +++ b/test/plugin_functional/plugins/doc_views_plugin/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DocViewsPlugin } from './plugin'; export const plugin = () => new DocViewsPlugin(); diff --git a/test/plugin_functional/plugins/doc_views_plugin/public/plugin.tsx b/test/plugin_functional/plugins/doc_views_plugin/public/plugin.tsx index 0d8a52a88707..42bd59c39a81 100644 --- a/test/plugin_functional/plugins/doc_views_plugin/public/plugin.tsx +++ b/test/plugin_functional/plugins/doc_views_plugin/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import angular from 'angular'; import React from 'react'; import { Plugin, CoreSetup } from 'opensearch-dashboards/public'; diff --git a/test/plugin_functional/plugins/index_patterns/server/index.ts b/test/plugin_functional/plugins/index_patterns/server/index.ts index eeae32f2011a..31f70279b277 100644 --- a/test/plugin_functional/plugins/index_patterns/server/index.ts +++ b/test/plugin_functional/plugins/index_patterns/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from 'opensearch-dashboards/server'; import { IndexPatternsTestPlugin, diff --git a/test/plugin_functional/plugins/index_patterns/server/plugin.ts b/test/plugin_functional/plugins/index_patterns/server/plugin.ts index 83ad3f8ac2ac..a110f0c1c935 100644 --- a/test/plugin_functional/plugins/index_patterns/server/plugin.ts +++ b/test/plugin_functional/plugins/index_patterns/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, Plugin } from 'opensearch-dashboards/server'; import { schema } from '@osd/config-schema'; import { PluginStart as DataPluginStart } from '../../../../../src/plugins/data/server'; diff --git a/test/plugin_functional/plugins/management_test_plugin/public/index.ts b/test/plugin_functional/plugins/management_test_plugin/public/index.ts index 5774ad73c6f6..e7c5892e58e0 100644 --- a/test/plugin_functional/plugins/management_test_plugin/public/index.ts +++ b/test/plugin_functional/plugins/management_test_plugin/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from 'opensearch-dashboards/public'; import { ManagementTestPlugin, diff --git a/test/plugin_functional/plugins/management_test_plugin/public/plugin.tsx b/test/plugin_functional/plugins/management_test_plugin/public/plugin.tsx index 9f38e6ed1711..f3113e4aec68 100644 --- a/test/plugin_functional/plugins/management_test_plugin/public/plugin.tsx +++ b/test/plugin_functional/plugins/management_test_plugin/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import * as React from 'react'; import ReactDOM from 'react-dom'; import { Router, Switch, Route, Link } from 'react-router-dom'; diff --git a/test/plugin_functional/plugins/opensearch_client_plugin/server/index.ts b/test/plugin_functional/plugins/opensearch_client_plugin/server/index.ts index 99f5d7a66bff..d6791f11e586 100644 --- a/test/plugin_functional/plugins/opensearch_client_plugin/server/index.ts +++ b/test/plugin_functional/plugins/opensearch_client_plugin/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { OpenSearchClientPlugin } from './plugin'; export const plugin = () => new OpenSearchClientPlugin(); diff --git a/test/plugin_functional/plugins/opensearch_client_plugin/server/plugin.ts b/test/plugin_functional/plugins/opensearch_client_plugin/server/plugin.ts index f6463ef46f40..084e265fb611 100644 --- a/test/plugin_functional/plugins/opensearch_client_plugin/server/plugin.ts +++ b/test/plugin_functional/plugins/opensearch_client_plugin/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Plugin, CoreSetup, CoreStart, ICustomClusterClient } from 'src/core/server'; export class OpenSearchClientPlugin implements Plugin { diff --git a/test/plugin_functional/plugins/osd_sample_panel_action/public/index.ts b/test/plugin_functional/plugins/osd_sample_panel_action/public/index.ts index 633366ae75b7..4b27e0982285 100644 --- a/test/plugin_functional/plugins/osd_sample_panel_action/public/index.ts +++ b/test/plugin_functional/plugins/osd_sample_panel_action/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from 'opensearch-dashboards/public'; import { SampelPanelActionTestPlugin, diff --git a/test/plugin_functional/plugins/osd_sample_panel_action/public/plugin.ts b/test/plugin_functional/plugins/osd_sample_panel_action/public/plugin.ts index 1de8935a4292..003312fc2b87 100644 --- a/test/plugin_functional/plugins/osd_sample_panel_action/public/plugin.ts +++ b/test/plugin_functional/plugins/osd_sample_panel_action/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, Plugin } from 'opensearch-dashboards/public'; import { UiActionsSetup } from '../../../../../src/plugins/ui_actions/public'; import { CONTEXT_MENU_TRIGGER } from '../../../../../src/plugins/embeddable/public'; diff --git a/test/plugin_functional/plugins/osd_sample_panel_action/public/sample_panel_action.tsx b/test/plugin_functional/plugins/osd_sample_panel_action/public/sample_panel_action.tsx index adaefd8ef287..a707dd654247 100644 --- a/test/plugin_functional/plugins/osd_sample_panel_action/public/sample_panel_action.tsx +++ b/test/plugin_functional/plugins/osd_sample_panel_action/public/sample_panel_action.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CoreSetup } from 'opensearch-dashboards/public'; import { EuiFlyoutBody, EuiFlyoutHeader, EuiTitle } from '@elastic/eui'; import React from 'react'; diff --git a/test/plugin_functional/plugins/osd_sample_panel_action/public/sample_panel_link.ts b/test/plugin_functional/plugins/osd_sample_panel_action/public/sample_panel_link.ts index d1d074397261..91edbd25ed91 100644 --- a/test/plugin_functional/plugins/osd_sample_panel_action/public/sample_panel_link.ts +++ b/test/plugin_functional/plugins/osd_sample_panel_action/public/sample_panel_link.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Action, createAction, ActionType } from '../../../../../src/plugins/ui_actions/public'; // Casting to ActionType is a hack - in a real situation use diff --git a/test/plugin_functional/plugins/osd_top_nav/public/application.tsx b/test/plugin_functional/plugins/osd_top_nav/public/application.tsx index f36ba87eb044..c1cac5d70723 100644 --- a/test/plugin_functional/plugins/osd_top_nav/public/application.tsx +++ b/test/plugin_functional/plugins/osd_top_nav/public/application.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { AppMountParameters } from 'opensearch-dashboards/public'; diff --git a/test/plugin_functional/plugins/osd_top_nav/public/index.ts b/test/plugin_functional/plugins/osd_top_nav/public/index.ts index a8e283693455..09740d234268 100644 --- a/test/plugin_functional/plugins/osd_top_nav/public/index.ts +++ b/test/plugin_functional/plugins/osd_top_nav/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from 'opensearch-dashboards/public'; import { TopNavTestPlugin, TopNavTestPluginSetup, TopNavTestPluginStart } from './plugin'; diff --git a/test/plugin_functional/plugins/osd_top_nav/public/plugin.tsx b/test/plugin_functional/plugins/osd_top_nav/public/plugin.tsx index 5be3648ed782..7b4dd8dbcb67 100644 --- a/test/plugin_functional/plugins/osd_top_nav/public/plugin.tsx +++ b/test/plugin_functional/plugins/osd_top_nav/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { CoreSetup, Plugin, AppMountParameters } from 'opensearch-dashboards/public'; import { NavigationPublicPluginSetup } from '../../../../../src/plugins/navigation/public'; import { AppPluginDependencies } from './types'; diff --git a/test/plugin_functional/plugins/osd_top_nav/public/types.ts b/test/plugin_functional/plugins/osd_top_nav/public/types.ts index fd2bc0f30d8c..1bb06513a9fd 100644 --- a/test/plugin_functional/plugins/osd_top_nav/public/types.ts +++ b/test/plugin_functional/plugins/osd_top_nav/public/types.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { NavigationPublicPluginStart } from '../../../../../src/plugins/navigation/public'; export interface AppPluginDependencies { diff --git a/test/plugin_functional/plugins/osd_tp_custom_visualizations/public/index.ts b/test/plugin_functional/plugins/osd_tp_custom_visualizations/public/index.ts index 6473a4186e20..c90bb1785b3c 100644 --- a/test/plugin_functional/plugins/osd_tp_custom_visualizations/public/index.ts +++ b/test/plugin_functional/plugins/osd_tp_custom_visualizations/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from 'opensearch-dashboards/public'; import { CustomVisualizationsPublicPlugin, diff --git a/test/plugin_functional/plugins/osd_tp_custom_visualizations/public/plugin.ts b/test/plugin_functional/plugins/osd_tp_custom_visualizations/public/plugin.ts index 5a7a46a95c6b..e3d595da922c 100644 --- a/test/plugin_functional/plugins/osd_tp_custom_visualizations/public/plugin.ts +++ b/test/plugin_functional/plugins/osd_tp_custom_visualizations/public/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { CoreSetup, Plugin } from 'opensearch-dashboards/public'; import { VisualizationsSetup } from '../../../../../src/plugins/visualizations/public'; import { SelfChangingEditor } from './self_changing_vis/self_changing_editor'; diff --git a/test/plugin_functional/plugins/osd_tp_custom_visualizations/public/self_changing_vis/self_changing_components.tsx b/test/plugin_functional/plugins/osd_tp_custom_visualizations/public/self_changing_vis/self_changing_components.tsx index 48061d3aed1a..0213765796af 100644 --- a/test/plugin_functional/plugins/osd_tp_custom_visualizations/public/self_changing_vis/self_changing_components.tsx +++ b/test/plugin_functional/plugins/osd_tp_custom_visualizations/public/self_changing_vis/self_changing_components.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React, { useEffect } from 'react'; import { EuiBadge } from '@elastic/eui'; diff --git a/test/plugin_functional/plugins/osd_tp_custom_visualizations/public/self_changing_vis/self_changing_editor.tsx b/test/plugin_functional/plugins/osd_tp_custom_visualizations/public/self_changing_vis/self_changing_editor.tsx index 110546c6a1a5..4e373f96a0b4 100644 --- a/test/plugin_functional/plugins/osd_tp_custom_visualizations/public/self_changing_vis/self_changing_editor.tsx +++ b/test/plugin_functional/plugins/osd_tp_custom_visualizations/public/self_changing_vis/self_changing_editor.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { EuiFieldNumber, EuiFormRow } from '@elastic/eui'; diff --git a/test/plugin_functional/plugins/rendering_plugin/public/index.ts b/test/plugin_functional/plugins/rendering_plugin/public/index.ts index e83469a35edb..abf4df552970 100644 --- a/test/plugin_functional/plugins/rendering_plugin/public/index.ts +++ b/test/plugin_functional/plugins/rendering_plugin/public/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginInitializer } from 'opensearch-dashboards/public'; import { RenderingPlugin } from './plugin'; diff --git a/test/plugin_functional/plugins/rendering_plugin/public/plugin.tsx b/test/plugin_functional/plugins/rendering_plugin/public/plugin.tsx index 0b78f0311c33..53ccdc47960e 100644 --- a/test/plugin_functional/plugins/rendering_plugin/public/plugin.tsx +++ b/test/plugin_functional/plugins/rendering_plugin/public/plugin.tsx @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { Plugin, CoreSetup } from 'opensearch-dashboards/public'; diff --git a/test/plugin_functional/plugins/rendering_plugin/server/index.ts b/test/plugin_functional/plugins/rendering_plugin/server/index.ts index b18e2d937ed9..bacca4ce7655 100644 --- a/test/plugin_functional/plugins/rendering_plugin/server/index.ts +++ b/test/plugin_functional/plugins/rendering_plugin/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { RenderingPlugin } from './plugin'; export const plugin = () => new RenderingPlugin(); diff --git a/test/plugin_functional/plugins/rendering_plugin/server/plugin.ts b/test/plugin_functional/plugins/rendering_plugin/server/plugin.ts index d5ba137850dd..a2b435db29a0 100644 --- a/test/plugin_functional/plugins/rendering_plugin/server/plugin.ts +++ b/test/plugin_functional/plugins/rendering_plugin/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { Plugin, CoreSetup } from 'opensearch-dashboards/server'; import { schema } from '@osd/config-schema'; diff --git a/test/plugin_functional/plugins/ui_settings_plugin/server/index.ts b/test/plugin_functional/plugins/ui_settings_plugin/server/index.ts index 5329381c7803..033d05227814 100644 --- a/test/plugin_functional/plugins/ui_settings_plugin/server/index.ts +++ b/test/plugin_functional/plugins/ui_settings_plugin/server/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { UiSettingsPlugin } from './plugin'; export const plugin = () => new UiSettingsPlugin(); diff --git a/test/plugin_functional/plugins/ui_settings_plugin/server/plugin.ts b/test/plugin_functional/plugins/ui_settings_plugin/server/plugin.ts index a693eae69171..3cfbcc7a6001 100644 --- a/test/plugin_functional/plugins/ui_settings_plugin/server/plugin.ts +++ b/test/plugin_functional/plugins/ui_settings_plugin/server/plugin.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { schema } from '@osd/config-schema'; import { Plugin, CoreSetup } from 'opensearch-dashboards/server'; diff --git a/test/plugin_functional/services/index.ts b/test/plugin_functional/services/index.ts index 557d8a5fcba5..35f2f4d47b38 100644 --- a/test/plugin_functional/services/index.ts +++ b/test/plugin_functional/services/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from '../../functional/ftr_provider_context'; export type PluginFunctionalProviderContext = FtrProviderContext; diff --git a/test/plugin_functional/test_suites/application_links/index.ts b/test/plugin_functional/test_suites/application_links/index.ts index 14ddf89c1f98..9ba97073fbac 100644 --- a/test/plugin_functional/test_suites/application_links/index.ts +++ b/test/plugin_functional/test_suites/application_links/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { PluginFunctionalProviderContext } from '../../services'; export default function ({ loadTestFile }: PluginFunctionalProviderContext) { diff --git a/test/plugin_functional/test_suites/application_links/redirect_app_links.ts b/test/plugin_functional/test_suites/application_links/redirect_app_links.ts index a73f60a7af34..135cdb125ae5 100644 --- a/test/plugin_functional/test_suites/application_links/redirect_app_links.ts +++ b/test/plugin_functional/test_suites/application_links/redirect_app_links.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import url from 'url'; import expect from '@osd/expect'; import { PluginFunctionalProviderContext } from '../../services'; diff --git a/test/plugin_functional/test_suites/core/index.ts b/test/plugin_functional/test_suites/core/index.ts index b9e913a395ec..915a79aa7e11 100644 --- a/test/plugin_functional/test_suites/core/index.ts +++ b/test/plugin_functional/test_suites/core/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { PluginFunctionalProviderContext } from '../../services'; export default function ({ loadTestFile }: PluginFunctionalProviderContext) { diff --git a/test/plugin_functional/test_suites/core/route.ts b/test/plugin_functional/test_suites/core/route.ts index d4b3ea255ef5..e91432e48dc1 100644 --- a/test/plugin_functional/test_suites/core/route.ts +++ b/test/plugin_functional/test_suites/core/route.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { Test } from 'supertest'; import { PluginFunctionalProviderContext } from '../../services'; diff --git a/test/plugin_functional/test_suites/core_plugins/application_leave_confirm.ts b/test/plugin_functional/test_suites/core_plugins/application_leave_confirm.ts index 2ccf756699b8..b0d04e77954c 100644 --- a/test/plugin_functional/test_suites/core_plugins/application_leave_confirm.ts +++ b/test/plugin_functional/test_suites/core_plugins/application_leave_confirm.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import url from 'url'; import expect from '@osd/expect'; import { PluginFunctionalProviderContext } from '../../services'; diff --git a/test/plugin_functional/test_suites/core_plugins/application_status.ts b/test/plugin_functional/test_suites/core_plugins/application_status.ts index a90e3c84d427..b2cb48a50485 100644 --- a/test/plugin_functional/test_suites/core_plugins/application_status.ts +++ b/test/plugin_functional/test_suites/core_plugins/application_status.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Url from 'url'; import expect from '@osd/expect'; import { diff --git a/test/plugin_functional/test_suites/core_plugins/applications.ts b/test/plugin_functional/test_suites/core_plugins/applications.ts index 49d62a47d5a3..95c37f99748c 100644 --- a/test/plugin_functional/test_suites/core_plugins/applications.ts +++ b/test/plugin_functional/test_suites/core_plugins/applications.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import url from 'url'; import expect from '@osd/expect'; import { PluginFunctionalProviderContext } from '../../services'; diff --git a/test/plugin_functional/test_suites/core_plugins/index.ts b/test/plugin_functional/test_suites/core_plugins/index.ts index 8ef826642985..7c41453b4a33 100644 --- a/test/plugin_functional/test_suites/core_plugins/index.ts +++ b/test/plugin_functional/test_suites/core_plugins/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { PluginFunctionalProviderContext } from '../../services'; export default function ({ loadTestFile }: PluginFunctionalProviderContext) { diff --git a/test/plugin_functional/test_suites/core_plugins/opensearch_client.ts b/test/plugin_functional/test_suites/core_plugins/opensearch_client.ts index ec5c2813d445..e3572b75de03 100644 --- a/test/plugin_functional/test_suites/core_plugins/opensearch_client.ts +++ b/test/plugin_functional/test_suites/core_plugins/opensearch_client.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { PluginFunctionalProviderContext } from '../../services'; import '../../plugins/core_provider_plugin/types'; diff --git a/test/plugin_functional/test_suites/core_plugins/rendering.ts b/test/plugin_functional/test_suites/core_plugins/rendering.ts index f510a60dad54..3f18e4c0c0e0 100644 --- a/test/plugin_functional/test_suites/core_plugins/rendering.ts +++ b/test/plugin_functional/test_suites/core_plugins/rendering.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import '../../plugins/core_provider_plugin/types'; diff --git a/test/plugin_functional/test_suites/core_plugins/server_plugins.ts b/test/plugin_functional/test_suites/core_plugins/server_plugins.ts index 48cb8f69984c..b81bb7dd4518 100644 --- a/test/plugin_functional/test_suites/core_plugins/server_plugins.ts +++ b/test/plugin_functional/test_suites/core_plugins/server_plugins.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginFunctionalProviderContext } from '../../services'; export default function ({ getService }: PluginFunctionalProviderContext) { diff --git a/test/plugin_functional/test_suites/core_plugins/top_nav.ts b/test/plugin_functional/test_suites/core_plugins/top_nav.ts index af5baa1855b4..530aa2e5a97d 100644 --- a/test/plugin_functional/test_suites/core_plugins/top_nav.ts +++ b/test/plugin_functional/test_suites/core_plugins/top_nav.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import expect from '@osd/expect'; import { PluginFunctionalProviderContext } from '../../services'; diff --git a/test/plugin_functional/test_suites/core_plugins/ui_plugins.ts b/test/plugin_functional/test_suites/core_plugins/ui_plugins.ts index cf2b4b9486a3..f74febd32851 100644 --- a/test/plugin_functional/test_suites/core_plugins/ui_plugins.ts +++ b/test/plugin_functional/test_suites/core_plugins/ui_plugins.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { PluginFunctionalProviderContext } from '../../services'; import '../../../../test/plugin_functional/plugins/core_provider_plugin/types'; diff --git a/test/plugin_functional/test_suites/core_plugins/ui_settings.ts b/test/plugin_functional/test_suites/core_plugins/ui_settings.ts index bbeeb528fe34..712e6b21bbdb 100644 --- a/test/plugin_functional/test_suites/core_plugins/ui_settings.ts +++ b/test/plugin_functional/test_suites/core_plugins/ui_settings.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import expect from '@osd/expect'; import { PluginFunctionalProviderContext } from '../../services'; import '../../plugins/core_provider_plugin/types'; diff --git a/test/plugin_functional/test_suites/custom_visualizations/index.js b/test/plugin_functional/test_suites/custom_visualizations/index.js index a85afc38d5b4..b7918230648b 100644 --- a/test/plugin_functional/test_suites/custom_visualizations/index.js +++ b/test/plugin_functional/test_suites/custom_visualizations/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService, loadTestFile }) { const browser = getService('browser'); const opensearchArchiver = getService('opensearchArchiver'); diff --git a/test/plugin_functional/test_suites/custom_visualizations/self_changing_vis.js b/test/plugin_functional/test_suites/custom_visualizations/self_changing_vis.js index 76ac00e32456..30af1dc5ffe7 100644 --- a/test/plugin_functional/test_suites/custom_visualizations/self_changing_vis.js +++ b/test/plugin_functional/test_suites/custom_visualizations/self_changing_vis.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/plugin_functional/test_suites/data_plugin/index.ts b/test/plugin_functional/test_suites/data_plugin/index.ts index bd71c0ad85ea..913bfa1bce45 100644 --- a/test/plugin_functional/test_suites/data_plugin/index.ts +++ b/test/plugin_functional/test_suites/data_plugin/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { PluginFunctionalProviderContext } from '../../services'; export default function ({ diff --git a/test/plugin_functional/test_suites/data_plugin/index_patterns.ts b/test/plugin_functional/test_suites/data_plugin/index_patterns.ts index f9272ee0cea0..65119dd02242 100644 --- a/test/plugin_functional/test_suites/data_plugin/index_patterns.ts +++ b/test/plugin_functional/test_suites/data_plugin/index_patterns.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import expect from '@osd/expect'; import { PluginFunctionalProviderContext } from '../../services'; import '../../plugins/core_provider_plugin/types'; diff --git a/test/plugin_functional/test_suites/data_plugin/search.ts b/test/plugin_functional/test_suites/data_plugin/search.ts index cd91db424dbc..f7b13a47b4de 100644 --- a/test/plugin_functional/test_suites/data_plugin/search.ts +++ b/test/plugin_functional/test_suites/data_plugin/search.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { PluginFunctionalProviderContext } from '../../services'; diff --git a/test/plugin_functional/test_suites/doc_views/doc_views.ts b/test/plugin_functional/test_suites/doc_views/doc_views.ts index 3e6fb88d53d1..dff782dc6a78 100644 --- a/test/plugin_functional/test_suites/doc_views/doc_views.ts +++ b/test/plugin_functional/test_suites/doc_views/doc_views.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { PluginFunctionalProviderContext } from '../../services'; diff --git a/test/plugin_functional/test_suites/doc_views/index.ts b/test/plugin_functional/test_suites/doc_views/index.ts index 3ebb50695d3b..302d34d31393 100644 --- a/test/plugin_functional/test_suites/doc_views/index.ts +++ b/test/plugin_functional/test_suites/doc_views/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { PluginFunctionalProviderContext } from '../../services'; export default function ({ getService, loadTestFile }: PluginFunctionalProviderContext) { diff --git a/test/plugin_functional/test_suites/management/index.js b/test/plugin_functional/test_suites/management/index.js index 4a0f4adbf1b1..93cf326922df 100644 --- a/test/plugin_functional/test_suites/management/index.js +++ b/test/plugin_functional/test_suites/management/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ loadTestFile }) { describe('management plugin', () => { loadTestFile(require.resolve('./management_plugin')); diff --git a/test/plugin_functional/test_suites/management/management_plugin.js b/test/plugin_functional/test_suites/management/management_plugin.js index 509a20530a75..328939a8d705 100644 --- a/test/plugin_functional/test_suites/management/management_plugin.js +++ b/test/plugin_functional/test_suites/management/management_plugin.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService, getPageObjects }) { const testSubjects = getService('testSubjects'); const PageObjects = getPageObjects(['common']); diff --git a/test/plugin_functional/test_suites/panel_actions/index.js b/test/plugin_functional/test_suites/panel_actions/index.js index 3a19db441f7a..3fddfd8261e8 100644 --- a/test/plugin_functional/test_suites/panel_actions/index.js +++ b/test/plugin_functional/test_suites/panel_actions/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import path from 'path'; export const OPENSEARCH_DASHBOARDS_ARCHIVE_PATH = path.resolve( diff --git a/test/plugin_functional/test_suites/panel_actions/panel_actions.js b/test/plugin_functional/test_suites/panel_actions/panel_actions.js index e95babc8c141..3ab31adaffc2 100644 --- a/test/plugin_functional/test_suites/panel_actions/panel_actions.js +++ b/test/plugin_functional/test_suites/panel_actions/panel_actions.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; export default function ({ getService, getPageObjects }) { diff --git a/test/security_functional/config.ts b/test/security_functional/config.ts index 4eb9c73194a6..eab2e978e6f6 100644 --- a/test/security_functional/config.ts +++ b/test/security_functional/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import path from 'path'; import { FtrConfigProviderContext } from '@osd/test/types/ftr'; diff --git a/test/security_functional/index.ts b/test/security_functional/index.ts index dcd8cc44f1f7..948dcae26233 100644 --- a/test/security_functional/index.ts +++ b/test/security_functional/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { FtrProviderContext } from '../functional/ftr_provider_context'; // eslint-disable-next-line import/no-default-export diff --git a/test/security_functional/insecure_cluster_warning.ts b/test/security_functional/insecure_cluster_warning.ts index 1c1bc8b3b31d..0493f3bb2361 100644 --- a/test/security_functional/insecure_cluster_warning.ts +++ b/test/security_functional/insecure_cluster_warning.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrProviderContext } from 'test/functional/ftr_provider_context'; // eslint-disable-next-line import/no-default-export diff --git a/test/server_integration/__fixtures__/index.ts b/test/server_integration/__fixtures__/index.ts index c3fe86d2e09b..576b6b7a3e72 100644 --- a/test/server_integration/__fixtures__/index.ts +++ b/test/server_integration/__fixtures__/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { resolve } from 'path'; export const CA1_CERT_PATH = resolve(__dirname, './test_root_ca.crt'); diff --git a/test/server_integration/config.js b/test/server_integration/config.js index d8781d78445a..df6c8069b6a1 100644 --- a/test/server_integration/config.js +++ b/test/server_integration/config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { createOpenSearchDashboardsSupertestProvider, OpenSearchDashboardsSupertestWithoutAuthProvider, diff --git a/test/server_integration/http/platform/cache.ts b/test/server_integration/http/platform/cache.ts index 1c6a3119a444..18b7ff9932da 100644 --- a/test/server_integration/http/platform/cache.ts +++ b/test/server_integration/http/platform/cache.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { FtrProviderContext } from '../../services/types'; // eslint-disable-next-line import/no-default-export export default function ({ getService }: FtrProviderContext) { diff --git a/test/server_integration/http/platform/config.ts b/test/server_integration/http/platform/config.ts index c434a738d191..148a0efc117c 100644 --- a/test/server_integration/http/platform/config.ts +++ b/test/server_integration/http/platform/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { FtrConfigProviderContext } from '@osd/test/types/ftr'; // eslint-disable-next-line import/no-default-export diff --git a/test/server_integration/http/platform/headers.ts b/test/server_integration/http/platform/headers.ts index 04b342c7cc47..dadabe1e6058 100644 --- a/test/server_integration/http/platform/headers.ts +++ b/test/server_integration/http/platform/headers.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import Http from 'http'; import Url from 'url'; import { FtrProviderContext } from '../../services/types'; diff --git a/test/server_integration/http/ssl/config.js b/test/server_integration/http/ssl/config.js index c8229b86404b..593c391eb8f0 100644 --- a/test/server_integration/http/ssl/config.js +++ b/test/server_integration/http/ssl/config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { readFileSync } from 'fs'; import { CA_CERT_PATH, OSD_CERT_PATH, OSD_KEY_PATH } from '@osd/dev-utils'; import { createOpenSearchDashboardsSupertestProvider } from '../../services'; diff --git a/test/server_integration/http/ssl/index.js b/test/server_integration/http/ssl/index.js index b5e38b72878f..960151e1db60 100644 --- a/test/server_integration/http/ssl/index.js +++ b/test/server_integration/http/ssl/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService }) { const supertest = getService('supertest'); diff --git a/test/server_integration/http/ssl_redirect/config.js b/test/server_integration/http/ssl_redirect/config.js index 09a0bf80107e..1bd6000fc62d 100644 --- a/test/server_integration/http/ssl_redirect/config.js +++ b/test/server_integration/http/ssl_redirect/config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import Url from 'url'; import { readFileSync } from 'fs'; import { CA_CERT_PATH, OSD_CERT_PATH, OSD_KEY_PATH } from '@osd/dev-utils'; diff --git a/test/server_integration/http/ssl_redirect/index.js b/test/server_integration/http/ssl_redirect/index.js index 4e40cb8cadce..9abca5d8dc40 100644 --- a/test/server_integration/http/ssl_redirect/index.js +++ b/test/server_integration/http/ssl_redirect/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService }) { const supertest = getService('supertest'); diff --git a/test/server_integration/http/ssl_with_p12/config.js b/test/server_integration/http/ssl_with_p12/config.js index b0df8cc73b18..ddee0d4d6a4f 100644 --- a/test/server_integration/http/ssl_with_p12/config.js +++ b/test/server_integration/http/ssl_with_p12/config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { readFileSync } from 'fs'; import { CA_CERT_PATH, OSD_P12_PATH, OSD_P12_PASSWORD } from '@osd/dev-utils'; import { createOpenSearchDashboardsSupertestProvider } from '../../services'; diff --git a/test/server_integration/http/ssl_with_p12/index.js b/test/server_integration/http/ssl_with_p12/index.js index e93948053f0c..9464c388acb9 100644 --- a/test/server_integration/http/ssl_with_p12/index.js +++ b/test/server_integration/http/ssl_with_p12/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService }) { const supertest = getService('supertest'); diff --git a/test/server_integration/http/ssl_with_p12_intermediate/config.js b/test/server_integration/http/ssl_with_p12_intermediate/config.js index c1aef90a7f30..56cf2b2c636c 100644 --- a/test/server_integration/http/ssl_with_p12_intermediate/config.js +++ b/test/server_integration/http/ssl_with_p12_intermediate/config.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { readFileSync } from 'fs'; import { CA1_CERT_PATH, CA2_CERT_PATH, EE_P12_PATH, EE_P12_PASSWORD } from '../../__fixtures__'; import { createOpenSearchDashboardsSupertestProvider } from '../../services'; diff --git a/test/server_integration/http/ssl_with_p12_intermediate/index.js b/test/server_integration/http/ssl_with_p12_intermediate/index.js index 2a2cdcb26681..306ce13bb68a 100644 --- a/test/server_integration/http/ssl_with_p12_intermediate/index.js +++ b/test/server_integration/http/ssl_with_p12_intermediate/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export default function ({ getService }) { const supertest = getService('supertest'); diff --git a/test/server_integration/services/index.js b/test/server_integration/services/index.js index 995e1d5f43c8..fba9fbaa2e24 100644 --- a/test/server_integration/services/index.js +++ b/test/server_integration/services/index.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { createOpenSearchDashboardsSupertestProvider, OpenSearchDashboardsSupertestWithoutAuthProvider, diff --git a/test/server_integration/services/supertest.js b/test/server_integration/services/supertest.js index 36d570b978c7..0667f1fb1a82 100644 --- a/test/server_integration/services/supertest.js +++ b/test/server_integration/services/supertest.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { format as formatUrl } from 'url'; import supertestAsPromised from 'supertest-as-promised'; diff --git a/test/server_integration/services/types.d.ts b/test/server_integration/services/types.d.ts index b1074ae28d1f..65a0bcddd547 100644 --- a/test/server_integration/services/types.d.ts +++ b/test/server_integration/services/types.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { GenericFtrProviderContext } from '@osd/test/types/ftr'; import { services as opensearchDashboardsCommonServices } from '../../common/services'; import { services as opensearchDashboardsApiIntegrationServices } from '../../api_integration/services'; diff --git a/test/typings/index.d.ts b/test/typings/index.d.ts index e54e78bae6bc..574ac79763d2 100644 --- a/test/typings/index.d.ts +++ b/test/typings/index.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - declare module '*.html' { const template: string; // eslint-disable-next-line import/no-default-export diff --git a/test/typings/rison_node.d.ts b/test/typings/rison_node.d.ts index 884fa7a5ca49..33a049998da8 100644 --- a/test/typings/rison_node.d.ts +++ b/test/typings/rison_node.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - declare module 'rison-node' { export type RisonValue = undefined | null | boolean | number | string | RisonObject | RisonArray; diff --git a/test/ui_capabilities/newsfeed_err/config.ts b/test/ui_capabilities/newsfeed_err/config.ts index 661b973015cf..124316f95834 100644 --- a/test/ui_capabilities/newsfeed_err/config.ts +++ b/test/ui_capabilities/newsfeed_err/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrConfigProviderContext } from '@osd/test/types/ftr'; // @ts-ignore untyped module import getFunctionalConfig from '../../functional/config'; diff --git a/test/ui_capabilities/newsfeed_err/test.ts b/test/ui_capabilities/newsfeed_err/test.ts index 7a87caab1e81..8ac9c067d54d 100644 --- a/test/ui_capabilities/newsfeed_err/test.ts +++ b/test/ui_capabilities/newsfeed_err/test.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../functional/ftr_provider_context'; diff --git a/test/visual_regression/config.ts b/test/visual_regression/config.ts index 2903c90d8362..38ca9c8f9bf0 100644 --- a/test/visual_regression/config.ts +++ b/test/visual_regression/config.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { FtrConfigProviderContext } from '@osd/test/types/ftr'; import { services } from './services'; diff --git a/test/visual_regression/ftr_provider_context.d.ts b/test/visual_regression/ftr_provider_context.d.ts index 22c5788f4387..17d3824f10f3 100644 --- a/test/visual_regression/ftr_provider_context.d.ts +++ b/test/visual_regression/ftr_provider_context.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { GenericFtrProviderContext } from '@osd/test/types/ftr'; import { pageObjects } from '../functional/page_objects'; diff --git a/test/visual_regression/services/index.ts b/test/visual_regression/services/index.ts index a4228513ac01..6d30c63b58c8 100644 --- a/test/visual_regression/services/index.ts +++ b/test/visual_regression/services/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { services as functionalServices } from '../../functional/services'; import { VisualTestingProvider } from './visual_testing'; diff --git a/test/visual_regression/services/visual_testing/index.ts b/test/visual_regression/services/visual_testing/index.ts index 75e9632cfa39..b417e8b40da1 100644 --- a/test/visual_regression/services/visual_testing/index.ts +++ b/test/visual_regression/services/visual_testing/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export { VisualTestingProvider } from './visual_testing'; diff --git a/test/visual_regression/services/visual_testing/take_percy_snapshot.js b/test/visual_regression/services/visual_testing/take_percy_snapshot.js index 0f223684d20a..b886c1d517a0 100644 --- a/test/visual_regression/services/visual_testing/take_percy_snapshot.js +++ b/test/visual_regression/services/visual_testing/take_percy_snapshot.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export function takePercySnapshot(show, hide) { if (!window.PercyAgent) { return false; diff --git a/test/visual_regression/services/visual_testing/visual_testing.ts b/test/visual_regression/services/visual_testing/visual_testing.ts index ea3b1fe488ad..b835130e11f7 100644 --- a/test/visual_regression/services/visual_testing/visual_testing.ts +++ b/test/visual_regression/services/visual_testing/visual_testing.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { postSnapshot } from '@percy/sdk-utils'; import { Test } from 'mocha'; diff --git a/test/visual_regression/tests/console_app.ts b/test/visual_regression/tests/console_app.ts index 8c161aa7a4df..9f4c386b1e7f 100644 --- a/test/visual_regression/tests/console_app.ts +++ b/test/visual_regression/tests/console_app.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../ftr_provider_context'; diff --git a/test/visual_regression/tests/discover/chart_visualization.ts b/test/visual_regression/tests/discover/chart_visualization.ts index 0c77892220ce..6d987a92b13f 100644 --- a/test/visual_regression/tests/discover/chart_visualization.ts +++ b/test/visual_regression/tests/discover/chart_visualization.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import expect from '@osd/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/test/visual_regression/tests/discover/index.ts b/test/visual_regression/tests/discover/index.ts index 9e37900c2551..ccd91db4333a 100644 --- a/test/visual_regression/tests/discover/index.ts +++ b/test/visual_regression/tests/discover/index.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import { DEFAULT_OPTIONS } from '../../services/visual_testing/visual_testing'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/typings/@elastic/eui/index.d.ts b/typings/@elastic/eui/index.d.ts index df93c51d5553..fb926e99280e 100644 --- a/typings/@elastic/eui/index.d.ts +++ b/typings/@elastic/eui/index.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,10 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ import { Direction } from '@elastic/eui/src/services/sort/sort_direction'; // TODO: Remove once typescript definitions are in EUI diff --git a/typings/@elastic/eui/lib/format.d.ts b/typings/@elastic/eui/lib/format.d.ts index e5e52bf51637..249a0b03ee89 100644 --- a/typings/@elastic/eui/lib/format.d.ts +++ b/typings/@elastic/eui/lib/format.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const dateFormatAliases: any; diff --git a/typings/@elastic/eui/lib/services.d.ts b/typings/@elastic/eui/lib/services.d.ts index eba75c323315..229f5fed0789 100644 --- a/typings/@elastic/eui/lib/services.d.ts +++ b/typings/@elastic/eui/lib/services.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,9 +28,4 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - export const RIGHT_ALIGNMENT: any; diff --git a/typings/index.d.ts b/typings/index.d.ts index d3ea962d1a00..17a1b2139e34 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - declare module '*.html' { const template: string; // eslint-disable-next-line import/no-default-export diff --git a/typings/rison_node.d.ts b/typings/rison_node.d.ts index 884fa7a5ca49..33a049998da8 100644 --- a/typings/rison_node.d.ts +++ b/typings/rison_node.d.ts @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - declare module 'rison-node' { export type RisonValue = undefined | null | boolean | number | string | RisonObject | RisonArray; diff --git a/utilities/visual_regression.js b/utilities/visual_regression.js index 20d28b27661e..bff237e5712e 100644 --- a/utilities/visual_regression.js +++ b/utilities/visual_regression.js @@ -4,6 +4,9 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * + * Any modifications Copyright OpenSearch Contributors. See + * GitHub history for details. */ /* @@ -25,11 +28,6 @@ * under the License. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - import bluebird, { promisify } from 'bluebird'; import Handlebars from 'handlebars'; import fs from 'fs';